diff options
author | Jim Miller <jaggies@google.com> | 2012-06-15 17:26:28 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-06-15 18:11:00 -0700 |
commit | 20039ad17b94873ee40fdd61c3d1d1aa590010df (patch) | |
tree | 8f32124cf4b2df6139bcc5505e57b4ca230a8ece /packages/SystemUI | |
parent | d2ee4960c492259665adc2c6630e1a59642677b9 (diff) | |
download | frameworks_base-20039ad17b94873ee40fdd61c3d1d1aa590010df.zip frameworks_base-20039ad17b94873ee40fdd61c3d1d1aa590010df.tar.gz frameworks_base-20039ad17b94873ee40fdd61c3d1d1aa590010df.tar.bz2 |
Fix 6665117: ACTION_ASSIST visual improvements
- add generic icon for search providers that don't supply one
- change alpha weighting factor for glow
- don't show ring background
Change-Id: I86c86dc2d623c25ec7b91e206fac8ad9cd60faac
Diffstat (limited to 'packages/SystemUI')
5 files changed, 7 insertions, 7 deletions
diff --git a/packages/SystemUI/res/drawable/navbar_search_outerring.xml b/packages/SystemUI/res/drawable/navbar_search_outerring.xml index 0dd081d..8a8785f 100644 --- a/packages/SystemUI/res/drawable/navbar_search_outerring.xml +++ b/packages/SystemUI/res/drawable/navbar_search_outerring.xml @@ -19,5 +19,5 @@ <size android:height="@dimen/navbar_search_outerring_diameter" android:width="@dimen/navbar_search_outerring_diameter" /> <solid android:color="#00000000" /> - <stroke android:color="#40ffffff" android:width="2dp" /> -</shape>
\ No newline at end of file + <stroke android:color="#00000000" android:width="2dp" /> +</shape> diff --git a/packages/SystemUI/res/values-land/arrays.xml b/packages/SystemUI/res/values-land/arrays.xml index 53f374d..74a6c81 100644 --- a/packages/SystemUI/res/values-land/arrays.xml +++ b/packages/SystemUI/res/values-land/arrays.xml @@ -22,7 +22,7 @@ <array name="navbar_search_targets"> <item>@null</item> <item>@null</item> - <item>@*android:drawable/ic_lockscreen_search</item> + <item>@*android:drawable/ic_action_assist_generic</item> <item>@null</item> </array> diff --git a/packages/SystemUI/res/values-port/arrays.xml b/packages/SystemUI/res/values-port/arrays.xml index f8b1620..cd6aaf6 100644 --- a/packages/SystemUI/res/values-port/arrays.xml +++ b/packages/SystemUI/res/values-port/arrays.xml @@ -21,7 +21,7 @@ <array name="navbar_search_targets"> <item>@null</item> - <item>@*android:drawable/ic_lockscreen_search</item> + <item>@*android:drawable/ic_action_assist_generic</item> <item>@null</item> <item>@null</item> </array> diff --git a/packages/SystemUI/res/values-sw600dp/arrays.xml b/packages/SystemUI/res/values-sw600dp/arrays.xml index 8b5b17d..f3a1771 100644 --- a/packages/SystemUI/res/values-sw600dp/arrays.xml +++ b/packages/SystemUI/res/values-sw600dp/arrays.xml @@ -21,7 +21,7 @@ <array name="navbar_search_targets"> <item>@null</item> - <item>@*android:drawable/ic_lockscreen_search</item> + <item>@*android:drawable/ic_action_assist_generic</item> <item>@null</item> <item>@null</item> </array> diff --git a/packages/SystemUI/src/com/android/systemui/SearchPanelView.java b/packages/SystemUI/src/com/android/systemui/SearchPanelView.java index c082c97..acab41e 100644 --- a/packages/SystemUI/src/com/android/systemui/SearchPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/SearchPanelView.java @@ -118,7 +118,7 @@ public class SearchPanelView extends FrameLayout implements public void onTrigger(View v, final int target) { final int resId = mGlowPadView.getResourceIdForTarget(target); switch (resId) { - case com.android.internal.R.drawable.ic_lockscreen_search: + case com.android.internal.R.drawable.ic_action_assist_generic: mWaitingForLaunch = true; startAssistActivity(); vibrate(); @@ -155,7 +155,7 @@ public class SearchPanelView extends FrameLayout implements if (component != null) { if (!mGlowPadView.replaceTargetDrawablesIfPresent(component, ASSIST_ICON_METADATA_NAME, - com.android.internal.R.drawable.ic_lockscreen_search)) { + com.android.internal.R.drawable.ic_action_assist_generic)) { Slog.w(TAG, "Couldn't grab icon from component " + component); } } else { |