From 9767e41d92bd6f4cf16111b3f911cef78c8b01eb Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 15 Sep 2009 18:45:34 -0700 Subject: Some improvements for wallpaper configuration. This introduces a new activity that you can derive from to implement a wall paper configuration activity. This is supposed to select a theme based on whether it is being run to configure a real wallpaper or a preview, but this is going to be more difficult to do than I thought. :( Also fix a problem in the white theme where the list view's background was being set to white, so it wouldn't work on a transparent bg. Change-Id: I26d5a8695a3c878a1664eb09900eded57eaff990 --- api/current.xml | 64 ++++++++++++++++++++++ .../wallpaper/WallpaperSettingsActivity.java | 48 ++++++++++++++++ .../java/android/widget/ZoomButtonsController.java | 2 +- core/res/res/values/colors.xml | 7 +++ core/res/res/values/public.xml | 3 + core/res/res/values/styles.xml | 1 - core/res/res/values/themes.xml | 26 +++++++++ .../com/android/server/WindowManagerService.java | 6 -- 8 files changed, 149 insertions(+), 8 deletions(-) create mode 100644 core/java/android/service/wallpaper/WallpaperSettingsActivity.java diff --git a/api/current.xml b/api/current.xml index 6121c4342b88..6174bff7fbeb 100644 --- a/api/current.xml +++ b/api/current.xml @@ -10659,6 +10659,17 @@ visibility="public" > + + + + + + + + + + + + + + #ff000000 #ff000000 #60000000 + #80000000 + + #80ffffff #80ffffff #ffffffff #ff000000 diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index c4636f340837..2bc2a0fee5c1 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -1168,10 +1168,13 @@ + + + diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index fae612c8bada..69612e9ce249 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -458,7 +458,6 @@ diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index 4f76c5605349..1aa48ee6bf6b 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -303,6 +303,32 @@ @null + + + + + + + + + + + + diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index 8e85a6a4b14e..bd2c3ed80e06 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -1244,12 +1244,6 @@ public class WindowManagerService extends IWindowManager.Stub "Skipping hidden or animating token: " + w); continue; } - // If this window's app token is ot fullscreen, also irrelevant. - if (!w.mAppToken.appFullscreen) { - if (DEBUG_WALLPAPER) Log.v(TAG, - "Skipping non-fullscreen token: " + w); - continue; - } } if (DEBUG_WALLPAPER) Log.v(TAG, "Win " + w + ": readyfordisplay=" + w.isReadyForDisplay() + " drawpending=" + w.mDrawPending -- cgit v1.2.3-59-g8ed1b