/frameworks/base/core/java/android/text/ |
D | MeasuredText.java | 35 char[] mChars; field in MeasuredText 103 if (mChars == null || mChars.length < len) { in setPara() 104 mChars = new char[ArrayUtils.idealCharArraySize(len)]; in setPara() 106 TextUtils.getChars(text, start, end, mChars, 0); in setPara() 120 mChars[j] = '\uFFFC'; // object replacement character in setPara() 128 TextUtils.doesNotNeedBidi(mChars, 0, len)) { in setPara() 145 boolean isRtl = textDir.isRtl(mChars, 0, len); in setPara() 148 mDir = AndroidBidi.bidi(bidiRequest, mChars, mLevels, len, false); in setPara() 164 return paint.getTextRunAdvances(mChars, p, len, p, len, flags, mWidths, p); in addStyleRun() 173 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, flags, mWidths, q); in addStyleRun() [all …]
|
D | AlteredCharSequence.java | 45 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
|
D | TextLine.java | 56 private char[] mChars; field in TextLine 155 if (mChars == null || mChars.length < mLen) { in set() 156 mChars = new char[ArrayUtils.idealCharArraySize(mLen)]; in set() 158 TextUtils.getChars(text, start, limit, mChars, 0); in set() 165 char[] chars = mChars; in set() 221 codept = mChars[j]; in draw() 223 codept = Character.codePointAt(mChars, j); in draw() 300 char[] chars = mChars; in measure() 670 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter() 743 ret = wp.getTextRunAdvances(mChars, start, runLen, in handleText() [all …]
|
D | TextUtils.java | 1107 char[] buf = mt.mChars; in ellipsize() 1182 char[] buf = mt.mChars; in commaEllipsize()
|
D | Layout.java | 1529 0, mt.mChars, 0, mt.mLen); 1532 char[] chars = mt.mChars;
|
D | StaticLayout.java | 240 char[] chs = measured.mChars; in generate()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 692 return mChars; in getCData() 807 mChars.append(chars); in appendChars() 848 const char16_t* p = node->mChars.string(); in removeWhitespace() 862 node->mChars = String16(" "); in removeWhitespace() 866 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace() 870 if (p > node->mChars.string()) { in removeWhitespace() 873 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 876 if (p > node->mChars.string() || in removeWhitespace() 877 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 879 node->mChars = tmp; in removeWhitespace() [all …]
|
D | XMLNode.h | 191 String16 mChars; variable
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 729 private char[] mChars; field in PointerLocationView.FasterStringBuilder 733 mChars = new char[64]; in FasterStringBuilder() 744 value.getChars(0, valueLength, mChars, index); in append() 764 final char[] chars = mChars; in append() 818 return new String(mChars, 0, mLength); 824 final char[] oldChars = mChars; 830 mChars = newChars;
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 3408 mCharWrapper.mChars = null; in setText() 8482 private char[] mChars; field in TextView.CharWrapper 8486 mChars = chars; in CharWrapper() 8492 mChars = chars; in set() 8502 return mChars[off + mStart]; in charAt() 8507 return new String(mChars, mStart, mLength); in toString() 8515 return new String(mChars, start + mStart, end - start); in subSequence() 8523 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars() 8528 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText() 8535 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun() [all …]
|