/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
H A D | InputMethodSubtypeArrayTest.java | 30 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); 31 subtypes.add(createDummySubtype(0, "en_US")); 32 subtypes.add(createDummySubtype(1, "en_US")); 33 subtypes.add(createDummySubtype(2, "ja_JP")); 35 final InputMethodSubtypeArray array = new InputMethodSubtypeArray(subtypes); 36 assertEquals(subtypes.size(), array.getCount()); 37 assertEquals(subtypes.get(0), array.get(0)); 38 assertEquals(subtypes.get(1), array.get(1)); 39 assertEquals(subtypes.get(2), array.get(2)); 42 assertEquals(subtypes [all...] |
H A D | InputMethodTest.java | 219 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); 220 subtypes.add(nonAutoEnUS); 221 subtypes.add(nonAutoEnGB); 222 subtypes.add(nonAutoJa); 223 subtypes.add(nonAutoFil); 224 subtypes.add(autoSubtype); // overridesImplicitlyEnabledSubtype == true 225 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype); 226 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype2); 230 subtypes); 241 final ArrayList<InputMethodSubtype> subtypes 643 createDummyInputMethodInfo(String packageName, String name, CharSequence label, boolean isAuxIme, boolean isDefault, List<InputMethodSubtype> subtypes) argument [all...] |
H A D | InputMethodSubtypeSwitchingControllerTest.java | 69 List<InputMethodSubtype> subtypes = null; 71 subtypes = new ArrayList<InputMethodSubtype>(); 73 subtypes.add(createDummySubtype(subtypeLocale)); 77 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID, 79 if (subtypes == null) { 83 for (int i = 0; i < subtypes.size(); ++i) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtypeArray.java | 49 * @param subtypes A list of {@link InputMethodSubtype} from which 52 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { argument 53 if (subtypes == null) { 57 mCount = subtypes.size(); 58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
|
H A D | InputMethodInfo.java | 91 * An array-like container of the subtypes. 125 * @param additionalSubtypes additional subtypes being added to this InputMethodInfo 143 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); 178 // Parse all subtypes 212 subtypes.add(subtype); 222 if (subtypes.size() == 0) { 231 if (!subtypes.contains(subtype)) { 232 subtypes.add(subtype); 239 mSubtypes = new InputMethodSubtypeArray(subtypes); 271 String settingsActivity, List<InputMethodSubtype> subtypes, in 270 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault) argument 281 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, boolean supportsSwitchingToNextInputMethod) argument [all...] |
H A D | InputMethodManager.java | 663 * Returns a list of enabled input method subtypes for the specified input method info. 664 * @param imi An input method info whose subtypes list will be returned. 666 * selected subtypes. If an input method info doesn't have enabled subtypes, the framework 667 * will implicitly enable subtypes according to the current system language. 1949 * Show the settings for enabling subtypes of the specified input method. 1950 * @param imiId An input method, whose subtypes settings will be shown. If imiId is null, 1951 * subtypes of all input methods will be shown. 1964 * Returns the current input method subtype. This subtype is one of the subtypes in 2032 * Returns a map of all shortcut input method info and their subtypes 2158 setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) argument [all...] |
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
H A D | InputMethodSettingsImpl.java | 48 * @return true if this application is an IME and has two or more subtypes, false otherwise. 82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); 84 final int N = subtypes.size(); 86 final InputMethodSubtype subtype = subtypes.get(i);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPasswordView.java | 172 // Do not show auxiliary subtypes in password lock screen. 233 final List<InputMethodSubtype> subtypes = 235 // IMEs that have no subtypes should be counted. 236 if (subtypes.isEmpty()) { 242 for (InputMethodSubtype subtype : subtypes) { 247 final int nonAuxCount = subtypes.size() - auxCount; 249 // IMEs that have one or more non-auxiliary subtypes should be counted. 251 // subtypes should be counted as well.
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 431 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); 434 subtypes.add(imi.getSubtypeAt(i)); 436 return subtypes; 441 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); 446 subtypes.add(subtype); 449 return subtypes; 497 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi); 503 final int N = subtypes.size(); 505 // scan overriding implicitly enabled subtypes. 506 InputMethodSubtype subtype = subtypes 593 findLastResortApplicableSubtypeLocked( Resources res, List<InputMethodSubtype> subtypes, String mode, String locale, boolean canIgnoreLocaleAsLastResort) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodManager.aidl | 79 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 567 final ArrayList<String> subtypes = new ArrayList<String>(2); 569 subtypes.addAll(subtypeSet); 571 imeMap.add(new Pair<String, ArrayList<String>>(imeName, subtypes)); 594 ArraySet<String> subtypes = new ArraySet<String>(); 596 subtypes.addAll(ime.second); 598 imeMap.put(ime.first, subtypes); 1185 * @param imiId if null, returns enabled subtypes for the current imi 1186 * @return enabled subtypes of the specified imi 1695 final List<InputMethodSubtype> subtypes = 1697 final int subtypeCount = subtypes 2523 setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) argument [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ValueEnumerator.cpp | 376 // Enumerate all of the subtypes before we enumerate this type. This ensures 378 for (Type *SubTy : Ty->subtypes())
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ValueEnumerator.cpp | 376 // Enumerate all of the subtypes before we enumerate this type. This ensures 378 for (Type *SubTy : Ty->subtypes())
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ValueEnumerator.cpp | 376 // Enumerate all of the subtypes before we enumerate this type. This ensures 378 for (Type *SubTy : Ty->subtypes())
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 1205 public boolean fetchAnqp(String bssid, String subtypes) { argument 1206 return doBooleanCommand("ANQP_GET " + bssid + " " + subtypes);
|