Home
last modified time | relevance | path

Searched refs:requestFocus (Results 1 – 25 of 181) sorted by relevance

12345678

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFocusManagerTest.java88 requestFocus(mNewCall, mockRequestFocusCallback); in testRequestFocusWithoutActiveFocusExisted()
98 requestFocus(mActiveCall, null); in testRequestFocusWithActiveFocusExisted()
103 requestFocus(mNewCall, mockRequestFocusCallback); in testRequestFocusWithActiveFocusExisted()
131 requestFocus(mActiveCall, null); in testRequestConnectionServiceSameAsFocusConnectionService()
137 requestFocus(mNewCall, mockRequestFocusCallback); in testRequestConnectionServiceSameAsFocusConnectionService()
148 requestFocus(mActiveCall, null); in testFocusConnectionServiceDoesNotRespondToFocusLost()
151 requestFocus(mNewCall, mockRequestFocusCallback); in testFocusConnectionServiceDoesNotRespondToFocusLost()
175 requestFocus(mActiveCall, null); in testNonFocusConnectionServiceReleased()
191 requestFocus(mActiveCall, null); in testFocusConnectionServiceReleased()
210 requestFocus(activeCall, null); in testCallStateChangedAffectCallFocus()
[all …]
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java200 mNewPin1.requestFocus();
202 mNewPin2.requestFocus();
204 mButton.requestFocus();
254 mPUKSubmit.requestFocus();
294 mPUKCode.requestFocus(); in handleResult()
301 mPUKCode.requestFocus(); in handleResult()
DEmergencyShortcutButton.java221 mConfirmView.requestFocus(); in revealSelectedButton()
249 mCallNumberInfoView.requestFocus(); in hideSelectedButton()
DEmergencyInfoGroup.java244 mEmergencyInfoConfirmButton.requestFocus(); in revealSelectedButton()
274 mEmergencyInfoButton.requestFocus(); in hideSelectedButton()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewCommandHelper.java427 if (requestFocus(recentsView.getTaskViewAt(mKeyboardTaskFocusIndex))) { in updateRecentsViewFocus()
430 if (requestFocus(recentsView.getNextTaskView())) { in updateRecentsViewFocus()
433 if (requestFocus(recentsView.getTaskViewAt(0))) { in updateRecentsViewFocus()
436 requestFocus(recentsView); in updateRecentsViewFocus()
452 private boolean requestFocus(@Nullable View taskView) { in requestFocus() method in OverviewCommandHelper
457 taskView.requestFocus(); in requestFocus()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimePickerFragment.java113 picker.requestFocus(); in onActivityCreated()
135 mTimePicker.requestFocus(); in onActivityCreated()
139 mTimePicker.requestFocus(); in onActivityCreated()
DDatePickerFragment.java126 picker.requestFocus(); in onActivityCreated()
148 mDatePicker.requestFocus(); in onActivityCreated()
152 mDatePicker.requestFocus(); in onActivityCreated()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DRotaryServiceTest.java206 button3.post(() -> button3.requestFocus()); in testInitFocus_focusOnAlreadyFocusedView()
249 fpv.post(() -> fpv.requestFocus()); in testInitFocus_focusOnDefaultFocusView()
293 fpv.post(fpv::requestFocus); in testInitFocus_focusOnLastTouchedView()
338 fpv.requestFocus(); in testInitFocus_focusOnFirstFocusableView()
445 fpv.post(() -> fpv.requestFocus()); in testOnRotaryEvents_withoutFocusedView()
741 appButton1.post(() -> appButton1.requestFocus()); in testNudgeTo_nudgeToNudgeShortcut_legacy()
805 appButton2.post(() -> appButton2.requestFocus()); in testNudgeTo_nudgeToNudgeShortcut_new()
869 appButton2.post(() -> appButton2.requestFocus()); in testNudgeTo_nudgeToUserSpecifiedTarget()
933 appButton3.post(() -> appButton3.requestFocus()); in testNudgeTo_nudgeToNearestTarget()
1004 appButton3.post(() -> appButton3.requestFocus()); in testOnKeyEvents_nudgeUp_moveFocus()
[all …]
/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java226 requestFocus(); in onChildDetachedFromWindow()
251 requestFocus(); in onChildAttachedToWindow()
272 return nextFocus.requestFocus(); in onRequestFocusInDescendants()
283 return child.requestFocus(); in onRequestFocusInDescendants()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ui/
DFocusParkingView.java88 super.requestFocus(FOCUS_DOWN, null); in onWindowFocusChanged()
107 return super.requestFocus(FOCUS_DOWN, null); in performAccessibilityAction()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DWebSearchSuggestionView.kt71 consumed = mIcon2!!.requestFocus() in onKey()
73 consumed = requestFocus() in onKey()
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java114 /* package-private */ void expand(boolean animate, Optional<String> text, boolean requestFocus) { in expand() argument
142 if (requestFocus) { in expand()
143 searchBox.requestFocus(); in expand()
DMainToolbar.java135 public void expand(boolean animate, Optional<String> text, boolean requestFocus) { in expand() argument
136 searchBar.expand(animate, text, requestFocus); in expand()
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DTaplKeyboardFocusTest.java65 executeOnLauncher(launcher -> launcher.getAppsView().getSearchView().requestFocus()); in testAllAppsExitSearchAndFocusApp()
84 executeOnLauncher(launcher -> launcher.getAppsView().getSearchView().requestFocus()); in testAllAppsExitSearchAndFocusSearchResults()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java215 public void expand(boolean animate, boolean requestFocus) { in expand() argument
239 if (requestFocus) { in expand()
240 searchView.requestFocus(); in expand()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridRecyclerView.java121 getChildAt(0).requestFocus(); in maybeHandleRotaryFocus()
124 getChildAt(mNumOfCols * mNumOfRows - 1).requestFocus(); in maybeHandleRotaryFocus()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DEditProfileNameFragmentTest.java92 userNameEditText.requestFocus(); in testClickingOkSavesNewUserName()
108 userNameEditText.requestFocus(); in testEmptyUsernameCannotBeSaved()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java73 requestFocus(); in dispatchKeyEvent()
109 focusableChildren.get(0).requestFocus(); in onKeyUp()
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.kt89 mViewSwitcher?.getCurrentView()?.requestFocus() in onCreateView()
174 next?.requestFocus() in goTo()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java104 v.requestFocus(); in GroupNotificationViewHolder()
123 v.requestFocus(); in GroupNotificationViewHolder()
363 .itemView.requestFocus(); in updateOnClickListener()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DNumberPickerNudgeHandler.java50 nextView.requestFocus(direction); in onKey()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapter.java177 target.itemView.requestFocus(); in highlightAndFocusTargetItem()
187 target.itemView.requestFocus(); in highlightAndFocusTargetItem()
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java136 requestFocus(); in onShow()
203 return mMenuRowViews.get(selectedPosition).requestFocus(); in onRequestFocusInDescendants()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragment.java333 mPasswordField.requestFocus(); in updatePasswordEntry()
344 mPinPad.requestFocus(); in updatePinEntry()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/taskbar/controllers/
DTaskbarPinningControllerTest.kt131 on { requestFocus() } doReturn true in testShowPinningView_whenShowingPinningView_shouldSetTaskbarWindowFullscreenAndPostRunnableToView()
146 verify(popupView, times(1)).requestFocus() in testShowPinningView_whenShowingPinningView_shouldSetTaskbarWindowFullscreenAndPostRunnableToView()

12345678