Searched defs:subtype (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodSubtypePreference.java32 * Input method subtype preference.
34 * This preference represents a subtype of an IME. It is used to enable or disable the subtype.
40 public InputMethodSubtypePreference(final Context context, final InputMethodSubtype subtype, argument
44 setKey(imi.getId() + subtype.hashCode());
46 InputMethodAndSubtypeUtil.getSubtypeLocaleNameAsSentence(subtype, context, imi);
48 final String subtypeLocaleString = subtype.getLocale();
H A DInputMethodAndSubtypeUtil.java173 // In the choose input method screen or in the subtype enabler screen,
192 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
193 final String subtypeHashCodeStr = String.valueOf(subtype.hashCode());
196 // In the Configure input method screen which does not have subtype preferences.
201 // Once subtype preference is found, subtypeSet needs to be cleared.
204 // If selected subtype preference is disabled, needs to reset.
209 // whether the user manually enabled this subtype or not. Implicitly-enabled
216 if (selectedInputMethodSubtype == subtype.hashCode()) {
217 // Selected subtype is still enabled, there is no need to reset
218 // selected subtype
371 getSubtypeLocaleNameAsSentence(@ullable InputMethodSubtype subtype, @NonNull final Context context, @NonNull final InputMethodInfo inputMethodInfo) argument
[all...]
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeHandle.java30 public InputMethodSubtypeHandle(InputMethodInfo info, @Nullable InputMethodSubtype subtype) { argument
32 if (subtype != null) {
33 mSubtypeId = subtype.hashCode();
H A DInputMethodSubtypeSwitchingController.java225 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) {
226 enabledSubtypeSet.add(String.valueOf(subtype.hashCode()));
235 final InputMethodSubtype subtype = imi.getSubtypeAt(j);
236 final String subtypeHashCode = String.valueOf(subtype.hashCode());
239 && (includeAuxiliarySubtypes || !subtype.isAuxiliary())) {
241 subtype.overridesImplicitlyEnabledSubtype() ? null : subtype
245 subtypeLabel, imi, j, subtype.getLocale(), mSystemLocaleStr));
247 // Removing this subtype from enabledSubtypeSet because we no
248 // longer need to add an entry of this subtype t
263 calculateSubtypeId(InputMethodInfo imi, InputMethodSubtype subtype) argument
281 getIndex(InputMethodInfo imi, InputMethodSubtype subtype) argument
308 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, @Nullable InputMethodSubtype subtype, boolean forward) argument
367 getUsageRank(final InputMethodInfo imi, InputMethodSubtype subtype) argument
383 onUserAction(InputMethodInfo imi, InputMethodSubtype subtype) argument
409 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, @Nullable InputMethodSubtype subtype, boolean forward) argument
508 getNextInputMethod(boolean onlyCurrentIme, InputMethodInfo imi, @Nullable InputMethodSubtype subtype, boolean forward) argument
522 onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) argument
568 onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) argument
585 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype, boolean forward) argument
[all...]
H A DInputMethodUtils.java325 // subtype)
367 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
369 final Locale subtypeLocale = subtype.getLocaleObject();
377 subtype.getLocale()));
383 mode.equalsIgnoreCase(subtype.getMode())) {
404 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
405 if (subtype.overridesImplicitlyEnabledSubtype() && subtype.getMode().equals(mode)) {
406 subtypes.add(subtype);
501 final InputMethodSubtype subtype
648 canAddToLastInputMethod(InputMethodSubtype subtype) argument
743 getImeAndSubtypeDisplayName(Context context, InputMethodInfo imi, InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java49 * Notifies that InputMethodManagerService switched the current input method subtype.
51 * @param userId user id that indicates who is using the specified input method and subtype.
53 * @param subtype {@code null} when {@code inputMethodInfo} does has no subtype.
56 @Nullable InputMethodInfo inputMethodInfo, @Nullable InputMethodSubtype subtype);
55 onInputMethodSubtypeChanged(int userId, @Nullable InputMethodInfo inputMethodInfo, @Nullable InputMethodSubtype subtype) argument
/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java160 final SpellCheckerSubtype subtype = sci.getSubtypeAt(i);
161 final String tempSubtypeLocale = subtype.getLocale();
164 subtypeInUse = subtype;
168 subtypeInUse = subtype;
243 public void setSpellCheckerSubtype(SpellCheckerSubtype subtype) { argument
246 if (subtype == null) {
249 hashCode = subtype.hashCode();
/frameworks/base/core/java/android/net/metrics/
H A DDhcpErrorEvent.java59 // byte 1: error subtype
97 private static int makeErrorCode(int type, int subtype) { argument
98 return (type << 24) | ((0xFF & subtype) << 16);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java264 * Notify that the input method subtype is being changed in the same input method.
265 * @param subtype New subtype of the notified input method
267 public void changeInputMethodSubtype(InputMethodSubtype subtype); argument
H A DInputMethodManager.java1800 * Force switch to a new input method and subtype. This can only be called
1806 * @param subtype The new subtype of the new input method to be switched to.
1808 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) { argument
1810 mService.setInputMethodAndSubtype(token, id, subtype);
2088 * Returns the current input method subtype. This subtype is one of the subtypes in
2090 * have any input method subtype.
2101 * Switch to a new input method subtype of the current input method.
2102 * @param subtype
2107 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java313 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
315 subtype));
H A DInputMethodService.java498 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
499 onCurrentInputMethodSubtypeChanged(subtype);
2603 // TODO: Handle the subtype change event
2605 * Called when the subtype was changed.
2606 * @param newSubtype the subtype which is being changed to.
/frameworks/base/core/java/android/metrics/
H A DLogMaker.java88 /** @param subtype to replace the existing setting. */
89 public LogMaker setSubtype(int subtype) { argument
90 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_SUBTYPE, subtype);
94 /** Set the subtype to 0. */
303 /** @return the subtype of the log, or 0. */
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DANQPParserTest.java136 * @param subtype The subtype of the element
141 private static byte[] getVendorSpecificPayload(int oi, int type, int subtype, byte[] payload) argument
148 stream.write((byte) subtype);
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java129 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument
134 mSubtype = subtype;
185 * Return a network-type-specific integer describing the subtype
187 * @return the network subtype
198 public void setSubtype(int subtype, String subtypeName) { argument
200 mSubtype = subtype;
217 * Return a human-readable name describing the subtype of the network.
218 * @return the name of the network subtype
469 int subtype = in.readInt();
472 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeNam
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp652 MediaResource::SubType subtype = local
654 resources.push_back(MediaResource(type, subtype, 1));
748 MediaResource::SubType subtype = local
750 resources.push_back(MediaResource(type, subtype, 1));
878 MediaResource::Type type, MediaResource::SubType subtype, uint64_t value) {
880 resources.push_back(MediaResource(type, subtype, value));
892 MediaResource::SubType subtype = local
894 resources.push_back(MediaResource(type, subtype, 1));
877 addResource( MediaResource::Type type, MediaResource::SubType subtype, uint64_t value) argument
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java419 * The current subtype of the current input method.
884 // Merge the restored ime+subtype enabled states into the live state
2122 final InputMethodSubtype subtype = subtypes.get(j);
2123 if (!subtype.isAuxiliary()) {
2125 nonAuxSubtype = subtype;
2128 auxSubtype = subtype;
2372 @Nullable final InputMethodSubtype subtype) {
2376 inputManagerInternal.onInputMethodSubtypeChanged(userId, inputMethodInfo, subtype);
2386 // See if we need to notify a subtype change within the same IME.
2397 // If subtype i
2370 notifyInputMethodSubtypeChanged(final int userId, @Nullable final InputMethodInfo inputMethodInfo, @Nullable final InputMethodSubtype subtype) argument
2820 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
4049 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1394 " for subtype " + imeHandle + " and device " + identifier +
1399 Slog.d(TAG, "Layout for current subtype changed, switching layout");
1478 @Nullable InputMethodInfo inputMethodInfo, @Nullable InputMethodSubtype subtype) {
1481 + " ime=" + inputMethodInfo + " subtype=" + subtype);
1487 if (subtype != null && !"keyboard".equals(subtype.getMode())) {
1488 Slog.d(TAG, "InputMethodSubtype changed to non-keyboard subtype, ignoring change");
1491 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(inputMethodInfo, subtype);
2143 final InputMethodSubtype subtype
1477 handleSwitchInputMethodSubtype(int userId, @Nullable InputMethodInfo inputMethodInfo, @Nullable InputMethodSubtype subtype) argument
2328 onInputMethodSubtypeChanged(int userId, @Nullable InputMethodInfo inputMethodInfo, @Nullable InputMethodSubtype subtype) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 968 milliseconds