/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/ |
D | FocusAreaTest.java | 138 assertThat(mView3.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 149 assertThat(mNudgeShortcut3.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 157 assertThat(mView3.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 167 assertThat(mView3.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 175 assertThat(mView1.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 185 assertThat(mView1.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 196 assertThat(mView6.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_new() 207 assertThat(mNudgeShortcut6.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_new() 215 assertThat(mView6.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_new() 225 assertThat(mView6.isFocused()).isTrue(); in testPerformAccessibilityAction_actionNudgeShortcut_new() [all …]
|
D | FocusParkingViewTest.java | 91 assertThat(mFpv.isFocused()).isTrue(); in testRequestFocus_focusOnDefaultFocus() 99 assertThat(mFocusedByDefault.isFocused()).isTrue(); in testRequestFocus_focusOnDefaultFocus() 110 assertThat(mView1.isFocused()).isTrue(); in testRequestFocus_doNothing() 118 assertThat(mView1.isFocused()).isTrue(); in testRequestFocus_doNothing() 129 assertThat(mFpv.isFocused()).isTrue(); in testRestoreDefaultFocus_focusOnDefaultFocus() 137 assertThat(mFocusedByDefault.isFocused()).isTrue(); in testRestoreDefaultFocus_focusOnDefaultFocus() 148 assertThat(mView1.isFocused()).isTrue(); in testRestoreDefaultFocus_doNothing() 156 assertThat(mView1.isFocused()).isTrue(); in testRestoreDefaultFocus_doNothing() 167 assertThat(mView1.isFocused()).isTrue(); in testOnWindowFocusChanged_loseFocus() 175 assertThat(mFpv.isFocused()).isTrue(); in testOnWindowFocusChanged_loseFocus() [all …]
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | RotaryServiceTest.java | 151 assertThat(defaultFocusNode.isFocused()).isTrue(); in testInitFocus_alreadyInitialized() 189 assertThat(button3.isFocused()).isTrue(); in testInitFocus_focusOnAlreadyFocusedView() 230 assertThat(fpv.isFocused()).isTrue(); in testInitFocus_focusOnDefaultFocusView() 274 assertThat(fpv.isFocused()).isTrue(); in testInitFocus_focusOnLastTouchedView() 322 assertThat(fpv.isFocused()).isTrue(); in testInitFocus_focusOnFirstFocusableView() 423 assertThat(fpv.isFocused()).isTrue(); in testOnRotaryEvents_withoutFocusedView() 469 assertThat(defaultFocusNode.isFocused()).isTrue(); in testOnRotaryEvents_withFocusedView() 526 assertThat(defaultFocusNode.isFocused()).isTrue(); in testOnRotaryEvents_acceleration() 719 assertThat(appButton1.isFocused()).isTrue(); in testNudgeTo_nudgeToNudgeShortcut_legacy() 783 assertThat(appButton2.isFocused()).isTrue(); in testNudgeTo_nudgeToNudgeShortcut_new() [all …]
|
D | NodeBuilderTest.java | 63 assertThat(node.isFocused()).isFalse(); in testBuildDefaultNode() 87 assertThat(node.isFocused()).isTrue(); in testSetFocused()
|
D | NodeBuilder.java | 183 when(node.isFocused()).thenReturn(builder.mFocused); in build() 185 if (node.isFocused()) { in build()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 121 if (view.isFocused()) { 191 if (mInfoContainer.isFocused() in updateSelector() 192 || mSecondActionContainer.isFocused() in updateSelector() 193 || mFirstActionContainer.isFocused()) { in updateSelector() 196 if (mInfoContainer.isFocused()) { in updateSelector() 206 } else if (mSecondActionContainer.isFocused()) { in updateSelector() 216 if (mInfoContainer.isFocused()) { in updateSelector() 225 } else if (mSecondActionContainer.isFocused()) { in updateSelector()
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/ |
D | ViewUtilsTest.java | 431 assertThat(mFocusedByDefault3.isFocused()).isTrue(); in testAdjustFocus_inRoot() 440 assertThat(mFocusedByDefault3.isFocused()).isTrue(); in testAdjustFocus_inFocusAreaWithDefaultFocus() 449 assertThat(mView2.isFocused()).isTrue(); in testAdjustFocus_inFocusAreaWithoutDefaultFocus() 520 assertThat(view.isFocused()).isEqualTo(focused); in assertRequestFocus()
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/ |
D | FocusParkingView.java | 203 } else if (isFocused()) { in onWindowFocusChanged() 274 if (mFocusedView != null && mFocusedView.isFocused() && mFocusedView.isAttachedToWindow()) { in restoreFocusInRoot()
|
D | FocusArea.java | 281 if (v.isFocused()) { in saveFocusHistory() 592 if (targetView.isFocused()) { in nudgeToShortcutView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | SettingsGuidedActionEditText.java | 67 info.setClassName(isFocused() ? EditText.class.getName() : TextView.class.getName()); in onInitializeAccessibilityNodeInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/ |
D | LauncherWidgetsSearchBar.java | 80 return mEditText.isFocused(); in isSearchBarFocused()
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/ |
D | ViewUtils.java | 151 if (fpv.isFocused()) { in hideFocus() 201 if (view.isFocused()) { in requestFocus()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ExtendedEditText.java | 146 if (isFocused()) { in reset()
|
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | RotaryCards.java | 75 boolean needRestoreFocus = button5d.isFocused(); in onCreateView()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | AllAppsSearchBarController.java | 155 return mInput.isFocused(); in isSearchFieldFocused()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | UiDeviceAsserts.java | 129 if (c.isFocused() || c.hasObject(hasFocusedDescendant)) { in assertNavigateTo()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SearchBot.java | 128 assertEquals(focused, textField.isFocused()); in assertInputFocused()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 663 if (mNumberViewHolder.isFocused()) { 689 if (mNumberViewHolder.isFocused()) {
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MetadataController.java | 53 if (mController != null && fromUser && seekBar.isFocused()) {
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 221 (mExtendViewOnFocus && isFocused()) ? mExtendedCardHeight : mCardHeight; in onSetFocusAnimatedValue()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | SearchView.java | 102 if (view.isFocused()) { in SearchView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 283 assertThat(ssid.isFocused()).isTrue(); in ssidGetFocus_addNewNetwork_shouldReturnTrue() 290 assertThat(password.isFocused()).isTrue(); in passwordGetFocus_connectSecureWifi_shouldReturnTrue()
|
D | WifiConfigController2Test.java | 321 assertThat(ssid.isFocused()).isTrue(); in ssidGetFocus_addNewNetwork_shouldReturnTrue() 328 assertThat(password.isFocused()).isTrue(); in passwordGetFocus_connectSecureWifi_shouldReturnTrue()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | DualPaneBaseCarSettingsActivityTest.java | 246 assertThat(mActivity.findViewById(R.id.settings_focus_parking_view).isFocused()).isTrue(); in onFragmentLaunched_noFocusableElements_parkingViewFocused()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyActionGroup.java | 287 if (mSelectedContainer.isFocused()) { in hideTheButton()
|