Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java131 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
135 super.requestChildFocus(child, focused); in requestChildFocus()
154 public View focusSearch(View focused, int direction) { in focusSearch() argument
156 if (focused == null || (focused != this && !GuideUtils.isDescendant(this, focused))) { in focusSearch()
157 return super.focusSearch(focused, direction); in focusSearch()
160 updateUpDownFocusState(focused, direction); in focusSearch()
161 View nextFocus = focusFind(focused, direction); in focusSearch()
166 return super.focusSearch(focused, direction); in focusSearch()
245 private View focusFind(View focused, int direction) { in focusFind() argument
273 return focused; in focusFind()
[all …]
DProgramRow.java133 void focusSearchAccessibility(View focused, int direction) { in focusSearchAccessibility() argument
134 TableEntry focusedEntry = ((ProgramItemView) focused).getTableEntry(); in focusSearchAccessibility()
145 public View focusSearch(View focused, int direction) { in focusSearch() argument
146 TableEntry focusedEntry = ((ProgramItemView) focused).getTableEntry(); in focusSearch()
156 return focused; in focusSearch()
162 return focused; in focusSearch()
166 View target = super.focusSearch(focused, direction); in focusSearch()
172 return focused; in focusSearch()
DTimelineGridView.java41 RecyclerView parent, State state, View child, View focused) { in TimelineGridView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java113 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
114 super.requestChildFocus(child, focused); in requestChildFocus()
115 dispatchChildFocus(mChildrenFocused && focused != null); in requestChildFocus()
116 if (focused != null) { in requestChildFocus()
117 focused.setFocusableInTouchMode(false); in requestChildFocus()
128 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java97 View focused = listener.mView.findFocus(); in handleMessage() local
98 if (DEBUG) Log.d(TAG, "MSG_MOVE_FOCUS: focused view " + focused); in handleMessage()
99 if (focused != null) { in handleMessage()
100 View v = focused.focusSearch(listener.mDirection); in handleMessage()
101 if (v != null && v != focused) { in handleMessage()
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java249 public View focusSearch(View focused, int direction) { in focusSearch() argument
254 return getUpDownFocus(focused, direction); in focusSearch()
256 return super.focusSearch(focused, direction); in focusSearch()
259 private View getUpDownFocus(View focused, int direction) { in getUpDownFocus() argument
260 View newView = super.focusSearch(focused, direction); in getUpDownFocus()
261 MenuRowView oldfocusedParent = getParentMenuRowView(focused); in getUpDownFocus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/
DSuggestionItemView.java87 public View focusSearch(View focused, int direction) { in focusSearch() argument
90 if (focused.getId() == R.id.dismiss_button in focusSearch()
94 } else if (focused.getId() == R.id.main_container in focusSearch()
99 return super.focusSearch(focused, direction); in focusSearch()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSearchBot.java111 public void assertInputFocused(boolean focused) in assertInputFocused() argument
116 assertEquals(focused, textField.isFocused()); in assertInputFocused()
124 public void assertFragmentInputFocused(boolean focused) in assertFragmentInputFocused() argument
129 assertEquals(focused, textField.isFocused()); in assertFragmentInputFocused()
/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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java102 private boolean focused; field in PieRenderer
607 focused = false; in alignFocus()
652 focusPaint.setColor(focused ? successColor : failColor); in drawFocus()
697 focused = true; in showSuccess()
706 focused = false; in showFail()
717 focused = false; in cancelFocus()
771 focused = false; in run()
DFocusOverlayManager.java171 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
176 if (focused) { in onAutoFocus()
187 if (focused) { in onAutoFocus()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestFocusHandler.java86 public void assertHasFocus(boolean focused) { in assertHasFocus() argument
87 assertEquals(focused, hasFocusedItem()); in assertHasFocus()
/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/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/Launcher3/src/com/android/launcher3/
DPagedView.java751 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
752 if (super.dispatchUnhandledMove(focused, direction)) { in dispatchUnhandledMove()
808 public void focusableViewAvailable(View focused) { in focusableViewAvailable() argument
810 View v = focused; in focusableViewAvailable()
813 super.focusableViewAvailable(focused); in focusableViewAvailable()
1370 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1371 super.requestChildFocus(child, focused); in requestChildFocus()
DShortcutAndWidgetContainer.java195 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
196 super.requestChildFocus(child, focused); in requestChildFocus()
DBubbleTextView.java203 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
205 setEllipsize(focused ? TruncateAt.MARQUEE : TruncateAt.END); in onFocusChanged()
206 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/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/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/Settings/src/com/android/settings/wifi/qrcode/
DQrDecorateView.java139 public void setFocused(boolean focused) { in setFocused() argument
140 mFocused = focused; in setFocused()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrDecorateView.java139 public void setFocused(boolean focused) { in setFocused() argument
140 mFocused = focused; in setFocused()
/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/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java224 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
225 return super.dispatchUnhandledMove(focused, direction) in dispatchUnhandledMove()
226 || mDragController.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()

12