Home
last modified time | relevance | path

Searched refs:focusedView (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSchedulesHeaderRowPresenter.java221 private void updateSelector(View focusedView) { in updateSelector() argument
229 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()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DPlayControlsRowViewTest.java152 UiObject2 focusedView = menu.findObject(FOCUSED_VIEW); in assertButtonHasFocus() local
153 assertNotNull("Play controls row doesn't have a focused child.", focusedView); in assertButtonHasFocus()
154 UiObject2 focusedButtonGroup = focusedView.getParent(); in assertButtonHasFocus()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java660 View focusedView = getView() == null ? null : getView().findFocus(); in onSaveInstanceState() local
661 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() local
1817 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()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java184 View focusedView = findFocus(); in onScrollChanged() local
185 if (focusedView != null && mOnRepeatedKeyInterceptListener.isFocusAccelerated()) { in onScrollChanged()
189 focusedView.getLocationOnScreen(focusedLocation); in onScrollChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java2527 View focusedView = getCurrentFocus(); in onKeyShortcut() local
2528 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()