Home
last modified time | relevance | path

Searched refs:KEYCODE_BACK (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java25 import static android.view.KeyEvent.KEYCODE_BACK;
91 checkmetrics(KEYCODE_BACK, ACTION_UP, 0, NAVBAR_BACK_BUTTON_TAP); in testLogBackPress()
106 checkmetrics(KEYCODE_BACK, ACTION_DOWN, FLAG_LONG_PRESS, NAVBAR_BACK_BUTTON_LONGPRESS); in testLogBackLongPressLog()
122 checkmetrics(KEYCODE_BACK, ACTION_DOWN, 0, null); in testNoLogKeyDown()
128 checkmetrics(KEYCODE_BACK, ACTION_UP, 0, null); in testNoLogTapAfterLong()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java21 import static android.view.KeyEvent.KEYCODE_BACK;
150 new SingleKeyGestureDetector.SingleKeyRule(KEYCODE_BACK) { in initSingleKeyGestureRules()
181 mKeyUpQueue.add(new KeyUpData(KEYCODE_BACK, multiPressCount)); in initSingleKeyGestureRules()
318 pressKey(KEYCODE_BACK, 0 /* pressTime */); in testShortPress_Pressure()
372 () -> pressKey(KEYCODE_BACK, 0 /* pressTime */), mWaitTimeout); in testOnKeyUp_Pressure()
376 verifyKeyUpData(KEYCODE_BACK, 1 /* expectedMultiPressCount */); in testOnKeyUp_Pressure()
392 pressKey(KEYCODE_BACK, mLongPressTime); in testUpdateRule()
DKeyCombinationManagerTests.java21 import static android.view.KeyEvent.KEYCODE_BACK;
179 pressKeys(eventTime, KEYCODE_BACK, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_NoRule()
DShortcutLoggingTests.java81 {"BACK key -> Go back", new int[]{KeyEvent.KEYCODE_BACK}, KeyboardLogEvent.BACK, in shortcutTestArguments()
82 KeyEvent.KEYCODE_BACK, 0}, in shortcutTestArguments()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java64 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrolling()
83 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrollingToTouchMode()
DListEmptyViewTest.java79 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testZeroToOneForwardBack()
122 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testZeroToManyToZero()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/
DTvSplitMenuView.java20 import static android.view.KeyEvent.KEYCODE_BACK;
83 if (event.getKeyCode() == KEYCODE_BACK) { in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandlerTest.kt62 val backKeyEventActionDown = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
63 val backKeyEventActionUp = KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandler.kt44 KeyEvent.KEYCODE_BACK -> { in dispatchKeyEvent()
/frameworks/base/core/java/android/hardware/input/
DVirtualDpad.java48 KeyEvent.KEYCODE_BACK,
DVirtualKeyEvent.java173 KeyEvent.KEYCODE_BACK,
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java20 import static android.view.KeyEvent.KEYCODE_BACK;
73 mCode = KEYCODE_BACK; in KeyButtonView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt205 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)) in <lambda>()
206 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK)) in <lambda>()
220 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)) in <lambda>()
221 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractor.kt86 KeyEvent.KEYCODE_BACK -> in dispatchKeyEventPreIme()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java62 final KeyEvent ev = new KeyEvent(when, when, action, KeyEvent.KEYCODE_BACK, in sendBackEvent()
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DScreenLockRule.kt101 uiDevice.pressKeyCode(KeyEvent.KEYCODE_BACK) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DCredentialPasswordViewBinder.kt100 if (keyCode != KeyEvent.KEYCODE_BACK) { in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java93 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java481 if (keyCode == KeyEvent.KEYCODE_BACK) { in onContainerKey()
524 case KeyEvent.KEYCODE_BACK: in isInterestingKey()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DStackEducationView.kt90 keyCode == KeyEvent.KEYCODE_BACK && !isHiding) { in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java394 case KeyEvent.KEYCODE_BACK: in logSomePresses()
430 if (mCode == KeyEvent.KEYCODE_BACK && flags != KeyEvent.FLAG_LONG_PRESS) { in sendEvent()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseActivity.java187 if ((keyCode == KeyEvent.KEYCODE_BACK) && mWebView.canGoBack()) { in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DLegacyScreenshotViewProxy.kt221 if (keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_ESCAPE) { in setOnKeyListener()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuView.java20 import static android.view.KeyEvent.KEYCODE_BACK;
494 if (event.getKeyCode() == KEYCODE_BACK) { in dispatchKeyEvent()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseSetupWizardActivity.java278 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK in dispatchKeyEvent()

123