Searched refs:focused (Results 1 - 25 of 35) 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
202 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
242 getForwardFocusable(ViewGroup root, View focused, ArrayList<View> focusables, int count) argument
249 getNextFocusable(View focused, ArrayList<View> focusables, int count) argument
262 getBackwardFocusable(ViewGroup root, View focused, ArrayList<View> focusables, int count) argument
269 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.java362 AccessibilityNodeInfo focused = null;
389 focused = AccessibilityNodeInfo.obtain(
393 focused = host.createAccessibilityNodeInfo();
400 focused = target.createAccessibilityNodeInfo();
410 applyApplicationScaleIfNeeded(focused);
411 callback.setFindAccessibilityNodeInfoResult(focused, interactionId);
H A DViewRootImpl.java212 final Rect mVisRect; // used to retrieve visible rect of focused view.
1799 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: requested focused view="
1803 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: existing focused view="
2308 * We want to draw a highlight around the current accessibility focused.
2398 // When in touch mode, focus points to the previously focused view,
2423 // We need to determine if the currently focused view is
2552 public void requestChildFocus(View child, View focused) { argument
2556 Log.v(TAG, "Request child focus: focus now " + focused);
2559 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(mOldFocusedView, focused);
2562 mFocusedView = mRealFocusedView = focused;
3114 findAncestorToTakeFocusInTouchMode(View focused) argument
4031 focusSearch(View focused, int direction) argument
[all...]
H A DViewGroup.java568 public void requestChildFocus(View child, View focused) { argument
588 mParent.requestChildFocus(this, focused);
600 // shortcut: don't report a new focusable view if we already are focused
605 // the focused view and make sure it wasn't FOCUS_AFTER_DESCENDANTS and
630 * @param focused The view that currently has focus
634 public View focusSearch(View focused, int direction) { argument
639 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
641 return mParent.focusSearch(focused, direction);
738 public boolean dispatchUnhandledMove(View focused, int direction) { argument
740 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.java131 // Keeps focused children visible through resizes
1572 // call to clear focus when removing the focused child below
1579 // we can remember the focused view to restore after relayout if the
1580 // data hasn't changed, or if the focused position is a header or footer
1686 final View focused = getFocusedChild();
1687 if (focused != null) {
1688 focused.clearFocus();
2091 View focused = getFocusedChild();
2092 if (focused != null && event.getAction() == KeyEvent.ACTION_DOWN) {
2093 // ... 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);
1724 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1725 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.java69 public void setFocused(Object info, boolean focused); argument
73 public void setAccessibilityFocused(Object info, boolean focused); argument
319 public void setFocused(Object info, boolean focused) { argument
329 public void setAccessibilityFocused(Object info, boolean focused) { argument
586 public void setFocused(Object info, boolean focused) { argument
587 AccessibilityNodeInfoCompatIcs.setFocused(info, focused);
678 public void setAccessibilityFocused(Object info, boolean focused) { argument
679 AccessibilityNodeInfoCompatJellyBean.setAccesibilityFocused(info, focused);
1025 * @return The node info of the focused view or null.
1403 * Gets whether this node is focused
1422 setFocused(boolean focused) argument
1472 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/view/accessibility/
H A DAccessibilityNodeInfo.java441 * @return The node info of the focused view or null.
908 * Gets whether this node is focused.
910 * @return True if the node is focused.
917 * Sets whether this node is focused.
924 * @param focused True if the node is focused.
928 public void setFocused(boolean focused) { argument
929 setBooleanProperty(PROPERTY_FOCUSED, focused);
958 * Gets whether this node is accessibility focused.
960 * @return True if the node is accessibility focused
978 setAccessibilityFocused(boolean focused) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java317 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DMultiPaneChallengeLayout.java163 public void requestChildFocus(View child, View focused) { argument
169 super.requestChildFocus(child, focused);
/frameworks/base/core/java/android/app/
H A DNativeActivity.java97 private native void onWindowFocusChangedNative(int handle, boolean focused); argument

Completed in 4790 milliseconds

12