Searched refs:currentFocus (Results 1 – 2 of 2) sorted by relevance
241 View currentFocus = getActivity().getCurrentFocus(); in hideKeyboard() local242 if (currentFocus == null) { in hideKeyboard()243 currentFocus = getActivity().getWindow().getDecorView(); in hideKeyboard()246 if (currentFocus != null) { in hideKeyboard()248 (InputMethodManager) currentFocus.getContext() in hideKeyboard()251 .hideSoftInputFromWindow(currentFocus.getWindowToken(), 0); in hideKeyboard()
2524 final View currentFocus = getCurrentFocus(); in onProvideKeyboardShortcuts() local2525 if (currentFocus != null) { in onProvideKeyboardShortcuts()2526 if (new CustomActionsPopup(this, currentFocus).canShow()) { in onProvideKeyboardShortcuts()2530 if (currentFocus.getTag() instanceof ItemInfo in onProvideKeyboardShortcuts()2531 && ShortcutUtil.supportsShortcuts((ItemInfo) currentFocus.getTag())) { in onProvideKeyboardShortcuts()