/aosp14/frameworks/base/core/java/android/text/ |
H A D | WordSegmentFinder.java | 75 } while (Character.isWhitespace(mText.charAt(boundary))); in previousStartBoundary() 87 } while (Character.isWhitespace(mText.charAt(boundary - 1))); in previousEndBoundary() 99 } while (Character.isWhitespace(mText.charAt(boundary))); in nextStartBoundary() 111 } while (Character.isWhitespace(mText.charAt(boundary - 1))); in nextEndBoundary()
|
H A D | TextUtils.java | 2342 public static boolean isWhitespace(int codePoint) { in isWhitespace() method in TextUtils 2343 return Character.isWhitespace(codePoint) || codePoint == NBSP_CODE_POINT; in isWhitespace() 2348 return isWhitespace(codePoint) && !isNewline(codePoint); in isWhitespaceExceptNewline() 2454 } else if (trim && !isWhitespace(codePoint)) { in makeSafeForPresentation()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SplitClockView.java | 121 boolean isWhitespace = Character.isWhitespace(c); in getAmPmPartEndIndex() 125 if (isAmPm || isWhitespace) { in getAmPmPartEndIndex()
|
H A D | Clock.java | 475 while (a > 0 && Character.isWhitespace(format.charAt(a-1))) { in getSmallTime()
|
/aosp14/frameworks/base/core/java/android/text/method/ |
H A D | TranslationTransformationMethod.java | 87 if (TextUtils.isEmpty(translatedText) || isWhitespace(translatedText.toString())) { in getTransformation() 107 private boolean isWhitespace(String text) { in isWhitespace() method in TranslationTransformationMethod
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlPullParserWrapper.java | 105 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in XmlPullParserWrapper 106 return mWrapped.isWhitespace(); in isWhitespace()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
H A D | HostUtils.kt | 135 it.isEmpty() || it.first().isWhitespace() 174 .takeWhile { !it.isWhitespace() }
|
H A D | SdCardEjectionTests.kt | 219 .takeWhile { !it.isWhitespace() }
|
/aosp14/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 357 while (start <= end && isWhitespace(value.charAt(start))) { in trimWhitespace() 360 while (end >= start && isWhitespace(value.charAt(end))) { in trimWhitespace() 374 private boolean isWhitespace(char c) { in isWhitespace() method in UrlQuerySanitizer.IllegalCharacterValueSanitizer
|
/aosp14/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 141 Character.isWhitespace(text.charAt(3))) { in parse() 419 if (Character.isWhitespace(ch2) || isPunctuation(ch2)) { in parseURL() 425 } else if (Character.isWhitespace(ch)) { in parseURL() 447 !Character.isWhitespace(text.charAt(index))) { in parseURL() 583 if (Character.isWhitespace(ch)) { in getCharClass() 767 Character.isWhitespace(text.charAt(index))) { in trimLeadingWhitespace() 775 while ((index > 0) && Character.isWhitespace(text.charAt(index - 1))) { in trimTrailingWhitespace()
|
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | Main.kt | 122 it.startsWith("}") || it.all(Char::isWhitespace)
|
H A D | Printer.kt | 59 while (lastChar.isWhitespace() || lastChar.isNewline()) {
|
H A D | Utils.kt | 26 fun Char.isWhitespaceNonNewline() = isWhitespace() && !isNewline()
|
H A D | ClassPrinter.kt | 44 .takeWhile { it.isWhitespace() }
|
H A D | FileInfo.kt | 245 if (last().dropWhile { it.isWhitespace() }.startsWith("}")) {
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
H A D | CharacterPerfTest.java | 330 Character.isWhitespace(mChars[ch]); in timeIsWhitespace() 336 Character.isWhitespace((int) mChars[ch]); in timeIsWhitespace()
|
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/ |
H A D | FontVariationAxis.java | 149 if (Character.isWhitespace(c)) { in fromFontVariationSettings()
|
/aosp14/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/ |
H A D | EnforcePermissionHelperDetector.kt | 76 .filterNot(Char::isWhitespace)
|
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
H A D | PowerProfile.java | 392 if (mText == null && length > 0 && !isWhitespace(text, start, length)) { in characters() 468 private static boolean isWhitespace(char[] text, int start, int length) { in isWhitespace() method in PowerProfile
|
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | GraphicBufferMetrics.java | 250 while (Character.isWhitespace(line.charAt(leftIndex))) { in buildEventModel() 262 while (Character.isWhitespace(line.charAt(leftIndex))) { in buildEventModel()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | SelectionActionModeHelper.java | 873 && !isWhitespace( in getWordDelta() 898 if (!isWhitespace(start, offset)) { in countWordsBackward() 912 if (!isWhitespace(offset, end)) { in countWordsForward() 920 private boolean isWhitespace(int start, int end) { in isWhitespace() method in SelectionActionModeHelper.SelectionMetricsLogger
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 180 if (Character.isWhitespace(mText.charAt(i))) { in updateText()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 20 bool isWhitespace(const char16_t* str);
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 194 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in XmlBlock.Parser 373 if(eventType == TEXT && isWhitespace()) { // skip whitespace in nextTag()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | EnergyConsumerSnapshot.java | 396 if (Character.isWhitespace(c)) { in sanitizeCustomBucketName()
|