Home
last modified time | relevance | path

Searched refs:mChars (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/text/
DMeasuredText.java35 char[] mChars; field in MeasuredText
99 if (mChars == null || mChars.length < len) { in setPara()
100 mChars = new char[ArrayUtils.idealCharArraySize(len)]; in setPara()
102 TextUtils.getChars(text, start, end, mChars, 0); in setPara()
113 mChars[j] = '\uFFFC'; in setPara()
121 TextUtils.doesNotNeedBidi(mChars, 0, len)) { in setPara()
138 boolean isRtl = textDir.isRtl(mChars, 0, len); in setPara()
141 mDir = AndroidBidi.bidi(bidiRequest, mChars, mLevels, len, false); in setPara()
157 return paint.getTextRunAdvances(mChars, p, len, p, len, flags, mWidths, p); in addStyleRun()
166 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, flags, mWidths, q); in addStyleRun()
DAlteredCharSequence.java45 mChars = sub; in AlteredCharSequence()
51 mChars = sub; in update()
91 return mChars[off - mStart]; in charAt()
102 mChars, mStart - start, mEnd - start); in subSequence()
112 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
125 private char[] mChars; field in AlteredCharSequence
DTextLine.java58 private char[] mChars; field in TextLine
147 if (mChars == null || mChars.length < mLen) { in set()
148 mChars = new char[ArrayUtils.idealCharArraySize(mLen)]; in set()
150 TextUtils.getChars(text, start, limit, mChars, 0); in set()
157 char[] chars = mChars; in set()
215 codept = mChars[j]; in draw()
217 codept = Character.codePointAt(mChars, j); in draw()
294 char[] chars = mChars; in measure()
664 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()
737 ret = wp.getTextRunAdvances(mChars, start, runLen, in handleText()
[all …]
DTextUtils.java1107 char[] buf = mt.mChars; in ellipsize()
1182 char[] buf = mt.mChars; in commaEllipsize()
DLayout.java1498 0, mt.mChars, 0, mt.mLen);
1501 char[] chars = mt.mChars;
DStaticLayout.java240 char[] chs = measured.mChars; in generate()
/frameworks/base/tools/aapt/
DXMLNode.cpp685 return mChars; in getCData()
797 mChars.append(chars); in appendChars()
838 const char16_t* p = node->mChars.string(); in removeWhitespace()
852 node->mChars = String16(" "); in removeWhitespace()
856 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace()
860 if (p > node->mChars.string()) { in removeWhitespace()
863 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
866 if (p > node->mChars.string() || in removeWhitespace()
867 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
869 node->mChars = tmp; in removeWhitespace()
[all …]
DXMLNode.h191 String16 mChars; variable
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java645 private char[] mChars; field in PointerLocationView.FasterStringBuilder
649 mChars = new char[64]; in FasterStringBuilder()
660 value.getChars(0, valueLength, mChars, index); in append()
680 final char[] chars = mChars; in append()
734 return new String(mChars, 0, mLength);
740 final char[] oldChars = mChars;
746 mChars = newChars;
/frameworks/base/core/java/android/widget/
DTextView.java3113 mCharWrapper.mChars = null; in setText()
3311 private char[] mChars; field in TextView.CharWrapper
3315 mChars = chars; in CharWrapper()
3321 mChars = chars; in set()
3331 return mChars[off + mStart]; in charAt()
3336 return new String(mChars, mStart, mLength); in toString()
3344 return new String(mChars, start + mStart, end - start); in subSequence()
3352 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars()
3357 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText()
3364 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
[all …]