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

/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java44 boolean focused, int direction,
43 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
H A DPasswordTransformationMethod.java122 boolean focused, int direction,
124 if (!focused) {
121 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/core/java/android/widget/
H A DZoomButton.java95 public boolean dispatchUnhandledMove(View focused, int direction) { argument
97 return super.dispatchUnhandledMove(focused, direction);
H A DDialerFilter.java102 * Only show the icon view when focused, if there is one.
105 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
106 super.onFocusChanged(focused, direction, previouslyFocusedRect);
109 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE);
H A DHorizontalScrollView.java308 // Let the focused view and/or our descendants get the key first
691 * to a component visible in this area. If no component can be focused in
774 // previously focused item still has focus and is off screen, give
1039 public void requestChildFocus(View child, View focused) { argument
1042 scrollToChild(focused);
1045 mChildToScrollTo = focused;
1048 super.requestChildFocus(child, focused);
H A DScrollView.java307 // Let the focused view and/or our descendants get the key first
692 * to a component visible in this area. If no component can be focused in
777 // previously focused item still has focus and is off screen, give
1042 public void requestChildFocus(View child, View focused) { argument
1045 scrollToChild(focused);
1048 mChildToScrollTo = focused;
1051 super.requestChildFocus(child, focused);
1128 // If the currently-focused view was visible on the screen when the
H A DAutoCompleteTextView.java1037 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1038 super.onFocusChanged(focused, direction, previouslyFocusedRect);
1040 if (!focused && !mDropDownAlwaysVisible) {
1436 * passed to the drop down; the list only looks focused.</p>
H A DTextView.java1731 * focused) to be this color.
6383 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
6386 super.onFocusChanged(focused, direction, previouslyFocusedRect);
6394 if (focused) {
6446 startStopMarquee(focused);
6449 mTransformation.onFocusChanged(this, mText, focused, direction,
6453 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/tests/FrameworkTest/tests/src/com/android/frameworktest/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/view/
H A DFocusFinder.java53 * that currently is focused.
54 * @param root Contains focused
55 * @param focused Has focus now.
59 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
61 if (focused != null) {
63 View userSetNextFocus = focused.findUserSetNextFocus(root, direction);
71 // fill in interesting rect from focused
72 focused.getFocusedRect(mFocusedRect);
73 root.offsetDescendantRectToMyCoords(focused, mFocusedRect);
93 return findNextFocus(root, focused, mFocusedRec
108 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) argument
[all...]
H A DViewParent.java95 * will contain the focused view. It is not necessarily the view that
97 * @param focused The view that is a descendant of child that actually has
100 public void requestChildFocus(View child, View focused); argument
H A DViewGroup.java410 public void requestChildFocus(View child, View focused) { argument
430 mParent.requestChildFocus(this, focused);
442 // shortcut: don't report a new focusable view if we already are focused
447 // the focused view and make sure it wasn't FOCUS_AFTER_DESCENDANTS and
465 * @param focused The view that currently has focus
469 public View focusSearch(View focused, int direction) { argument
474 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
476 return mParent.focusSearch(focused, direction);
492 public boolean dispatchUnhandledMove(View focused, int direction) { argument
494 mFocused.dispatchUnhandledMove(focused, directio
[all...]
H A DViewRoot.java139 final Rect mVisRect; // used to retrieve visible rect of focused view.
1080 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: requested focused view="
1084 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: existing focused view="
1408 // When in touch mode, focus points to the previously focused view,
1433 // We need to determine if the currently focused view is
1506 public void requestChildFocus(View child, View focused) { argument
1508 if (mFocusedView != focused) {
1509 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(mFocusedView, focused);
1512 mFocusedView = mRealFocusedView = focused;
1930 final View focused
1959 findAncestorToTakeFocusInTouchMode(View focused) argument
2512 focusSearch(View focused, int direction) argument
[all...]
H A DView.java955 * Indicates the view is focused. States are used with
1018 * Indicates the view is focused and selected.
1043 * Indicates the view is enabled, focused and selected.
1052 * Indicates the view is enabled, focused and its window has the focus.
1070 * Indicates the view is focused, selected and its window has the focus.
1079 * Indicates the view is enabled, focused, selected and its window
1120 * Indicates the view is pressed and focused.
1129 * Indicates the view is pressed, focused and its window has the focus.
1139 * Indicates the view is pressed, focused and selected.
1149 * Indicates the view is pressed, focused, selecte
3353 dispatchUnhandledMove(View focused, int direction) argument
[all...]
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/util/
H A DInternalSelectionView.java45 * the previously focused rectangle.
233 protected void onFocusChanged(boolean focused, int direction, argument
235 super.onFocusChanged(focused, direction, previouslyFocusedRect);
237 if (focused) {
/frameworks/base/core/java/android/webkit/
H A DWebView.java2326 * currently focused textfield if there is one.
3049 * Delete text from start to end in the focused textfield. If there is no
3064 * Set the selection to (start, end) in the focused textfield. If start and
3589 * our window is not focused, but this is an exception since
3621 protected void onFocusChanged(boolean focused, int direction, argument
3624 Log.v(LOGTAG, "MT focusChanged " + focused + ", " + direction);
3626 if (focused) {
3652 super.onFocusChanged(focused, direction, previouslyFocusedRect);
4870 * Scroll the focused text field/area to match the WebTextView
5412 // Make sure that the textfield is currently focused
6074 nativeRecordButtons(boolean focused, boolean pressed, boolean invalidate) argument
[all...]

Completed in 213 milliseconds