/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodSettingValuesWrapper.java | 23 import android.view.inputmethod.InputMethodInfo; 43 private final ArrayList<InputMethodInfo> mMethodList = new ArrayList<>(); 70 public List<InputMethodInfo> getInputMethodList() { in getInputMethodList() 74 public boolean isAlwaysCheckedIme(InputMethodInfo imi) { in isAlwaysCheckedIme() 91 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in getEnabledValidNonAuxAsciiCapableImeCount() 92 for (final InputMethodInfo imi : enabledImis) { in getEnabledValidNonAuxAsciiCapableImeCount() 103 public boolean isEnabledImi(InputMethodInfo imi) { in isEnabledImi() 104 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in isEnabledImi() 105 for (final InputMethodInfo tempImi : enabledImis) { in isEnabledImi() 120 private ArrayList<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() [all …]
|
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() 373 @NonNull final Context context, @NonNull final InputMethodInfo inputMethodInfo) { in getSubtypeLocaleNameAsSentence() [all …]
|
D | InputMethodAndSubtypeUtilCompat.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() 373 @NonNull final Context context, @NonNull final InputMethodInfo inputMethodInfo) { in getSubtypeLocaleNameAsSentence() [all …]
|
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()
|
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()
|
D | InputMethodPreference.java | 29 import android.view.inputmethod.InputMethodInfo; 72 private final InputMethodInfo mImi; 92 public InputMethodPreference(final Context context, final InputMethodInfo imi, in InputMethodPreference() 104 InputMethodPreference(final Context context, final InputMethodInfo imi, in InputMethodPreference() 133 public InputMethodInfo getInputMethodInfo() { in getInputMethodInfo()
|
D | InputMethodSubtypePreference.java | 21 import android.view.inputmethod.InputMethodInfo; 41 final InputMethodInfo imi) { in InputMethodSubtypePreference()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
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() 58 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues() 65 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta_sw_next); in testSupportsSwitchingToNextInputMethod() 69 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod() 76 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta_vr_only); in testIsVrOnly() 80 final InputMethodInfo clone = cloneViaParcel(imi); in testIsVrOnly() 85 private InputMethodInfo buildInputMethodForTest(final @XmlRes int metaDataRes) in buildInputMethodForTest() 96 return new InputMethodInfo(context, resolveInfo, null /* additionalSubtypesMap */); in buildInputMethodForTest() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerInternal.java | 21 import android.view.inputmethod.InputMethodInfo; 49 public abstract List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser() 57 public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId); in getEnabledInputMethodListAsUser() 73 public List<InputMethodInfo> getInputMethodListAsUser(int userId) { 78 public List<InputMethodInfo> getEnabledInputMethodListAsUser(int userId) {
|
D | InputMethodUtils.java | 42 import android.view.inputmethod.InputMethodInfo; 102 private static InputMethodInfo sCachedInputMethodInfo; 135 private static boolean isSystemImeThatHasSubtypeOf(InputMethodInfo imi, Context context, in isSystemImeThatHasSubtypeOf() 151 private static Locale getFallbackLocaleForDefaultIme(ArrayList<InputMethodInfo> imis, in getFallbackLocaleForDefaultIme() 180 private static boolean isSystemAuxilialyImeThatHasAutomaticSubtype(InputMethodInfo imi, in isSystemAuxilialyImeThatHasAutomaticSubtype() 213 private final LinkedHashSet<InputMethodInfo> mInputMethodSet = new LinkedHashSet<>(); 215 InputMethodListBuilder fillImes(ArrayList<InputMethodInfo> imis, Context context, in fillImes() 219 final InputMethodInfo imi = imis.get(i); in fillImes() 230 InputMethodListBuilder fillAuxiliaryImes(ArrayList<InputMethodInfo> imis, Context context) { in fillAuxiliaryImes() 232 for (final InputMethodInfo imi : mInputMethodSet) { in fillAuxiliaryImes() [all …]
|
D | InputMethodSubtypeSwitchingController.java | 27 import android.view.inputmethod.InputMethodInfo; 53 public final InputMethodInfo mImi; 59 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { in ImeSubtypeListItem() 186 final ArrayList<InputMethodInfo> imis = mSettings.getEnabledInputMethodListLocked(); in getSortedInputMethodAndSubtypeList() 199 final InputMethodInfo imi = imis.get(i); in getSortedInputMethodAndSubtypeList() 241 private static int calculateSubtypeId(InputMethodInfo imi, InputMethodSubtype subtype) { in calculateSubtypeId() 259 private int getIndex(InputMethodInfo imi, InputMethodSubtype subtype) { in getIndex() 273 InputMethodInfo imi, InputMethodSubtype subtype) { in getNextInputMethodLocked() 330 private int getUsageRank(final InputMethodInfo imi, InputMethodSubtype subtype) { in getUsageRank() 346 public void onUserAction(InputMethodInfo imi, InputMethodSubtype subtype) { in onUserAction() [all …]
|
D | InputMethodManagerService.java | 119 import android.view.inputmethod.InputMethodInfo; 320 final ArrayList<InputMethodInfo> mMethodList = new ArrayList<>(); 321 final ArrayMap<String, InputMethodInfo> mMethodMap = new ArrayMap<>(); 322 private final LruCache<SuggestionSpan, InputMethodInfo> mSecureSuggestionSpans = 684 private InputMethodInfo[] mIms; 1148 InputMethodInfo imi = mMethodList.get(i); in onHandleForceStop() 1260 InputMethodInfo curIm = null; in onFinishPackageChangesInternal() 1265 InputMethodInfo imi = mMethodList.get(i); in onFinishPackageChangesInternal() 1516 final List<InputMethodInfo> suitableImes = InputMethodUtils.getDefaultEnabledImes( in resetDefaultImeLocked() 1522 final InputMethodInfo defIm = suitableImes.get(0); in resetDefaultImeLocked() [all …]
|
D | MultiClientInputMethodManagerService.java | 68 import android.view.inputmethod.InputMethodInfo; 181 public List<InputMethodInfo> getInputMethodListAsUser( in Lifecycle() 187 public List<InputMethodInfo> getEnabledInputMethodListAsUser( in Lifecycle() 256 final InputMethodInfo imi = queryInputMethod(mContext, userId, sImeComponentName); in tryBindInputMethodService() 786 InputMethodInfo mCurrentInputMethodInfo; 849 PerUserData(@UserIdInt int userId, @Nullable InputMethodInfo inputMethodInfo, in PerUserData() 1121 private static InputMethodInfo queryInputMethod(Context context, @UserIdInt int userId, in queryInputMethod() 1146 final String imeId = InputMethodInfo.computeId(ri); in queryInputMethod() 1159 return new InputMethodInfo(context, ri); in queryInputMethod() 1171 private final SparseArray<InputMethodInfo> mArray = new SparseArray<>(); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | InputMethodUtilsTest.java | 37 import android.view.inputmethod.InputMethodInfo; 175 final ArrayList<InputMethodInfo> originalList = getSamplePreinstalledImes("en-rUS"); in testParcelable() 176 final List<InputMethodInfo> clonedList = cloneViaParcel(originalList); in testParcelable() 178 final List<InputMethodInfo> clonedClonedList = cloneViaParcel(clonedList); in testParcelable() 269 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 293 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 317 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 342 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 363 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() 385 final InputMethodInfo imi = createDummyInputMethodInfo( in testGetImplicitlyApplicableSubtypesLocked() [all …]
|
D | InputMethodSubtypeSwitchingControllerTest.java | 27 import android.view.inputmethod.InputMethodInfo; 88 final InputMethodInfo imi = new InputMethodInfo(ri, DUMMY_IS_AUX_IME, in addDummyImeSubtypeListItems() 125 final InputMethodInfo imi = new InputMethodInfo(ri, DUMMY_IS_AUX_IME, in createDummyItem()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 62 public final class InputMethodInfo implements Parcelable { class 133 public InputMethodInfo(Context context, ResolveInfo service) in InputMethodInfo() method in InputMethodInfo 147 public InputMethodInfo(Context context, ResolveInfo service, in InputMethodInfo() method in InputMethodInfo 269 InputMethodInfo(Parcel source) { in InputMethodInfo() method in InputMethodInfo 284 public InputMethodInfo(String packageName, String className, in InputMethodInfo() method in InputMethodInfo 296 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() method in InputMethodInfo 307 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, in InputMethodInfo() method in InputMethodInfo 496 if (!(o instanceof InputMethodInfo)) return false; in equals() 498 InputMethodInfo obj = (InputMethodInfo) o; in equals() 551 public static final @android.annotation.NonNull Parcelable.Creator<InputMethodInfo> CREATOR [all …]
|
D | InputMethodInfo.aidl | 19 parcelable InputMethodInfo;
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 44 import android.view.inputmethod.InputMethodInfo; 159 final ArrayList<InputMethodInfo> inputMethods = new ArrayList<>(); in addsystemImes() 162 final InputMethodInfo inputMethodInfo = new InputMethodInfo( in addsystemImes() 169 final InputMethodInfo inputMethodInfo = new InputMethodInfo( in addsystemImes() 264 List<InputMethodInfo> mImis; 296 List<InputMethodInfo> getInputMethodList() { in getInputMethodList() 300 void setInputMethodList(List<InputMethodInfo> imis) { in setInputMethodList()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 20 import android.view.inputmethod.InputMethodInfo; 37 List<InputMethodInfo> getInputMethodList(int userId); in getInputMethodList() 39 List<InputMethodInfo> getEnabledInputMethodList(int userId); in getEnabledInputMethodList()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OverlayPackagesProvider.java | 35 import android.view.inputmethod.InputMethodInfo; 66 List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser() 77 public List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId) { in getInputMethodListAsUser() 139 final List<InputMethodInfo> inputMethods = mInjector.getInputMethodListAsUser(userId); in getSystemInputMethods() 141 for (InputMethodInfo inputMethodInfo : inputMethods) { in getSystemInputMethods()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 26 import android.view.inputmethod.InputMethodInfo; 138 List<InputMethodInfo> infos = im.getInputMethodList(); in setStubIme() 140 for (InputMethodInfo info : infos) { in setStubIme()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreferenceTest.java | 23 import android.view.inputmethod.InputMethodInfo; 118 private static InputMethodInfo createInputMethodInfo( in createInputMethodInfo() 144 return new InputMethodInfo( in createInputMethodInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OverlayPackagesProviderTest.java | 37 import android.view.inputmethod.InputMethodInfo; 331 List<InputMethodInfo> inputMethods = new ArrayList<InputMethodInfo>(); in setSystemInputMethods() 341 InputMethodInfo inputMethodInfo = new InputMethodInfo(ri, false, null, null, 0, false); in setSystemInputMethods()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtilCompatTest.java | 24 import android.view.inputmethod.InputMethodInfo; 236 private static InputMethodInfo createDummyIme(boolean isSystem, boolean isAuxIme, in createDummyIme() 251 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createDummyIme()
|
D | InputMethodAndSubtypeUtilTest.java | 24 import android.view.inputmethod.InputMethodInfo; 229 private static InputMethodInfo createDummyIme(boolean isAuxIme, in createDummyIme() 243 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createDummyIme()
|