/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | InputMethodUtilsTest.java | 38 import android.view.inputmethod.InputMethodSubtype; 39 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 192 final InputMethodSubtype nonAutoEnUS = createDummyInputMethodSubtype("en_US", in testGetImplicitlyApplicableSubtypesLocked() 195 final InputMethodSubtype nonAutoEnGB = createDummyInputMethodSubtype("en_GB", in testGetImplicitlyApplicableSubtypesLocked() 198 final InputMethodSubtype nonAutoEnIN = createDummyInputMethodSubtype("en_IN", in testGetImplicitlyApplicableSubtypesLocked() 201 final InputMethodSubtype nonAutoFrCA = createDummyInputMethodSubtype("fr_CA", in testGetImplicitlyApplicableSubtypesLocked() 204 final InputMethodSubtype nonAutoFr = createDummyInputMethodSubtype("fr_CA", in testGetImplicitlyApplicableSubtypesLocked() 207 final InputMethodSubtype nonAutoFil = createDummyInputMethodSubtype("fil", in testGetImplicitlyApplicableSubtypesLocked() 210 final InputMethodSubtype nonAutoIn = createDummyInputMethodSubtype("in", in testGetImplicitlyApplicableSubtypesLocked() 213 final InputMethodSubtype nonAutoId = createDummyInputMethodSubtype("id", in testGetImplicitlyApplicableSubtypesLocked() [all …]
|
D | InputMethodSubtypeSwitchingControllerTest.java | 28 import android.view.inputmethod.InputMethodSubtype; 29 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 57 private static InputMethodSubtype createDummySubtype(final String locale) { in createDummySubtype() 81 List<InputMethodSubtype> subtypes = null; in addDummyImeSubtypeListItems() 83 subtypes = new ArrayList<InputMethodSubtype>(); in addDummyImeSubtypeListItems() 118 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in createDummyItem() 168 InputMethodSubtype subtype = null; in assertNextInputMethod() 193 InputMethodSubtype subtype = null; in onUserAction()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodSubtypeTest.java | 26 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 65 final InputMethodSubtype usSubtype = createDummySubtype("en_US"); in testLocaleObj_locale() 76 final InputMethodSubtype usSubtype = createDummySubtypeUsingLanguageTag("en-US"); in testLocaleObj_languageTag() 88 final InputMethodSubtype emptyLocaleSubtype = createDummySubtype(""); in testLocaleObj_emptyLocale() 113 final InputMethodSubtype subtypeIw = createDummySubtype("iw"); in testDeprecatedLocaleString() 114 final InputMethodSubtype subtypeHe = createDummySubtype("he"); in testDeprecatedLocaleString() 120 final InputMethodSubtype clonedSubtypeIw = cloneViaParcel(subtypeIw); in testDeprecatedLocaleString() 121 final InputMethodSubtype clonedSubtypeHe = cloneViaParcel(subtypeHe); in testDeprecatedLocaleString() 128 private static final InputMethodSubtype cloneViaParcel(final InputMethodSubtype original) { in cloneViaParcel() 134 return InputMethodSubtype.CREATOR.createFromParcel(parcel); in cloneViaParcel() [all …]
|
D | InputMethodSubtypeArrayTest.java | 22 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 38 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in testInstantiate() 76 private static InputMethodSubtype createDummySubtype(final int id, final String locale) { in createDummySubtype()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 66 public final class InputMethodSubtype implements Parcelable { class 67 private static final String TAG = InputMethodSubtype.class.getSimpleName(); 214 public InputMethodSubtype build() { in build() 215 return new InputMethodSubtype(this); in build() 243 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() method in InputMethodSubtype 281 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() method in InputMethodSubtype 291 private InputMethodSubtype(InputMethodSubtypeBuilder builder) { in InputMethodSubtype() method in InputMethodSubtype 312 InputMethodSubtype(Parcel source) { in InputMethodSubtype() method in InputMethodSubtype 601 if (o instanceof InputMethodSubtype) { in equals() 602 InputMethodSubtype subtype = (InputMethodSubtype) o; in equals() [all …]
|
D | InputMethodSubtypeArray.java | 54 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { in InputMethodSubtypeArray() 60 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray() 132 public InputMethodSubtype get(final int index) { in get() 136 InputMethodSubtype[] instance = mInstance; in get() 150 instance = new InputMethodSubtype[mCount]; in get() 169 private volatile InputMethodSubtype[] mInstance; 173 private static byte[] marshall(final InputMethodSubtype[] array) { in marshall() 187 private static InputMethodSubtype[] unmarshall(final byte[] data) { in unmarshall() 193 return parcel.createTypedArray(InputMethodSubtype.CREATOR); in unmarshall()
|
D | InputMethodInfo.java | 39 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 148 List<InputMethodSubtype> additionalSubtypes) in InputMethodInfo() 163 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in InputMethodInfo() 210 final InputMethodSubtype subtype = new InputMethodSubtypeBuilder() in InputMethodInfo() 252 final InputMethodSubtype subtype = additionalSubtypes.get(i); in InputMethodInfo() 297 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, in InputMethodInfo() 308 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() 433 public InputMethodSubtype getSubtypeAt(int index) { in getSubtypeAt()
|
D | InputMethodSubtype.aidl | 19 parcelable InputMethodSubtype;
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodUtils.java | 43 import android.view.inputmethod.InputMethodSubtype; 104 private static ArrayList<InputMethodSubtype> sCachedResult; 193 final InputMethodSubtype s = imi.getSubtypeAt(i); in isSystemAuxilialyImeThatHasAutomaticSubtype() 349 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in containsSubtypeOf() 372 static ArrayList<InputMethodSubtype> getSubtypes(InputMethodInfo imi) { in getSubtypes() 373 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() 413 InputMethodSubtype ims = imi.getSubtypeAt(i); in getSubtypeIdFromHashCode() 422 private static final LocaleUtils.LocaleExtractor<InputMethodSubtype> sSubtypeToLocale = 423 new LocaleUtils.LocaleExtractor<InputMethodSubtype>() { 425 public Locale get(InputMethodSubtype source) { [all …]
|
D | InputMethodSubtypeSwitchingController.java | 28 import android.view.inputmethod.InputMethodSubtype; 200 final List<InputMethodSubtype> explicitlyOrImplicitlyEnabledSubtypeList = in getSortedInputMethodAndSubtypeList() 203 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) { in getSortedInputMethodAndSubtypeList() 213 final InputMethodSubtype subtype = imi.getSubtypeAt(j); 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() 359 InputMethodInfo imi, InputMethodSubtype subtype) { in getNextInputMethodLocked() [all …]
|
D | AdditionalSubtypeUtils.java | 30 import android.view.inputmethod.InputMethodSubtype; 110 static void save(ArrayMap<String, List<InputMethodSubtype>> allSubtypes, in save() 154 final List<InputMethodSubtype> subtypesList = allSubtypes.get(imiId); in save() 157 final InputMethodSubtype subtype = subtypesList.get(i); in save() 200 static void load(@NonNull ArrayMap<String, List<InputMethodSubtype>> allSubtypes, in load() 226 ArrayList<InputMethodSubtype> tempSubtypesArray = null; in load() 262 final InputMethodSubtype.InputMethodSubtypeBuilder in load() 263 builder = new InputMethodSubtype.InputMethodSubtypeBuilder() in load()
|
D | InputMethodManagerService.java | 121 import android.view.inputmethod.InputMethodSubtype; 310 private final ArrayMap<String, List<InputMethodSubtype>> mAdditionalSubtypeMap = 567 private InputMethodSubtype mCurrentSubtype; 1779 final ArrayMap<String, List<InputMethodSubtype>> additionalSubtypeMap = in getInputMethodListLocked() 1795 final ArrayMap<String, List<InputMethodSubtype>> additionalSubtypeMap = in getEnabledInputMethodListLocked() 1810 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(String imiId, in getEnabledInputMethodSubtypeList() 1830 private List<InputMethodSubtype> getEnabledInputMethodSubtypeListLocked(String imiId, in getEnabledInputMethodSubtypeListLocked() 1847 final ArrayMap<String, List<InputMethodSubtype>> additionalSubtypeMap = in getEnabledInputMethodSubtypeListLocked() 2455 InputMethodSubtype nonAuxSubtype = null; in shouldShowImeSwitcherLocked() 2456 InputMethodSubtype auxSubtype = null; in shouldShowImeSwitcherLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 21 import android.view.inputmethod.InputMethodSubtype; 40 List<InputMethodSubtype> getEnabledInputMethodSubtypeList(in String imiId, in getEnabledInputMethodSubtypeList() 42 InputMethodSubtype getLastInputMethodSubtype(); in getLastInputMethodSubtype() 66 InputMethodSubtype getCurrentInputMethodSubtype(); in getCurrentInputMethodSubtype() 67 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes); in setAdditionalInputMethodSubtypes()
|
D | IInputMethod.aidl | 24 import android.view.inputmethod.InputMethodSubtype; 55 void changeInputMethodSubtype(in InputMethodSubtype subtype); in changeInputMethodSubtype()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IInputMethodPrivilegedOperations.aidl | 21 import android.view.inputmethod.InputMethodSubtype; 35 void setInputMethodAndSubtype(String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype()
|
D | InputMethodPrivilegedOperations.java | 27 import android.view.inputmethod.InputMethodSubtype; 228 public void setInputMethodAndSubtype(String id, InputMethodSubtype subtype) { in setInputMethodAndSubtype()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreferenceTest.java | 24 import android.view.inputmethod.InputMethodSubtype; 126 final InputMethodSubtype systemLocaleSubtype = in createInputMethodInfo() 127 new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 31 import android.view.inputmethod.InputMethodSubtype; 193 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in saveInputMethodSubtypeList() 321 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in setSubtypesPreferenceEnabled() 345 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in updateSubtypesPreferenceChecked() 372 public static String getSubtypeLocaleNameAsSentence(@Nullable InputMethodSubtype subtype, in getSubtypeLocaleNameAsSentence() 386 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence() 428 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in isValidNonAuxAsciiCapableIme()
|
D | InputMethodAndSubtypeUtilCompat.java | 31 import android.view.inputmethod.InputMethodSubtype; 193 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in saveInputMethodSubtypeList() 321 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in setSubtypesPreferenceEnabled() 345 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in updateSubtypesPreferenceChecked() 372 public static String getSubtypeLocaleNameAsSentence(@Nullable InputMethodSubtype subtype, in getSubtypeLocaleNameAsSentence() 386 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence() 428 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in isValidSystemNonAuxAsciiCapableIme()
|
D | InputMethodAndSubtypeEnablerManager.java | 25 import android.view.inputmethod.InputMethodSubtype; 149 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in addInputMethodSubtypePreferences() 237 final List<InputMethodSubtype> implicitlyEnabledSubtypes = in updateImplicitlyEnabledSubtypesOf() 248 for (final InputMethodSubtype subtype : implicitlyEnabledSubtypes) { in updateImplicitlyEnabledSubtypesOf()
|
D | InputMethodAndSubtypeEnablerManagerCompat.java | 25 import android.view.inputmethod.InputMethodSubtype; 150 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in addInputMethodSubtypePreferences() 238 final List<InputMethodSubtype> implicitlyEnabledSubtypes = in updateImplicitlyEnabledSubtypesOf() 249 for (final InputMethodSubtype subtype : implicitlyEnabledSubtypes) { in updateImplicitlyEnabledSubtypesOf()
|
D | InputMethodSubtypePreference.java | 22 import android.view.inputmethod.InputMethodSubtype; 40 public InputMethodSubtypePreference(final Context context, final InputMethodSubtype subtype, in InputMethodSubtypePreference()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtilCompatTest.java | 25 import android.view.inputmethod.InputMethodSubtype; 26 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 237 InputMethodSubtype... subtypes) { in createDummyIme() 254 private static InputMethodSubtype createDummySubtype( in createDummySubtype()
|
D | InputMethodAndSubtypeUtilTest.java | 25 import android.view.inputmethod.InputMethodSubtype; 26 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder; 230 InputMethodSubtype... subtypes) { in createDummyIme() 246 private static InputMethodSubtype createDummySubtype( in createDummySubtype()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 35 import android.view.inputmethod.InputMethodSubtype; 278 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes() 287 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes()
|