HomeSort by relevance Sort by last modified time
    Searched refs:subtype (Results 1 - 25 of 257) sorted by null

1 2 3 4 5 6 7 8 91011

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
SpacebarLanguageUtils.java 44 public static String getFullDisplayName(final InputMethodSubtype subtype) {
45 if (SubtypeLocaleUtils.isNoLanguage(subtype)) {
46 return SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(subtype);
48 return SubtypeLocaleUtils.getSubtypeLocaleDisplayName(subtype.getLocale());
52 public static String getMiddleDisplayName(final InputMethodSubtype subtype) {
53 if (SubtypeLocaleUtils.isNoLanguage(subtype)) {
54 return SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(subtype);
56 return SubtypeLocaleUtils.getSubtypeLanguageDisplayName(subtype.getLocale());
SubtypeLocaleUtils.java 19 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.KEYBOARD_LAYOUT_SET;
20 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME;
53 // Keyboard layout to subtype name resource id map.
55 // Exceptional locale to subtype name resource id map.
57 // Exceptional locale to subtype name with layout resource id map.
69 // This is for compatibility to keep the same subtype ids as pre-JellyBean.
101 // Register subtype name resource id of "No language" with key "zz_<layout>"
182 // No language subtype should be displayed in system locale.
220 private static String getReplacementString(final InputMethodSubtype subtype,
223 && subtype.containsExtraValueKey(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME))
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
KeyboardLayoutSetActionLabelLxxTests.java 35 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
36 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
37 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_GO,
44 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
45 final String tag = "send " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
46 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_SEND,
53 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
54 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
55 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_NEXT,
62 for (final InputMethodSubtype subtype : getAllSubtypesList())
    [all...]
KeyboardLayoutSetNavigateMoreKeysBase.java 79 private void doTestMoreKeysOf(final int code, final InputMethodSubtype subtype,
85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo);
120 private void doTestNavigationMoreKeysOf(final int code, final InputMethodSubtype subtype,
123 doTestMoreKeysOf(code, subtype, elementId, inputType,
127 doTestMoreKeysOf(code, subtype, elementId, inputType,
131 doTestMoreKeysOf(code, subtype, elementId, inputType,
135 doTestMoreKeysOf(code, subtype, elementId, inputType,
139 doTestMoreKeysOf(code, subtype, elementId, inputType,
143 doTestMoreKeysOf(code, subtype, elementId, inputType,
147 doTestMoreKeysOf(code, subtype, elementId, inputType
285 final InputMethodSubtype subtype = richImm.findSubtypeByLocaleAndKeyboardLayoutSet( local
    [all...]
KeyboardLayoutSetActionLabelKlpTests.java 41 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
42 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
43 doTestActionKeyLabelResId(tag, subtype, EditorInfo.IME_ACTION_GO,
50 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
51 final String tag = "send " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
52 doTestActionKeyLabelResId(tag, subtype, EditorInfo.IME_ACTION_SEND,
59 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
60 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
61 doTestActionKeyLabelResId(tag, subtype, EditorInfo.IME_ACTION_NEXT,
68 for (final InputMethodSubtype subtype : getAllSubtypesList())
    [all...]
KeyboardLayoutSetTestsBase.java 65 final InputMethodSubtype subtype = imi.getSubtypeAt(index); local
66 if (AdditionalSubtypeUtils.isAdditionalSubtype(subtype)) {
67 mAdditionalSubtypesList.add(subtype);
70 mAllSubtypesList.add(subtype);
71 if (InputMethodSubtypeCompatUtils.isAsciiCapable(subtype)) {
72 mAsciiCapableSubtypesList.add(subtype);
96 for (final InputMethodSubtype subtype : mAllSubtypesList) {
97 final Locale subtypeLocale = SubtypeLocaleUtils.getSubtypeLocale(subtype);
98 final String subtypeLayout = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype);
100 // Found subtype that matches locale and keyboard layout
    [all...]
KeyboardLayoutSetActionLabelBase.java 33 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
35 + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
36 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED,
42 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
43 final String tag = "none " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
44 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_NONE,
50 for (final InputMethodSubtype subtype : getAllSubtypesList()) {
51 final String tag = "search " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype);
52 doTestActionKeyIcon(tag, subtype, EditorInfo.IME_ACTION_SEARCH,
64 for (final InputMethodSubtype subtype : getAllSubtypesList())
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
AdditionalSubtypeUtilsTests.java 29 import static com.android.inputmethod.latin.Constants.Subtype.KEYBOARD_MODE;
30 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.ASCII_CAPABLE;
31 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.EMOJI_CAPABLE;
32 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.IS_ADDITIONAL_SUBTYPE;
33 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue.KEYBOARD_LAYOUT_SET;
34 import static com.android.inputmethod.latin.Constants.Subtype.ExtraValue
41 * Predictable subtype ID for en_US dvorak layout. This is actually a hash code calculated as
76 * Predictable subtype ID for azerty layout. This is actually a hash code calculated as follows.
109 private static void assertEnUsDvorak(InputMethodSubtype subtype) {
110 assertEquals("en_US", subtype.getLocale())
    [all...]
SpacebarLanguagetUtilsTests.java 68 final InputMethodSubtype subtype = imi.getSubtypeAt(index); local
69 mSubtypesList.add(subtype);
107 for (final InputMethodSubtype subtype : mSubtypesList) {
109 .getSubtypeDisplayNameInSystemLocale(subtype);
110 final String spacebarText = SpacebarLanguageUtils.getFullDisplayName(subtype);
112 .getSubtypeLocaleDisplayName(subtype.getLocale());
113 if (SubtypeLocaleUtils.isNoLanguage(subtype)) {
122 for (final InputMethodSubtype subtype : mSubtypesList) {
124 .getSubtypeDisplayNameInSystemLocale(subtype);
125 final String spacebarText = SpacebarLanguageUtils.getMiddleDisplayName(subtype);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
MediaRange.java 48 * | ( type "/" subtype )
65 /** subtype field
67 protected String subtype; field in class:MediaRange
81 /** get the subType field.
85 return subtype;
97 * Set the subtype member
101 subtype = s;
115 .append(subtype);
  /external/smack/src/org/xbill/DNS/
AFSDBRecord.java 26 * @param subtype Indicates the type of service provided by the host.
30 AFSDBRecord(Name name, int dclass, long ttl, int subtype, Name host) {
31 super(name, Type.AFSDB, dclass, ttl, subtype, "subtype", host, "host");
34 /** Gets the subtype indicating the service provided by the host. */
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
file_type.js 14 * Pair type-subtype defines order when sorted by file type.
18 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'JPEG',
20 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'BMP',
22 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'GIF',
24 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'ICO',
26 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'PNG',
28 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'WebP',
30 {type: 'image', name: 'IMAGE_FILE_TYPE', subtype: 'TIFF',
34 {type: 'video', name: 'VIDEO_FILE_TYPE', subtype: '3GP',
36 {type: 'video', name: 'VIDEO_FILE_TYPE', subtype: 'AVI'
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
InputMethodSubtypeCompatUtils.java 67 public static boolean isAsciiCapable(final InputMethodSubtype subtype) {
68 return isAsciiCapableWithAPI(subtype)
69 || subtype.containsExtraValueKey(Constants.Subtype.ExtraValue.ASCII_CAPABLE);
73 public static boolean isAsciiCapableWithAPI(final InputMethodSubtype subtype) {
74 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable);
  /dalvik/dx/src/com/android/dx/cf/code/
Merger.java 209 * the given subtype. This takes into account primitiveness,
217 * @param subtypeBearer {@code non-null;} the subtype
222 Type subtype = subtypeBearer.getType(); local
224 if (supertype.equals(subtype)) {
230 int subBt = subtype.getBasicType();
240 subtype = Type.OBJECT;
249 return supertype.isIntlike() && subtype.isIntlike();
261 } else if (subtype == Type.KNOWN_NULL) {
263 * A known-null subtype is in fact assignable to any
274 if (! subtype.isArray())
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
KeyboardTextsSetTests.java 48 final InputMethodSubtype subtype = imi.getSubtypeAt(index); local
49 allSubtypesList.add(subtype);
60 for (final InputMethodSubtype subtype : mAllSubtypesList) {
61 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype);
86 for (final InputMethodSubtype subtype : mAllSubtypesList) {
87 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype);
  /external/libnl/include/netlink/netfilter/
nfnl.h 24 #define NFNLMSG_TYPE(subsys, subtype) (((subsys) << 8) | (subtype))
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 36 private final String subtype; field in class:MediaType
39 private MediaType(String mediaType, String type, String subtype, String charset) {
42 this.subtype = subtype;
54 String subtype = typeSubtype.group(2).toLowerCase(Locale.US); local
70 return new MediaType(string, type, subtype, charset);
82 * Returns a specific media subtype, such as "plain" or "png", "mpeg",
85 public String subtype() { method in class:MediaType
86 return subtype;
  /frameworks/base/core/java/com/android/internal/inputmethod/
InputMethodSubtypeSwitchingController.java 216 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) {
217 enabledSubtypeSet.add(String.valueOf(subtype.hashCode()));
226 final InputMethodSubtype subtype = imi.getSubtypeAt(j); local
227 final String subtypeHashCode = String.valueOf(subtype.hashCode());
230 && ((inputShown && !isScreenLocked) || !subtype.isAuxiliary())) {
232 subtype.overridesImplicitlyEnabledSubtype() ? null : subtype
236 subtypeLabel, imi, j, subtype.getLocale(), mSystemLocaleStr));
238 // Removing this subtype from enabledSubtypeSet because we no
239 // longer need to add an entry of this subtype to imList to avoi
    [all...]
  /external/valgrind/main/none/tests/amd64/
gen_insn_test.pl 240 my $subtype = $2;
248 subtype => $subtype,
256 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
263 print qq| $value$SubTypeSuffixes{$subtype}|;
277 my $subtype = $2;
285 subtype => $subtype,
293 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
300 print qq| $value$SubTypeSuffixes{$subtype}|;
    [all...]
  /external/valgrind/main/none/tests/x86/
gen_insn_test.pl 217 my $subtype = $2;
225 subtype => $subtype,
233 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
240 print qq| $value$SubTypeSuffixes{$subtype}|;
254 my $subtype = $2;
262 subtype => $subtype,
270 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
277 print qq| $value$SubTypeSuffixes{$subtype}|;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
LanguageOnSpacebarHelper.java 37 public int getLanguageOnSpacebarFormatType(final InputMethodSubtype subtype) {
38 if (SubtypeLocaleUtils.isNoLanguage(subtype)) {
41 // Only this subtype is enabled and equals to the system locale.
45 final String keyboardLanguage = SubtypeLocaleUtils.getSubtypeLocale(subtype).getLanguage();
46 final String keyboardLayout = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputMethodManager.java 19 import static com.android.inputmethod.latin.Constants.Subtype.KEYBOARD_MODE;
133 Log.w(TAG, "Can't find current subtype in enabled subtypes: subtype="
139 // The current subtype is the last or only enabled one and it needs to switch to
161 // The next IME has no subtype.
203 final InputMethodSubtype subtype = imi.getSubtypeAt(index); local
204 if (!subtype.isAuxiliary()) {
248 public boolean checkIfSubtypeBelongsToThisImeAndEnabled(final InputMethodSubtype subtype) {
249 return checkIfSubtypeBelongsToImeAndEnabled(getInputMethodInfoOfThisIme(), subtype);
253 final InputMethodSubtype subtype) {
371 final InputMethodSubtype subtype = myImi.getSubtypeAt(i); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
CustomInputStyleSettingsFragment.java 111 final InputMethodSubtype subtype = imi.getSubtypeAt(i); local
114 subtype.getLocale(), subtype.hashCode(), subtype.hashCode(),
115 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype)));
117 if (InputMethodSubtypeCompatUtils.isAsciiCapable(subtype)) {
118 items.add(createItem(context, subtype.getLocale()));
136 public KeyboardLayoutSetItem(final InputMethodSubtype subtype) {
137 super(SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype),
138 SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(subtype));
155 final InputMethodSubtype subtype = local
298 final InputMethodSubtype subtype = local
    [all...]
  /external/jmdns/src/javax/jmdns/
ServiceInfo.java 29 * <li>&lt;sub&gt;: This is the subtype for the application protocol</li>
61 * Subtype Field.
63 Subtype
90 * @param subtype
91 * service subtype see draft-cheshire-dnsext-dns-sd-06.txt chapter 7.1 Selective Instance Enumeration
98 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final String text) {
99 return new ServiceInfoImpl(type, name, subtype, port, 0, 0, false, text);
130 * @param subtype
131 * service subtype see draft-cheshire-dnsext-dns-sd-06.txt chapter 7.1 Selective Instance Enumeration
142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text)
    [all...]
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
LatinKeyboardView.java 50 void setSubtypeOnSpaceKey(final InputMethodSubtype subtype) {
52 keyboard.setSpaceIcon(getResources().getDrawable(subtype.getIconResId()));

Completed in 680 milliseconds

1 2 3 4 5 6 7 8 91011