summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/SoftInputWindow.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-10-31 15:39:59 -0700
committerDianne Hackborn <hackbod@google.com>2011-10-31 16:52:34 -0700
commit2c84cfc001fb92a71811bf7384b7f865ff31ff9d (patch)
tree1d43eda4854e37a553b85ce759ea4fffd41c9edb /core/java/android/inputmethodservice/SoftInputWindow.java
parentdd79b4c85a9dd2c2ad702ea2137fe2a076567fa1 (diff)
Various performance and other work.
- IME service now switches between visible and perceptible depending on whether it is being showm, allowing us to more aggressively free its memory when not shown. - The activity display time is no longer delayed by the activity transition animation. - New -R (repeat) option for launching activities with the am command. - Improved some documentation on Loader to be clear about some methods that apps should not normally call. - FrameworkPerf test now allows you to select individual tests to run. Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
Diffstat (limited to 'core/java/android/inputmethodservice/SoftInputWindow.java')
-rw-r--r--core/java/android/inputmethodservice/SoftInputWindow.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/java/android/inputmethodservice/SoftInputWindow.java b/core/java/android/inputmethodservice/SoftInputWindow.java
index 7159260f2648..df1afeea9b23 100644
--- a/core/java/android/inputmethodservice/SoftInputWindow.java
+++ b/core/java/android/inputmethodservice/SoftInputWindow.java
@@ -18,17 +18,13 @@ package android.inputmethodservice;
import android.app.Dialog;
import android.content.Context;
-import android.content.pm.ActivityInfo;
import android.graphics.Rect;
import android.os.IBinder;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
-import android.view.View;
import android.view.WindowManager;
-import java.lang.Math;
-
/**
* A SoftInputWindow is a Dialog that is intended to be used for a top-level input
* method window. It will be displayed along the edge of the screen, moving
@@ -46,7 +42,7 @@ class SoftInputWindow extends Dialog {
}
/**
- * Create a DockWindow that uses a custom style.
+ * Create a SoftInputWindow that uses a custom style.
*
* @param context The Context in which the DockWindow should run. In
* particular, it uses the window manager and theme from this context