/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSetNavigateMoreKeysBase.java | 79 private void doTestMoreKeysOf(final int code, final InputMethodSubtype subtype, in doTestMoreKeysOf() argument 85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestMoreKeysOf() 120 private void doTestNavigationMoreKeysOf(final int code, final InputMethodSubtype subtype, in doTestNavigationMoreKeysOf() argument 123 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 127 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 131 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 135 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 139 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 143 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() 147 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf() [all …]
|
D | KeyboardLayoutSetTestsBase.java | 46 public boolean accept(final InputMethodSubtype subtype); in accept() argument 51 public boolean accept(InputMethodSubtype subtype) { 52 return InputMethodSubtypeCompatUtils.isAsciiCapable(subtype); 58 public boolean accept(InputMethodSubtype subtype) { 59 return AdditionalSubtypeUtils.isAdditionalSubtype(subtype); 113 for (final InputMethodSubtype subtype : mAllSubtypesList) { in getSubtypesFilteredBy() 114 if (filter.accept(subtype)) { in getSubtypesFilteredBy() 115 list.add(subtype); in getSubtypesFilteredBy() 127 for (final InputMethodSubtype subtype : mAllSubtypesList) { in getSubtype() 128 final Locale subtypeLocale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in getSubtype() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | AdditionalSubtypeUtilsTests.java | 118 private static void assertEnUsDvorak(InputMethodSubtype subtype) { in assertEnUsDvorak() argument 119 assertEquals("en_US", subtype.getLocale()); in assertEnUsDvorak() 121 assertEquals(EXTRA_VALUE_EN_US_DVORAK_KITKAT, subtype.getExtraValue()); in assertEnUsDvorak() 123 assertEquals(EXTRA_VALUE_EN_US_DVORAK_JELLY_BEAN, subtype.getExtraValue()); in assertEnUsDvorak() 125 assertEquals(EXTRA_VALUE_EN_US_DVORAK_ICS, subtype.getExtraValue()); in assertEnUsDvorak() 127 assertTrue(subtype.containsExtraValueKey(ASCII_CAPABLE)); in assertEnUsDvorak() 128 assertTrue(InputMethodSubtypeCompatUtils.isAsciiCapable(subtype)); in assertEnUsDvorak() 133 assertTrue(subtype.containsExtraValueKey(EMOJI_CAPABLE)); in assertEnUsDvorak() 134 assertTrue(subtype.containsExtraValueKey(IS_ADDITIONAL_SUBTYPE)); in assertEnUsDvorak() 135 assertEquals("dvorak", subtype.getExtraValueOf(KEYBOARD_LAYOUT_SET)); in assertEnUsDvorak() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodManager.java | 221 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in isAuxiliaryIme() local 222 if (!subtype.isAuxiliary()) { in isAuxiliaryIme() 290 public boolean checkIfSubtypeBelongsToThisImeAndEnabled(final InputMethodSubtype subtype) { in checkIfSubtypeBelongsToThisImeAndEnabled() argument 291 return checkIfSubtypeBelongsToList(subtype, in checkIfSubtypeBelongsToThisImeAndEnabled() 298 final InputMethodSubtype subtype) { in checkIfSubtypeBelongsToThisImeAndImplicitlyEnabled() argument 299 final boolean subtypeEnabled = checkIfSubtypeBelongsToThisImeAndEnabled(subtype); in checkIfSubtypeBelongsToThisImeAndImplicitlyEnabled() 300 final boolean subtypeExplicitlyEnabled = checkIfSubtypeBelongsToList(subtype, in checkIfSubtypeBelongsToThisImeAndImplicitlyEnabled() 305 private static boolean checkIfSubtypeBelongsToList(final InputMethodSubtype subtype, in checkIfSubtypeBelongsToList() argument 307 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND; in checkIfSubtypeBelongsToList() 310 private static int getSubtypeIndexInList(final InputMethodSubtype subtype, in getSubtypeIndexInList() argument [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 259 private static String getReplacementString(@Nonnull final InputMethodSubtype subtype, in getReplacementString() argument 262 && subtype.containsExtraValueKey(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME)) { in getReplacementString() 263 return subtype.getExtraValueOf(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME); in getReplacementString() 265 return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale); in getReplacementString() 270 @Nonnull final InputMethodSubtype subtype) { in getSubtypeDisplayNameInSystemLocale() 272 return getSubtypeDisplayNameInternal(subtype, displayLocale); in getSubtypeDisplayNameInSystemLocale() 276 public static String getSubtypeNameForLogging(@Nullable final InputMethodSubtype subtype) { in getSubtypeNameForLogging() argument 277 if (subtype == null) { in getSubtypeNameForLogging() 280 return getSubtypeLocale(subtype) + "/" + getKeyboardLayoutSetName(subtype); in getSubtypeNameForLogging() 284 private static String getSubtypeDisplayNameInternal(@Nonnull final InputMethodSubtype subtype, in getSubtypeDisplayNameInternal() argument [all …]
|
D | AdditionalSubtypeUtils.java | 49 public static boolean isAdditionalSubtype(final InputMethodSubtype subtype) { in isAdditionalSubtype() argument 50 return subtype.containsExtraValueKey(IS_ADDITIONAL_SUBTYPE); in isAdditionalSubtype() 90 public static String getPrefSubtype(final InputMethodSubtype subtype) { in getPrefSubtype() argument 91 final String localeString = subtype.getLocale(); in getPrefSubtype() 92 final String keyboardLayoutSetName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in getPrefSubtype() 96 IS_ADDITIONAL_SUBTYPE, subtype.getExtraValue())); in getPrefSubtype() 121 final InputMethodSubtype subtype = createAsciiEmojiCapableAdditionalSubtype( in createAdditionalSubtypesArray() local 123 if (subtype.getNameResId() == SubtypeLocaleUtils.UNKNOWN_KEYBOARD_LAYOUT) { in createAdditionalSubtypesArray() 128 subtypesList.add(subtype); in createAdditionalSubtypesArray() 138 for (final InputMethodSubtype subtype : subtypes) { in createPrefSubtypes() [all …]
|
D | LanguageOnSpacebarUtils.java | 45 @Nonnull final RichInputMethodSubtype subtype) { in getLanguageOnSpacebarFormatType() 46 if (subtype.isNoLanguage()) { in getLanguageOnSpacebarFormatType() 53 final Locale locale = subtype.getLocale(); in getLanguageOnSpacebarFormatType() 58 final String keyboardLayout = subtype.getKeyboardLayoutSetName(); in getLanguageOnSpacebarFormatType() 77 public static void onSubtypeChanged(@Nonnull final RichInputMethodSubtype subtype, in onSubtypeChanged() argument 79 final Locale newLocale = subtype.getLocale(); in onSubtypeChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CustomInputStylePreference.java | 71 public CustomInputStylePreference(final Context context, final InputMethodSubtype subtype, in CustomInputStylePreference() argument 77 setSubtype(subtype); in CustomInputStylePreference() 92 public void setSubtype(final InputMethodSubtype subtype) { in setSubtype() argument 94 mSubtype = subtype; in setSubtype() 101 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype); in setSubtype() 104 setKey(KEY_PREFIX + subtype.getLocale() + "_" in setSubtype() 105 + SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype)); in setSubtype() 179 final InputMethodSubtype subtype = in onClick() local 182 setSubtype(subtype); in onClick() 261 public SubtypeLocaleItem(final InputMethodSubtype subtype) { in SubtypeLocaleItem() argument [all …]
|
D | CustomInputStyleSettingsFragment.java | 87 for (final InputMethodSubtype subtype : subtypes) { in updateCustomInputStylesSummary() 88 subtypeNames.add(SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype)); in updateCustomInputStylesSummary() 171 final InputMethodSubtype subtype = stylePref.getSubtype(); in onSaveCustomInputStyle() local 175 if (findDuplicatedSubtype(subtype) == null) { in onSaveCustomInputStyle() 185 showSubtypeAlreadyExistsToast(subtype); in onSaveCustomInputStyle() 191 final InputMethodSubtype subtype = stylePref.getSubtype(); in onAddCustomInputStyle() local 192 if (findDuplicatedSubtype(subtype) == null) { in onAddCustomInputStyle() 203 showSubtypeAlreadyExistsToast(subtype); in onAddCustomInputStyle() 216 private void showSubtypeAlreadyExistsToast(final InputMethodSubtype subtype) { in showSubtypeAlreadyExistsToast() argument 220 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype)); in showSubtypeAlreadyExistsToast() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | KlpActionLabelTests.java | 37 void doTestActionKeys(final InputMethodSubtype subtype, final String tag, in doTestActionKeys() argument 43 tag + " unspecified", subtype, EditorInfo.IME_ACTION_UNSPECIFIED, unspecifiedKey); in doTestActionKeys() 44 doTestActionKey(tag + " none", subtype, EditorInfo.IME_ACTION_NONE, noneKey); in doTestActionKeys() 45 doTestActionKey(tag + " go", subtype, EditorInfo.IME_ACTION_GO, goKey); in doTestActionKeys() 46 doTestActionKey(tag + " search", subtype, EditorInfo.IME_ACTION_SEARCH, searchKey); in doTestActionKeys() 47 doTestActionKey(tag + " send", subtype, EditorInfo.IME_ACTION_SEND, sendKey); in doTestActionKeys() 48 doTestActionKey(tag + " next", subtype, EditorInfo.IME_ACTION_NEXT, nextKey); in doTestActionKeys() 49 doTestActionKey(tag + " done", subtype, EditorInfo.IME_ACTION_DONE, doneKey); in doTestActionKeys() 50 doTestActionKey(tag + " previous", subtype, EditorInfo.IME_ACTION_PREVIOUS, previousKey); in doTestActionKeys() 56 private void doTestActionKeysInLocaleWithStringResources(final InputMethodSubtype subtype, in doTestActionKeysInLocaleWithStringResources() argument [all …]
|
D | ActionTestsBase.java | 72 protected static Locale getLabelLocale(final InputMethodSubtype subtype) { in getLabelLocale() argument 73 final String localeString = subtype.getLocale(); in getLabelLocale() 89 protected void doTestActionKey(final String tag, final InputMethodSubtype subtype, in doTestActionKey() argument 93 doTestActionKey(tag, subtype, editorInfo, expectedKey); in doTestActionKey() 96 protected void doTestActionKey(final String tag, final InputMethodSubtype subtype, in doTestActionKey() argument 100 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestActionKey() 112 final KeyboardLayoutSet passwordSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestActionKey()
|
D | KlpActionNextTests.java | 30 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { in testActionNext() 31 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionNext() 33 R.string.label_next_key, getLabelLocale(subtype), getContext()); in testActionNext() 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
|
D | KlpActionPreviousTests.java | 30 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { in testActionPrevious() 31 final String tag = "previous " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionPrevious() 33 R.string.label_previous_key, getLabelLocale(subtype), getContext()); in testActionPrevious() 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | InputMethodSubtypeCompatUtils.java | 75 public static boolean isAsciiCapable(final RichInputMethodSubtype subtype) { in isAsciiCapable() argument 76 return isAsciiCapable(subtype.getRawSubtype()); in isAsciiCapable() 79 public static boolean isAsciiCapable(final InputMethodSubtype subtype) { in isAsciiCapable() argument 80 return isAsciiCapableWithAPI(subtype) in isAsciiCapable() 81 || subtype.containsExtraValueKey(Constants.Subtype.ExtraValue.ASCII_CAPABLE); in isAsciiCapable() 88 public static Locale getLocaleObject(final InputMethodSubtype subtype) { in getLocaleObject() argument 91 final String languageTag = (String) CompatUtils.invoke(subtype, null, GET_LANGUAGE_TAG); in getLocaleObject() 96 return LocaleUtils.constructLocaleFromString(subtype.getLocale()); in getLocaleObject() 100 public static boolean isAsciiCapableWithAPI(final InputMethodSubtype subtype) { in isAsciiCapableWithAPI() argument 101 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable); in isAsciiCapableWithAPI()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/ |
D | VideoRtpPayloadDecoderNode.cpp | 104 void VideoRtpPayloadDecoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument 108 if (subtype == MEDIASUBTYPE_REFRESHED) in OnDataFromFrontNode() 111 subtype, nullptr, nDataSize, 0, 0, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in OnDataFromFrontNode() 118 DecodeAvc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode() 121 DecodeHevc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode() 131 void VideoRtpPayloadDecoderNode::DecodeAvc(ImsMediaSubType subtype, uint8_t* pData, in DecodeAvc() argument 172 SendDataToRearNode(subtype, mBuffer, nDataSize + 4, nTimeStamp, bMark, nSeqNum, eDataType, in DecodeAvc() 216 SendDataToRearNode(subtype, mBuffer, nNALUnitsize + 4, nTimeStamp, bMark, nSeqNum, in DecodeAvc() 262 SendDataToRearNode(subtype, mBuffer, nDataSize + 3, nTimeStamp, bMark, nSeqNum, in DecodeAvc() 267 SendDataToRearNode(subtype, mBuffer, nDataSize + 3, nTimeStamp, bEndBit, nSeqNum, in DecodeAvc() [all …]
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioJitterBufferTest.cpp | 134 ImsMediaSubType subtype = MEDIASUBTYPE_UNDEFINED; in TEST_F() local 149 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 169 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 198 ImsMediaSubType subtype = MEDIASUBTYPE_UNDEFINED; in TEST_F() local 218 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 238 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 268 ImsMediaSubType subtype = MEDIASUBTYPE_UNDEFINED; in TEST_F() local 287 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 308 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 344 ImsMediaSubType subtype = MEDIASUBTYPE_UNDEFINED; in TEST_F() local [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtypeTests.java | 101 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp() local 102 mSubtypesList.add(new RichInputMethodSubtype(subtype)); in setUp() 175 for (final RichInputMethodSubtype subtype : mSubtypesList) { in testAllFullDisplayNameForSpacebar() 177 .getSubtypeDisplayNameInSystemLocale(subtype.getRawSubtype()); in testAllFullDisplayNameForSpacebar() 178 final String spacebarText = subtype.getFullDisplayName(); in testAllFullDisplayNameForSpacebar() 180 .getSubtypeLocaleDisplayName(subtype.getLocale().toString()); in testAllFullDisplayNameForSpacebar() 181 if (subtype.isNoLanguage()) { in testAllFullDisplayNameForSpacebar() 191 for (final RichInputMethodSubtype subtype : mSubtypesList) { in testAllMiddleDisplayNameForSpacebar() 193 .getSubtypeDisplayNameInSystemLocale(subtype.getRawSubtype()); in testAllMiddleDisplayNameForSpacebar() 194 final Locale locale = subtype.getLocale(); in testAllMiddleDisplayNameForSpacebar() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/ |
D | TextJitterBuffer.cpp | 27 void TextJitterBuffer::Add(ImsMediaSubType subtype, uint8_t* buffer, uint32_t size, in Add() argument 31 if (subtype == MEDIASUBTYPE_REFRESHED) in Add() 53 currEntry.subtype = subtype; in Add() 107 bool TextJitterBuffer::Get(ImsMediaSubType* subtype, uint8_t** data, uint32_t* dataSize, in Get() argument 116 if (subtype) in Get() 117 *subtype = pEntry->subtype; in Get() 137 if (subtype) in Get() 138 *subtype = MEDIASUBTYPE_UNDEFINED; in Get()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/ |
D | TextRtpPayloadDecoderNode.cpp | 64 void TextRtpPayloadDecoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* data, in OnDataFromFrontNode() argument 71 if (subtype == MEDIASUBTYPE_REFRESHED) in OnDataFromFrontNode() 73 SendDataToRearNode(subtype, nullptr, size, 0, 0, 0, MEDIASUBTYPE_UNDEFINED); in OnDataFromFrontNode() 81 DecodeT140(data, size, subtype, timestamp, mark, seqNum); in OnDataFromFrontNode() 112 void TextRtpPayloadDecoderNode::DecodeT140(uint8_t* data, uint32_t size, ImsMediaSubType subtype, in DecodeT140() argument 116 "[DecodeT140] subtype[%u], size[%u], timestamp[%d], mark[%d], seq[%d]", subtype, size, in DecodeT140() 119 if (subtype == MEDIASUBTYPE_BITSTREAM_T140 || subtype == MEDIASUBTYPE_BITSTREAM_T140_RED) in DecodeT140() 139 if (subtype == MEDIASUBTYPE_BITSTREAM_T140 || size == 0) in DecodeT140() 197 IMLOGW1("[DecodeT140] INVALID media sub type[%u]", subtype); in DecodeT140()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | DtmfSenderNode.cpp | 87 ImsMediaSubType subtype; in ProcessData() local 94 if (!GetData(&subtype, &data, &size, ×tamp, &bMark, nullptr)) in ProcessData() 107 if (subtype == MEDIASUBTYPE_DTMFSTART) in ProcessData() 109 SendDataToRearNode(subtype, data, size, currTime, bMark, 0); in ProcessData() 114 if (GetData(&subtype, &data, &size, ×tamp, &bMark, nullptr, nullptr) && in ProcessData() 115 subtype == MEDIASUBTYPE_DTMF_PAYLOAD) in ProcessData() 117 SendDataToRearNode(subtype, data, size, currTime, bMark, 0); in ProcessData() 124 SendDataToRearNode(subtype, data, size, currTime, bMark, 0); in ProcessData()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/ |
D | RtpEncoderNode.cpp | 151 void RtpEncoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* data, uint32_t size, in OnDataFromFrontNode() argument 163 ProcessAudioData(subtype, data, size, timestamp); in OnDataFromFrontNode() 167 ProcessVideoData(subtype, data, size, timestamp, mark); in OnDataFromFrontNode() 171 ProcessTextData(subtype, data, size, timestamp, mark); in OnDataFromFrontNode() 434 ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp) in ProcessAudioData() argument 441 if (subtype == MEDIASUBTYPE_DTMFSTART) in ProcessAudioData() 447 else if (subtype == MEDIASUBTYPE_DTMFEND) in ProcessAudioData() 453 else if (subtype == MEDIASUBTYPE_DTMF_PAYLOAD) in ProcessAudioData() 507 ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp, bool mark) in ProcessVideoData() argument 510 subtype, size, timestamp, mark); in ProcessVideoData() [all …]
|
D | BaseNode.cpp | 244 *psubtype = pEntry->subtype; in GetData() 284 ImsMediaSubType subtype, ImsMediaSubType dataType, uint32_t arrivalTime, int32_t index) in AddData() argument 293 entry.subtype = subtype; in AddData() 303 void BaseNode::SendDataToRearNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, in SendDataToRearNode() argument 314 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in SendDataToRearNode() 329 void BaseNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, in OnDataFromFrontNode() argument 340 entry.subtype = subtype; in OnDataFromFrontNode()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | NewKeyboardLayoutEnabledLocalesFragment.java | 179 for (InputMethodSubtype subtype : subtypes) { in updateCheckedState() 180 if (subtype.isSuitableForPhysicalKeyboardLayoutMapping()) { in updateCheckedState() 181 mapLanguageWithLayout(info, subtype); in updateCheckedState() 188 private void mapLanguageWithLayout(InputMethodInfo info, InputMethodSubtype subtype) { in mapLanguageWithLayout() argument 189 CharSequence subtypeLabel = getSubtypeLabel(mContext, info, subtype); in mapLanguageWithLayout() 192 mIm, mUserId, mInputDeviceIdentifier, info, subtype); in mapLanguageWithLayout() 194 mIm, mUserId, mInputDeviceIdentifier, info, subtype); in mapLanguageWithLayout() 203 subtype); in mapLanguageWithLayout() 215 subtype); in mapLanguageWithLayout() 315 Context context, InputMethodInfo info, InputMethodSubtype subtype) { in getSubtypeLabel() argument [all …]
|
D | NewKeyboardSettingsUtils.java | 79 InputMethodSubtype subtype = imm.getCurrentInputMethodSubtype(); in getSelectedKeyboardLayoutLabelForUser() local 81 imeInfo, subtype); in getSelectedKeyboardLayoutLabelForUser() 83 imeInfo, subtype); in getSelectedKeyboardLayoutLabelForUser() 152 InputDeviceIdentifier identifier, InputMethodInfo info, InputMethodSubtype subtype) { in getKeyboardLayouts() argument 153 return inputManager.getKeyboardLayoutListForInputDevice(identifier, userId, info, subtype); in getKeyboardLayouts() 158 InputDeviceIdentifier identifier, InputMethodInfo info, InputMethodSubtype subtype) { in getKeyboardLayout() argument 159 return inputManager.getKeyboardLayoutForInputDevice(identifier, userId, info, subtype); in getKeyboardLayout()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSetTests.java | 61 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp() local 62 allSubtypesList.add(subtype); in setUp() 74 for (final InputMethodSubtype subtype : mAllSubtypesList) { in testSwitchToAlphaKeyLabel() 75 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testSwitchToAlphaKeyLabel() 101 for (final InputMethodSubtype subtype : mAllSubtypesList) { in testTextFromResources() 102 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testTextFromResources()
|