summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-02-24 11:19:57 -0800
committerMichael Jurka <mikejurka@google.com>2011-03-02 14:48:28 -0800
commit2763be3150d429d338b9848286e9365b4052c100 (patch)
tree2f3878467b76a80790eed214e422e086f29e5fae /res
parentd72b048e207b8577b36f8c9a685a70046c3c5f58 (diff)
downloadpackages_apps_Trebuchet-2763be3150d429d338b9848286e9365b4052c100.tar.gz
packages_apps_Trebuchet-2763be3150d429d338b9848286e9365b4052c100.tar.bz2
packages_apps_Trebuchet-2763be3150d429d338b9848286e9365b4052c100.zip
Improving performance of All Apps transition
- increased perf ~8fps using hardware layers Change-Id: Ic6a2c23e9182fdb1ee362cbd72f7813f4e9accf0
Diffstat (limited to 'res')
-rw-r--r--res/layout-xlarge-land/all_apps_tabbed.xml1
-rw-r--r--res/layout-xlarge-port/all_apps_tabbed.xml1
-rw-r--r--res/values-xlarge/config.xml4
3 files changed, 4 insertions, 2 deletions
diff --git a/res/layout-xlarge-land/all_apps_tabbed.xml b/res/layout-xlarge-land/all_apps_tabbed.xml
index 166bec24d..39c966b0c 100644
--- a/res/layout-xlarge-land/all_apps_tabbed.xml
+++ b/res/layout-xlarge-land/all_apps_tabbed.xml
@@ -21,6 +21,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
+ android:id="@+id/all_apps_tab_bar"
android:layout_width="952dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
diff --git a/res/layout-xlarge-port/all_apps_tabbed.xml b/res/layout-xlarge-port/all_apps_tabbed.xml
index 115bdbe94..7673984b3 100644
--- a/res/layout-xlarge-port/all_apps_tabbed.xml
+++ b/res/layout-xlarge-port/all_apps_tabbed.xml
@@ -21,6 +21,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
+ android:id="@+id/all_apps_tab_bar"
android:layout_width="700dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
diff --git a/res/values-xlarge/config.xml b/res/values-xlarge/config.xml
index 900fbba15..90d8dc4d1 100644
--- a/res/values-xlarge/config.xml
+++ b/res/values-xlarge/config.xml
@@ -9,7 +9,7 @@
<!-- Duration in milliseconds of the all apps / configuration zoom-in animation. -->
<!-- NB: This should be less than the workspaceShrinkTime as they happen together. -->
- <integer name="config_allAppsZoomInTime">1450</integer>
+ <integer name="config_allAppsZoomInTime">1211</integer>
<!-- Duration in milliseconds of the transition between tabs in the all apps/customize
tray -->
@@ -37,7 +37,7 @@
NOTE: If these are changed, the toolbar animation times below should also be. -->
<integer name="config_allAppsFadeOutTime">500</integer>
<integer name="config_customizeWorkspaceShrinkTime">800</integer>
- <integer name="config_allAppsWorkspaceShrinkTime">1450</integer>
+ <integer name="config_allAppsWorkspaceShrinkTime">1211</integer>
<integer name="config_workspaceUnshrinkTime">650</integer>
<!-- Duration in milliseconds toolbar fade in and fade out animations.