Searched defs:focused (Results 1 - 25 of 31) 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 DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) 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
/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.java988 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
989 super.onFocusChanged(focused, direction, previouslyFocusedRect);
991 if (!focused) {
994 if (!focused && !mPopup.isDropDownAlwaysVisible()) {
H A DHorizontalScrollView.java329 // Let the focused view and/or our descendants get the key first
993 * to a component visible in this area. If no component can be focused in
1073 // previously focused item still has focus and is off screen, give
1374 public void requestChildFocus(View child, View focused) { argument
1376 scrollToChild(focused);
1379 mChildToScrollTo = focused;
1381 super.requestChildFocus(child, focused);
H A DScrollView.java349 // Let the focused view and/or our descendants get the key first
970 * to a component visible in this area. If no component can be focused in
1049 // previously focused item still has focus and is off screen, give
1360 public void requestChildFocus(View child, View focused) { argument
1362 scrollToChild(focused);
1365 mChildToScrollTo = focused;
1367 super.requestChildFocus(child, focused);
1458 // If the currently-focused view was visible on the screen when the
H A DSearchView.java474 * Sets a listener to inform when a suggestion is focused or clicked.
818 boolean focused = mQueryTextView.hasFocus();
819 mSearchPlate.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
820 mSubmitArea.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
1710 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1711 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DEditor.java824 void onFocusChanged(boolean focused, int direction) { argument
828 if (focused) {
/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/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/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 return findNextInputFocus(root, focused, focusedRect, direction);
85 return findNextAccessibilityFocus(root, focused, focusedRect, direction);
89 private View findNextInputFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
91 if (focused !
110 findNextUserSpecifiedInputFocus(ViewGroup root, View focused, int direction) argument
121 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
179 findNextAccessibilityFocus(ViewGroup root, View focused, Rect focusedRect, int direction) argument
193 findNextInputFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
225 findNextInputFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
265 getForwardFocusable(ViewGroup root, View focused, ArrayList<View> focusables, int count) argument
272 getNextFocusable(View focused, ArrayList<View> focusables, int count) argument
285 getBackwardFocusable(ViewGroup root, View focused, ArrayList<View> focusables, int count) argument
292 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 DViewGroup.java564 public void requestChildFocus(View child, View focused) { argument
584 mParent.requestChildFocus(this, focused);
596 // shortcut: don't report a new focusable view if we already are focused
601 // the focused view and make sure it wasn't FOCUS_AFTER_DESCENDANTS and
626 * @param focused The view that currently has focus
630 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/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/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.java98 private native void onWindowFocusChangedNative(int handle, boolean focused); argument
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiSelector.java125 public UiSelector focused(boolean val) { method in class:UiSelector
/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/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java447 * @return The node info of the focused view or null.
915 * Gets whether this node is focused.
917 * @return True if the node is focused.
924 * Sets whether this node is focused.
931 * @param focused True if the node is focused.
935 public void setFocused(boolean focused) { argument
936 setBooleanProperty(PROPERTY_FOCUSED, focused);
965 * Gets whether this node is accessibility focused.
967 * @return True if the node is accessibility focused
985 setAccessibilityFocused(boolean focused) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java316 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
H A DWebView.java1250 * currently focused textfield if there is one.
2005 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
2006 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
2007 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp807 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jint handle, jboolean focused) argument
813 code->callbacks.onWindowFocusChanged(code, focused ? 1 : 0);

Completed in 5362 milliseconds

12