Lines Matching refs:focused

212     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) {
2556 Log.v(TAG, "Request child focus: focus now " + focused);
2559 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(mOldFocusedView, focused);
2562 mFocusedView = mRealFocusedView = focused;
3085 final View focused = mView.findFocus();
3086 if (focused != null && !focused.isFocusableInTouchMode()) {
3089 findAncestorToTakeFocusInTouchMode(focused);
3097 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(focused, null);
3109 * Find an ancestor of focused that wants focus after its descendants and is
3111 * @param focused The currently focused view.
3114 private static ViewGroup findAncestorToTakeFocusInTouchMode(View focused) {
3115 ViewParent parent = focused.getParent();
3149 final View focused = focusSearch(null, View.FOCUS_DOWN);
3150 if (focused != null) {
3151 return focused.requestFocus(View.FOCUS_DOWN);
3577 // and select a focused view if needed (in ensureTouchMode).
3578 // When a new focused view is selected, we consume the navigation key because
3586 // and select a focused view if needed (in ensureTouchMode).
3756 View focused = mView.findFocus();
3757 if (focused != null) {
3758 View v = focused.focusSearch(direction);
3759 if (v != null && v != focused) {
3761 // of previous focused into the coord system of
3762 // newly focused view
3763 focused.getFocusedRect(mTempRect);
3766 focused, mTempRect);
3778 // Give the focused view a last chance to handle the dpad key.
3779 if (mView.dispatchUnhandledMove(focused, direction)) {
4031 public View focusSearch(View focused, int direction) {
4036 return FocusFinder.getInstance().findNextFocus((ViewGroup) mView, focused, direction);