Home
last modified time | relevance | path

Searched refs:isFocused (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DFocusAreaTest.java138 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 …]
DFocusParkingViewTest.java91 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/
DRotaryServiceTest.java151 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 …]
DNodeBuilderTest.java63 assertThat(node.isFocused()).isFalse(); in testBuildDefaultNode()
87 assertThat(node.isFocused()).isTrue(); in testSetFocused()
DNodeBuilder.java183 when(node.isFocused()).thenReturn(builder.mFocused); in build()
185 if (node.isFocused()) { in build()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowPresenter.java121 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/
DViewUtilsTest.java431 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/
DFocusParkingView.java203 } else if (isFocused()) { in onWindowFocusChanged()
274 if (mFocusedView != null && mFocusedView.isFocused() && mFocusedView.isAttachedToWindow()) { in restoreFocusInRoot()
DFocusArea.java281 if (v.isFocused()) { in saveFocusHistory()
592 if (targetView.isFocused()) { in nudgeToShortcutView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DSettingsGuidedActionEditText.java67 info.setClassName(isFocused() ? EditText.class.getName() : TextView.class.getName()); in onInitializeAccessibilityNodeInfo()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DLauncherWidgetsSearchBar.java80 return mEditText.isFocused(); in isSearchBarFocused()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java151 if (fpv.isFocused()) { in hideFocus()
201 if (view.isFocused()) { in requestFocus()
/packages/apps/Launcher3/src/com/android/launcher3/
DExtendedEditText.java146 if (isFocused()) { in reset()
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DRotaryCards.java75 boolean needRestoreFocus = button5d.isFocused(); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java155 return mInput.isFocused(); in isSearchFieldFocused()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiDeviceAsserts.java129 if (c.isFocused() || c.hasObject(hasFocusedDescendant)) { in assertNavigateTo()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSearchBot.java128 assertEquals(focused, textField.isFocused()); in assertInputFocused()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java663 if (mNumberViewHolder.isFocused()) {
689 if (mNumberViewHolder.isFocused()) {
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMetadataController.java53 if (mController != null && fromUser && seekBar.isFocused()) {
/packages/apps/TV/src/com/android/tv/menu/
DBaseCardView.java221 (mExtendViewOnFocus && isFocused()) ? mExtendedCardHeight : mCardHeight; in onSetFocusAnimatedValue()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DSearchView.java102 if (view.isFocused()) { in SearchView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java283 assertThat(ssid.isFocused()).isTrue(); in ssidGetFocus_addNewNetwork_shouldReturnTrue()
290 assertThat(password.isFocused()).isTrue(); in passwordGetFocus_connectSecureWifi_shouldReturnTrue()
DWifiConfigController2Test.java321 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/
DDualPaneBaseCarSettingsActivityTest.java246 assertThat(mActivity.findViewById(R.id.settings_focus_parking_view).isFocused()).isTrue(); in onFragmentLaunched_noFocusableElements_parkingViewFocused()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java287 if (mSelectedContainer.isFocused()) { in hideTheButton()

12