Searched refs:KEYCODE_STEM_PRIMARY (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | DeferredKeyActionExecutorTests.java | 45 mKeyActionExecutor.queueKeyAction(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action); in queueKeyAction_actionNotExecuted() 53 mKeyActionExecutor.queueKeyAction(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action); in setActionsExecutable_afterActionQueued_actionExecuted() 55 mKeyActionExecutor.setActionsExecutable(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1); in setActionsExecutable_afterActionQueued_actionExecuted() 63 mKeyActionExecutor.setActionsExecutable(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1); in queueKeyAction_alreadyExecutable_actionExecuted() 65 mKeyActionExecutor.queueKeyAction(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action); in queueKeyAction_alreadyExecutable_actionExecuted() 74 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action1); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 76 mKeyActionExecutor.setActionsExecutable(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 2); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 82 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 2, action2); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 91 mKeyActionExecutor.setActionsExecutable(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1); in queueKeyAction_afterSetExecutable_downTimeMismatch_actionNotExecuted() 93 mKeyActionExecutor.queueKeyAction(KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 2, action); in queueKeyAction_afterSetExecutable_downTimeMismatch_actionNotExecuted() [all …]
|
D | StemKeyGestureTests.java | 23 import static android.view.KeyEvent.KEYCODE_STEM_PRIMARY; 62 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_duringSetup_doNothing() 79 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_AfterSetup_openAllApp() 102 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_launchTargetActivity() 123 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_launchTargetActivity_whenScreenIsOff() 139 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_appHasOverridePermission_consumedByApp_notOpenAllApp() 153 sendKey(KEYCODE_STEM_PRIMARY); in stemSingleKey_appHasOverridePermission_notConsumedByApp_openAllApp() 168 sendKey(KEYCODE_STEM_PRIMARY, /* longPress= */ true); in stemLongKey_triggerSearchServiceToLaunchAssist() 184 sendKey(KEYCODE_STEM_PRIMARY, /* longPress= */ true); in stemLongKey_whenNoSearchService_triggerStatusBarToStartAssist() 203 sendKey(KEYCODE_STEM_PRIMARY); in stemDoubleKey_EarlyShortPress_AllAppsThenSwitchToMostRecent() [all …]
|
D | WindowWakeUpPolicyTests.java | 29 import static android.view.KeyEvent.KEYCODE_STEM_PRIMARY; 172 assertThat(mPolicy.wakeUpFromKey(300, KEYCODE_STEM_PRIMARY, false)).isTrue(); in testKeyWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake() 173 verify(mInputWakeUpDelegate).wakeUpFromKey(300, KEYCODE_STEM_PRIMARY, false); in testKeyWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 796 public static final int KEYCODE_STEM_PRIMARY = 264; field in KeyEvent 2152 case KeyEvent.KEYCODE_STEM_PRIMARY: in isSystemKey() 2169 case KeyEvent.KEYCODE_STEM_PRIMARY: in isWakeKey()
|
D | ViewRootImpl.java | 10257 if (keyCode != KeyEvent.KEYCODE_STEM_PRIMARY) { in logHandledSystemKey()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 48 import static android.view.KeyEvent.KEYCODE_STEM_PRIMARY; 1535 mKeyguardDelegate.onSystemKeyPressed(KeyEvent.KEYCODE_STEM_PRIMARY); in stemPrimarySinglePressAction() 2471 new TwoKeysCombinationRule(KEYCODE_POWER, KEYCODE_STEM_PRIMARY) { 2697 super(KeyEvent.KEYCODE_STEM_PRIMARY); 2717 KeyEvent.KEYCODE_STEM_PRIMARY, downTime, () -> stemPrimaryPress(1 /*count*/)); 2724 KeyEvent.KEYCODE_STEM_PRIMARY, 2739 mDeferredKeyActionExecutor.cancelQueuedAction(KeyEvent.KEYCODE_STEM_PRIMARY); 2745 KeyEvent.KEYCODE_STEM_PRIMARY, downTime, () -> stemPrimaryPress(count)); 2787 KeyEvent.KEYCODE_STEM_PRIMARY, 3797 case KeyEvent.KEYCODE_STEM_PRIMARY: [all …]
|
/frameworks/base/core/api/ |
D | current.txt | 51483 field public static final int KEYCODE_STEM_PRIMARY = 264; // 0x108
|