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

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBrowseFrameLayout.java28 * 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 public View onFocusSearch(View focused, int direction); argument
53 public void onRequestChildFocus(View child, View focused); argument
110 public View focusSearch(View focused, int direction) { argument
112 View view = mListener.onFocusSearch(focused, direction);
117 return super.focusSearch(focused, direction);
121 public void requestChildFocus(View child, View focused) { argument
122 super.requestChildFocus(child, focused);
124 mOnChildFocusListener.onRequestChildFocus(child, focused);
[all...]
H A DControlBar.java25 public void onChildFocusedListener(View child, View focused); argument
58 public void requestChildFocus (View child, View focused) { argument
59 super.requestChildFocus(child, focused);
61 mOnChildFocusedListener.onChildFocusedListener(child, focused);
H A DPlaybackControlsRowView.java27 * A LinearLayout that preserves the focused child view.
69 final View focused = findFocus();
70 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) {
H A DTitleHelper.java46 public View onFocusSearch(View focused, int direction) {
47 if (focused != mTitleView && direction == View.FOCUS_UP) {
50 final boolean isRtl = ViewCompat.getLayoutDirection(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;
111 if (DEBUG) Log.v(TAG, "requestChildFocus focused " + focused + " mSelectedPosition " + mSelectedPosition);
/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.java63 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, 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/base/core/java/android/view/
H A DWindowInfo.java44 public boolean focused; field in class:WindowInfo
66 window.focused = other.focused;
96 parcel.writeInt(focused ? 1 : 0);
116 builder.append(", focused=").append(focused);
127 focused = (parcel.readInt() == 1);
144 focused = false;
H A DFocusFinder.java58 * that currently is focused.
59 * @param root Contains focused. Cannot be null.
60 * @param focused Has focus now.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
83 if (focused != null) {
84 next = findNextUserSpecifiedFocus(root, focused, direction);
94 next = findNextFocus(root, focused, focusedRect, direction, focusables);
102 private View findNextUserSpecifiedFocus(ViewGroup root, View focused, in argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
203 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
243 getNextFocusable(View focused, ArrayList<View> focusables, int count) argument
256 getPreviousFocusable(View focused, ArrayList<View> focusables, int count) argument
[all...]
H A DViewParent.java97 * will contain the focused view. It is not necessarily the view that
99 * @param focused The view that is a descendant of child that actually has
102 public void requestChildFocus(View child, View focused); argument
H A DAccessibilityInteractionController.java438 AccessibilityNodeInfo focused = null;
459 // The focused view not shown, we failed.
468 focused = AccessibilityNodeInfo.obtain(
472 focused = host.createAccessibilityNodeInfo();
482 focused = provider.findFocus(focusType);
484 if (focused == null) {
485 focused = target.createAccessibilityNodeInfo();
495 applyAppScaleAndMagnificationSpecIfNeeded(focused, spec);
501 adjustIsVisibleToUserIfNeeded(focused, interactiveRegion);
502 callback.setFindAccessibilityNodeInfoResult(focused, interactionI
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DVerticalFocusSearchTest.java49 View findNextFocus(ViewGroup root, View focused, int direction); argument
55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
57 .findNextFocus(root, focused, direction);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/text/
H A DAllCapsTransformationMethod.java42 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, argument
/frameworks/base/core/java/android/widget/
H A DZoomButton.java99 public boolean dispatchUnhandledMove(View focused, int direction) { argument
101 return super.dispatchUnhandledMove(focused, direction);
H A DDialerFilter.java88 * Only show the icon view when focused, if there is one.
91 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
92 super.onFocusChanged(focused, direction, previouslyFocusedRect);
95 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE);
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java76 public static void setAccesibilityFocused(Object info, boolean focused) { argument
77 ((AccessibilityNodeInfo) info).setAccessibilityFocused(focused);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java254 boolean focused = false;
260 focused = true;
267 setBackgroundActive(focused || (enabled && pressed), focused);
283 private void setBackgroundActive(boolean active, boolean focused) { argument
287 tryBackgroundEnter(focused);
553 private void tryBackgroundEnter(boolean focused) { argument
559 mBackground.enter(focused);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrowseFragment.java459 public View onFocusSearch(View focused, int direction) {
462 return focused;
464 if (DEBUG) Log.v(TAG, "onFocusSearch focused " + focused + " + direction " + direction);
466 if (getTitleView() != null && focused != getTitleView() &&
477 boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;
482 return focused;
487 return focused;
523 public void onRequestChildFocus(View child, View focused) {
H A DBrowseSupportFragment.java461 public View onFocusSearch(View focused, int direction) {
464 return focused;
466 if (DEBUG) Log.v(TAG, "onFocusSearch focused " + focused + " + direction " + direction);
468 if (getTitleView() != null && focused != getTitleView() &&
479 boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;
484 return focused;
489 return focused;
525 public void onRequestChildFocus(View child, View focused) {
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java267 * @param focused Whether has input focus.
271 public void setFocused(boolean focused) { argument
272 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSED, focused);
287 * @param focused Whether has accessibility focus.
291 public void setAccessibilityFocused(boolean focused) { argument
292 setBooleanProperty(BOOLEAN_PROPERTY_ACCESSIBILITY_FOCUSED, focused);
472 builder.append(", focused=").append(isFocused());
/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/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java379 View focused = findFocus();
381 if (focused != null && focused.isFocused()) {
384 if (imm.isActive(focused)) {
387 focused.clearFocus();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java212 void onFocusChanged(boolean focused) { argument
213 if (focused) {
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java180 public static void setFocused(Object info, boolean focused) { argument
181 ((AccessibilityNodeInfo) info).setFocused(focused);

Completed in 961 milliseconds

123