Loading core/java/android/hardware/input/InputSettings.java +1 −12 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import static com.android.hardware.input.Flags.mouseSwapPrimaryButton; import static com.android.hardware.input.Flags.pointerAcceleration; import static com.android.hardware.input.Flags.touchpadDisable; import static com.android.hardware.input.Flags.touchpadSystemGestureDisable; import static com.android.hardware.input.Flags.touchpadThreeFingerTapShortcut; import static com.android.hardware.input.Flags.touchpadVisualizer; import static com.android.input.flags.Flags.FLAG_KEYBOARD_REPEAT_KEYS; import static com.android.input.flags.Flags.keyboardRepeatKeys; Loading Loading @@ -453,15 +452,6 @@ public class InputSettings { return touchpadVisualizer(); } /** * Returns true if the feature flag for the touchpad three-finger tap shortcut is enabled. * * @hide */ public static boolean isTouchpadThreeFingerTapShortcutFeatureFlagEnabled() { return isCustomizableInputGesturesFeatureFlagEnabled() && touchpadThreeFingerTapShortcut(); } /** * Returns true if the feature flag for toggling the mouse scrolling acceleration is enabled. * Loading Loading @@ -608,8 +598,7 @@ public class InputSettings { int customizedShortcut = Settings.System.getIntForUser(context.getContentResolver(), Settings.System.TOUCHPAD_THREE_FINGER_TAP_CUSTOMIZATION, KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED, UserHandle.USER_CURRENT); return customizedShortcut != KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED && isTouchpadThreeFingerTapShortcutFeatureFlagEnabled(); return customizedShortcut != KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED; } /** Loading core/java/android/hardware/input/input_framework.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -92,13 +92,6 @@ flag { bug: "357144512" } flag { name: "touchpad_three_finger_tap_shortcut" namespace: "input" description: "Turns three-finger touchpad taps into a customizable shortcut." bug: "365063048" } flag { name: "enable_display_color_inversion_key_gestures" namespace: "input" Loading Loading
core/java/android/hardware/input/InputSettings.java +1 −12 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import static com.android.hardware.input.Flags.mouseSwapPrimaryButton; import static com.android.hardware.input.Flags.pointerAcceleration; import static com.android.hardware.input.Flags.touchpadDisable; import static com.android.hardware.input.Flags.touchpadSystemGestureDisable; import static com.android.hardware.input.Flags.touchpadThreeFingerTapShortcut; import static com.android.hardware.input.Flags.touchpadVisualizer; import static com.android.input.flags.Flags.FLAG_KEYBOARD_REPEAT_KEYS; import static com.android.input.flags.Flags.keyboardRepeatKeys; Loading Loading @@ -453,15 +452,6 @@ public class InputSettings { return touchpadVisualizer(); } /** * Returns true if the feature flag for the touchpad three-finger tap shortcut is enabled. * * @hide */ public static boolean isTouchpadThreeFingerTapShortcutFeatureFlagEnabled() { return isCustomizableInputGesturesFeatureFlagEnabled() && touchpadThreeFingerTapShortcut(); } /** * Returns true if the feature flag for toggling the mouse scrolling acceleration is enabled. * Loading Loading @@ -608,8 +598,7 @@ public class InputSettings { int customizedShortcut = Settings.System.getIntForUser(context.getContentResolver(), Settings.System.TOUCHPAD_THREE_FINGER_TAP_CUSTOMIZATION, KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED, UserHandle.USER_CURRENT); return customizedShortcut != KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED && isTouchpadThreeFingerTapShortcutFeatureFlagEnabled(); return customizedShortcut != KeyGestureEvent.KEY_GESTURE_TYPE_UNSPECIFIED; } /** Loading
core/java/android/hardware/input/input_framework.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -92,13 +92,6 @@ flag { bug: "357144512" } flag { name: "touchpad_three_finger_tap_shortcut" namespace: "input" description: "Turns three-finger touchpad taps into a customizable shortcut." bug: "365063048" } flag { name: "enable_display_color_inversion_key_gestures" namespace: "input" Loading