Home
last modified time | relevance | path

Searched refs:InputMethodManager (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java44 /*package*/ static boolean showSoftInput(InputMethodManager thisManager, View view, int flags) { in showSoftInput()
49 /*package*/ static boolean showSoftInput(InputMethodManager thisManager, View view, int flags, in showSoftInput()
55 /*package*/static boolean showSoftInput(InputMethodManager thisManager, View view, in showSoftInput()
61 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
67 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
73 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
DInputMethodManager_Accessor.java25 InputMethodManager.tearDownEditMode(); in tearDownEditMode()
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DInputMethodManagerTest.java39 final InputMethodManager globalImm = InputMethodManager.getInstance(); in testPrivateApiGetInstance()
43 + " @UnsupportedAppUsage", globalImm, InputMethodManager.peekInstance()); in testPrivateApiGetInstance()
51 final InputMethodManager imm = in testPrivateApiGetInstance()
52 defaultDisplayContext.getSystemService(InputMethodManager.class); in testPrivateApiGetInstance()
/frameworks/base/core/java/android/widget/
DImeAwareEditText.java24 import android.view.inputmethod.InputMethodManager;
74 final InputMethodManager imm = in showSoftInputIfNecessary()
75 getContext().getSystemService(InputMethodManager.class); in showSoftInputIfNecessary()
82 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput()
/frameworks/base/core/java/android/view/
DImeFocusController.java26 import android.view.inputmethod.InputMethodManager;
51 InputMethodManager.class).getDelegate(); in getImmDelegate()
149 InputMethodManager.FinishedInputEventCallback callback) { in onProcessImeInputStage()
151 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
153 final InputMethodManager imm = in onProcessImeInputStage()
154 mViewRootImpl.mContext.getSystemService(InputMethodManager.class); in onProcessImeInputStage()
156 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
DTestActivity.java30 import android.view.inputmethod.InputMethodManager;
93 InputMethodManager imm = getSystemService(InputMethodManager.class); in showImeWithInputMethodManager()
109 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideImeWithInputMethodManager()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
DInputMethodServiceTest.java43 import android.view.inputmethod.InputMethodManager;
187 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
203 () -> mInputMethodService.requestShowSelf(InputMethodManager.SHOW_IMPLICIT), in testShowHideSelf()
211 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
288 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInput_disableShowImeWithHardKeyboard()
326 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly()
349 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputExplicitly_fullScreenMode()
378 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputImplicitly_fullScreenMode()
384 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_fullScreenMode()
426 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_withHardKeyboard()
[all …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java27 import android.view.inputmethod.InputMethodManager;
136 InputMethodManager im = (InputMethodManager) context.getSystemService( in setStubIme()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeVisibilityStateComputer.java53 import android.view.inputmethod.InputMethodManager;
234 @InputMethodManager.ShowFlags int showFlags) { in onImeShowFlags()
244 if ((showFlags & InputMethodManager.SHOW_FORCED) != 0) { in onImeShowFlags()
247 } else if ((showFlags & InputMethodManager.SHOW_IMPLICIT) == 0) { in onImeShowFlags()
260 @InputMethodManager.HideFlags int hideFlags) { in canHideIme()
261 if ((hideFlags & InputMethodManager.HIDE_IMPLICIT_ONLY) != 0 in canHideIme()
267 if (mShowForced && (hideFlags & InputMethodManager.HIDE_NOT_ALWAYS) != 0) { in canHideIme()
295 @InputMethodManager.ShowFlags
299 flags |= InputMethodManager.SHOW_FORCED; in getShowFlags()
301 flags |= InputMethodManager.SHOW_IMPLICIT; in getShowFlags()
DIInputMethodManagerImpl.java38 import android.view.inputmethod.InputMethodManager;
104 @Nullable ImeTracker.Token statsToken, @InputMethodManager.ShowFlags int flags, in showSoftInput()
109 @Nullable ImeTracker.Token statsToken, @InputMethodManager.HideFlags int flags, in hideSoftInput()
178 @InputMethodManager.HandwritingDelegateFlags int flags); in acceptStylusHandwritingDelegation()
183 @InputMethodManager.HandwritingDelegateFlags int flags, IBooleanListener callback); in acceptStylusHandwritingDelegationAsync()
269 @NonNull ImeTracker.Token statsToken, @InputMethodManager.ShowFlags int flags, in showSoftInput()
278 @NonNull ImeTracker.Token statsToken, @InputMethodManager.HideFlags int flags, in hideSoftInput()
437 @InputMethodManager.HandwritingDelegateFlags int flags) { in acceptStylusHandwritingDelegation()
445 @InputMethodManager.HandwritingDelegateFlags int flags, in acceptStylusHandwritingDelegationAsync()
DZeroJankProxy.java54 import android.view.inputmethod.InputMethodManager;
178 @Nullable ImeTracker.Token statsToken, @InputMethodManager.ShowFlags int flags, in showSoftInput()
199 @Nullable ImeTracker.Token statsToken, @InputMethodManager.HideFlags int flags, in hideSoftInput()
220 ? InputMethodManager.RESULT_UNCHANGED_SHOWN in sendResultReceiverFailure()
221 : InputMethodManager.RESULT_UNCHANGED_HIDDEN, in sendResultReceiverFailure()
381 @InputMethodManager.HandwritingDelegateFlags int flags) { in acceptStylusHandwritingDelegation()
401 @InputMethodManager.HandwritingDelegateFlags int flags, IBooleanListener callback) { in acceptStylusHandwritingDelegationAsync()
/frameworks/base/tests/inputmethod/ConcurrentMultiSessionImeTest/src/com/android/server/inputmethod/multisessiontest/
DMainActivity.java29 import android.view.inputmethod.InputMethodManager;
46 private InputMethodManager mImm;
55 mImm = getSystemService(InputMethodManager.class); in onCreate()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DImeVisibilityStateComputerTest.java48 import android.view.inputmethod.InputMethodManager;
98 InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit()
135 mComputer.onImeShowFlags(null, InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showExplicit_thenShowImplicit()
146 mComputer.onImeShowFlags(ImeTracker.Token.empty(), InputMethodManager.SHOW_FORCED); in testRequestImeVisibility_showForced_thenShowExplicit()
160 InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit_a11yNoImePolicy()
179 InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit_imeHiddenPolicy()
198 InputMethodManager.HIDE_NOT_ALWAYS)).isTrue(); in testRequestImeVisibility_hideNotAlways()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java36 import android.view.inputmethod.InputMethodManager;
100 private final InputMethodManager mInputMethodManager;
103 @Nullable InputMethodManager inputMethodManager) throws ServiceNotFoundException { in TextServicesManager()
123 InputMethodManager.class)); in createInstance()
147 public InputMethodManager getInputMethodManager() { in getInputMethodManager()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSession.java179 public void toggleSoftInput(@InputMethodManager.ShowFlags int showFlags, in toggleSoftInput()
180 @InputMethodManager.HideFlags int hideFlags); in toggleSoftInput()
DInputMethodManager.java293 public final class InputMethodManager { class
394 static InputMethodManager sInstance;
405 private static final SparseArray<InputMethodManager> sInstanceMap = new SparseArray<>();
751 private InputMethodManager getFallbackInputMethodManagerIfNecessary(@Nullable View view) { in getFallbackInputMethodManagerIfNecessary()
770 final InputMethodManager fallbackImm = in getFallbackInputMethodManagerIfNecessary()
771 viewRootImpl.mContext.getSystemService(InputMethodManager.class); in getFallbackInputMethodManagerIfNecessary()
856 InputMethodManager.this, null /* icProto */); in onPostWindowGainedFocus()
1518 private static InputMethodManager createInstance(int displayId, Looper looper) { in createInstance()
1524 private static InputMethodManager createRealInstance(int displayId, Looper looper) { in createRealInstance()
1529 final InputMethodManager imm = new InputMethodManager(service, displayId, looper); in createRealInstance()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSettingValuesWrapper.java26 import android.view.inputmethod.InputMethodManager;
58 private final InputMethodManager mImm;
87 mImm = context.getSystemService(InputMethodManager.class); in InputMethodSettingValuesWrapper()
DInputMethodPreference.java32 import android.view.inputmethod.InputMethodManager;
237 private InputMethodManager getInputMethodManager() { in getInputMethodManager()
238 return (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE); in getInputMethodManager()
242 final InputMethodManager imm = getInputMethodManager(); in getSummaryString()
/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingClientImpl.java22 import android.view.inputmethod.InputMethodManager;
40 public void triggerClientDump(String where, @NonNull InputMethodManager immInstance, in triggerClientDump()
DImeTracing.java25 import android.view.inputmethod.InputMethodManager;
116 public abstract void triggerClientDump(String where, InputMethodManager immInstance, in triggerClientDump()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DInputStageBenchmark.java31 import android.view.inputmethod.InputMethodManager;
141 final InputMethodManager imm = in showSoftKeyboard()
142 mActivityRule.getActivity().getSystemService(InputMethodManager.class); in showSoftKeyboard()
143 imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT); in showSoftKeyboard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java34 import android.view.inputmethod.InputMethodManager;
133 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideIme()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java30 import android.view.inputmethod.InputMethodManager;
154 InputMethodManager manager = in onItemClick()
155 (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE); in onItemClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/inputmethod/data/repository/
DInputMethodRepository.kt22 import android.view.inputmethod.InputMethodManager in <lambda>()
66 private val inputMethodManager: InputMethodManager,
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java22 import android.view.inputmethod.InputMethodManager;
162 @Override protected void viewClicked(InputMethodManager imm) { in viewClicked()

12345