From bf6956b1d95442e9d9c483894d578fe6b7044cbb Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Mon, 9 Nov 2009 15:21:13 -0800 Subject: Add a way for wallpapers to know the delta between virtual screens. --- core/java/android/view/IWindowSession.aidl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/java/android/view/IWindowSession.aidl') diff --git a/core/java/android/view/IWindowSession.aidl b/core/java/android/view/IWindowSession.aidl index 7e7a38f..b6b009b 100644 --- a/core/java/android/view/IWindowSession.aidl +++ b/core/java/android/view/IWindowSession.aidl @@ -113,8 +113,10 @@ interface IWindowSession { /** * For windows with the wallpaper behind them, and the wallpaper is * larger than the screen, set the offset within the screen. + * For multi screen launcher type applications, xstep and ystep indicate + * how big the increment is from one screen to another. */ - void setWallpaperPosition(IBinder windowToken, float x, float y); + void setWallpaperPosition(IBinder windowToken, float x, float y, float xstep, float ystep); void wallpaperOffsetsComplete(IBinder window); -- cgit v1.1