HomeSort by relevance Sort by last modified time
    Searched refs:focused (Results 1 - 25 of 245) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
BrowseFrameLayout.java 28 * Interface for selecting a focused view in a BrowseFrameLayout when the system focus finder
33 * Returns the view where focus should be requested given the current focused view and
36 View onFocusSearch(View focused, int direction);
53 void onRequestChildFocus(View child, View focused);
110 public View focusSearch(View focused, int direction) {
112 View view = mListener.onFocusSearch(focused, direction);
117 return super.focusSearch(focused, direction);
121 public void requestChildFocus(View child, View focused) {
122 super.requestChildFocus(child, focused);
124 mOnChildFocusListener.onRequestChildFocus(child, focused);
    [all...]
GuidedActionItemContainer.java 45 public View focusSearch(View focused, int direction) {
46 if (mFocusOutAllowed || !Util.isDescendant(this, focused)) {
47 return super.focusSearch(focused, direction);
49 View view = super.focusSearch(focused, direction);
ControlBar.java 25 public void onChildFocusedListener(View child, View focused);
58 public void requestChildFocus (View child, View focused) {
59 super.requestChildFocus(child, focused);
61 mOnChildFocusedListener.onChildFocusedListener(child, focused);
GuidedActionEditText.java 105 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) {
106 super.onFocusChanged(focused, direction, previouslyFocusedRect);
107 if (focused) {
114 if (!focused) {
PlaybackControlsRowView.java 27 * A LinearLayout that preserves the focused child view.
68 final View focused = findFocus(); local
69 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) {
TitleHelper.java 44 public View onFocusSearch(View focused, int direction) {
45 if (focused != mTitleView && direction == View.FOCUS_UP) {
48 final boolean isRtl = ViewCompat.getLayoutDirection(focused) ==
PersistentFocusWrapper.java 32 * Saves the focused grandchild position.
103 public void requestChildFocus(View child, View focused) {
104 super.requestChildFocus(child, focused);
105 View view = focused;
110 if (DEBUG) Log.v(TAG, "requestChildFocus focused " + focused + " mSelectedPosition " + mSelectedPosition);
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
FocusListener.java 41 public void keyboardFocusChanged (FocusEvent event, Actor actor, boolean focused) {
45 public void scrollFocusChanged (FocusEvent event, Actor actor, boolean focused) {
51 private boolean focused; field in class:FocusListener.FocusEvent
61 return focused;
64 public void setFocused (boolean focused) {
65 this.focused = focused;
76 /** The actor related to the event. When focus is lost, this is the new actor being focused, or null. When focus is gained,
77 * this is the previous actor that was focused, or null. */
  /frameworks/base/core/java/android/text/method/
TransformationMethod.java 43 boolean focused, int direction,
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
GuidedStepRootLayout.java 48 public View focusSearch(View focused, int direction) {
49 View newFocus = super.focusSearch(focused, direction);
57 return focused;
61 return focused;
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedStateListDrawableTest.java 73 asld.addState(StateSet.WILD_CARD, null, R.id.focused);
80 asld.addState(StateSet.WILD_CARD, unfocused, R.id.focused);
83 Drawable focused = mock(Drawable.class); local
84 asld.addState(STATE_FOCUSED, focused, R.id.unfocused);
92 Drawable focused = mock(Drawable.class); local
94 asld.addState(STATE_FOCUSED, focused, R.id.focused);
98 asld.addTransition(R.id.focused, R.id.focused, null, false);
105 asld.addTransition(R.id.focused, R.id.unfocused, focusedToUnfocused, false)
124 Drawable focused = mock(Drawable.class); local
    [all...]
  /platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/
AbstractLeanbackAppHelper.java 167 // header is focused; it should not be after pressing the DPad
210 * @return the focused object
216 UiObject2 focus = container.findObject(By.focused(true));
218 throw new UnknownUiException("The container should have a focused descendant.");
223 focus = container.findObject(By.focused(true));
226 focus = container.findObject(By.focused(true));
246 By.res(getPackage(), "guidedactions_list").hasChild(By.focused(true))),
250 UiObject2 focused = select(container, selector, Direction.DOWN); local
251 if (focused != null) {
252 return focused;
401 UiObject2 focused = select(container, header, Direction.UP); local
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/
OnRepeatedKeyInterceptListener.java 81 // 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(); local
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) {
  /frameworks/base/core/java/android/view/
WindowInfo.java 44 public boolean focused; field in class:WindowInfo
68 window.focused = other.focused;
100 parcel.writeInt(focused ? 1 : 0);
123 builder.append(", focused=").append(focused);
135 focused = (parcel.readInt() == 1);
154 focused = false;
FocusFinder.java 61 * that currently is focused.
62 * @param root Contains focused. Cannot be null.
63 * @param focused Has focus now.
67 public final View findNextFocus(ViewGroup root, View focused, int direction) {
68 return findNextFocus(root, focused, null, direction);
84 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) {
86 if (focused != null) {
87 next = findNextUserSpecifiedFocus(root, focused, direction);
97 next = findNextFocus(root, focused, focusedRect, direction, focusables);
105 private View findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction)
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
Constants.java 33 public static final BySelector FOCUSED_VIEW = By.focused(true);
  /frameworks/base/core/java/android/widget/
ZoomButton.java 96 public boolean dispatchUnhandledMove(View focused, int direction) {
98 return super.dispatchUnhandledMove(focused, direction);
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/
FragmentTestCase.java 107 protected void setFocus(final View view, final boolean focused) {
111 if (focused) {
  /packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DigitsEditText.java 45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) {
46 super.onFocusChanged(focused, direction, previouslyFocusedRect);
  /packages/services/Car/car-support-lib/src/android/support/car/ui/
FabDrawable.java 33 * 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;
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
FocusSearchNavigationTest.java 125 View focused = mBefore; local
127 focusSearchAndGive(focused, View.FOCUS_FORWARD);
130 focused = viewHolder.itemView;
132 focusSearchAndGive(focused, View.FOCUS_FORWARD);
137 focused = mActivity.getCurrentFocus();
139 assertThat(focused.getParent(), CoreMatchers.<ViewParent>sameInstance(mRecyclerView));
147 View focused = mAfter; local
156 focusSearchAndGive(focused, View.FOCUS_BACKWARD);
159 focused = viewHolder.itemView;
162 focusSearchAndGive(focused, View.FOCUS_BACKWARD)
    [all...]
  /packages/apps/TV/src/com/android/tv/guide/
ProgramGrid.java 89 private final int mSelectionRow; // Row that is focused
151 public void requestChildFocus(View child, View focused) {
155 super.requestChildFocus(child, focused);
174 public View focusSearch(View focused, int direction) {
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, direction)
    [all...]
TimelineGridView.java 40 View focused) {
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
VerticalFocusSearchTest.java 49 View findNextFocus(ViewGroup root, View focused, int direction);
55 public View findNextFocus(ViewGroup root, View focused, int direction) {
57 .findNextFocus(root, focused, direction);
  /frameworks/support/v7/appcompat/src/android/support/v7/text/
AllCapsTransformationMethod.java 46 public void onFocusChanged(View view, CharSequence sourceText, boolean focused,

Completed in 615 milliseconds

1 2 3 4 5 6 7 8 910