Searched refs:trimmed (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | PacProxySelector.java | 99 String trimmed = s.trim(); in parseResponse() local 100 if (trimmed.equals("DIRECT")) { in parseResponse() 102 } else if (trimmed.startsWith(PROXY)) { in parseResponse() 103 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse() 107 } else if (trimmed.startsWith(SOCKS)) { in parseResponse() 108 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse()
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 80 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine() local 81 if (trimmed.empty()) { in AppendCommentLine() 86 if (trimmed.size() != comment.size()) { in AppendCommentLine() 87 comment = trimmed.to_string(); in AppendCommentLine()
|
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 31 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST() local 32 EXPECT_TRUE(trimmed.empty()); in TEST() 33 EXPECT_THAT(trimmed, SizeIs(0u)); in TEST()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 320 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute() local 321 if (!trimmed.empty()) { in FindNonEmptyAttribute() 322 return trimmed; in FindNonEmptyAttribute()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 351 StringPiece trimmed = util::TrimLeadingWhitespace(first_segment->data); in FlattenXmlSubtree() local 352 if (trimmed.size() != first_segment->data.size()) { in FlattenXmlSubtree() 353 first_segment->data = trimmed.to_string(); in FlattenXmlSubtree() 359 StringPiece trimmed = util::TrimTrailingWhitespace(last_segment->data); in FlattenXmlSubtree() local 360 if (trimmed.size() != last_segment->data.size()) { in FlattenXmlSubtree() 361 last_segment->data = trimmed.to_string(); in FlattenXmlSubtree()
|
/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/core/java/android/text/ |
D | TextUtils.java | 2168 T trimmed = trimToSize(text, size); in trimToLengthWithEllipsis() local 2169 if (trimmed.length() < text.length()) { in trimToLengthWithEllipsis() 2170 trimmed = (T) (trimmed.toString() + "..."); in trimToLengthWithEllipsis() 2172 return trimmed; in trimToLengthWithEllipsis()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 1074 final ArrayList<TaskRecord> trimmed = mCallbacksRecorder.mTrimmed; in assertTrimmed() local 1076 assertWithMessage("Expected " + tasks.length + " trimmed tasks, got " + trimmed.size()) in assertTrimmed() 1077 .that(trimmed).hasSize(tasks.length); in assertTrimmed() 1081 assertWithMessage("Expected trimmed task: " + task).that(trimmed).contains(task); in assertTrimmed()
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 84 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 | 1772 final String trimmed = data.trim(); in addPhone() local 1775 formattedNumber = trimmed; in addPhone() 1782 final int length = trimmed.length(); in addPhone() 1784 char ch = trimmed.charAt(i); in addPhone()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 6145 final String[] trimmed = new String[i]; 6146 System.arraycopy(attributes, 0, trimmed, 0, i); 6147 mAttributes = trimmed;
|