Home
last modified time | relevance | path

Searched refs:firstChar (Results 1 – 15 of 15) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DBrNameUtil.java27 char firstChar = name.charAt(0); in stripPrefixFromField() local
29 if (name.length() > 2 && firstChar == 'm' && secondChar == '_') { in stripPrefixFromField()
35 } else if ((firstChar == 'm' && Character.isUpperCase(secondChar)) || in stripPrefixFromField()
36 (firstChar == '_' && Character.isJavaIdentifierStart(secondChar))) { in stripPrefixFromField()
57 char firstChar = propertyName.charAt(0); in brKey() local
58 return "" + Character.toLowerCase(firstChar) + in brKey()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp41 EXPECT_EQ(2u, newString->value->spans[0].firstChar); in TEST()
45 EXPECT_EQ(6u, newString->value->spans[1].firstChar); in TEST()
49 EXPECT_EQ(1u, newString->value->spans[2].firstChar); in TEST()
62 EXPECT_EQ(3u, newString->value->spans[0].firstChar); in TEST()
65 EXPECT_EQ(7u, newString->value->spans[1].firstChar); in TEST()
68 EXPECT_EQ(2u, newString->value->spans[2].firstChar); in TEST()
71 EXPECT_EQ(1u, newString->value->spans[3].firstChar); in TEST()
DPseudolocaleGenerator.cpp39 localized.spans.push_back(Span{ *span.name, span.firstChar, span.lastChar }); in pseudolocalizeStyledString()
69 auto iter = std::lower_bound(ranges.begin(), ranges.end(), span.firstChar, cmp); in pseudolocalizeStyledString()
70 if (iter != ranges.end() && iter->start == span.firstChar) { in pseudolocalizeStyledString()
71 iter->updateStart = &localized.spans[i].firstChar; in pseudolocalizeStyledString()
74 Range{ span.firstChar, &localized.spans[i].firstChar, nullptr }); in pseudolocalizeStyledString()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessBindable.java145 char firstChar = name.charAt(0); in stripPrefixFromField() local
147 if (name.length() > 2 && firstChar == 'm' && secondChar == '_') { in stripPrefixFromField()
153 } else if ((firstChar == 'm' && Character.isUpperCase(secondChar)) || in stripPrefixFromField()
154 (firstChar == '_' && Character.isJavaIdentifierStart(secondChar))) { in stripPrefixFromField()
172 char firstChar = propertyName.charAt(0); in stripPrefixFromMethod() local
173 return "" + Character.toLowerCase(firstChar) + in stripPrefixFromMethod()
/frameworks/base/tools/aapt2/
DStringPool.h34 uint32_t firstChar; member
111 uint32_t firstChar; member
DStringPool_test.cpp156 EXPECT_EQ(2u, span.firstChar); in TEST()
237 EXPECT_EQ(0u, span->firstChar); in TEST()
243 EXPECT_EQ(2u, span->firstChar); in TEST()
DStringPool.cpp171 span.firstChar, span.lastChar}); in makeRef()
190 styleEntry->spans.emplace_back(Span{ makeRef(*span.name), span.firstChar, span.lastChar }); in makeRef()
376 span->firstChar = s.firstChar; in flatten()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java297 char firstChar = number.charAt(0); in checkNANP() local
298 if (firstChar >= '2' && firstChar <= '9') { in checkNANP()
/frameworks/base/tools/aapt/
DStringPool.cpp220 span.span.firstChar = start; in addStyleSpan()
529 span->firstChar = htodl(ent.spans[i].span.firstChar); in writeStringBlock()
DXMLNode.cpp302 span.span.firstChar = span.span.lastChar = outString->size(); in parseStyledString()
354 if (span.span.lastChar >= span.span.firstChar) { in parseStyledString()
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp190 spans->firstChar, in deserializeItemFromPb()
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp401 spans->firstChar, in parseValue()
/frameworks/base/include/androidfw/
DResourceTypes.h480 uint32_t firstChar, lastChar; member
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...