Searched defs:focused (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java43 boolean focused, int direction,
42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DAllCapsTransformationMethod.java68 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DPasswordTransformationMethod.java120 boolean focused, int direction,
122 if (!focused) {
119 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
H A DEmojiTransformationMethod.java70 final boolean focused, final int direction, final Rect previouslyFocusedRect) {
72 mTransformationMethod.onFocusChanged(view, sourceText, focused, direction,
69 onFocusChanged(final View view, final CharSequence sourceText, final boolean focused, final int direction, final Rect previouslyFocusedRect) argument
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DGuidedStepRootLayout.java49 public View focusSearch(View focused, int direction) { argument
50 View newFocus = super.focusSearch(focused, direction);
58 return focused;
62 return focused;
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedActionItemContainer.java41 public View focusSearch(View focused, int direction) { argument
42 if (mFocusOutAllowed || !Util.isDescendant(this, focused)) {
43 return super.focusSearch(focused, direction);
45 View view = super.focusSearch(focused, direction);
H A DPlaybackTransportRowView.java79 final View focused = findFocus();
80 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) {
93 public View focusSearch(View focused, int direction) { argument
95 if (focused != null) {
115 (ViewGroup) getFocusedChild(), focused, direction);
119 return super.focusSearch(focused, direction);
H A DBrowseFrameLayout.java29 * Interface for selecting a focused view in a BrowseFrameLayout when the system focus finder
34 * Returns the view where focus should be requested given the current focused view and
37 View onFocusSearch(View focused, int direction); argument
56 void onRequestChildFocus(View child, View focused); argument
116 public View focusSearch(View focused, int direction) { argument
118 View view = mListener.onFocusSearch(focused, direction);
123 return super.focusSearch(focused, direction);
127 public void requestChildFocus(View child, View focused) { argument
129 mOnChildFocusListener.onRequestChildFocus(child, focused);
131 super.requestChildFocus(child, focused);
[all...]
H A DControlBar.java28 public void onChildFocusedListener(View child, View focused); argument
86 public void requestChildFocus (View child, View focused) { argument
87 super.requestChildFocus(child, focused);
90 mOnChildFocusedListener.onChildFocusedListener(child, focused);
H A DGuidedActionEditText.java108 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
109 super.onFocusChanged(focused, direction, previouslyFocusedRect);
110 if (focused) {
117 if (!focused) {
H A DPersistentFocusWrapper.java32 * Saves the focused grandchild position.
104 public void requestChildFocus(View child, View focused) { argument
105 super.requestChildFocus(child, focused);
106 View view = focused;
112 Log.v(TAG, "requestChildFocus focused " + focused + " mSelectedPosition "
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestFocusDelegate.java52 public void assertHasFocus(boolean focused) { argument
53 assertEquals(focused, hasFocusedItem());
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/text/
H A DAllCapsTransformationMethod.java47 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, argument
/frameworks/base/core/java/android/view/
H A DWindowInfo.java46 public boolean focused; field in class:WindowInfo
72 window.focused = other.focused;
106 parcel.writeInt(focused ? 1 : 0);
130 builder.append(", focused=").append(focused);
143 focused = (parcel.readInt() == 1);
164 focused = false;
/frameworks/base/core/java/android/widget/
H A DZoomButton.java116 public boolean dispatchUnhandledMove(View focused, int direction) { argument
118 return super.dispatchUnhandledMove(focused, direction);
H A DDialerFilter.java93 * Only show the icon view when focused, if there is one.
96 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
97 super.onFocusChanged(focused, direction, previouslyFocusedRect);
100 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DVerticalFocusSearchTest.java51 View findNextFocus(ViewGroup root, View focused, int direction); argument
57 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
59 .findNextFocus(root, focused, direction);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java66 public void setState(boolean focused, boolean hovered, boolean pressed) { argument
68 focused = focused && !pressed;
73 if (mHovered != hovered || mFocused != focused) {
75 mFocused = focused;
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java199 public View onFocusSearchFailed(View focused, int direction, argument
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java199 public View onFocusSearchFailed(View focused, int direction, argument
/frameworks/base/core/java/com/android/internal/widget/
H A DNumericTextView.java67 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
68 super.onFocusChanged(focused, direction, previouslyFocusedRect);
70 if (focused) {
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java50 * the previously focused rectangle.
241 protected void onFocusChanged(boolean focused, int direction, argument
243 super.onFocusChanged(focused, direction, previouslyFocusedRect);
245 if (focused) {
/frameworks/support/customview/src/main/java/androidx/customview/widget/
H A DFocusStrategy.java38 @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl,
51 return getNextFocusable(focused, sortedFocusables, wrap);
53 return getPreviousFocusable(focused, sortedFocusables, wrap);
60 private static <T> T getNextFocusable(T focused, ArrayList<T> focusables, boolean wrap) { argument
64 // no item is currently focused.
65 final int position = (focused == null ? -1 : focusables.lastIndexOf(focused)) + 1;
75 private static <T> T getPreviousFocusable(T focused, ArrayList<T> focusables, boolean wrap) { argument
79 // if no item is currently focused.
80 final int position = (focused
36 findNextFocusInRelativeDirection(@onNull L focusables, @NonNull CollectionAdapter<L, T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, boolean wrap) argument
140 findNextFocusInAbsoluteDirection(@onNull L focusables, @NonNull CollectionAdapter<L, T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, @Nullable T focused, @NonNull Rect focusedRect, int direction) argument
[all...]
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatBaseAutoSizeTest.java1247 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, argument

Completed in 265 milliseconds

123