summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/inputmethod
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-01-12 11:36:13 -0500
committerLeon Scroggins <scroggo@google.com>2010-01-12 17:29:25 -0500
commit2edd68260f26cbd6eddd0df16404bb6bcb22b3b6 (patch)
tree8a1dba568f64145301d6c61052ca312f301241d4 /core/java/android/view/inputmethod
parentfef4874afddeeba8eaac6da49cc3203e9ce2d009 (diff)
downloadframeworks_base-2edd68260f26cbd6eddd0df16404bb6bcb22b3b6.zip
frameworks_base-2edd68260f26cbd6eddd0df16404bb6bcb22b3b6.tar.gz
frameworks_base-2edd68260f26cbd6eddd0df16404bb6bcb22b3b6.tar.bz2
Create a new ImeOption that disables fullscreen in landscape, and use it.
EditorInfo: Add a flag to tell the InputMethodService to never go into fullscreen mode. InputMethodService: When the new flag is set, onEvaluateFullscreenMode always returns false. WebTextView: Use the new flag, along with IME_FLAG_NO_EXTRACT_UI. Fixes http://b/issue?id=2358360
Diffstat (limited to 'core/java/android/view/inputmethod')
-rw-r--r--core/java/android/view/inputmethod/EditorInfo.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/java/android/view/inputmethod/EditorInfo.java b/core/java/android/view/inputmethod/EditorInfo.java
index c718bac..3da18d6 100644
--- a/core/java/android/view/inputmethod/EditorInfo.java
+++ b/core/java/android/view/inputmethod/EditorInfo.java
@@ -111,7 +111,15 @@ public class EditorInfo implements InputType, Parcelable {
* flag for you on multi-line text views.
*/
public static final int IME_FLAG_NO_ENTER_ACTION = 0x40000000;
-
+
+ /**
+ * Flag of {@link #imeOptions}: used to request that the IME never go
+ * into fullscreen mode. Applications need to be aware that the flag is not
+ * a guarantee, and not all IMEs will respect it.
+ * @hide
+ */
+ public static final int IME_FLAG_NO_FULLSCREEN = 0x80000000;
+
/**
* Generic unspecified type for {@link #imeOptions}.
*/