Searched refs:currentFocus (Results 1 – 2 of 2) sorted by relevance
247 View currentFocus = getActivity().getCurrentFocus(); in hideKeyboard() local248 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()
2496 final View currentFocus = getCurrentFocus(); in onProvideKeyboardShortcuts() local2497 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()