Searched refs:currentFocus (Results 1 – 2 of 2) sorted by relevance
289 View currentFocus = getActivity().getCurrentFocus(); in hideKeyboard() local290 if (currentFocus == null) { in hideKeyboard()291 currentFocus = getActivity().getWindow().getDecorView(); in hideKeyboard()294 if (currentFocus != null) { in hideKeyboard()296 (InputMethodManager) currentFocus.getContext() in hideKeyboard()299 .hideSoftInputFromWindow(currentFocus.getWindowToken(), 0); in hideKeyboard()
217 public static boolean adjustFocus(@NonNull View root, @Nullable View currentFocus) { in adjustFocus() argument218 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in adjustFocus()227 public static boolean adjustFocusImmediately(@NonNull View root, @Nullable View currentFocus) { in adjustFocusImmediately() argument228 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in adjustFocusImmediately()239 public static boolean initFocus(@NonNull View root, @Nullable View currentFocus) { in initFocus() argument240 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in initFocus()