HomeSort by relevance Sort by last modified time
    Searched refs:focused (Results 1 - 25 of 250) 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 43 public View focusSearch(View focused, int direction) {
44 if (mFocusOutAllowed || !Util.isDescendant(this, focused)) {
45 return super.focusSearch(focused, direction);
47 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.
69 final View focused = findFocus(); local
70 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) ==
  /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. */
  /external/chromium-trace/catapult/third_party/polymer/components/core-focusable/
core-focusable.js 31 * @attribute focused
35 focused: {value: false, reflect: true},
124 // Only render the "focused" state if the element gains focus due to
126 this.focused = true;
131 this.focused = false;
  /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 50 public View focusSearch(View focused, int direction) {
51 View newFocus = super.focusSearch(focused, direction);
59 return focused;
63 return focused;
  /platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/
AbstractLeanbackAppHelper.java 74 // Section header is focused; it should not be after pressing the DPad
116 * @return the focused object
122 UiObject2 focus = container.findObject(By.focused(true));
129 focus = container.findObject(By.focused(true));
132 focus = container.findObject(By.focused(true));
168 return sidePanel.hasObject(By.focused(true).minDepth(1));
181 UiObject2 focused = select(container, section, Direction.UP); local
182 if (focused != null) {
183 return focused;
185 focused = select(container, section, Direction.DOWN)
    [all...]
  /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...]
  /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...]
  /frameworks/support/v7/appcompat/src/android/support/v7/text/
AllCapsTransformationMethod.java 42 public void onFocusChanged(View view, CharSequence sourceText, boolean focused,
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
Constants.java 33 public static final BySelector FOCUSED_VIEW = By.focused(true);
  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
LeanbackLauncherStrategy.java 228 getNotificationRowSelector().hasChild(By.focused(true))), SHORT_WAIT_TIME);
241 getSearchRowSelector().hasDescendant(By.focused(true))), SHORT_WAIT_TIME);
255 getAllAppsSelector().hasChild(By.focused(true))), SHORT_WAIT_TIME);
273 getGamesRowSelector().hasChild(By.focused(true))), SHORT_WAIT_TIME);
356 // Compare the focused icon and the app icon to search for.
357 UiObject2 focusedIcon = container.findObject(By.focused(true))
406 // The app icon is already found and focused.
430 return row.hasObject(By.focused(true));
438 return row.hasObject(By.focused(true));
446 return row.hasObject(By.focused(true))
    [all...]
  /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...]
  /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);

Completed in 269 milliseconds

1 2 3 4 5 6 7 8 910