/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 123 assertTrue(v1.hasFocus()); in testFocusHandling() 124 assertFalse(v2.hasFocus()); in testFocusHandling() 125 assertFalse(v3.hasFocus()); in testFocusHandling() 126 assertFalse(v4.hasFocus()); in testFocusHandling() 129 assertFalse(v1.hasFocus()); in testFocusHandling() 130 assertTrue(v2.hasFocus()); in testFocusHandling() 131 assertFalse(v3.hasFocus()); in testFocusHandling() 132 assertFalse(v4.hasFocus()); in testFocusHandling() 135 assertFalse(v1.hasFocus()); in testFocusHandling() 136 assertFalse(v2.hasFocus()); in testFocusHandling() [all …]
|
D | View_UsingViewsTest.java | 273 boolean focusWasOnEditText = mEditText.hasFocus(); in testSetFocus() 291 assertTrue(mEditText.hasFocus()); in testSetFocus() 292 assertFalse(mButtonOk.hasFocus()); in testSetFocus() 293 assertFalse(mButtonCancel.hasFocus()); in testSetFocus() 294 assertFalse(mSymbolTextView.hasFocus()); in testSetFocus() 295 assertFalse(mWarningTextView.hasFocus()); in testSetFocus() 308 assertTrue(mButtonOk.hasFocus()); in testSetFocus() 310 assertFalse(mEditText.hasFocus()); in testSetFocus() 320 assertTrue(mButtonCancel.hasFocus()); in testSetFocus() 322 assertFalse(mButtonOk.hasFocus()); in testSetFocus() [all …]
|
D | ContentPaneFocusTest.java | 78 assertFalse(v1.hasFocus()); in testAccessActionBar() 79 assertTrue(actionBar.hasFocus()); in testAccessActionBar() 89 mActivityRule.runOnUiThread(() -> assertTrue(actionBar.hasFocus())); in testAccessActionBar() 96 mActivityRule.runOnUiThread(() -> assertTrue(v1.hasFocus())); in testAccessActionBar() 103 mActivityRule.runOnUiThread(() -> assertTrue(v1.hasFocus())); in testAccessActionBar() 126 assertTrue(getActionBarView().hasFocus()); in testNoFocusablesInContent()
|
D | MockView.java | 389 public void dispatchWindowFocusChanged(boolean hasFocus) { in dispatchWindowFocusChanged() argument 390 super.dispatchWindowFocusChanged(hasFocus); in dispatchWindowFocusChanged()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowManagerTestBase.java | 74 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 76 mHasWindowFocus = hasFocus; in onWindowFocusChanged() 81 void assertWindowFocusState(boolean hasFocus) { in assertWindowFocusState() argument 83 assertEquals(getLogTag() + " must" + (hasFocus ? "" : " not") in assertWindowFocusState() 84 + " have window focus.", hasFocus, mHasWindowFocus); in assertWindowFocusState() 88 void waitAndAssertWindowFocusState(boolean hasFocus) throws InterruptedException { in waitAndAssertWindowFocusState() argument 90 if (mHasWindowFocus != hasFocus) { in waitAndAssertWindowFocusState() 94 assertWindowFocusState(hasFocus); in waitAndAssertWindowFocusState()
|
D | WindowFocusTests.java | 477 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 478 if (!hasFocus && !mChildWindowHasDrawn) { in onWindowFocusChanged() 483 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
D | DisplayCutoutTests.java | 384 public void onWindowFocusChanged(boolean hasFocus) { 385 if (hasFocus) {
|
D | WindowTest.java | 676 View.OnFocusChangeListener listener = (View v, boolean hasFocus) -> in testSetLocalFocus() 677 Log.d(TAG, "view " + v + " focus " + hasFocus); in testSetLocalFocus()
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | LifecycleActivity.java | 41 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 42 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 43 Log.i(TAG, "Activity focus changed: " + hasFocus); in onWindowFocusChanged() 44 if (hasFocus) { in onWindowFocusChanged()
|
D | FocusChangeActivity.java | 27 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 28 if (hasFocus && !mGainedFocus) { in onWindowFocusChanged() 32 } else if (!hasFocus && mGainedFocus) { in onWindowFocusChanged()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActionBarActivity.java | 46 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 47 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 48 if (hasFocus) { in onWindowFocusChanged()
|
D | KeyboardShortcutsActivity.java | 57 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 58 if (!hasFocus) { in onWindowFocusChanged() 66 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
D | TestDialog.java | 125 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 126 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
/cts/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/ |
D | TrustedVoiceActivity.java | 55 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 56 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 57 if (hasFocus) { in onWindowFocusChanged()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VrTestActivity.java | 52 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 53 if (DEBUG) Log.i(TAG, "onWindowFocusChanged called with " + hasFocus); in onWindowFocusChanged() 54 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | MockVrActivity2.java | 55 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 56 Log.i(TAG, "onWindowFocusChanged called with " + hasFocus); in onWindowFocusChanged() 57 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
D | MockVrActivity.java | 71 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 72 Log.i(TAG, "onWindowFocusChanged called with " + hasFocus); in onWindowFocusChanged() 73 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TimePickerTest.java | 437 assertTrue(mTimePicker.getMinuteView().hasFocus()); in testKeyboardInputModeClockAmPm() 445 assertTrue(mTimePicker.getAmView().hasFocus()); in testKeyboardInputModeClockAmPm() 454 assertTrue(mTimePicker.getPmView().hasFocus()); in testKeyboardInputModeClockAmPm() 465 assertTrue(mTimePicker.getAmView().hasFocus()); in testKeyboardInputModeClockAmPm() 474 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClockAmPm() 487 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClockAmPm() 516 assertTrue(mTimePicker.getMinuteView().hasFocus()); in testKeyboardInputModeClock24H() 527 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClock24H() 540 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClock24H() 582 assertFalse(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeSpinnerAmPm() [all …]
|
D | ZoomControlsTest.java | 126 assertFalse(zoomControls.hasFocus()); in testHasFocus() 129 assertTrue(zoomControls.hasFocus()); in testHasFocus()
|
D | TabHostTest.java | 421 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 424 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 427 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 429 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 435 assertTrue(tabs.hasFocus()); in testKeyboardNavigation()
|
D | SearchView_CursorTest.java | 181 assertTrue(mSearchView.hasFocus()); in testSuggestionFiltering() 208 assertTrue(mSearchView.hasFocus()); in testSuggestionSelection()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowEmptyActivity.java | 41 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 42 if (hasFocus) { in onWindowFocusChanged()
|
D | MultiWindowLoginActivity.java | 41 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 42 if (hasFocus) { in onWindowFocusChanged()
|
D | MultiWindowLoginActivityTest.java | 139 assertThat(loginActivity.getUsername().hasFocus()).isTrue(); 152 assertThat(loginActivity.getUsername().hasFocus()).isTrue();
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewOnUiThread.java | 196 return hasFocus(); in requestFocus() 207 private boolean hasFocus() { in hasFocus() method 209 return mWebView.hasFocus(); in hasFocus()
|