auto import from //depot/cupcake/@132589

This commit is contained in:
The Android Open Source Project committed 2009-03-03 14:04:32 -08:00
1 parent b28e1b7d95
commit 38a75b2d89
35 files changed
+141 -657

No files matched your search

+1 -11
View File
@@ -32,7 +32,6 @@ import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.KeyEvent;
import android.view.inputmethod.InputMethodManager;
import android.widget.FrameLayout;
/**
@@ -128,8 +127,6 @@ public class DragLayer extends FrameLayout implements DragController {
private int mAnimationType;
private int mAnimationState = ANIMATION_STATE_DONE;
private InputMethodManager mInputMethodManager;
/**
* Used to create a new DragLayer from XML.
*
@@ -147,14 +144,7 @@ public class DragLayer extends FrameLayout implements DragController {
if (PROFILE_DRAWING_DURING_DRAG) {
android.os.Debug.startMethodTracing("Launcher");
}
// Hide soft keyboard, if visible
if (mInputMethodManager == null) {
mInputMethodManager = (InputMethodManager)
getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
}
mInputMethodManager.hideSoftInputFromWindow(getWindowToken(), 0);
if (mListener != null) {
mListener.onDragStart(v, source, dragInfo, dragAction);
}