summaryrefslogtreecommitdiff
path: root/core/java/android/view/WindowManager.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-10-28 14:24:22 -0700
committerDianne Hackborn <hackbod@google.com>2010-10-29 16:59:15 -0700
commitdea3ef7967228f0ddcc03f2455a4f1254758e584 (patch)
treea076c086e4f34e1d6c3b6aec6fa1b8fa07b0118b /core/java/android/view/WindowManager.java
parente2160a049ff4930b59fd67a85c8e2c98ceefc7ed (diff)
Add new resize mode to not resize, new web input types.
Change-Id: Ib098c03793d08532c3c099b59d0cc6b567e54900
Diffstat (limited to 'core/java/android/view/WindowManager.java')
-rw-r--r--core/java/android/view/WindowManager.java48
1 files changed, 27 insertions, 21 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index 0b2d0f66b340..e5f4b087e6fe 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -762,6 +762,12 @@ public interface WindowManager extends ViewManager {
*/
public static final int SOFT_INPUT_ADJUST_PAN = 0x20;
+ /** Adjustment option for {@link #softInputMode}: set to have a window
+ * not adjust for a shown input method. The window will not be resized,
+ * and it will not be panned to make its focus visible.
+ */
+ public static final int SOFT_INPUT_ADJUST_NOTHING = 0x30;
+
/**
* Bit for {@link #softInputMode}: set when the user has navigated
* forward to the window. This is normally set automatically for
@@ -772,27 +778,6 @@ public interface WindowManager extends ViewManager {
public static final int SOFT_INPUT_IS_FORWARD_NAVIGATION = 0x100;
/**
- * Default value for {@link #screenBrightness} and {@link #buttonBrightness}
- * indicating that the brightness value is not overridden for this window
- * and normal brightness policy should be used.
- */
- public static final float BRIGHTNESS_OVERRIDE_NONE = -1.0f;
-
- /**
- * Value for {@link #screenBrightness} and {@link #buttonBrightness}
- * indicating that the screen or button backlight brightness should be set
- * to the lowest value when this window is in front.
- */
- public static final float BRIGHTNESS_OVERRIDE_OFF = 0.0f;
-
- /**
- * Value for {@link #screenBrightness} and {@link #buttonBrightness}
- * indicating that the screen or button backlight brightness should be set
- * to the hightest value when this window is in front.
- */
- public static final float BRIGHTNESS_OVERRIDE_FULL = 1.0f;
-
- /**
* Desired operating mode for any soft input area. May any combination
* of:
*
@@ -852,6 +837,27 @@ public interface WindowManager extends ViewManager {
* dim.
*/
public float dimAmount = 1.0f;
+
+ /**
+ * Default value for {@link #screenBrightness} and {@link #buttonBrightness}
+ * indicating that the brightness value is not overridden for this window
+ * and normal brightness policy should be used.
+ */
+ public static final float BRIGHTNESS_OVERRIDE_NONE = -1.0f;
+
+ /**
+ * Value for {@link #screenBrightness} and {@link #buttonBrightness}
+ * indicating that the screen or button backlight brightness should be set
+ * to the lowest value when this window is in front.
+ */
+ public static final float BRIGHTNESS_OVERRIDE_OFF = 0.0f;
+
+ /**
+ * Value for {@link #screenBrightness} and {@link #buttonBrightness}
+ * indicating that the screen or button backlight brightness should be set
+ * to the hightest value when this window is in front.
+ */
+ public static final float BRIGHTNESS_OVERRIDE_FULL = 1.0f;
/**
* This can be used to override the user's preferred brightness of