Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 560f2499 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add settings search synonyms for touchpad." into main

parents bfaa3398 59a3ed3f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4362,6 +4362,10 @@
    <string name="trackpad_pointer_speed">Pointer speed</string>
    <!-- Title for the button to trigger the 'touch gesture' education. [CHAR LIMIT=35] -->
    <string name="trackpad_touch_gesture">Learn touchpad gestures</string>
    <!-- Search keywords for "touchpad" -->
    <string name="keywords_touchpad">trackpad, track pad, mouse, cursor, scroll, swipe, right click, click, pointer</string>
    <!-- Search keywords for 'Bottom-right tap', the name of the touchpad setting that allows the user to click the bottom right corner of the touchpad for more options. -->
    <string name="keywords_trackpad_bottom_right_tap">right click, tap</string>
    <!-- Title text for 'Go home' gesture education [CHAR LIMIT=35] -->
    <string name="gesture_title_go_home">Go home</string>
+3 −2
Original line number Diff line number Diff line
@@ -49,7 +49,8 @@
        android:summary="@string/trackpad_bottom_right_tap_summary"
        android:icon="@drawable/ic_trackpad_bottom_right_click"
        settings:controller="com.android.settings.inputmethod.TrackpadBottomPreferenceController"
        android:order="30"/>
        android:order="30"
        settings:keywords="@string/keywords_trackpad_bottom_right_tap"/>

    <com.android.settings.widget.SeekBarPreference
        android:key="trackpad_pointer_speed"
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ public class TrackpadTouchGestureSettings extends DashboardFragment {
    }

    public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
            new BaseSearchIndexProvider(R.xml.trackpad_settings) {
            new BaseSearchIndexProvider(R.xml.trackpad_gesture_settings) {
                @Override
                protected boolean isPageSearchEnabled(Context context) {
                    return FeatureFlagUtils