Searched refs:focused (Results 1 - 25 of 61) sorted by path

123

/frameworks/base/core/java/android/app/
H A DNativeActivity.java105 private native void onWindowFocusChangedNative(long handle, boolean focused); argument
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java50 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
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DTransformationMethod.java43 boolean focused, int direction,
42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java413 AccessibilityNodeInfo focused = null;
434 // The focused view not shown, we failed.
443 focused = AccessibilityNodeInfo.obtain(
447 focused = host.createAccessibilityNodeInfo();
457 focused = provider.findFocus(focusType);
459 if (focused == null) {
460 focused = target.createAccessibilityNodeInfo();
470 applyAppScaleAndMagnificationSpecIfNeeded(focused, spec);
474 adjustIsVisibleToUserIfNeeded(focused, interactiveRegion);
475 callback.setFindAccessibilityNodeInfoResult(focused, interactionI
[all...]
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 DView.java1193 * Indicates the view is focused. States are used with
1251 * Indicates the view is focused and selected.
1273 * Indicates the view is enabled, focused and selected.
1281 * Indicates the view is enabled, focused and its window has the focus.
1297 * Indicates the view is focused, selected and its window has the focus.
1305 * Indicates the view is enabled, focused, selected and its window
1337 * Indicates the view is pressed and focused.
1344 * Indicates the view is pressed, focused and its window has the focus.
1352 * Indicates the view is pressed, focused and selected.
1360 * Indicates the view is pressed, focused, selecte
5057 clearFocusInternal(View focused, boolean propagate, boolean refocus) argument
5093 unFocus(View focused) argument
7282 dispatchUnhandledMove(View focused, @FocusRealDirection int direction) argument
[all...]
H A DViewGroup.java638 public void requestChildFocus(View child, View focused) { argument
647 super.unFocus(focused);
652 mFocused.unFocus(focused);
658 mParent.requestChildFocus(this, focused);
671 // shortcut: don't report a new focusable view if we already are focused
676 // the focused view and make sure it wasn't FOCUS_AFTER_DESCENDANTS and
701 * @param focused The view that currently has focus
705 public View focusSearch(View focused, int direction) { argument
710 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
712 return mParent.focusSearch(focused, directio
915 dispatchUnhandledMove(View focused, int direction) argument
955 unFocus(View focused) 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 DViewRootImpl.java200 final Rect mVisRect; // used to retrieve visible rect of focused view.
1914 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: requested focused view="
1917 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: existing focused view="
2694 // We need to determine if the currently focused view is
2831 public void requestChildFocus(View child, View focused) { argument
2833 Log.v(TAG, "Request child focus: focus now " + focused);
2863 View focused = mView.findFocus();
2864 if (focused instanceof ViewGroup) {
2865 ViewGroup group = (ViewGroup) focused;
2867 && isViewDescendantOf(v, focused)) {
3375 findAncestorToTakeFocusInTouchMode(View focused) argument
5274 focusSearch(View focused, int direction) argument
[all...]
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;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java635 * @return The node info of the focused view or null.
1422 * Gets whether this node is focused.
1424 * @return True if the node is focused.
1431 * Sets whether this node is focused.
1438 * @param focused True if the node is focused.
1442 public void setFocused(boolean focused) { argument
1443 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSED, focused);
1472 * Gets whether this node is accessibility focused.
1474 * @return True if the node is accessibility focused
1492 setAccessibilityFocused(boolean focused) argument
[all...]
H A DAccessibilityWindowInfo.java257 public void setFocused(boolean focused) { argument
258 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSED, focused);
277 public void setAccessibilityFocused(boolean focused) { argument
278 setBooleanProperty(BOOLEAN_PROPERTY_ACCESSIBLITY_FOCUSED, focused);
458 builder.append(", focused=").append(isFocused());
/frameworks/base/core/java/android/webkit/
H A DWebView.java1457 * Removes the autocomplete popup from the currently focused form field, if
2418 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
2419 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
2420 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DWebViewProvider.java334 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1006 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1007 super.onFocusChanged(focused, direction, previouslyFocusedRect);
1009 if (!focused) {
1012 if (!focused && !mPopup.isDropDownAlwaysVisible()) {
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);
H A DEditor.java903 void onFocusChanged(boolean focused, int direction) { argument
907 if (focused) {
H A DHorizontalScrollView.java341 // Let the focused view and/or our descendants get the key first
1022 * to a component visible in this area. If no component can be focused in
1102 // previously focused item still has focus and is off screen, give
1403 public void requestChildFocus(View child, View focused) { argument
1405 scrollToChild(focused);
1408 mChildToScrollTo = focused;
1410 super.requestChildFocus(child, focused);
H A DListView.java135 // Keeps focused children visible through resizes
1605 // clear focus when removing the focused child below from messing
1611 // We can remember the focused view to restore after re-layout
1612 // if the data hasn't changed, or if the focused position is a
1707 final View focused = getFocusedChild();
1708 if (focused != null) {
1709 focused.clearFocus();
2133 View focused = getFocusedChild();
2134 if (focused != null && event.getAction() == KeyEvent.ACTION_DOWN) {
2135 // ... and our focused chil
[all...]
H A DScrollView.java368 // Let the focused view and/or our descendants get the key first
1034 * to a component visible in this area. If no component can be focused in
1113 // previously focused item still has focus and is off screen, give
1424 public void requestChildFocus(View child, View focused) { argument
1426 scrollToChild(focused);
1429 mChildToScrollTo = focused;
1431 super.requestChildFocus(child, focused);
1540 // If the currently-focused view was visible on the screen when the
H A DSearchView.java513 * Sets a listener to inform when a suggestion is focused or clicked.
857 boolean focused = mQueryTextView.hasFocus();
858 mSearchPlate.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
859 mSubmitArea.getBackground().setState(focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET);
1762 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1763 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DTextView.java2817 * focused) to be this color.
2850 * Gets the text colors for the different states (normal, selected, focused) of the TextView.
2896 * TextView gets focused. The default is true.
2906 * TextView gets focused. The default is true.
5463 // Selection extends across multiple lines -- make the focused
7875 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
7878 super.onFocusChanged(focused, direction, previouslyFocusedRect);
7882 if (mEditor != null) mEditor.onFocusChanged(focused, direction);
7884 if (focused) {
7891 startStopMarquee(focused);
[all...]
H A DZoomButton.java101 public boolean dispatchUnhandledMove(View focused, int direction) { argument
103 return super.dispatchUnhandledMove(focused, direction);

Completed in 502 milliseconds

123