diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-05 12:54:24 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-05 14:56:38 -0800 |
commit | 726bee7d5da64e0cdca991c03c79a6c4ec41c694 (patch) | |
tree | cea8e33f2d97c6f7ab43bb69585a337b2af88667 /res | |
parent | 85f1eed52de4c983c1e279523a1c9b35d6ccb842 (diff) | |
download | android_packages_apps_Trebuchet-726bee7d5da64e0cdca991c03c79a6c4ec41c694.tar.gz android_packages_apps_Trebuchet-726bee7d5da64e0cdca991c03c79a6c4ec41c694.tar.bz2 android_packages_apps_Trebuchet-726bee7d5da64e0cdca991c03c79a6c4ec41c694.zip |
Removing click-feedback shadow generation logic in BubbleTextView
Instead of animating the shadow, animating the icon scale. This avoids
unnecessary bitmap creating at app-launch and also plays nice with the
app-launch transition
Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/deep_shortcut.xml | 1 | ||||
-rw-r--r-- | res/layout/system_shortcut.xml | 1 | ||||
-rw-r--r-- | res/layout/widgets_list_row_view.xml | 1 | ||||
-rw-r--r-- | res/values/attrs.xml | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/res/layout/deep_shortcut.xml b/res/layout/deep_shortcut.xml index 4a3db1f13..4a2ad4225 100644 --- a/res/layout/deep_shortcut.xml +++ b/res/layout/deep_shortcut.xml @@ -35,7 +35,6 @@ android:textColor="?android:attr/textColorPrimary" android:fontFamily="sans-serif" launcher:layoutHorizontal="true" - launcher:deferShadowGeneration="true" launcher:iconDisplay="shortcut_popup" launcher:iconSizeOverride="@dimen/deep_shortcut_icon_size" /> diff --git a/res/layout/system_shortcut.xml b/res/layout/system_shortcut.xml index 1888e2254..04f3d027d 100644 --- a/res/layout/system_shortcut.xml +++ b/res/layout/system_shortcut.xml @@ -34,7 +34,6 @@ android:fontFamily="sans-serif" launcher:iconDisplay="shortcut_popup" launcher:layoutHorizontal="true" - launcher:deferShadowGeneration="true" android:focusable="false" /> <View diff --git a/res/layout/widgets_list_row_view.xml b/res/layout/widgets_list_row_view.xml index 4cd03ce05..91baf7a76 100644 --- a/res/layout/widgets_list_row_view.xml +++ b/res/layout/widgets_list_row_view.xml @@ -42,7 +42,6 @@ android:textColor="?android:attr/textColorPrimary" android:textSize="16sp" android:textAlignment="viewStart" - launcher:deferShadowGeneration="true" launcher:iconDisplay="widget_section" launcher:iconSizeOverride="@dimen/widget_section_icon_size" launcher:layoutHorizontal="true" /> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 1351dfa84..64ca05e3c 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -44,7 +44,6 @@ <enum name="widget_section" value="3" /> <enum name="shortcut_popup" value="4" /> </attr> - <attr name="deferShadowGeneration" format="boolean" /> <attr name="centerVertically" format="boolean" /> </declare-styleable> |