diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-04-05 13:37:46 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-04-06 11:29:32 -0700 |
commit | d792a7723430cfc84d60af7d885bd51d2159df32 (patch) | |
tree | 95d12da9038f4f679e359ec9453e1941704973ad /quickstep/res | |
parent | 80be805996c8d62804ea62a7d6b4bc695bc8c24e (diff) | |
download | android_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.tar.gz android_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.tar.bz2 android_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.zip |
Updating the card size logic
In full screen always follow the device aspect ratio
In multi-window, follow the 1:1 split window size
Rotate the screen shot only in full-screen mode
Bug: 70289009
Change-Id: Id5095565634d4d7920fefa929b28276db80bda5f
Diffstat (limited to 'quickstep/res')
-rw-r--r-- | quickstep/res/values/dimens.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/quickstep/res/values/dimens.xml b/quickstep/res/values/dimens.xml index ab6d8af7a..c74191395 100644 --- a/quickstep/res/values/dimens.xml +++ b/quickstep/res/values/dimens.xml @@ -20,7 +20,6 @@ <dimen name="task_thumbnail_icon_size">48dp</dimen> <dimen name="task_menu_background_radius">12dp</dimen> <dimen name="task_corner_radius">2dp</dimen> - <dimen name="task_fade_length">20dp</dimen> <dimen name="recents_page_spacing">10dp</dimen> <!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start @@ -37,4 +36,13 @@ <dimen name="recents_empty_message_text_size">16sp</dimen> <dimen name="recents_empty_message_text_padding">16dp</dimen> + <!-- Total space (start + end) between the task card and the edge of the screen + in various configurations --> + <dimen name="task_card_vert_space">40dp</dimen> + <dimen name="portrait_task_card_horz_space">136dp</dimen> + <dimen name="landscape_task_card_horz_space">200dp</dimen> + <dimen name="multi_window_task_card_horz_space">100dp</dimen> + <!-- Copied from framework resource: + docked_stack_divider_thickness - 2 * docked_stack_divider_insets --> + <dimen name="multi_window_task_divider_size">10dp</dimen> </resources> |