Home
last modified time | relevance | path

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

123

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java78 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackDismissesActionMode()
98 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackCollapsesSearchView()
104 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackCollapsesSearchView()
131 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithMenuInvokesOnPanelClosed()
144 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithEmptyMenuFinishesActivity()
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/
DBrowseFragmentTest.java104 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
117 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()
DBrowseSupportFragmentTest.java106 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
119 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java63 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrolling()
82 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrollingToTouchMode()
DListEmptyViewTest.java78 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testZeroToOneForwardBack()
121 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testZeroToManyToZero()
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackSettingsRootView.java51 if (event.getAction() == KeyEvent.ACTION_UP && event.getKeyCode() == KeyEvent.KEYCODE_BACK in dispatchKeyEvent()
DLeanbackSettingsFragment.java160 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchEditText.java56 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) { in onKeyPreIme()
DGuidedActionAdapter.java477 if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) { in onKeyPreIme()
/frameworks/support/v4/tests/java/android/support/v4/app/
DFragmentReplaceTest.java86 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithFrameworkFragment()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java92 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java90 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java478 if (keyCode == KeyEvent.KEYCODE_BACK) { in onContainerKey()
521 case KeyEvent.KEYCODE_BACK: in isInterestingKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipRecentsControlsView.java165 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK in dispatchKeyEvent()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java158 if (keyCode != KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN) { in onAttachedToWindow()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlSupportGlue.java457 case KeyEvent.KEYCODE_BACK:
465 return keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_ESCAPE;
DPlaybackControlGlue.java455 case KeyEvent.KEYCODE_BACK:
463 return keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_ESCAPE;
DOnboardingSupportFragment.java209 return keyCode != KeyEvent.KEYCODE_BACK;
215 case KeyEvent.KEYCODE_BACK:
DOnboardingFragment.java207 return keyCode != KeyEvent.KEYCODE_BACK;
213 case KeyEvent.KEYCODE_BACK:
/frameworks/base/core/java/android/view/
DKeyEvent.java98 public static final int KEYCODE_BACK = 4; field in KeyEvent
1823 case KeyEvent.KEYCODE_BACK: in isSystemKey()
1856 case KeyEvent.KEYCODE_BACK: in isWakeKey()
/frameworks/base/core/java/android/app/
DDialog.java576 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
605 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() in onKeyUp()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecKeycode.java263 new KeycodeEntry(KeyEvent.KEYCODE_BACK, CEC_KEYCODE_EXIT),
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java211 KeyEvent.KEYCODE_BACK, 0, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED, in pressBack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java426 if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) { in onKeyPreIme()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java215 } else if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) { in dispatchKeyEvent()

123