Searched refs:focusedView (Results 1 – 5 of 5) sorted by relevance
221 private void updateSelector(View focusedView) { in updateSelector() argument229 if (focusedView.hasFocus()) { in updateSelector()231 final int targetWidth = focusedView.getWidth(); in updateSelector()234 targetTranslationX = focusedView.getLeft() - mSelector.getLeft(); in updateSelector()236 targetTranslationX = focusedView.getRight() - mSelector.getRight(); in updateSelector()273 mLastFocusedView = focusedView; in updateSelector()274 } else if (mLastFocusedView == focusedView) { in updateSelector()
152 UiObject2 focusedView = menu.findObject(FOCUSED_VIEW); in assertButtonHasFocus() local153 assertNotNull("Play controls row doesn't have a focused child.", focusedView); in assertButtonHasFocus()154 UiObject2 focusedButtonGroup = focusedView.getParent(); in assertButtonHasFocus()
660 View focusedView = getView() == null ? null : getView().findFocus(); in onSaveInstanceState() local661 if (focusedView != null) { in onSaveInstanceState()662 outState.putInt(KEY_FOCUSED_VIEW_ID, focusedView.getId()); in onSaveInstanceState()663 outState.putBoolean(KEY_RESTORE_SOFT_INPUT, inputMethodManager.isActive(focusedView)); in onSaveInstanceState()1816 View focusedView = root.findFocus(); in maybeRestoreFocus() local1817 if (focusedView != null) { in maybeRestoreFocus()1820 focusedView = getView().findViewById(focusedViewId); in maybeRestoreFocus()1821 if (focusedView == null) { in maybeRestoreFocus()1824 boolean didFocus = focusedView.requestFocus(); in maybeRestoreFocus()1831 .showSoftInput(focusedView, InputMethodManager.SHOW_IMPLICIT); in maybeRestoreFocus()
184 View focusedView = findFocus(); in onScrollChanged() local185 if (focusedView != null && mOnRepeatedKeyInterceptListener.isFocusAccelerated()) { in onScrollChanged()189 focusedView.getLocationOnScreen(focusedLocation); in onScrollChanged()
2527 View focusedView = getCurrentFocus(); in onKeyShortcut() local2528 if (focusedView instanceof BubbleTextView in onKeyShortcut()2529 && focusedView.getTag() instanceof ItemInfo in onKeyShortcut()2530 && mAccessibilityDelegate.performAction(focusedView, in onKeyShortcut()2531 (ItemInfo) focusedView.getTag(), in onKeyShortcut()