/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodInfoUtils.java | 28 import android.view.inputmethod.InputMethodInfo; 71 final InputMethodInfo imi = imis.get(i); in fillImes() 91 final InputMethodInfo imi = imis.get(i); in fillAuxiliaryImes() 102 final InputMethodInfo imi = imis.get(i); in fillAuxiliaryImes() 117 public ArrayList<InputMethodInfo> build() { in build() 171 static ArrayList<InputMethodInfo> getDefaultEnabledImes( in getDefaultEnabledImes() 190 static ArrayList<InputMethodInfo> getDefaultEnabledImes( in getDefaultEnabledImes() 208 static InputMethodInfo chooseSystemVoiceIme( in chooseSystemVoiceIme() 221 InputMethodInfo firstMatchingIme = null; in chooseSystemVoiceIme() 242 static InputMethodInfo getMostApplicableDefaultIME(List<InputMethodInfo> enabledImes) { in getMostApplicableDefaultIME() [all …]
|
H A D | InputMethodManagerInternal.java | 25 import android.view.inputmethod.InputMethodInfo; 47 void onInputMethodListUpdated(List<InputMethodInfo> info, @UserIdInt int userId); in onInputMethodListUpdated() 67 public abstract List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser() 75 public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId); in getEnabledInputMethodListAsUser() 208 public List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId) { 213 public List<InputMethodInfo> getEnabledInputMethodListAsUser(
|
H A D | InputMethodSubtypeSwitchingController.java | 26 import android.view.inputmethod.InputMethodInfo; 52 public final InputMethodInfo mImi; 58 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { in ImeSubtypeListItem() 198 final InputMethodInfo imi = imis.get(i); in getSortedInputMethodAndSubtypeList() 261 private int getIndex(InputMethodInfo imi, InputMethodSubtype subtype) { in getIndex() 275 InputMethodInfo imi, InputMethodSubtype subtype) { in getNextInputMethodLocked() 332 private int getUsageRank(final InputMethodInfo imi, InputMethodSubtype subtype) { in getUsageRank() 348 public void onUserAction(InputMethodInfo imi, InputMethodSubtype subtype) { in onUserAction() 361 InputMethodInfo imi, InputMethodSubtype subtype) { in getNextInputMethodLocked() 459 public void onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) { in onUserActionLocked() [all …]
|
H A D | SubtypeUtils.java | 26 import android.view.inputmethod.InputMethodInfo; 63 private static InputMethodInfo sCachedInputMethodInfo; 67 static boolean containsSubtypeOf(InputMethodInfo imi, @Nullable Locale locale, in containsSubtypeOf() 97 static ArrayList<InputMethodSubtype> getSubtypes(InputMethodInfo imi) { in getSubtypes() 106 static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { in isValidSubtypeId() 110 static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { in getSubtypeIdFromHashCode() 129 Resources res, InputMethodInfo imi) { in getImplicitlyApplicableSubtypesLocked() 155 Resources res, InputMethodInfo imi) { in getImplicitlyApplicableSubtypesLockedImpl()
|
H A D | InputMethodUtils.java | 41 import android.view.inputmethod.InputMethodInfo; 89 List<InputMethodInfo> enabledImis) { in setNonSelectedSystemImesDisabledUntilUsed() 108 final InputMethodInfo imi = enabledImis.get(j); in setNonSelectedSystemImesDisabledUntilUsed() 223 private final ArrayMap<String, InputMethodInfo> mMethodMap; 390 ArrayList<InputMethodInfo> getEnabledInputMethodListLocked() { in getEnabledInputMethodListLocked() 496 Predicate<InputMethodInfo> matchingCondition) { in createEnabledInputMethodListLocked() 497 final ArrayList<InputMethodInfo> res = new ArrayList<>(); in createEnabledInputMethodListLocked() 499 InputMethodInfo info = mMethodMap.get(ims.first); in createEnabledInputMethodListLocked() 658 final InputMethodInfo imi = mMethodMap.get(imeId); in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked() 880 final InputMethodInfo imi = mMethodMap.get(imeId); in setAdditionalInputMethodSubtypes() [all …]
|
H A D | InputMethodManagerService.java | 140 import android.view.inputmethod.InputMethodInfo; 1496 InputMethodInfo curIm = null; in onFinishPackageChangesInternal() 2215 final InputMethodInfo imi; in getEnabledInputMethodSubtypeListLocked() 3347 InputMethodInfo info = mMethodMap.get(id); in setInputMethodLocked() 4126 final InputMethodInfo lastImi; in switchToPreviousInputMethod() 5072 final List<InputMethodInfo> imes = (List<InputMethodInfo>) msg.obj; in handleMessage() 5203 ArrayMap<String, InputMethodInfo> methodMap, ArrayList<InputMethodInfo> methodList, in queryInputMethodServicesInternal() 5243 ArrayMap<String, InputMethodInfo> methodMap, ArrayList<InputMethodInfo> methodList, in filterInputMethodServices() 5262 final InputMethodInfo imi = new InputMethodInfo(userAwareContext, ri, in filterInputMethodServices() 5623 InputMethodInfo curInputMethodInfo; in queryDefaultInputMethodForUserIdLocked() [all …]
|
H A D | AutofillSuggestionsController.java | 28 import android.view.inputmethod.InputMethodInfo; 43 @NonNull private final ArrayMap<String, InputMethodInfo> mMethodMap; 91 final InputMethodInfo imi = mMethodMap.get(mService.getSelectedMethodIdLocked()); in onCreateInlineSuggestionsRequest() 146 private static boolean isInlineSuggestionsEnabled(InputMethodInfo imi, in isInlineSuggestionsEnabled()
|
H A D | InputMethodMenuController.java | 36 import android.view.inputmethod.InputMethodInfo; 57 private final ArrayMap<String, InputMethodInfo> mMethodMap; 63 private InputMethodInfo[] mIms; 104 final InputMethodInfo currentImi = mMethodMap.get(curMethodId); in showInputMethodMenu() 111 mIms = new InputMethodInfo[size]; in showInputMethodMenu() 174 final InputMethodInfo im = mIms[which]; in showInputMethodMenu()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodInfoTest.java | 45 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta); in testEqualsAndHashCode() 46 final InputMethodInfo clone = cloneViaParcel(imi); in testEqualsAndHashCode() 54 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta); in testBooleanAttributes_DefaultValues() 60 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues() 75 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod() 86 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabled() 93 final InputMethodInfo imi = in testInlineSuggestionsEnabledWithTouchExploration() 98 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabledWithTouchExploration() 109 final InputMethodInfo clone = cloneViaParcel(imi); in testIsVrOnly() 128 private InputMethodInfo cloneViaParcel(final InputMethodInfo original) { in cloneViaParcel() [all …]
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
H A D | InputMethodManagerServiceRestrictImeAmountTest.java | 30 import android.view.inputmethod.InputMethodInfo; 60 for (int i = 0; i < 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE; i++) { in testFilterInputMethodServices_ignoresImesBeyondThreshold() 68 InputMethodInfo.MAX_IMES_PER_PACKAGE); in testFilterInputMethodServices_ignoresImesBeyondThreshold() 74 for (int i = 0; i < 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE; i++) { in testFilterInputMethodServices_loadsSystemImesBeyondThreshold() 83 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE); in testFilterInputMethodServices_loadsSystemImesBeyondThreshold() 89 for (int i = 0; i < 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE; i++) { in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages() 93 for (int i = 0; i < 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE; i++) { in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages() 101 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE); in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages() 110 for (int i = 0; i < 2 * InputMethodInfo.MAX_IMES_PER_PACKAGE; i++) { in testFilterInputMethodServices_stillLoadsEnabledImesBeyondThreshold() 121 1 + InputMethodInfo.MAX_IMES_PER_PACKAGE); in testFilterInputMethodServices_stillLoadsEnabledImesBeyondThreshold() [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodSettingValuesWrapper.java | 26 import android.view.inputmethod.InputMethodInfo; 55 private final ArrayList<InputMethodInfo> mMethodList = new ArrayList<>(); 96 public List<InputMethodInfo> getInputMethodList() { in getInputMethodList() 100 public boolean isAlwaysCheckedIme(InputMethodInfo imi) { in isAlwaysCheckedIme() 117 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in getEnabledValidNonAuxAsciiCapableImeCount() 118 for (final InputMethodInfo imi : enabledImis) { in getEnabledValidNonAuxAsciiCapableImeCount() 129 public boolean isEnabledImi(InputMethodInfo imi) { in isEnabledImi() 131 for (final InputMethodInfo tempImi : enabledImis) { in isEnabledImi() 146 private ArrayList<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() 149 final ArrayList<InputMethodInfo> result = new ArrayList<>(); in getEnabledInputMethodList() [all …]
|
H A D | InputMethodAndSubtypeUtilCompat.java | 32 import android.view.inputmethod.InputMethodInfo; 169 ContentResolver resolver, List<InputMethodInfo> inputMethodInfos, in saveInputMethodSubtypeList() 186 ContentResolver resolver, List<InputMethodInfo> inputMethodInfos, in saveInputMethodSubtypeListForUser() 193 ContentResolver resolver, List<InputMethodInfo> inputMethodInfos, in saveInputMethodSubtypeListForUserInternal() 203 for (final InputMethodInfo imi : inputMethodInfos) { in saveInputMethodSubtypeListForUserInternal() 338 for (final InputMethodInfo imi : inputMethodInfos) { in loadInputMethodSubtypeList() 357 final List<InputMethodInfo> inputMethodProperties, final String id, in setSubtypesPreferenceEnabled() 360 for (final InputMethodInfo imi : inputMethodProperties) { in setSubtypesPreferenceEnabled() 376 final List<InputMethodInfo> inputMethodProperties, in updateSubtypesPreferenceChecked() 379 for (final InputMethodInfo imi : inputMethodProperties) { in updateSubtypesPreferenceChecked() [all …]
|
H A D | InputMethodAndSubtypeUtil.java | 30 import android.view.inputmethod.InputMethodInfo; 158 ContentResolver resolver, List<InputMethodInfo> inputMethodInfos, in saveInputMethodSubtypeList() 168 for (final InputMethodInfo imi : inputMethodInfos) { in saveInputMethodSubtypeList() 290 final ContentResolver resolver, final List<InputMethodInfo> inputMethodInfos, in loadInputMethodSubtypeList() 295 for (final InputMethodInfo imi : inputMethodInfos) { in loadInputMethodSubtypeList() 314 final List<InputMethodInfo> inputMethodProperties, final String id, in setSubtypesPreferenceEnabled() 317 for (final InputMethodInfo imi : inputMethodProperties) { in setSubtypesPreferenceEnabled() 333 final List<InputMethodInfo> inputMethodProperties, in updateSubtypesPreferenceChecked() 336 for (final InputMethodInfo imi : inputMethodProperties) { in updateSubtypesPreferenceChecked() 387 @NonNull final InputMethodInfo inputMethodInfo) { in getSubtypeLocaleNameListAsSentence() [all …]
|
H A D | InputMethodAndSubtypeEnablerManager.java | 23 import android.view.inputmethod.InputMethodInfo; 50 private List<InputMethodInfo> mInputMethodInfoList; 64 for (final InputMethodInfo imi : mInputMethodInfoList) { in init() 117 private void addInputMethodSubtypePreferences(PreferenceFragment fragment, InputMethodInfo imi, in addInputMethodSubtypePreferences() 220 for (final InputMethodInfo imi : mInputMethodInfoList) { in updateImplicitlyEnabledSubtypes() 234 private void updateImplicitlyEnabledSubtypesOf(final InputMethodInfo imi) { in updateImplicitlyEnabledSubtypesOf()
|
H A D | InputMethodAndSubtypeEnablerManagerCompat.java | 23 import android.view.inputmethod.InputMethodInfo; 51 private List<InputMethodInfo> mInputMethodInfoList; 65 for (final InputMethodInfo imi : mInputMethodInfoList) { in init() 119 InputMethodInfo imi, final PreferenceScreen root) { in addInputMethodSubtypePreferences() 221 for (final InputMethodInfo imi : mInputMethodInfoList) { in updateImplicitlyEnabledSubtypes() 235 private void updateImplicitlyEnabledSubtypesOf(final InputMethodInfo imi) { in updateImplicitlyEnabledSubtypesOf()
|
H A D | InputMethodPreference.java | 31 import android.view.inputmethod.InputMethodInfo; 74 private final InputMethodInfo mImi; 95 public InputMethodPreference(final Context prefContext, final InputMethodInfo imi, in InputMethodPreference() 103 InputMethodPreference(final Context prefContext, final InputMethodInfo imi, in InputMethodPreference() 134 public InputMethodInfo getInputMethodInfo() { in getInputMethodInfo()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
H A D | InputMethodUtilsTest.java | 52 import android.view.inputmethod.InputMethodInfo; 284 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 308 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 332 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 357 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 378 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 400 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 422 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 439 final InputMethodInfo imi = createFakeInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 921 private static List<InputMethodInfo> cloneViaParcel(final List<InputMethodInfo> list) { in cloneViaParcel() [all …]
|
H A D | AdditionalSubtypeUtilsTest.java | 25 import android.view.inputmethod.InputMethodInfo; 55 ArrayMap<String, InputMethodInfo> methodMap = new ArrayMap<>(); in testSaveAndLoad() 56 methodMap.put(fakeImeId, new InputMethodInfo("", "", "", "")); in testSaveAndLoad()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 76 public final class InputMethodInfo implements Parcelable { class 210 public InputMethodInfo(Context context, ResolveInfo service) in InputMethodInfo() method in InputMethodInfo 390 public InputMethodInfo(InputMethodInfo source) { in InputMethodInfo() method in InputMethodInfo 410 InputMethodInfo(Parcel source) { in InputMethodInfo() method in InputMethodInfo 481 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() method in InputMethodInfo 769 if (!(o instanceof InputMethodInfo)) return false; in equals() 771 InputMethodInfo obj = (InputMethodInfo) o; in equals() 865 = new Parcelable.Creator<InputMethodInfo>() { 868 return new InputMethodInfo(source); 872 public InputMethodInfo[] newArray(int size) { [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
H A D | AppRestrictionsHelperTest.java | 45 import android.view.inputmethod.InputMethodInfo; 160 final ArrayList<InputMethodInfo> inputMethods = new ArrayList<>(); in addsystemImes() 163 final InputMethodInfo inputMethodInfo = new InputMethodInfo( in addsystemImes() 170 final InputMethodInfo inputMethodInfo = new InputMethodInfo( in addsystemImes() 265 List<InputMethodInfo> mImis; 297 List<InputMethodInfo> getInputMethodList() { in getInputMethodList() 301 void setInputMethodList(List<InputMethodInfo> imis) { in setInputMethodList()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodManager.aidl | 21 import android.view.inputmethod.InputMethodInfo; 43 InputMethodInfo getCurrentInputMethodInfoAsUser(int userId); in getCurrentInputMethodInfoAsUser() 48 List<InputMethodInfo> getInputMethodList(int userId, int directBootAwareness); in getInputMethodList() 53 List<InputMethodInfo> getEnabledInputMethodList(int userId); in getEnabledInputMethodList()
|
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestCase.java | 26 import android.view.inputmethod.InputMethodInfo; 138 List<InputMethodInfo> infos = im.getInputMethodList(); in setStubIme() 140 for (InputMethodInfo info : infos) { in setStubIme()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | AppLocaleCollector.java | 31 import android.view.inputmethod.InputMethodInfo; 101 InputMethodInfo activeIme = getActiveIme(imm); in getActiveImeLocales() 118 private InputMethodInfo getActiveIme(InputMethodManager imm) { in getActiveIme() 119 InputMethodInfo activeIme = null; in getActiveIme() 120 List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); in getActiveIme() 124 for (InputMethodInfo method : infoList) { in getActiveIme()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodPreferenceTest.java | 24 import android.view.inputmethod.InputMethodInfo; 120 private static InputMethodInfo createInputMethodInfo( in createInputMethodInfo() 146 return new InputMethodInfo( in createInputMethodInfo()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 38 import android.view.inputmethod.InputMethodInfo; 117 in InputMethodInfo imeInfo, in InputMethodSubtype imeSubtype); in getKeyboardLayoutForInputDevice() 123 in InputMethodInfo imeInfo, in InputMethodSubtype imeSubtype, in setKeyboardLayoutForInputDevice() 127 int userId, in InputMethodInfo imeInfo, in InputMethodSubtype imeSubtype); in getKeyboardLayoutListForInputDevice()
|