diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-08-10 23:05:49 -0700 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-08-11 10:03:16 -0400 |
commit | c8a0a75e1c61d1ab24bd46a8243041c107e738ac (patch) | |
tree | 2fb0685253fe71e77f91e0ca7259c83a2b91cae8 /tools | |
parent | 2ce89adde442fac551413362ea442caa088c25e4 (diff) | |
download | frameworks_base-c8a0a75e1c61d1ab24bd46a8243041c107e738ac.zip frameworks_base-c8a0a75e1c61d1ab24bd46a8243041c107e738ac.tar.gz frameworks_base-c8a0a75e1c61d1ab24bd46a8243041c107e738ac.tar.bz2 |
Implement support for scrolling a wallpaper.
This currently only works for a wallpaper that is larger than the
screen. Set the scroll position with the new wallpaper API. Right
now only does jump scrolls.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java | 4 |
1 files changed, 4 insertions, 0 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 fd77d51..8e7d48f 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java @@ -990,6 +990,10 @@ public final class Bridge implements ILayoutBridge { // pass for now. } + public void setWallpaperPosition(IBinder window, float x, float y) { + // pass for now. + } + public IBinder asBinder() { // pass for now. return null; |