Home
last modified time | relevance | path

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

123

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DSharedInputHandlerTest.java100 new KeyEvent(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK, 0, 0); in testBackButton_CancelsSearch()
114 new KeyEvent(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK, 0, 0); in testBackButton_ClearsSelection()
126 new KeyEvent(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK, 0, 0); in testBackButton_PopsDirectory()
138 new KeyEvent(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK, 0, 0); in testBackButton_CloseDrawer()
/packages/apps/TV/src/com/android/tv/ui/
DTvOverlayManager.java1093 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
1100 if (keyCode == KeyEvent.KEYCODE_BACK in onKeyUp()
1108 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
1128 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
1137 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
1146 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
1153 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayDragLayer.java19 import static android.view.KeyEvent.KEYCODE_BACK;
89 if (event.getAction() == ACTION_UP && event.getKeyCode() == KEYCODE_BACK) { in dispatchKeyEvent()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/displaycompat/
DToolbarControllerImpl.java175 KeyEvent.KEYCODE_BACK, /* repeat= */ 0, /* metaState= */ 0, in sendVirtualBackPress()
178 KeyEvent.KEYCODE_BACK, /* repeat= */ 0, /* metaState= */ 0, in sendVirtualBackPress()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivityTest.java130 KeyEvent.KEYCODE_BACK, in onKeyDown_cancelProgress()
131 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)); in onKeyDown_cancelProgress()
DIncomingFileConfirmActivityTest.java266 KeyEvent.KEYCODE_BACK, in onKeyDown()
268 KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)) in onKeyDown()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragLayer.java19 import static android.view.KeyEvent.KEYCODE_BACK;
277 if (event.getAction() == ACTION_UP && event.getKeyCode() == KEYCODE_BACK) { in dispatchKeyEvent()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java421 if (keyCode == KeyEvent.KEYCODE_BACK) { in handleKeyDownEvent()
512 if (keyCode == KeyEvent.KEYCODE_BACK) { in handleKeyUpEvent()
596 keyCode = (keyCode == KeyEvent.KEYCODE_BUTTON_B ? KeyEvent.KEYCODE_BACK : keyCode); in getSimplifiedKey()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsRootView.java52 if ((event.getKeyCode() == KeyEvent.KEYCODE_BACK in dispatchKeyEvent()
/packages/services/Telephony/src/com/android/phone/
DIccPanel.java87 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java95 if (keyCode == KeyEvent.KEYCODE_BACK in onKeyDown()
105 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() in onKeyUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DSharedInputHandler.java73 case KeyEvent.KEYCODE_BACK: in onKeyDown()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DProgressDialogFragment.java93 (progressDialog, keyCode, event) -> KeyEvent.KEYCODE_BACK == keyCode); in onCreateDialog()
/packages/apps/Launcher3/src/com/android/launcher3/
DExtendedEditText.java75 if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP in onKeyPreIme()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivity.java101 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
DBluetoothOppIncomingFileConfirmActivity.java178 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DDirectManipulationHandler.java167 case KeyEvent.KEYCODE_BACK: in onKey()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DRotaryServiceTest.java2173 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK); in testDirectManipulationMode1()
2177 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK); in testDirectManipulationMode1()
2273 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK); in testDirectManipulationMode2()
2277 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK); in testDirectManipulationMode2()
2284 .injectKeyEvent(KeyEvent.KEYCODE_BACK, KeyEvent.ACTION_DOWN); in testDirectManipulationMode2()
2286 .injectKeyEvent(KeyEvent.KEYCODE_BACK, KeyEvent.ACTION_UP); in testDirectManipulationMode2()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcWebPortalFragment.java132 if (keyCode == KeyEvent.KEYCODE_BACK && keyEvent.getAction() == KeyEvent.ACTION_DOWN) { in onKeyDown()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DFullScreenUserSwitcherViewController.java139 if (event.getKeyCode() != KeyEvent.KEYCODE_BACK) { in initializeViews()
/packages/apps/Camera2/src/com/android/camera/
DPermissionsActivity.java168 if (keyCode == KeyEvent.KEYCODE_BACK) { in handlePermissionsFailure()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewController.java90 if (event.getKeyCode() != KeyEvent.KEYCODE_BACK) { in onFinishInflate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java352 final KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK); in testSaveApnData_pressBackButtonWithValidApnData_shouldSaveApnData()
353 mApnEditorUT.onKey(new View(mContext), KeyEvent.KEYCODE_BACK, event); in testSaveApnData_pressBackButtonWithValidApnData_shouldSaveApnData()
/packages/apps/Stk/src/com/android/stk/
DStkLauncherActivity.java111 case KeyEvent.KEYCODE_BACK: in onKeyDown()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/key/
DInjectKeyTestFragment.java57 KeyEvent.KEYCODE_BACK,

123