diff options
author | Marco Nelissen <marcone@google.com> | 2009-11-09 15:21:13 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2009-11-09 17:39:33 -0800 |
commit | bf6956b1d95442e9d9c483894d578fe6b7044cbb (patch) | |
tree | dd8e921d31d3182c90eba295bea96848cb221e06 /tools | |
parent | e6ab011b8b8aa6c461e64cabb9b25d890d68edb1 (diff) | |
download | frameworks_base-bf6956b1d95442e9d9c483894d578fe6b7044cbb.zip frameworks_base-bf6956b1d95442e9d9c483894d578fe6b7044cbb.tar.gz frameworks_base-bf6956b1d95442e9d9c483894d578fe6b7044cbb.tar.bz2 |
Add a way for wallpapers to know the delta between virtual screens.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java index f0223e8..c455977 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java @@ -1060,7 +1060,8 @@ public final class Bridge implements ILayoutBridge { } @SuppressWarnings("unused") - public void setWallpaperPosition(IBinder window, float x, float y) { + public void setWallpaperPosition(IBinder window, float x, float y, + float xStep, float yStep) { // pass for now. } @@ -1140,7 +1141,8 @@ public final class Bridge implements ILayoutBridge { } @SuppressWarnings("unused") - public void dispatchWallpaperOffsets(float x, float y, boolean sync) { + public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, + boolean sync) { // pass for now. } |