Home
last modified time | relevance | path

Searched refs:imeId (Results 1 – 20 of 20) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodUtils.java270 String imeId = subtypeSplitter.next(); in buildInputMethodsAndSubtypeList() local
543 String imeId = ime.first; in saveSubtypeHistory() local
563 if (ime.first.equals(imeId)) { in addSubtypeToHistory()
634 if (TextUtils.isEmpty(imeId) || imeInTheHistory.equals(imeId)) { in getLastSubtypeForInputMethodLockedInternal()
656 if (enabledIme.first.equals(imeId)) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked()
714 String imeId = mSubtypeSplitter.next(); in loadInputMethodAndSubtypeHistoryLocked() local
719 imsList.add(new Pair<>(imeId, subtypeId)); in loadInputMethodAndSubtypeHistoryLocked()
734 void putSelectedInputMethod(String imeId) { in putSelectedInputMethod() argument
769 void putDefaultVoiceInputMethod(String imeId) { in putDefaultVoiceInputMethod() argument
880 final InputMethodInfo imi = mMethodMap.get(imeId); in setAdditionalInputMethodSubtypes()
[all …]
H A DInputMethodManagerInternal.java97 public abstract boolean switchToInputMethod(String imeId, @UserIdInt int userId); in switchToInputMethod() argument
111 public abstract boolean setInputMethodEnabled(String imeId, boolean enabled, in setInputMethodEnabled() argument
225 public boolean switchToInputMethod(String imeId, @UserIdInt int userId) {
230 public boolean setInputMethodEnabled(String imeId, boolean enabled,
H A DInputMethodManagerService.java845 mImeId = imeId; in StartInputInfo()
4075 @Nullable String imeId) { in getExceptionForUnknownImeId()
4307 imeId != null ? ComponentName.unflattenFromString(imeId) : null; in setExplicitlyEnabledInputMethodSubtypes()
4311 + imeId); in setExplicitlyEnabledInputMethodSubtypes()
5618 if (TextUtils.isEmpty(imeId)) { in queryDefaultInputMethodForUserIdLocked()
5645 if (imeId.equals(imeIdResolved)) { in queryDefaultInputMethodForUserIdLocked()
5684 if (!methodMap.containsKey(imeId) in switchToInputMethodLocked()
6562 error.print(imeId); in handleShellCommandEnableDisableInputMethodInternalLocked()
6570 out.print(imeId); in handleShellCommandEnableDisableInputMethodInternalLocked()
6604 error.print(imeId); in handleShellCommandSetInputMethod()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeHandle.java79 private static String encodeHandle(@NonNull String imeId, int subtypeHashCode) { in encodeHandle() argument
80 return imeId + DATA_SEPARATOR + SUBTYPE_TAG + DATA_SEPARATOR + subtypeHashCode; in encodeHandle()
121 final String imeId = splitter.next(); in of() local
122 final ComponentName componentName = ComponentName.unflattenFromString(imeId); in of()
127 if (!Objects.equals(componentName.flattenToShortString(), imeId)) { in of()
152 if (!Objects.equals(encodeHandle(imeId, subtypeHashCode), stringHandle)) { in of()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityServiceConnection.java302 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
304 logTraceSvcConn("switchToInputMethod", "imeId=" + imeId); in switchToInputMethod()
315 result = InputMethodManagerInternal.get().switchToInputMethod(imeId, callingUserId); in switchToInputMethod()
324 public int setInputMethodEnabled(String imeId, boolean enabled) throws SecurityException { in setInputMethodEnabled() argument
326 logTraceSvcConn("switchToInputMethod", "imeId=" + imeId); in setInputMethodEnabled()
342 checkResult = mSecurityPolicy.canEnableDisableInputMethod(imeId, this); in setInputMethodEnabled()
347 if (inputMethodManagerInternal.setInputMethodEnabled(imeId, in setInputMethodEnabled()
H A DUiAutomationManager.java330 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
335 public int setInputMethodEnabled(String imeId, boolean enabled) { in setInputMethodEnabled() argument
H A DProxyAccessibilityServiceConnection.java486 public boolean switchToInputMethod(String imeId) throws UnsupportedOperationException { in switchToInputMethod() argument
492 public int setInputMethodEnabled(String imeId, boolean enabled) in setInputMethodEnabled() argument
H A DAccessibilitySecurityPolicy.java408 int canEnableDisableInputMethod(String imeId, AbstractAccessibilityServiceConnection service) in canEnableDisableInputMethod() argument
418 if (info.getId().equals(imeId)) { in canEnableDisableInputMethod()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityServiceConnectionImpl.java155 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
159 public int setInputMethodEnabled(String imeId, boolean enabled) { in setInputMethodEnabled() argument
/aosp14/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl110 boolean switchToInputMethod(String imeId); in switchToInputMethod() argument
112 int setInputMethodEnabled(String imeId, boolean enabled); in setInputMethodEnabled() argument
H A DAccessibilityService.java2250 public boolean switchToInputMethod(@NonNull String imeId) { in switchToInputMethod() argument
2256 return connection.switchToInputMethod(imeId); in switchToInputMethod()
2282 public int setInputMethodEnabled(@NonNull String imeId, boolean enabled) in setInputMethodEnabled() argument
2289 return connection.setInputMethodEnabled(imeId, enabled); in setInputMethodEnabled()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAppLocaleCollector.java121 String imeId = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getActiveIme() local
123 if (infoList != null && imeId != null) { in getActiveIme()
125 if (method.getId().equals(imeId)) { in getActiveIme()
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A DNotificationTest.java164 String imeId = Settings.Secure.getString( in getImePackage() local
166 ComponentName cn = ComponentName.unflattenFromString(imeId); in getImePackage()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DIInputMethodManagerGlobalInvoker.java414 static void setAdditionalInputMethodSubtypes(@NonNull String imeId, in setAdditionalInputMethodSubtypes() argument
421 service.setAdditionalInputMethodSubtypes(imeId, subtypes, userId); in setAdditionalInputMethodSubtypes()
429 static void setExplicitlyEnabledInputMethodSubtypes(@NonNull String imeId, in setExplicitlyEnabledInputMethodSubtypes() argument
436 service.setExplicitlyEnabledInputMethodSubtypes(imeId, subtypeHashCodes, userId); in setExplicitlyEnabledInputMethodSubtypes()
H A DInputMethodManager.java1752 @NonNull String imeId, boolean allowsImplicitlyEnabledSubtypes, @UserIdInt int userId) { in getEnabledInputMethodSubtypeListAsUser()
1754 Objects.requireNonNull(imeId), allowsImplicitlyEnabledSubtypes, userId); in getEnabledInputMethodSubtypeListAsUser()
3920 final String imeId = Settings.Secure.getString(contentResolver, in setCurrentInputMethodSubtype() local
3922 if (ComponentName.unflattenFromString(imeId) == null) { in setCurrentInputMethodSubtype()
3927 IInputMethodManagerGlobalInvoker.getEnabledInputMethodSubtypeList(imeId, true, in setCurrentInputMethodSubtype()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl110 void setExplicitlyEnabledInputMethodSubtypes(String imeId, in int[] subtypeHashCodes, in setExplicitlyEnabledInputMethodSubtypes() argument
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnectionTest.java876 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
881 public int setInputMethodEnabled(String imeId, boolean enabled) throws RemoteException { in setInputMethodEnabled() argument
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
H A DInputMethodUtilsTest.java1279 @NonNull String initialEnabledImeStr, @NonNull String imeId, in verifyUpdateEnabledImeString() argument
1283 imeId, createSubtypeHashCodeArrayFromStr(enabledSubtypeHashCodesStr))); in verifyUpdateEnabledImeString()
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1690 final String imeId = imeComponent.flattenToShortString(); in initConfigurationTracker() local
1696 Log.wtf(TAG, "Unable to find input method " + imeId, e); in initConfigurationTracker()
1711 Log.wtf(TAG, "Unable to load input method " + imeId, e); in initConfigurationTracker()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...