Home
last modified time | relevance | path

Searched refs:focused (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java135 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
139 super.requestChildFocus(child, focused); in requestChildFocus()
158 public View focusSearch(View focused, int direction) { in focusSearch() argument
160 if (focused == null || (focused != this && !GuideUtils.isDescendant(this, focused))) { in focusSearch()
161 return super.focusSearch(focused, direction); in focusSearch()
164 updateUpDownFocusState(focused, direction); in focusSearch()
165 View nextFocus = focusFind(focused, direction); in focusSearch()
170 return super.focusSearch(focused, direction); in focusSearch()
252 private View focusFind(View focused, int direction) { in focusFind() argument
269 return focused; in focusFind()
[all …]
DProgramRow.java137 public View focusSearch(View focused, int direction) { in focusSearch() argument
138 TableEntry focusedEntry = ((ProgramItemView) focused).getTableEntry(); in focusSearch()
147 return focused; in focusSearch()
153 return focused; in focusSearch()
157 View target = super.focusSearch(focused, direction); in focusSearch()
163 return focused; in focusSearch()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java101 View focused = listener.mView.findFocus(); in handleMessage() local
102 if (DEBUG) Log.d(TAG, "MSG_MOVE_FOCUS: focused view " + focused); in handleMessage()
103 if (focused != null) { in handleMessage()
104 View v = focused.focusSearch(listener.mDirection); in handleMessage()
105 if (v != null && v != focused) { in handleMessage()
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java245 public View focusSearch(View focused, int direction) { in focusSearch() argument
250 View newView = super.focusSearch(focused, direction); in focusSearch()
251 MenuRowView oldfocusedParent = getParentMenuRowView(focused); in focusSearch()
265 View newView = super.focusSearch(focused, direction); in focusSearch()
266 MenuRowView oldfocusedParent = getParentMenuRowView(focused); in focusSearch()
281 return super.focusSearch(focused, direction); in focusSearch()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DFabDrawable.java132 boolean focused = false; in onStateChange()
137 focused = true; in onStateChange()
143 if ((focused || pressed) && mStrokeAnimatorIsReversing) { in onStateChange()
146 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) { in onStateChange()
151 return superChanged || focused; in onStateChange()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetHostView.java331 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
332 super.requestChildFocus(child, focused); in requestChildFocus()
333 dispatchChildFocus(mChildrenFocused && focused != null); in requestChildFocus()
334 if (focused != null) { in requestChildFocus()
335 focused.setFocusableInTouchMode(false); in requestChildFocus()
346 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
DPagedView.java1008 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
1009 if (super.dispatchUnhandledMove(focused, direction)) { in dispatchUnhandledMove()
1063 public void focusableViewAvailable(View focused) { in focusableViewAvailable() argument
1065 View v = focused; in focusableViewAvailable()
1068 super.focusableViewAvailable(focused); in focusableViewAvailable()
1766 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1767 super.requestChildFocus(child, focused); in requestChildFocus()
DShortcutAndWidgetContainer.java188 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
189 super.requestChildFocus(child, focused); in requestChildFocus()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java519 public void onFocusChange(View v, boolean focused) { in onFocusChange() argument
520 if (DBG) Log.d(TAG, "Suggestions focus change, now: " + focused); in onFocusChange()
521 if (focused) { in onFocusChange()
529 public void onFocusChange(View v, boolean focused) { in onFocusChange() argument
530 if (DBG) Log.d(TAG, "Query focus change, now: " + focused); in onFocusChange()
531 if (focused) { in onFocusChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java900 public void requestChildFocus(View child, View focused) {
902 super.requestChildFocus(child, focused);
1665 private boolean requestNextFocus(int direction, View focused, View newFocus) {
1666 focused.getFocusedRect(mTempRect);
1667 offsetDescendantRectToMyCoords(focused, mTempRect);
1676 View focused = findFocus();
1677 if (currentTop == currentExpandable && focused != null && !forceFindNextExpandable) {
1679 View v = focused.focusSearch(direction);
1680 if (v != null && v != focused && isDescendant(currentTop, v)) {
1681 requestNextFocus(direction, focused, v);
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java886 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
899 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
927 public void focusableViewAvailable(View focused) { in focusableViewAvailable() argument
929 View v = focused; in focusableViewAvailable()
932 super.focusableViewAvailable(focused); in focusableViewAvailable()
1440 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1441 super.requestChildFocus(child, focused); in requestChildFocus()
DPagedViewCellLayoutChildren.java68 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
69 super.requestChildFocus(child, focused); in requestChildFocus()
DShortcutAndWidgetContainer.java166 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
167 super.requestChildFocus(child, focused); in requestChildFocus()
DCling.java147 public View focusSearch(View focused, int direction) { in focusSearch() argument
148 return FocusFinder.getInstance().findNextFocus(this, focused, direction); in focusSearch()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDigitsEditText.java37 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
38 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java170 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
175 if (focused) { in onAutoFocus()
186 if (focused) { in onAutoFocus()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDigitsEditText.java45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
46 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DFragmentTestCase.java107 protected void setFocus(final View view, final boolean focused) { in setFocus() argument
111 if (focused) { in setFocus()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java250 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
255 if (focused) { in onAutoFocus()
266 if (focused) { in onAutoFocus()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java204 public void onAutoFocus(boolean focused) { in onAutoFocus() argument
209 if (focused) { in onAutoFocus()
220 if (focused) { in onAutoFocus()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSearchBot.java98 public void assertInputFocused(boolean focused) in assertInputFocused() argument
103 assertEquals(focused, textField.isFocused()); in assertInputFocused()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java272 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
277 if (focused) { in onAutoFocus()
287 if (focused) { in onAutoFocus()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DAutoCompleteEditTextPreference.java265 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
266 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DPagedListView.java196 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
197 super.requestChildFocus(child, focused); in requestChildFocus()
DCarLayoutManager.java498 public View onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, in onFocusSearchFailed() argument
516 View child, View focused) { in onRequestChildFocus() argument
524 focused)); in onRequestChildFocus()

12