diff --git a/Android.bp b/Android.bp index b205d0c35c..4274613313 100644 --- a/Android.bp +++ b/Android.bp @@ -221,7 +221,7 @@ launcher_compose_tests_java_defaults { android_library { name: "launcher-aosp-tapl", libs: [ - "framework-statsd", + "framework-statsd.stubs.module_lib", ], static_libs: [ "androidx.annotation_annotation", @@ -388,7 +388,7 @@ android_library { "quickstep/res", ], libs: [ - "framework-statsd", + "framework-statsd.stubs.module_lib", ], static_libs: [ "Launcher3ResLib", @@ -453,7 +453,7 @@ android_library { ], resource_dirs: [], libs: [ - "framework-statsd", + "framework-statsd.stubs.module_lib", ], // Note the ordering here is important when it comes to resource // overriding. We want the most specific resource overrides defined diff --git a/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml b/quickstep/res/drawable/keyboard_quick_switch_text_button_background.xml similarity index 78% rename from quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml rename to quickstep/res/drawable/keyboard_quick_switch_text_button_background.xml index 81802937a2..f2049201f3 100644 --- a/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml +++ b/quickstep/res/drawable/keyboard_quick_switch_text_button_background.xml @@ -15,8 +15,7 @@ --> - - + + diff --git a/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml b/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml index 613edac40a..d1e56675b8 100644 --- a/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml +++ b/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml @@ -18,8 +18,8 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:launcher="http://schemas.android.com/apk/res-auto" - android:layout_width="@dimen/keyboard_quick_switch_taskview_width" - android:layout_height="@dimen/keyboard_quick_switch_taskview_height" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:importantForAccessibility="yes" android:background="@drawable/keyboard_quick_switch_task_view_background" android:clipToOutline="true" @@ -27,8 +27,8 @@ + + + + + + + + + + + + + + + + diff --git a/quickstep/res/layout/keyboard_quick_switch_textonly_taskview.xml b/quickstep/res/layout/keyboard_quick_switch_desktop_taskview.xml similarity index 68% rename from quickstep/res/layout/keyboard_quick_switch_textonly_taskview.xml rename to quickstep/res/layout/keyboard_quick_switch_desktop_taskview.xml index c76a2e34eb..c3f9e54678 100644 --- a/quickstep/res/layout/keyboard_quick_switch_textonly_taskview.xml +++ b/quickstep/res/layout/keyboard_quick_switch_desktop_taskview.xml @@ -18,17 +18,20 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:launcher="http://schemas.android.com/apk/res-auto" - android:layout_width="@dimen/keyboard_quick_switch_taskview_width" - android:layout_height="@dimen/keyboard_quick_switch_taskview_height" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:clipToOutline="true" android:importantForAccessibility="yes" - launcher:focusBorderColor="?attr/materialColorOutline"> + launcher:focusBorderColor="?androidprv:attr/materialColorOutline" + launcher:focusBorderRadius="@dimen/keyboard_quick_switch_text_button_radius"> + + + + + + + + + + + + diff --git a/quickstep/res/layout/keyboard_quick_switch_taskview.xml b/quickstep/res/layout/keyboard_quick_switch_taskview.xml index 8f09176958..41eb623ba4 100644 --- a/quickstep/res/layout/keyboard_quick_switch_taskview.xml +++ b/quickstep/res/layout/keyboard_quick_switch_taskview.xml @@ -18,8 +18,8 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:launcher="http://schemas.android.com/apk/res-auto" - android:layout_width="@dimen/keyboard_quick_switch_taskview_width" - android:layout_height="@dimen/keyboard_quick_switch_taskview_height" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:importantForAccessibility="yes" android:background="@drawable/keyboard_quick_switch_task_view_background" android:clipToOutline="true" @@ -27,8 +27,8 @@ + + + + + + + + + + + + + + + + diff --git a/quickstep/res/values-land/dimens.xml b/quickstep/res/values-land/dimens.xml index e862b9ea6d..2239f8b033 100644 --- a/quickstep/res/values-land/dimens.xml +++ b/quickstep/res/values-land/dimens.xml @@ -83,7 +83,7 @@ 96dp 24dp - 205dp - 119dp + + 217.6dp diff --git a/quickstep/res/values-night/styles.xml b/quickstep/res/values-night/styles.xml index 2cb633a9c4..eb8831068a 100644 --- a/quickstep/res/values-night/styles.xml +++ b/quickstep/res/values-night/styles.xml @@ -14,16 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - + - + + + + +