/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerTestBase.java | 52 Class<T> cls, int displayId, boolean hasFocus) { in startActivity() argument 53 return startActivity(cls, displayId, hasFocus, WINDOWING_MODE_UNDEFINED); in startActivity() 67 Class<T> cls, int displayId, boolean hasFocus, int windowingMode) { in startActivity() argument 68 return startActivity(cls, displayId, hasFocus, windowingMode, INVALID_STACK_ID); in startActivity() 72 Class<T> cls, int displayId, boolean hasFocus, int windowingMode, int taskId) { in startActivity() argument 89 activity[0].waitAndAssertWindowFocusState(hasFocus); in startActivity() 105 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 106 StateLogger.logAlways(getLogTag() + " onWindowFocusChanged: " + hasFocus); in onWindowFocusChanged() 108 mHasWindowFocus = hasFocus; in onWindowFocusChanged() 113 void assertWindowFocusState(boolean hasFocus) { in assertWindowFocusState() argument [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 134 assertTrue(v1.hasFocus()); in testFocusHandling() 135 assertFalse(v2.hasFocus()); in testFocusHandling() 136 assertFalse(v3.hasFocus()); in testFocusHandling() 137 assertFalse(v4.hasFocus()); in testFocusHandling() 140 assertFalse(v1.hasFocus()); in testFocusHandling() 141 assertTrue(v2.hasFocus()); in testFocusHandling() 142 assertFalse(v3.hasFocus()); in testFocusHandling() 143 assertFalse(v4.hasFocus()); in testFocusHandling() 146 assertFalse(v1.hasFocus()); in testFocusHandling() 147 assertFalse(v2.hasFocus()); in testFocusHandling() [all …]
|
D | View_UsingViewsTest.java | 287 boolean focusWasOnEditText = mEditText.hasFocus(); in testSetFocus() 305 assertTrue(mEditText.hasFocus()); in testSetFocus() 306 assertFalse(mButtonOk.hasFocus()); in testSetFocus() 307 assertFalse(mButtonCancel.hasFocus()); in testSetFocus() 308 assertFalse(mSymbolTextView.hasFocus()); in testSetFocus() 309 assertFalse(mWarningTextView.hasFocus()); in testSetFocus() 322 assertTrue(mButtonOk.hasFocus()); in testSetFocus() 324 assertFalse(mEditText.hasFocus()); in testSetFocus() 334 assertTrue(mButtonCancel.hasFocus()); in testSetFocus() 336 assertFalse(mButtonOk.hasFocus()); in testSetFocus() [all …]
|
D | ContentPaneFocusTest.java | 89 assertFalse(v1.hasFocus()); in testAccessActionBar() 90 assertTrue(actionBar.hasFocus()); in testAccessActionBar() 100 mActivityRule.runOnUiThread(() -> assertTrue(actionBar.hasFocus())); in testAccessActionBar() 107 mActivityRule.runOnUiThread(() -> assertTrue(v1.hasFocus())); in testAccessActionBar() 114 mActivityRule.runOnUiThread(() -> assertTrue(v1.hasFocus())); in testAccessActionBar() 137 assertTrue(getActionBarView().hasFocus()); in testNoFocusablesInContent()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/activity/ |
D | ActivityManagerTestActivityBase.java | 32 public boolean hasFocus() { in hasFocus() method in ActivityManagerTestActivityBase 37 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 38 mHasFocus = hasFocus; in onWindowFocusChanged() 39 Log.d(TAG, "hasFocus: " + hasFocus); in onWindowFocusChanged()
|
/cts/tests/input/src/android/input/cts/ |
D | OverlayActivity.kt | 25 override fun onWindowFocusChanged(hasFocus: Boolean) { in onWindowFocusChanged() 26 super.onWindowFocusChanged(hasFocus) in onWindowFocusChanged() 27 if (hasFocus) { in onWindowFocusChanged()
|
/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()
|
/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 | 451 assertTrue(mTimePicker.getMinuteView().hasFocus()); in testKeyboardInputModeClockAmPm() 459 assertTrue(mTimePicker.getAmView().hasFocus()); in testKeyboardInputModeClockAmPm() 468 assertTrue(mTimePicker.getPmView().hasFocus()); in testKeyboardInputModeClockAmPm() 479 assertTrue(mTimePicker.getAmView().hasFocus()); in testKeyboardInputModeClockAmPm() 488 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClockAmPm() 501 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClockAmPm() 530 assertTrue(mTimePicker.getMinuteView().hasFocus()); in testKeyboardInputModeClock24H() 541 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClock24H() 554 assertTrue(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeClock24H() 596 assertFalse(mTimePicker.getHourView().hasFocus()); in testKeyboardInputModeSpinnerAmPm() [all …]
|
D | ZoomControlsTest.java | 135 assertFalse(zoomControls.hasFocus()); in testHasFocus() 138 assertTrue(zoomControls.hasFocus()); in testHasFocus()
|
D | TabHostTest.java | 431 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 434 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 437 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 439 assertTrue(tabs.hasFocus()); in testKeyboardNavigation() 445 assertTrue(tabs.hasFocus()); in testKeyboardNavigation()
|
/cts/tests/input/InputInjectionApp/src/com/android/test/inputinjection/ |
D | InputInjectionActivity.kt | 90 override fun onWindowFocusChanged(hasFocus: Boolean) { in <lambda>() 91 super.onWindowFocusChanged(hasFocus) in <lambda>() 92 if (hasFocus) { in <lambda>()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 119 editText.setOnFocusChangeListener((v, hasFocus) -> { in createPopupTextView() argument 123 if (hasFocus) { in createPopupTextView() 175 observerForPopupTextView.addOnWindowFocusChangeListener((hasFocus) -> in getPopupTextView() 176 outPopupTextHasWindowFocusRef.set(hasFocus)); in getPopupTextView()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestFocusActivity.java | 57 button.setOnFocusChangeListener((v , hasFocus) -> Log.d(getClass().getSimpleName(), in onCreate() 58 "onFocusChange text=" + text + " hasFocus=" + hasFocus)); in onCreate() local
|
/cts/tests/tests/virtualdevice/app/src/android/virtualdevice/streamedtestapp/ |
D | ClipboardTestActivity.java | 48 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 49 if (hasFocus) { in onWindowFocusChanged()
|
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/ |
D | ControlledTestDreamService.java | 100 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 101 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 105 listener.onFocusChanged(mProxy, hasFocus); in onWindowFocusChanged()
|
D | IDreamLifecycleListener.aidl | 39 void onFocusChanged(IControlledDream dream, boolean hasFocus); in onFocusChanged() argument
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 640 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 641 if (!hasFocus && !mChildWindowHasDrawn) { in onWindowFocusChanged() 646 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 658 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 659 if (hasFocus) { in onWindowFocusChanged() 662 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 809 boolean hasFocus, Class<T> cls) { in startActivityAndFocus() argument 812 cls, displayId, hasFocus); in startActivityAndFocus()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | SpellCheckerTest.kt | 135 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 177 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 207 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 232 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 450 waitOnMainUntil({ editText.hasFocus() && in <lambda>() 478 waitOnMainUntil({ editText.hasFocus() && in <lambda>() 501 waitOnMainUntil({ editText.hasFocus() && in <lambda>() 532 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 604 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() 647 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowLoginActivityTest.java | 150 assertThat(mActivity.getUsername().hasFocus()).isTrue(); 167 assertThat(mActivity.getUsername().hasFocus()).isTrue();
|