Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
H A DOneHandedControllerTest.java432 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateActive_shortcutRequestActivate_skipActions()
444 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestInActivate_skipAction()
456 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestActivate_doAction()
468 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testEnteringTransition_shortcutRequestActivate_skipActions()
479 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testExitingTransition_shortcutRequestActivate_skipActions()
488 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled()
514 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testNotifyEventCallbackWithMainExecutor()
552 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testShortcutEnable_ableToAutoEnableOneHandedMode()
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/dialog/
H A DAccessibilityTarget.java90 holder.mCheckBoxView.setChecked(isEditMenuMode && isShortcutEnabled()); in updateActionItem()
153 public boolean isShortcutEnabled() { in isShortcutEnabled() method in AccessibilityTarget
H A DAccessibilityShortcutChooserActivity.java112 if (!target.isShortcutEnabled()) { in onTargetChecked()
127 target.onCheckedChanged(!target.isShortcutEnabled()); in onTargetChecked()
H A DAccessibilityActivityTarget.java59 final boolean enabled = isAllowed || (isEditMenuMode && isShortcutEnabled()); in updateActionItem()
H A DAccessibilityServiceTarget.java61 final boolean enabled = isAllowed || (isEditMenuMode && isShortcutEnabled()); in updateActionItem()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedController.java352 if (!isShortcutEnabled()) { in notifyShortcutStateChanged()
498 if (!isShortcutEnabled()) {
577 boolean isShortcutEnabled() {
660 pw.println(isShortcutEnabled());