Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedControllerTest.java339 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateActive_shortcutRequestActivate_skipActions()
351 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestInActivate_skipAction()
363 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testStateNotActive_shortcutRequestActivate_doAction()
375 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testEnteringTransition_shortcutRequestActivate_skipActions()
386 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testExitingTransition_shortcutRequestActivate_skipActions()
395 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled()
421 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testNotifyEventCallbackWithMainExecutor()
459 when(mSpiedOneHandedController.isShortcutEnabled()).thenReturn(true); in testShortcutEnable_ableToAutoEnableOneHandedMode()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTarget.java76 holder.mCheckBoxView.setChecked(isEditMenuMode && isShortcutEnabled()); in updateActionItem()
135 public boolean isShortcutEnabled() { in isShortcutEnabled() method in AccessibilityTarget
DAccessibilityShortcutChooserActivity.java86 if ((target instanceof AccessibilityServiceTarget) && !target.isShortcutEnabled()) { in onTargetChecked()
100 target.onCheckedChanged(!target.isShortcutEnabled()); in onTargetChecked()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java357 if (!isShortcutEnabled()) { in notifyShortcutStateChanged()
496 if (!isShortcutEnabled()) {
579 boolean isShortcutEnabled() {
698 pw.println(isShortcutEnabled());