Home
last modified time | relevance | path

Searched refs:getChars (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DMeasuredParagraphTest.java69 assertNotNull(mt.getChars()); in buildForBidi()
70 assertEquals("XXX", charsToString(mt.getChars())); in buildForBidi()
82 assertNotNull(mt2.getChars()); in buildForBidi()
83 assertEquals("VVV", charsToString(mt.getChars())); in buildForBidi()
100 assertNotNull(mt.getChars()); in buildForMeasurement()
101 assertEquals("XXX", charsToString(mt.getChars())); in buildForMeasurement()
117 assertNotNull(mt2.getChars()); in buildForMeasurement()
118 assertEquals("VVV", charsToString(mt.getChars())); in buildForMeasurement()
140 assertNotNull(mt.getChars()); in buildForStaticLayout()
141 assertEquals("XXX", charsToString(mt.getChars())); in buildForStaticLayout()
[all …]
/frameworks/base/core/java/android/text/method/
DReplacementTransformationMethod.java139 getChars(start, end, c, 0); in subSequence()
146 getChars(0, length(), c, 0); in toString()
150 public void getChars(int start, int end, char[] dest, int off) { in getChars() method in ReplacementTransformationMethod.ReplacementCharSequence
151 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
DPasswordTransformationMethod.java182 getChars(start, end, buf, 0); in subSequence()
190 public void getChars(int start, int end, char[] dest, int off) { in getChars() method in PasswordTransformationMethod.PasswordCharSequence
191 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
DQwertyKeyListener.java274 TextUtils.getChars(content, x, oldStart, orig, 0); in onKeyDown()
430 original.getChars(0, len, orig, 0); in markAsReplaced()
DDigitsKeyListener.java215 accepted.getChars(0, accepted.length(), mAccepted, 0); in DigitsKeyListener()
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java105 public void getChars(int start, int end, char[] dest, int off) { in getChars() method in AlteredCharSequence
106 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
119 getChars(0, len, ret, 0); in toString()
DGetChars.java32 public void getChars(int start, int end, char[] dest, int destoff); in getChars() method
DTextUtils.java143 public static void getChars(CharSequence s, int start, int end, in getChars() method in TextUtils
148 ((String) s).getChars(start, end, dest, destoff); in getChars()
150 ((StringBuffer) s).getChars(start, end, dest, destoff); in getChars()
152 ((StringBuilder) s).getChars(start, end, dest, destoff); in getChars()
154 ((GetChars) s).getChars(start, end, dest, destoff); in getChars()
187 getChars(s, start, segend, temp, 0); in indexOf()
245 getChars(s, segstart, end, temp, 0); in lastIndexOf()
314 getChars(one, toffset, toffset + len, temp, 0); in regionMatches()
315 getChars(two, ooffset, ooffset + len, temp, len); in regionMatches()
345 getChars(source, start, end, temp, 0); in substring()
[all …]
DSpannableStringBuilder.java68 TextUtils.getChars(text, start, end, mText, 0); in SpannableStringBuilder()
399 TextUtils.getChars(cs, csStart, csEnd, mText, start); in change()
1204 public void getChars(int start, int end, char[] dest, int destoff) { in getChars() method in SpannableStringBuilder
1227 getChars(0, len, buf, 0); in toString()
1239 getChars(start, end, buf, 0); in substring()
1430 getChars(start, end, buf, 0); in drawText()
1455 getChars(contextStart, contextEnd, buf, 0); in drawTextRun()
1477 getChars(start, end, buf, 0); in measureText()
1501 getChars(start, end, buf, 0); in getTextWidths()
1529 getChars(contextStart, contextEnd, buf, 0); in getTextRunAdvances()
[all …]
DLayout.java2150 final char[] chars = mt.getChars();
2466 getChars(off, off + 1, buf, 0); in charAt()
2473 public void getChars(int start, int end, char[] dest, int destoff) { in getChars() method in Layout.Ellipsizer
2477 TextUtils.getChars(mText, start, end, dest, destoff); in getChars()
2490 getChars(start, end, s, 0); in subSequence()
2497 getChars(0, length(), s, 0); in toString()
2535 getChars(start, end, s, 0); in subSequence()
DMeasuredParagraph.java170 public @NonNull char[] getChars() { in getChars() method in MeasuredParagraph
457 TextUtils.getChars(text, start, end, mCopiedBuffer, 0); in resetAndAnalyzeBidi()
DSpannableStringInternal.java177 public final void getChars(int start, int end, char[] dest, int off) { in getChars() method in SpannableStringInternal
178 mText.getChars(start, end, dest, off); in getChars()
DBoringLayout.java314 TextUtils.getChars(text, start, end, buffer, 0); in hasAnyInterestingChars()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java482 measuredPara.getChars(), in computeLineBreaks()
484 measuredPara.getChars().length, in computeLineBreaks()
DMeasuredText.java70 public @NonNull char[] getChars() { in getChars() method in MeasuredText
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java120 s.getChars(off, len - off, buf, 0); in write()
DLineBreakBufferedWriter.java251 s.getChars(off, off + len, buffer, bufferIndex); in appendToBuffer()
DFastPrintWriter.java325 str.getChars(i, i + length, mText, pos); in appendLocked()
DFastXmlSerializer.java115 str.getChars(i, i+length, mText, pos); in append()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2266 TextUtils.getChars(text, start, end, buf, 0); in measureText()
2350 TextUtils.getChars(text, start, end, buf, 0); in breakText()
2477 TextUtils.getChars(text, start, end, buf, 0); in getTextWidths()
2697 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunCursor()
2828 TextUtils.getChars(text, start, end, buf, 0); in getTextBounds()
2954 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getRunAdvance()
3028 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getOffsetForAdvance()
DBaseRecordingCanvas.java437 TextUtils.getChars(text, start, end, buf, 0); in drawText()
542 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
554 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun()
DBaseCanvas.java472 TextUtils.getChars(text, start, end, buf, 0); in drawText()
577 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
588 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java716 value.getChars(0, length, outStringValue, 0); in getDeviceProperty()
726 imageSize.getChars(0, imageSize.length(), outStringValue, 0); in getDeviceProperty()
768 obj.getName().getChars(0, nameLen, outName, 0); in getObjectInfo()
785 path.getChars(0, pathLen, outFilePath, 0); in getObjectFilePath()
/frameworks/base/core/java/android/database/
DAbstractCursor.java210 result.getChars(0, result.length(), data, 0); in copyStringToBuffer()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java227 txt.getChars(0, txt.length(), chars, 0); in getTextCharacters()

12