Home
last modified time | relevance | path

Searched refs:InputMethodInfo (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodInfoTest.java45 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()
59 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues()
67 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta_sw_next); in testSupportsSwitchingToNextInputMethod()
71 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod()
78 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta_inline_suggestions); in testInlineSuggestionsEnabled()
82 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabled()
89 final InputMethodInfo imi = buildInputMethodForTest(R.xml.ime_meta_vr_only); in testIsVrOnly()
93 final InputMethodInfo clone = cloneViaParcel(imi); in testIsVrOnly()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSettingValuesWrapper.java23 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 …]
DInputMethodAndSubtypeUtilCompat.java30 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 …]
DInputMethodAndSubtypeUtil.java30 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 …]
DInputMethodAndSubtypeEnablerManager.java23 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()
DInputMethodAndSubtypeEnablerManagerCompat.java23 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()
DInputMethodPreference.java29 import android.view.inputmethod.InputMethodInfo;
72 private final InputMethodInfo mImi;
92 public InputMethodPreference(final Context context, final InputMethodInfo imi, in InputMethodPreference()
105 InputMethodPreference(final Context context, final InputMethodInfo imi, in InputMethodPreference()
134 public InputMethodInfo getInputMethodInfo() { in getInputMethodInfo()
DInputMethodSubtypePreference.java21 import android.view.inputmethod.InputMethodInfo;
41 final InputMethodInfo imi) { in InputMethodSubtypePreference()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerInternal.java24 import android.view.inputmethod.InputMethodInfo;
45 void onInputMethodListUpdated(List<InputMethodInfo> info, @UserIdInt int userId); in onInputMethodListUpdated()
65 public abstract List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser()
73 public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId); in getEnabledInputMethodListAsUser()
141 public List<InputMethodInfo> getInputMethodListAsUser(int userId) {
146 public List<InputMethodInfo> getEnabledInputMethodListAsUser(int userId) {
DInputMethodUtils.java41 import android.view.inputmethod.InputMethodInfo;
100 private static InputMethodInfo sCachedInputMethodInfo;
133 private static boolean isSystemImeThatHasSubtypeOf(InputMethodInfo imi, Context context, in isSystemImeThatHasSubtypeOf()
149 private static Locale getFallbackLocaleForDefaultIme(ArrayList<InputMethodInfo> imis, in getFallbackLocaleForDefaultIme()
178 private static boolean isSystemAuxilialyImeThatHasAutomaticSubtype(InputMethodInfo imi, in isSystemAuxilialyImeThatHasAutomaticSubtype()
211 private final LinkedHashSet<InputMethodInfo> mInputMethodSet = new LinkedHashSet<>();
213 InputMethodListBuilder fillImes(ArrayList<InputMethodInfo> imis, Context context, in fillImes()
217 final InputMethodInfo imi = imis.get(i); in fillImes()
228 InputMethodListBuilder fillAuxiliaryImes(ArrayList<InputMethodInfo> imis, Context context) { in fillAuxiliaryImes()
230 for (final InputMethodInfo imi : mInputMethodSet) { in fillAuxiliaryImes()
[all …]
DInputMethodSubtypeSwitchingController.java27 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 …]
DInputMethodManagerService.java123 import android.view.inputmethod.InputMethodInfo;
343 final ArrayList<InputMethodInfo> mMethodList = new ArrayList<>();
344 final ArrayMap<String, InputMethodInfo> mMethodMap = new ArrayMap<>();
345 private final LruCache<SuggestionSpan, InputMethodInfo> mSecureSuggestionSpans =
724 private InputMethodInfo[] mIms;
1315 InputMethodInfo imi = mMethodList.get(i); in onHandleForceStop()
1427 InputMethodInfo curIm = null; in onFinishPackageChangesInternal()
1432 InputMethodInfo imi = mMethodList.get(i); in onFinishPackageChangesInternal()
1732 final List<InputMethodInfo> suitableImes = InputMethodUtils.getDefaultEnabledImes( in resetDefaultImeLocked()
1738 final InputMethodInfo defIm = suitableImes.get(0); in resetDefaultImeLocked()
[all …]
DMultiClientInputMethodManagerService.java69 import android.view.inputmethod.InputMethodInfo;
184 public List<InputMethodInfo> getInputMethodListAsUser( in Lifecycle()
190 public List<InputMethodInfo> getEnabledInputMethodListAsUser( in Lifecycle()
298 final InputMethodInfo imi = queryInputMethod(mContext, userId, sImeComponentName); in tryBindInputMethodService()
828 InputMethodInfo mCurrentInputMethodInfo;
891 PerUserData(@UserIdInt int userId, @Nullable InputMethodInfo inputMethodInfo, in PerUserData()
1163 private static InputMethodInfo queryInputMethod(Context context, @UserIdInt int userId, in queryInputMethod()
1188 final String imeId = InputMethodInfo.computeId(ri); in queryInputMethod()
1201 return new InputMethodInfo(context, ri); in queryInputMethod()
1213 private final SparseArray<InputMethodInfo> mArray = new SparseArray<>();
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java37 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 …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java63 public final class InputMethodInfo implements Parcelable { class
139 public InputMethodInfo(Context context, ResolveInfo service) in InputMethodInfo() method in InputMethodInfo
153 public InputMethodInfo(Context context, ResolveInfo service, in InputMethodInfo() method in InputMethodInfo
279 InputMethodInfo(Parcel source) { in InputMethodInfo() method in InputMethodInfo
295 public InputMethodInfo(String packageName, String className, in InputMethodInfo() method in InputMethodInfo
307 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() method in InputMethodInfo
319 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, in InputMethodInfo() method in InputMethodInfo
330 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, in InputMethodInfo() method in InputMethodInfo
522 if (!(o instanceof InputMethodInfo)) return false; in equals()
524 InputMethodInfo obj = (InputMethodInfo) o; in equals()
[all …]
DInputMethodInfo.aidl19 parcelable InputMethodInfo;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java44 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/
DIInputMethodManager.aidl20 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/
DOverlayPackagesProvider.java35 import android.view.inputmethod.InputMethodInfo;
64 List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser()
70 public List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId) { in getInputMethodListAsUser()
126 final List<InputMethodInfo> inputMethods = mInjector.getInputMethodListAsUser(userId); in getSystemInputMethods()
128 for (InputMethodInfo inputMethodInfo : inputMethods) { in getSystemInputMethods()
DPersonalAppsSuspensionHelper.java39 import android.view.inputmethod.InputMethodInfo;
143 final List<InputMethodInfo> enabledImes = InputMethodManagerInternal.get() in getInputMethodPackages()
146 for (final InputMethodInfo info : enabledImes) { in getInputMethodPackages()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java26 import android.view.inputmethod.InputMethodInfo;
138 List<InputMethodInfo> infos = im.getInputMethodList(); in setDummyIme()
140 for (InputMethodInfo info : infos) { in setDummyIme()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DInputMethodPreferenceTest.java23 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/
DOverlayPackagesProviderTest.java37 import android.view.inputmethod.InputMethodInfo;
321 List<InputMethodInfo> inputMethods = new ArrayList<InputMethodInfo>(); in setSystemInputMethods()
331 InputMethodInfo inputMethodInfo = new InputMethodInfo(ri, false, null, null, 0, false); in setSystemInputMethods()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilTest.java24 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()
DInputMethodAndSubtypeUtilCompatTest.java24 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()

12