Home
last modified time | relevance | path

Searched refs:isWhitespace (Results 1 – 25 of 33) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/text/
H A DWordSegmentFinder.java75 } 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 DTextUtils.java2342 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 DSplitClockView.java121 boolean isWhitespace = Character.isWhitespace(c); in getAmPmPartEndIndex()
125 if (isAmPm || isWhitespace) { in getAmPmPartEndIndex()
H A DClock.java475 while (a > 0 && Character.isWhitespace(format.charAt(a-1))) { in getSmallTime()
/aosp14/frameworks/base/core/java/android/text/method/
H A DTranslationTransformationMethod.java87 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 DXmlPullParserWrapper.java105 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 DHostUtils.kt135 it.isEmpty() || it.first().isWhitespace()
174 .takeWhile { !it.isWhitespace() }
H A DSdCardEjectionTests.kt219 .takeWhile { !it.isWhitespace() }
/aosp14/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java357 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 DAbstractMessageParser.java141 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 DMain.kt122 it.startsWith("}") || it.all(Char::isWhitespace)
H A DPrinter.kt59 while (lastChar.isWhitespace() || lastChar.isNewline()) {
H A DUtils.kt26 fun Char.isWhitespaceNonNewline() = isWhitespace() && !isNewline()
H A DClassPrinter.kt44 .takeWhile { it.isWhitespace() }
H A DFileInfo.kt245 if (last().dropWhile { it.isWhitespace() }.startsWith("}")) {
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DCharacterPerfTest.java330 Character.isWhitespace(mChars[ch]); in timeIsWhitespace()
336 Character.isWhitespace((int) mChars[ch]); in timeIsWhitespace()
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/
H A DFontVariationAxis.java149 if (Character.isWhitespace(c)) { in fromFontVariationSettings()
/aosp14/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
H A DEnforcePermissionHelperDetector.kt76 .filterNot(Char::isWhitespace)
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DPowerProfile.java392 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 DGraphicBufferMetrics.java250 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 DSelectionActionModeHelper.java873 && !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 DQSDualTileLabel.java180 if (Character.isWhitespace(mText.charAt(i))) { in updateText()
/aosp14/frameworks/base/tools/aapt/
H A DXMLNode.h20 bool isWhitespace(const char16_t* str);
/aosp14/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java194 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 DEnergyConsumerSnapshot.java396 if (Character.isWhitespace(c)) { in sanitizeCustomBucketName()

12