Home
last modified time | relevance | path

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

123

/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/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java107 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackDismissesActionMode()
126 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackCollapsesActionView()
155 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithMenuInvokesOnPanelClosed()
168 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithEmptyMenuFinishesActivity()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DBrowseSupportFragmentTest.java108 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
124 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()
DBrowseFragmentTest.java105 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
121 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()
DGuidedStepSupportFragmentTest.java114 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack()
128 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack()
188 sendKey(KeyEvent.KEYCODE_BACK); in restoreFragments()
356 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
362 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
366 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
DGuidedStepFragmentTest.java111 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack()
125 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack()
185 sendKey(KeyEvent.KEYCODE_BACK); in restoreFragments()
353 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
359 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
363 sendKey(KeyEvent.KEYCODE_BACK); in subActions()
DDetailsFragmentTest.java381 sendKeys(KeyEvent.KEYCODE_BACK);
970 sendKeys(KeyEvent.KEYCODE_BACK);
1032 sendKeys(KeyEvent.KEYCODE_BACK);
DDetailsSupportFragmentTest.java384 sendKeys(KeyEvent.KEYCODE_BACK);
973 sendKeys(KeyEvent.KEYCODE_BACK);
1035 sendKeys(KeyEvent.KEYCODE_BACK);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchEditText.java55 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) { in onKeyPreIme()
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackSettingsRootView.java55 if (event.getAction() == KeyEvent.ACTION_UP && event.getKeyCode() == KeyEvent.KEYCODE_BACK in dispatchKeyEvent()
DLeanbackSettingsFragment.java184 if (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/support/fragment/tests/java/android/support/v4/app/
DFragmentReplaceTest.java116 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testBackPressWithFrameworkFragment()
/frameworks/support/v7/appcompat/src/android/support/v7/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/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBannerControlGlue.java372 case KeyEvent.KEYCODE_BACK: in onKey()
379 return keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_ESCAPE; in onKey()
DPlaybackControlGlue.java456 case KeyEvent.KEYCODE_BACK: in onKey()
464 return keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_ESCAPE; in onKey()
DPlaybackTransportControlGlue.java203 case KeyEvent.KEYCODE_BACK: in onKey()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java148 if (keyCode != KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN) { in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java555 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
564 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
/frameworks/base/core/java/android/view/
DKeyEvent.java97 public static final int KEYCODE_BACK = 4; field in KeyEvent
1835 case KeyEvent.KEYCODE_BACK: in isSystemKey()
1872 case KeyEvent.KEYCODE_BACK: in isWakeKey()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DOnboardingSupportFragment.java245 return keyCode != KeyEvent.KEYCODE_BACK;
251 case KeyEvent.KEYCODE_BACK:
DOnboardingFragment.java248 return keyCode != KeyEvent.KEYCODE_BACK;
254 case KeyEvent.KEYCODE_BACK:
/frameworks/base/core/java/android/app/
DDialog.java598 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown()
627 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() in onKeyUp()

123