Searched refs:focused (Results 1 - 25 of 35) 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/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
66 * @param fabGrowth The amount that the fab should change by when it is focused in pixels.
67 * @param strokeWidth The width of the stroke when the fab is focused in pixels.
131 boolean focused = false;
136 focused = true;
142 if ((focused || pressed) && mStrokeAnimatorIsReversing) {
145 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) {
150 return superChanged || focused;
H A DPagedListView.java169 public void requestChildFocus(View child, View focused) { argument
170 super.requestChildFocus(child, focused);
322 // top item. Since our car layout manager tries to scroll the viewport so that the focused
326 // what we want to do is: if the formerly focused item is the first one in the list, any
329 // 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.java150 public View focusSearch(View focused, int direction) { argument
151 TableEntry focusedEntry = ((ProgramItemView) focused).getTableEntry();
160 return focused;
166 return focused;
170 View target = super.focusSearch(focused, direction);
174 // The focused entry is the last entry; Align to the right edge.
176 return focused;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetHostView.java255 public void requestChildFocus(View child, View focused) { argument
256 super.requestChildFocus(child, focused);
257 dispatchChildFocus(mChildrenFocused && focused != null);
258 if (focused != null) {
259 focused.setFocusableInTouchMode(false);
270 public boolean dispatchUnhandledMove(View focused, int direction) { argument
H A DShortcutAndWidgetContainer.java184 public void requestChildFocus(View child, View focused) { argument
185 super.requestChildFocus(child, focused);
H A DPagedView.java1159 public boolean dispatchUnhandledMove(View focused, int direction) { argument
1160 if (super.dispatchUnhandledMove(focused, direction)) {
1203 * If one of our descendant views decides that it could be focused now, only
1210 public void focusableViewAvailable(View focused) { argument
1212 View v = focused;
1215 super.focusableViewAvailable(focused);
1906 public void requestChildFocus(View child, View focused) { argument
1907 super.requestChildFocus(child, focused);
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuView.java201 public View focusSearch(View focused, int direction) { argument
206 View newView = super.focusSearch(focused, direction);
207 MenuRowView oldfocusedParent = getParentMenuRowView(focused);
221 View newView = super.focusSearch(focused, direction);
222 MenuRowView oldfocusedParent = getParentMenuRowView(focused);
237 return super.focusSearch(focused, direction);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPicker.java283 final boolean focused = column.hasFocus();
298 setOrAnimateAlpha(item, (selected == column.getChildAdapterPosition(item)), focused,
310 private void setOrAnimateAlpha(View view, boolean selected, boolean focused, boolean animate, argument
314 if ((focused && !mKeyDown) || mClicked) {
323 if (focused && !mClicked && !mKeyDown) {
477 public void requestChildFocus(View child, View focused) { argument
478 super.requestChildFocus(child, focused);
/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);
H A DPagedView.java886 public boolean dispatchUnhandledMove(View focused, int direction) { argument
899 return super.dispatchUnhandledMove(focused, direction);
920 * If one of our descendant views decides that it could be focused now, only
927 public void focusableViewAvailable(View focused) { argument
929 View v = focused;
932 super.focusableViewAvailable(focused);
1440 public void requestChildFocus(View child, View focused) { argument
1441 super.requestChildFocus(child, focused);
H A DDragController.java470 public boolean dispatchUnhandledMove(View focused, int direction) { argument
471 return mMoveTarget != null && mMoveTarget.dispatchUnhandledMove(focused, direction);
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DAutoCompleteEditTextPreference.java268 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
269 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 785 milliseconds

12