Loading core/res/res/color/accessibility_autoclick_type_button_color.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2025 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/materialColorOnPrimary" android:state_selected="true"/> <item android:color="@color/materialColorOnSurface"/> </selector> core/res/res/color/accessibility_autoclick_type_button_container_background.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2025 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/materialColorPrimary" android:state_selected="true"/> <item android:color="@color/materialColorSurfaceContainer"/> </selector> core/res/res/drawable/accessibility_autoclick_button_rounded_background.xml +1 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,6 @@ --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/materialColorSurfaceContainer" /> <solid android:color="@color/accessibility_autoclick_type_button_container_background" /> <corners android:radius="24dp" /> </shape> core/res/res/values/styles.xml +1 −1 Original line number Diff line number Diff line Loading @@ -1765,7 +1765,7 @@ please see styles_device_defaults.xml. <item name="android:layout_height">wrap_content</item> <item name="android:scaleType">center</item> <item name="android:background">@android:color/transparent</item> <item name="android:tint">@color/materialColorOnSurface</item> <item name="android:tint">@color/accessibility_autoclick_type_button_color</item> </style> <style name="AccessibilityAutoclickScrollPanelButtonLayoutStyle"> Loading services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickController.java +6 −1 Original line number Diff line number Diff line Loading @@ -664,10 +664,15 @@ public class AutoclickController extends BaseEventStreamTransformation implement @Override public void onConfigurationChanged(@NonNull Configuration newConfig) { // TODO(b/431038033): Add a similar onConfigurationChanged to AutoclickScrollPanel. // When system configuration is changed, update the indicator view // and type panel configuration. if (mAutoclickIndicatorView != null) { // When system configuration is changed, update the indicator view configuration. mAutoclickIndicatorView.onConfigurationChanged(newConfig); } if (mAutoclickTypePanel != null) { mAutoclickTypePanel.onConfigurationChanged(newConfig); } } @Override Loading Loading
core/res/res/color/accessibility_autoclick_type_button_color.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2025 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/materialColorOnPrimary" android:state_selected="true"/> <item android:color="@color/materialColorOnSurface"/> </selector>
core/res/res/color/accessibility_autoclick_type_button_container_background.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2025 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/materialColorPrimary" android:state_selected="true"/> <item android:color="@color/materialColorSurfaceContainer"/> </selector>
core/res/res/drawable/accessibility_autoclick_button_rounded_background.xml +1 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,6 @@ --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/materialColorSurfaceContainer" /> <solid android:color="@color/accessibility_autoclick_type_button_container_background" /> <corners android:radius="24dp" /> </shape>
core/res/res/values/styles.xml +1 −1 Original line number Diff line number Diff line Loading @@ -1765,7 +1765,7 @@ please see styles_device_defaults.xml. <item name="android:layout_height">wrap_content</item> <item name="android:scaleType">center</item> <item name="android:background">@android:color/transparent</item> <item name="android:tint">@color/materialColorOnSurface</item> <item name="android:tint">@color/accessibility_autoclick_type_button_color</item> </style> <style name="AccessibilityAutoclickScrollPanelButtonLayoutStyle"> Loading
services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickController.java +6 −1 Original line number Diff line number Diff line Loading @@ -664,10 +664,15 @@ public class AutoclickController extends BaseEventStreamTransformation implement @Override public void onConfigurationChanged(@NonNull Configuration newConfig) { // TODO(b/431038033): Add a similar onConfigurationChanged to AutoclickScrollPanel. // When system configuration is changed, update the indicator view // and type panel configuration. if (mAutoclickIndicatorView != null) { // When system configuration is changed, update the indicator view configuration. mAutoclickIndicatorView.onConfigurationChanged(newConfig); } if (mAutoclickTypePanel != null) { mAutoclickTypePanel.onConfigurationChanged(newConfig); } } @Override Loading