Loading packages/SystemUI/res/drawable/shortcut_button_colored.xml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ <item> <shape android:shape="rectangle"> <corners android:radius="16dp"/> <solid android:color="?androidprv:attr/colorSurface"/> <solid android:color="?androidprv:attr/materialColorSurfaceBright"/> </shape> </item> </ripple> Loading packages/SystemUI/res/drawable/shortcut_button_focus_colored.xml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ <item> <shape android:shape="rectangle"> <corners android:radius="16dp"/> <solid android:color="?androidprv:attr/colorAccentPrimary"/> <solid android:color="?androidprv:attr/materialColorPrimary"/> </shape> </item> </ripple> Loading packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml +1 −5 Original line number Diff line number Diff line Loading @@ -85,7 +85,6 @@ android:id="@+id/shortcut_system" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_system" /> Loading @@ -93,7 +92,6 @@ android:id="@+id/shortcut_input" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_input"/> Loading @@ -101,7 +99,6 @@ android:id="@+id/shortcut_open_apps" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_open_apps"/> Loading @@ -109,7 +106,6 @@ android:id="@+id/shortcut_specific_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_current_app"/> </LinearLayout> Loading packages/SystemUI/res/values/styles.xml +8 −4 Original line number Diff line number Diff line Loading @@ -1496,10 +1496,14 @@ <style name="ShortCutButton" parent="@android:style/Widget.Material.Button"> <item name="android:background">@drawable/shortcut_button_colored</item> <item name="android:stateListAnimator">@null</item> <item name="android:textSize">16sp</item> <item name="android:padding">4dp</item> <item name="android:textColor">?androidprv:attr/textColorSecondary</item> <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> <item name="android:layout_marginEnd">12dp</item> <item name="android:paddingLeft">24dp</item> <item name="android:paddingRight">24dp</item> <item name="android:minHeight">40dp</item> <item name="android:stateListAnimator">@*android:anim/flat_button_state_list_anim_material</item> <item name="android:pointerIcon">arrow</item> </style> <style name="ShortcutHorizontalDivider"> Loading packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcutListSearch.java +2 −2 Original line number Diff line number Diff line Loading @@ -1277,12 +1277,12 @@ public final class KeyboardShortcutListSearch { private int getColorOfTextColorOnAccent() { return Utils.getColorAttrDefaultColor( mContext, com.android.internal.R.attr.textColorOnAccent); mContext, com.android.internal.R.attr.materialColorOnPrimary); } private int getColorOfTextColorSecondary() { return Utils.getColorAttrDefaultColor( mContext, com.android.internal.R.attr.textColorSecondary); mContext, com.android.internal.R.attr.materialColorOnSurface); } // Create the new data structure for handling the N-to-1 key mapping and other complex case. Loading Loading
packages/SystemUI/res/drawable/shortcut_button_colored.xml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ <item> <shape android:shape="rectangle"> <corners android:radius="16dp"/> <solid android:color="?androidprv:attr/colorSurface"/> <solid android:color="?androidprv:attr/materialColorSurfaceBright"/> </shape> </item> </ripple> Loading
packages/SystemUI/res/drawable/shortcut_button_focus_colored.xml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ <item> <shape android:shape="rectangle"> <corners android:radius="16dp"/> <solid android:color="?androidprv:attr/colorAccentPrimary"/> <solid android:color="?androidprv:attr/materialColorPrimary"/> </shape> </item> </ripple> Loading
packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml +1 −5 Original line number Diff line number Diff line Loading @@ -85,7 +85,6 @@ android:id="@+id/shortcut_system" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_system" /> Loading @@ -93,7 +92,6 @@ android:id="@+id/shortcut_input" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_input"/> Loading @@ -101,7 +99,6 @@ android:id="@+id/shortcut_open_apps" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_open_apps"/> Loading @@ -109,7 +106,6 @@ android:id="@+id/shortcut_specific_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" style="@style/ShortCutButton" android:text="@string/keyboard_shortcut_search_category_current_app"/> </LinearLayout> Loading
packages/SystemUI/res/values/styles.xml +8 −4 Original line number Diff line number Diff line Loading @@ -1496,10 +1496,14 @@ <style name="ShortCutButton" parent="@android:style/Widget.Material.Button"> <item name="android:background">@drawable/shortcut_button_colored</item> <item name="android:stateListAnimator">@null</item> <item name="android:textSize">16sp</item> <item name="android:padding">4dp</item> <item name="android:textColor">?androidprv:attr/textColorSecondary</item> <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> <item name="android:layout_marginEnd">12dp</item> <item name="android:paddingLeft">24dp</item> <item name="android:paddingRight">24dp</item> <item name="android:minHeight">40dp</item> <item name="android:stateListAnimator">@*android:anim/flat_button_state_list_anim_material</item> <item name="android:pointerIcon">arrow</item> </style> <style name="ShortcutHorizontalDivider"> Loading
packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcutListSearch.java +2 −2 Original line number Diff line number Diff line Loading @@ -1277,12 +1277,12 @@ public final class KeyboardShortcutListSearch { private int getColorOfTextColorOnAccent() { return Utils.getColorAttrDefaultColor( mContext, com.android.internal.R.attr.textColorOnAccent); mContext, com.android.internal.R.attr.materialColorOnPrimary); } private int getColorOfTextColorSecondary() { return Utils.getColorAttrDefaultColor( mContext, com.android.internal.R.attr.textColorSecondary); mContext, com.android.internal.R.attr.materialColorOnSurface); } // Create the new data structure for handling the N-to-1 key mapping and other complex case. Loading