summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-08-31 12:47:58 -0700
committerDianne Hackborn <hackbod@google.com>2011-08-31 14:18:32 -0700
commitd040edbae968d826aa2c82d382345811a45c646b (patch)
treea2193bbef37a990257ebabc7953b16409aac453e /core/java
parentbe566b488a78e9e5ba0971ebe888d41511a11fa8 (diff)
Use floating point window positions.
Gets rid of gapps between windows during animations. Change-Id: I17d2ef0af214008f0eabd7eb19268f145fe83b39
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 1b4edf12ac09..a963e10ff66c 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -20,6 +20,7 @@ import android.content.Context;
import android.content.res.CompatibilityInfo;
import android.content.res.Configuration;
import android.graphics.Rect;
+import android.graphics.RectF;
import android.os.IBinder;
import android.os.LocalPowerManager;
import android.view.animation.Animation;
@@ -165,7 +166,7 @@ public interface WindowManagerPolicy {
*
* @return Rect The rectangle holding the shown window frame.
*/
- public Rect getShownFrameLw();
+ public RectF getShownFrameLw();
/**
* Retrieve the frame of the display that this window was last