Home
last modified time | relevance | path

Searched refs:lastChar (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/text/
DBidiFormatter.java642 private char lastChar; field in BidiFormatter.DirectionalityEstimator
839 lastChar = text.charAt(charIndex); in dirTypeForward()
840 if (Character.isHighSurrogate(lastChar)) { in dirTypeForward()
846 byte dirType = getCachedDirectionality(lastChar); in dirTypeForward()
849 if (lastChar == '<') { in dirTypeForward()
851 } else if (lastChar == '&') { in dirTypeForward()
869 lastChar = text.charAt(charIndex - 1); in dirTypeBackward()
870 if (Character.isLowSurrogate(lastChar)) { in dirTypeBackward()
876 byte dirType = getCachedDirectionality(lastChar); in dirTypeBackward()
879 if (lastChar == '>') { in dirTypeBackward()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DPrinter.kt42 val lastChar get() = stringBuilder[stringBuilder.length - 1] in <lambda>() constant
59 while (lastChar.isWhitespace() || lastChar.isNewline()) { in <lambda>()
66 while (lastChar.isWhitespaceNonNewline()) backspace() in <lambda>()
67 if (lastChar.isNewline()) backspace() in <lambda>()
181 while (lastChar == ' ' || lastChar == '\n') backspace() in <lambda>()
182 if (lastChar == ',') backspace() in <lambda>()
/frameworks/minikin/libs/minikin/
DWordBreaker.cpp236 uint16_t lastChar = mText[mLast]; in findNextBreakInEmailOrUrl() local
239 if (breakAfter(lastChar)) { in findNextBreakInEmailOrUrl()
243 if (lastChar == '/' && i >= mLast + 2 && mText[i - 2] == '/') { in findNextBreakInEmailOrUrl()
248 if (lastChar != '-') { in findNextBreakInEmailOrUrl()
253 if (thisChar == '/' && lastChar != '/' && in findNextBreakInEmailOrUrl()
258 lastChar = thisChar; in findNextBreakInEmailOrUrl()
DFontCollection.cpp136 vector<uint32_t> lastChar; in init() local
150 lastChar.push_back(coverage.nextSetBit(0)); in init()
171 if (lastChar[j] < (i + 1) << kLogCharsPerPage) { in init()
175 lastChar[j] = nextChar; in init()
/frameworks/rs/script_api/
DGenerateTestFiles.cpp32 char lastChar = s[last]; in convertToRsType() local
33 if (lastChar >= '1' && lastChar <= '4') { in convertToRsType()
35 *vectorSize = lastChar; in convertToRsType()
991 char lastChar = p->variableName.back(); in writeRsSection() local
992 if (lastChar >= '0' && lastChar <= '9') { in writeRsSection()
DSpecification.cpp128 const char lastChar = type[last]; in getVectorSizeAndBaseType() local
129 if (lastChar >= '0' && lastChar <= '9') { in getVectorSizeAndBaseType()
134 vectorSize = lastChar; in getVectorSizeAndBaseType()
/frameworks/base/tools/aapt/
DStringPool.cpp210 span.span.lastChar = end; in addStyleSpan()
519 span->lastChar = htodl(ent.spans[i].span.lastChar); in writeStringBlock()
DXMLNode.cpp299 span.span.firstChar = span.span.lastChar = outString->size(); in parseStyledString()
350 span.span.lastChar = outString->size()-1; in parseStyledString()
351 if (span.span.lastChar >= span.span.firstChar) { in parseStyledString()
/frameworks/base/tools/aapt2/
DStringPool_test.cpp293 EXPECT_THAT(span->lastChar, Eq(1u)); in TEST()
300 EXPECT_THAT(span->lastChar, Eq(3u)); in TEST()
DStringPool.cpp480 span->lastChar = util::HostToDevice32(s.last_char); in Flatten()
DResourceUtils.cpp764 spans->firstChar, spans->lastChar}); in ParseBinaryResValue()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h502 uint32_t firstChar, lastChar; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2300 char lastChar = codes[0].charAt(codeStringLength - 1); in processWfcDisconnectForNotification() local
2301 if (Character.isLetterOrDigit(lastChar)) { in processWfcDisconnectForNotification()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55867 Landroid/text/BidiFormatter$DirectionalityEstimator;->lastChar:C