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

12

/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.java50 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
H A DPasswordTransformationMethod.java121 boolean focused, int direction,
123 if (!focused) {
120 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/core/java/android/view/
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.java96 * will contain the focused view. It is not necessarily the view that
98 * @param focused The view that is a descendant of child that actually has
101 public void requestChildFocus(View child, View focused); argument
H A DAccessibilityInteractionController.java388 AccessibilityNodeInfo focused = null;
414 focused = AccessibilityNodeInfo.obtain(
418 focused = host.createAccessibilityNodeInfo();
425 focused = target.createAccessibilityNodeInfo();
435 applyAppScaleAndMagnificationSpecIfNeeded(focused, spec);
439 callback.setFindAccessibilityNodeInfoResult(focused, interactionId);
H A DViewRootImpl.java197 final Rect mVisRect; // used to retrieve visible rect of focused view.
1818 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: requested focused view="
1821 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: existing focused view="
2509 * We want to draw a highlight around the current accessibility focused.
2629 // We need to determine if the currently focused view is
2761 public void requestChildFocus(View child, View focused) { argument
2763 Log.v(TAG, "Request child focus: focus now " + focused);
2791 View focused = mView.findFocus();
2792 if (focused instanceof ViewGroup) {
2793 ViewGroup group = (ViewGroup) focused;
3296 findAncestorToTakeFocusInTouchMode(View focused) argument
5105 focusSearch(View focused, int direction) argument
[all...]
H A DViewGroup.java599 public void requestChildFocus(View child, View focused) { argument
619 mParent.requestChildFocus(this, focused);
631 // shortcut: don't report a new focusable view if we already are focused
636 // the focused view and make sure it wasn't FOCUS_AFTER_DESCENDANTS and
661 * @param focused The view that currently has focus
665 public View focusSearch(View focused, int direction) { argument
670 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
672 return mParent.focusSearch(focused, direction);
769 public boolean dispatchUnhandledMove(View focused, int direction) { argument
771 mFocused.dispatchUnhandledMove(focused, directio
[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/base/core/java/android/widget/
H A DZoomButton.java97 public boolean dispatchUnhandledMove(View focused, int direction) { argument
99 return super.dispatchUnhandledMove(focused, direction);
H A DDialerFilter.java90 * Only show the icon view when focused, if there is one.
93 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
94 super.onFocusChanged(focused, direction, previouslyFocusedRect);
97 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE);
H A DAutoCompleteTextView.java1003 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1004 super.onFocusChanged(focused, direction, previouslyFocusedRect);
1006 if (!focused) {
1009 if (!focused && !mPopup.isDropDownAlwaysVisible()) {
H A DListView.java132 // Keeps focused children visible through resizes
1599 // call to clear focus when removing the focused child below
1606 // we can remember the focused view to restore after relayout if the
1607 // data hasn't changed, or if the focused position is a header or footer
1689 final View focused = getFocusedChild();
1690 if (focused != null) {
1691 focused.clearFocus();
2100 View focused = getFocusedChild();
2101 if (focused != null && event.getAction() == KeyEvent.ACTION_DOWN) {
2102 // ... and our focused chil
[all...]
H A DHorizontalScrollView.java331 // Let the focused view and/or our descendants get the key first
1006 * to a component visible in this area. If no component can be focused in
1086 // previously focused item still has focus and is off screen, give
1387 public void requestChildFocus(View child, View focused) { argument
1389 scrollToChild(focused);
1392 mChildToScrollTo = focused;
1394 super.requestChildFocus(child, focused);
H A DScrollView.java352 // Let the focused view and/or our descendants get the key first
991 * to a component visible in this area. If no component can be focused in
1070 // previously focused item still has focus and is off screen, give
1381 public void requestChildFocus(View child, View focused) { argument
1383 scrollToChild(focused);
1386 mChildToScrollTo = focused;
1388 super.requestChildFocus(child, focused);
1479 // If the currently-focused view was visible on the screen when the
H A DSearchView.java473 * Sets a listener to inform when a suggestion is focused or clicked.
817 boolean focused = mQueryTextView.hasFocus();
818 mSearchPlate.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
819 mSubmitArea.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
1725 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1726 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/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/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/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java70 public void setFocused(Object info, boolean focused); argument
74 public void setAccessibilityFocused(Object info, boolean focused); argument
322 public void setFocused(Object info, boolean focused) { argument
332 public void setAccessibilityFocused(Object info, boolean focused) { argument
599 public void setFocused(Object info, boolean focused) { argument
600 AccessibilityNodeInfoCompatIcs.setFocused(info, focused);
691 public void setAccessibilityFocused(Object info, boolean focused) { argument
692 AccessibilityNodeInfoCompatJellyBean.setAccesibilityFocused(info, focused);
1148 * @return The node info of the focused view or null.
1526 * Gets whether this node is focused
1545 setFocused(boolean focused) argument
1595 setAccessibilityFocused(boolean focused) argument
[all...]
/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);
/frameworks/base/core/java/android/app/
H A DNativeActivity.java107 private native void onWindowFocusChangedNative(int handle, boolean focused); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java542 * @return The node info of the focused view or null.
1065 * Gets whether this node is focused.
1067 * @return True if the node is focused.
1074 * Sets whether this node is focused.
1081 * @param focused True if the node is focused.
1085 public void setFocused(boolean focused) { argument
1086 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSED, focused);
1115 * Gets whether this node is accessibility focused.
1117 * @return True if the node is accessibility focused
1135 setAccessibilityFocused(boolean focused) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java323 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java251 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, argument

Completed in 678 milliseconds

12