Searched refs:trimmed (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | PacProxySelector.java | 100 String trimmed = s.trim(); in parseResponse() local 101 if (trimmed.equals("DIRECT")) { in parseResponse() 103 } else if (trimmed.startsWith(PROXY)) { in parseResponse() 104 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse() 108 } else if (trimmed.startsWith(SOCKS)) { in parseResponse() 109 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse()
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 93 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine() local 94 if (trimmed.empty()) { in AppendCommentLine() 99 if (trimmed.size() != comment.size()) { in AppendCommentLine() 100 comment = trimmed.to_string(); in AppendCommentLine()
|
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 42 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST() local 43 EXPECT_TRUE(trimmed.empty()); in TEST() 44 EXPECT_THAT(trimmed, SizeIs(0u)); in TEST()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 324 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute() local 325 if (!trimmed.empty()) { in FindNonEmptyAttribute() 326 return trimmed; in FindNonEmptyAttribute()
|
/frameworks/rs/script_api/ |
D | Specification.cpp | 130 const string trimmed = type.substr(0, last); in getVectorSizeAndBaseType() local 131 int i = findCType(trimmed); in getVectorSizeAndBaseType() 133 baseType = trimmed; in getVectorSizeAndBaseType()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 367 StringPiece trimmed = util::TrimLeadingWhitespace(first_segment->data); in FlattenXmlSubtree() local 368 if (trimmed.size() != first_segment->data.size()) { in FlattenXmlSubtree() 369 first_segment->data = trimmed.to_string(); in FlattenXmlSubtree() 375 StringPiece trimmed = util::TrimTrailingWhitespace(last_segment->data); in FlattenXmlSubtree() local 376 if (trimmed.size() != last_segment->data.size()) { in FlattenXmlSubtree() 377 last_segment->data = trimmed.to_string(); in FlattenXmlSubtree()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 2288 T trimmed = trimToSize(text, size); in trimToLengthWithEllipsis() local 2289 if (text != null && trimmed.length() < text.length()) { in trimToLengthWithEllipsis() 2290 trimmed = (T) (trimmed.toString() + "..."); in trimToLengthWithEllipsis() 2292 return trimmed; in trimToLengthWithEllipsis()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 1325 final ArrayList<Task> trimmed = mCallbacksRecorder.mTrimmed; in triggerTrimAndAssertTrimmed() local 1327 assertWithMessage("Expected " + tasks.length + " trimmed tasks, got " + trimmed.size()) in triggerTrimAndAssertTrimmed() 1328 .that(trimmed).hasSize(tasks.length); in triggerTrimAndAssertTrimmed() 1332 assertWithMessage("Expected trimmed task: " + task).that(trimmed).contains(task); in triggerTrimAndAssertTrimmed()
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 98 To save on memory, textures may be trimmed by their background color. trim.txt sequentially lists
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 1784 final String trimmed = data.trim(); in addPhone() local 1787 formattedNumber = trimmed; in addPhone() 1794 final int length = trimmed.length(); in addPhone() 1796 char ch = trimmed.charAt(i); in addPhone()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 6428 final String[] trimmed = new String[i]; 6429 System.arraycopy(attributes, 0, trimmed, 0, i); 6430 mAttributes = trimmed;
|