Home
last modified time | relevance | path

Searched refs:outputText (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java176 final String outputText = getOutputTextInternal(keySpec, labelEnd); in getOutputText() local
177 if (outputText != null) { in getOutputText()
178 if (StringUtils.codePointCount(outputText) == 1) { in getOutputText()
183 if (outputText.isEmpty()) { in getOutputText()
186 return outputText; in getOutputText()
206 final String outputText = getOutputTextInternal(keySpec, labelEnd); in getCode() local
207 if (outputText != null) { in getCode()
210 if (StringUtils.codePointCount(outputText) == 1) { in getCode()
211 return outputText.codePointAt(0); in getCode()
DMoreKeySpec.java72 final String outputText = KeySpecParser.getOutputText(moreKeySpec); in MoreKeySpec() local
74 ? StringUtils.toTitleCaseOfKeyLabel(outputText, locale) : outputText; in MoreKeySpec()
94 final String outputText = mOutputText; in hashCode() local
95 hashCode = hashCode * 31 + (outputText == null ? 0 : outputText.hashCode()); in hashCode()
DKeyboardBuilder.java431 final String outputText; in parseGridRows() local
437 outputText = CodesArrayParser.parseOutputText(codeArraySpec); in parseGridRows()
445 outputText = textArraySpec + (char)Constants.CODE_SPACE; in parseGridRows()
458 final Key key = new Key(label, KeyboardIconsSet.ICON_UNDEFINED, code, outputText, in parseGridRows()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java36 public static ExpectedKey key(final String label, final String outputText, in key() argument
38 return ExpectedKey.newInstance(label, outputText, moreKeys); in key()
48 public static ExpectedKey key(final int iconId, final String outputText, in key() argument
50 return ExpectedKey.newInstance(iconId, outputText, moreKeys); in key()
80 public static ExpectedKey moreKey(final String label, final String outputText) { in moreKey() argument
81 return ExpectedKey.newInstance(label, outputText); in moreKey()
92 public static ExpectedKey moreKey(final int iconId, final String outputText) { in moreKey() argument
93 return ExpectedKey.newInstance(iconId, outputText); in moreKey()
DExpectedKeyOutput.java36 static ExpectedKeyOutput newInstance(final String outputText) { in newInstance() argument
38 if (StringUtils.codePointCount(outputText) == 1) { in newInstance()
39 return new Code(outputText.codePointAt(0)); in newInstance()
41 return new Text(outputText); in newInstance()
DExpectedKey.java38 static ExpectedKey newInstance(final String label, final String outputText, in newInstance() argument
41 ExpectedKeyOutput.newInstance(outputText), moreKeys); in newInstance()
52 static ExpectedKey newInstance(final int iconId, final String outputText, in newInstance() argument
55 ExpectedKeyOutput.newInstance(outputText), moreKeys); in newInstance()
DActualKeyboardBuilder.java111 static String toString(final String label, final int iconId, final String outputText, in toString() argument
117 output = outputText; in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java181 private OptionalAttributes(final String outputText, final int altCode, in OptionalAttributes() argument
183 mOutputText = outputText; in OptionalAttributes()
191 public static OptionalAttributes newInstance(final String outputText, final int altCode, in newInstance() argument
193 if (outputText == null && altCode == CODE_UNSPECIFIED in newInstance()
198 return new OptionalAttributes(outputText, altCode, disabledIconId, visualInsetsLeft, in newInstance()
215 @Nullable final String outputText, @Nullable final String hintLabel, in Key() argument
230 mOptionalAttributes = OptionalAttributes.newInstance(outputText, CODE_UNSPECIFIED, in Key()
366 String outputText = KeySpecParser.getOutputText(keySpec); in Key() local
368 outputText = StringUtils.toTitleCaseOfKeyLabel(outputText, localeForUpcasing); in Key()
371 if (code == CODE_UNSPECIFIED && TextUtils.isEmpty(outputText) in Key()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java114 final String outputText = key.getOutputText(); in getDescriptionForKey() local
115 final String description = getSpokenEmoticonDescription(context, outputText); in getDescriptionForKey()
116 return TextUtils.isEmpty(description) ? outputText : description; in getDescriptionForKey()
350 final String outputText) { in getSpokenEmoticonDescription() argument
352 final int textLength = outputText.length(); in getSpokenEmoticonDescription()
353 for (int index = 0; index < textLength; index = outputText.offsetByCodePoints(index, 1)) { in getSpokenEmoticonDescription()
354 final int codePoint = outputText.codePointAt(index); in getSpokenEmoticonDescription()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java75 static ExpectedKey key(final String label, final String outputText, in key() argument
77 return AbstractLayoutBase.key(label, outputText, moreKeys); in key()
98 static ExpectedKey moreKey(final String label, final String outputText) { in moreKey() argument
99 return AbstractLayoutBase.moreKey(label, outputText); in moreKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java158 final String outputText) { in getKeyByOutputText() argument
161 if (outputText.equals(key.getOutputText())) { in getKeyByOutputText()
178 final String outputText = (String)o; in loadRecentKeys() local
179 key = getKeyByOutputText(keyboards, outputText); in loadRecentKeys()