Home
last modified time | relevance | path

Searched refs:isShortcutEnabled (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
H A DOneHandedControllerTest.java392 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateActive_shortcutRequestActivate_skipActions()
404 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestInActivate_skipAction()
416 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestActivate_doAction()
428 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testEnteringTransition_shortcutRequestActivate_skipActions()
439 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testExitingTransition_shortcutRequestActivate_skipActions()
448 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled()
474 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testNotifyEventCallbackWithMainExecutor()
512 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testShortcutEnable_ableToAutoEnableOneHandedMode()
/aosp12/frameworks/base/core/java/com/android/internal/accessibility/dialog/
H A DAccessibilityTarget.java76 holder.mCheckBoxView.setChecked(isEditMenuMode && isShortcutEnabled()); in updateActionItem()
135 public boolean isShortcutEnabled() { in isShortcutEnabled() method in AccessibilityTarget
H A DAccessibilityShortcutChooserActivity.java104 if ((target instanceof AccessibilityServiceTarget) && !target.isShortcutEnabled()) { in onTargetChecked()
118 target.onCheckedChanged(!target.isShortcutEnabled()); in onTargetChecked()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedController.java339 if (!isShortcutEnabled()) { in notifyShortcutStateChanged()
481 if (!isShortcutEnabled()) {
565 boolean isShortcutEnabled() {
684 pw.println(isShortcutEnabled());