Searched refs:focused (Results 1 - 25 of 39) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/ui/
H A DOnRepeatedKeyInterceptListener.java81 // hack, a focused view's position doesn't reach to the desired position
89 if (DEBUG) Log.d(TAG, "onInterceptKeyEvent: focused view " + mView.findFocus());
101 View focused = listener.mView.findFocus();
102 if (DEBUG) Log.d(TAG, "MSG_MOVE_FOCUS: focused view " + focused);
103 if (focused != null) {
104 View v = focused.focusSearch(listener.mDirection);
105 if (v != null && v != focused) {
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
H A DConstants.java33 public static final BySelector FOCUSED_VIEW = By.focused(true);
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDigitsEditText.java37 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
38 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
H A DFragmentTestCase.java107 protected void setFocus(final View view, final boolean focused) { argument
111 if (focused) {
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDigitsEditText.java45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
46 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DFabDrawable.java33 * When not focused or pressed, the fab will be a solid circle of the color specified with
34 * {@link #setFabColor(int)}. When it is pressed or focused, the fab will grow or shrink
67 * @param fabGrowth The amount that the fab should change by when it is focused in pixels.
68 * @param strokeWidth The width of the stroke when the fab is focused in pixels.
132 boolean focused = false;
137 focused = true;
143 if ((focused || pressed) && mStrokeAnimatorIsReversing) {
146 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) {
151 return superChanged || focused;
H A DPagedListView.java172 public void requestChildFocus(View child, View focused) { argument
173 super.requestChildFocus(child, focused);
325 // top item. Since our car layout manager tries to scroll the viewport so that the focused
329 // what we want to do is: if the formerly focused item is the first one in the list, any
332 // the layout manager do the job and scroll the viewport so the currently focused item
/packages/apps/TV/src/com/android/tv/guide/
H A DProgramGrid.java89 private final int mSelectionRow; // Row that is focused
151 public void requestChildFocus(View child, View focused) { argument
155 super.requestChildFocus(child, focused);
174 public View focusSearch(View focused, int direction) { argument
176 if (focused == null || !contains(focused)) {
177 return super.focusSearch(focused, direction);
180 updateUpDownFocusState(focused);
181 View nextFocus = focusFind(focused, direction);
186 return super.focusSearch(focused, directio
198 focusFind(View focused, int direction) argument
299 updateUpDownFocusState(View focused) argument
[all...]
H A DTimelineGridView.java40 View focused) {
H A DProgramRow.java134 public View focusSearch(View focused, int direction) { argument
135 TableEntry focusedEntry = ((ProgramItemView) focused).getTableEntry();
144 return focused;
150 return focused;
154 View target = super.focusSearch(focused, direction);
158 // The focused entry is the last entry; Align to the right edge.
160 return focused;
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuView.java245 public View focusSearch(View focused, int direction) { argument
250 View newView = super.focusSearch(focused, direction);
251 MenuRowView oldfocusedParent = getParentMenuRowView(focused);
265 View newView = super.focusSearch(focused, direction);
266 MenuRowView oldfocusedParent = getParentMenuRowView(focused);
281 return super.focusSearch(focused, direction);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetHostView.java343 public void requestChildFocus(View child, View focused) { argument
344 super.requestChildFocus(child, focused);
345 dispatchChildFocus(mChildrenFocused && focused != null);
346 if (focused != null) {
347 focused.setFocusableInTouchMode(false);
358 public boolean dispatchUnhandledMove(View focused, int direction) { argument
H A DShortcutAndWidgetContainer.java186 public void requestChildFocus(View child, View focused) { argument
187 super.requestChildFocus(child, focused);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DSearchBot.java98 public void assertInputFocused(boolean focused) argument
103 assertEquals(focused, textField.isFocused());
H A DBots.java81 candidate.findObject(By.focused(true)));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSearchActivityView.java519 public void onFocusChange(View v, boolean focused) { argument
520 if (DBG) Log.d(TAG, "Suggestions focus change, now: " + focused);
521 if (focused) {
529 public void onFocusChange(View v, boolean focused) { argument
530 if (DBG) Log.d(TAG, "Query focus change, now: " + focused);
531 if (focused) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayoutChildren.java68 public void requestChildFocus(View child, View focused) { argument
69 super.requestChildFocus(child, focused);
H A DShortcutAndWidgetContainer.java166 public void requestChildFocus(View child, View focused) { argument
167 super.requestChildFocus(child, focused);
H A DCling.java147 public View focusSearch(View focused, int direction) { argument
148 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DFocusOverlayManager.java170 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { argument
175 if (focused) {
186 if (focused) {
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DAutoCompleteEditTextPreference.java269 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
270 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/packages/apps/Camera2/src/com/android/camera/
H A DFocusOverlayManager.java272 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { argument
277 if (focused) {
287 if (focused) {
/packages/apps/LegacyCamera/src/com/android/camera/
H A DFocusManager.java204 public void onAutoFocus(boolean focused) { argument
209 if (focused) {
220 if (focused) {
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DFocusOverlayManager.java250 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { argument
255 if (focused) {
266 if (focused) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterView.java449 /** scrolling and centering a known focused view */
900 public void requestChildFocus(View child, View focused) { argument
902 super.requestChildFocus(child, focused);
1560 // passing key event to focused child, which has chance to stop event processing by
1613 // the focused child view
1665 private boolean requestNextFocus(int direction, View focused, View newFocus) { argument
1666 focused.getFocusedRect(mTempRect);
1667 offsetDescendantRectToMyCoords(focused, mTempRect);
1676 View focused = findFocus();
1677 if (currentTop == currentExpandable && focused !
[all...]

Completed in 607 milliseconds

12