Home
last modified time | relevance | path

Searched refs:StartInputFlags (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
DStartInputFlags.java31 StartInputFlags.VIEW_HAS_FOCUS,
32 StartInputFlags.IS_TEXT_EDITOR,
33 StartInputFlags.FIRST_WINDOW_FOCUS_GAIN,
34 StartInputFlags.INITIAL_CONNECTION})
35 public @interface StartInputFlags { annotation
DInputMethodDebug.java163 public static String startInputFlagsToString(@StartInputFlags int startInputFlags) { in startInputFlagsToString()
165 if ((startInputFlags & StartInputFlags.VIEW_HAS_FOCUS) != 0) { in startInputFlagsToString()
168 if ((startInputFlags & StartInputFlags.IS_TEXT_EDITOR) != 0) { in startInputFlagsToString()
171 if ((startInputFlags & StartInputFlags.FIRST_WINDOW_FOCUS_GAIN) != 0) { in startInputFlagsToString()
174 if ((startInputFlags & StartInputFlags.INITIAL_CONNECTION) != 0) { in startInputFlagsToString()
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodDebugTest.java63 InputMethodDebug.startInputFlagsToString(StartInputFlags.IS_TEXT_EDITOR)); in testStartInputFlagsToString()
66 StartInputFlags.VIEW_HAS_FOCUS | StartInputFlags.INITIAL_CONNECTION)); in testStartInputFlagsToString()
/frameworks/base/core/java/android/inputmethodservice/
DMultiClientInputMethodServiceDelegate.java35 import com.android.internal.inputmethod.StartInputFlags;
164 @StartInputFlags int startInputFlags, in onStartInputOrWindowGainedFocus()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java45 import com.android.internal.inputmethod.StartInputFlags;
1092 Build.VERSION_CODES.O_MR1, StartInputFlags.VIEW_HAS_FOCUS)); in testIsSoftInputModeStateVisibleAllowed()
1095 StartInputFlags.VIEW_HAS_FOCUS | StartInputFlags.IS_TEXT_EDITOR)); in testIsSoftInputModeStateVisibleAllowed()
1102 Build.VERSION_CODES.P, StartInputFlags.VIEW_HAS_FOCUS)); in testIsSoftInputModeStateVisibleAllowed()
1105 StartInputFlags.VIEW_HAS_FOCUS | StartInputFlags.IS_TEXT_EDITOR)); in testIsSoftInputModeStateVisibleAllowed()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java75 import com.android.internal.inputmethod.StartInputFlags;
1599 @Nullable IBinder windowGainingFocus, @StartInputFlags int startInputFlags, in startInputInner()
1622 startInputFlags |= StartInputFlags.VIEW_HAS_FOCUS; in startInputInner()
1624 startInputFlags |= StartInputFlags.IS_TEXT_EDITOR; in startInputInner()
1679 startInputFlags |= StartInputFlags.INITIAL_CONNECTION; in startInputInner()
1945 startInputFlags |= StartInputFlags.VIEW_HAS_FOCUS; in onPostWindowFocus()
1947 startInputFlags |= StartInputFlags.IS_TEXT_EDITOR; in onPostWindowFocus()
1951 startInputFlags |= StartInputFlags.FIRST_WINDOW_FOCUS_GAIN; in onPostWindowFocus()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java49 import com.android.internal.inputmethod.StartInputFlags;
1288 @StartInputFlags int startInputFlags) { in isSoftInputModeStateVisibleAllowed()
1293 if ((startInputFlags & StartInputFlags.VIEW_HAS_FOCUS) == 0) { in isSoftInputModeStateVisibleAllowed()
1296 if ((startInputFlags & StartInputFlags.IS_TEXT_EDITOR) == 0) { in isSoftInputModeStateVisibleAllowed()
DInputMethodManagerService.java134 import com.android.internal.inputmethod.StartInputFlags;
2067 @StartInputFlags int startInputFlags, @StartInputReason int startInputReason) { in startInputUncheckedLocked()
2138 (startInputFlags & StartInputFlags.INITIAL_CONNECTION) != 0); in startInputUncheckedLocked()
2916 @StartInputFlags int startInputFlags, @SoftInputModeFlags int softInputMode, in startInputOrWindowGainedFocus()
2965 @NonNull IBinder windowToken, @StartInputFlags int startInputFlags, in startInputOrWindowGainedFocusInternalLocked()
3061 final boolean isTextEditor = (startInputFlags & StartInputFlags.IS_TEXT_EDITOR) != 0; in startInputOrWindowGainedFocusInternalLocked()
3159 || (startInputFlags & StartInputFlags.IS_TEXT_EDITOR) != 0) { in startInputOrWindowGainedFocusInternalLocked()
DMultiClientInputMethodManagerService.java77 import com.android.internal.inputmethod.StartInputFlags;
1521 @StartInputFlags int startInputFlags, in startInputOrWindowGainedFocus()