Home
last modified time | relevance | path

Searched refs:currentFocus (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragment.java247 View currentFocus = getActivity().getCurrentFocus(); in hideKeyboard() local
248 if (currentFocus == null) { in hideKeyboard()
249 currentFocus = getActivity().getWindow().getDecorView(); in hideKeyboard()
252 if (currentFocus != null) { in hideKeyboard()
254 (InputMethodManager) currentFocus.getContext() in hideKeyboard()
257 .hideSoftInputFromWindow(currentFocus.getWindowToken(), 0); in hideKeyboard()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java2496 final View currentFocus = getCurrentFocus(); in onProvideKeyboardShortcuts() local
2497 if (currentFocus != null) { in onProvideKeyboardShortcuts()
2498 if (new CustomActionsPopup(this, currentFocus).canShow()) { in onProvideKeyboardShortcuts()
2502 if (currentFocus.getTag() instanceof ItemInfo in onProvideKeyboardShortcuts()
2503 && DeepShortcutManager.supportsShortcuts((ItemInfo) currentFocus.getTag())) { in onProvideKeyboardShortcuts()