/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 = ArrayUtils.newUnpaddedCharArray(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() 163 return paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, mWidths, p); in addStyleRun() 172 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, isRtl, 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 105 tl.mChars = null; in recycle() 158 if (mChars == null || mChars.length < mLen) { in set() 159 mChars = ArrayUtils.newUnpaddedCharArray(mLen); in set() 161 TextUtils.getChars(text, start, limit, mChars, 0); in set() 168 char[] chars = mChars; in set() 224 codept = mChars[j]; in draw() 226 codept = Character.codePointAt(mChars, j); in draw() 303 char[] chars = mChars; in measure() 673 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter() [all …]
|
D | TextUtils.java | 1151 char[] buf = mt.mChars; in ellipsize() 1226 char[] buf = mt.mChars; in commaEllipsize()
|
D | Layout.java | 1575 0, mt.mChars, 0, mt.mLen); 1578 char[] chars = mt.mChars;
|
D | StaticLayout.java | 239 char[] chs = measured.mChars; in generate()
|
/frameworks/base/core/jni/ |
D | android_text_StaticLayout.cpp | 34 jint length) : mBreakIterator(breakIterator), mChars(env, inputText) { in ScopedBreakIterator() 36 mUText = utext_openUChars(NULL, mChars.get(), length, &status); in ScopedBreakIterator() 54 ScopedCharArrayRO mChars; member in android::ScopedBreakIterator
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 727 return mChars; in getCData() 868 mChars.append(chars); in appendChars() 909 const char16_t* p = node->mChars.string(); in removeWhitespace() 923 node->mChars = String16(" "); in removeWhitespace() 927 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace() 931 if (p > node->mChars.string()) { in removeWhitespace() 934 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 937 if (p > node->mChars.string() || in removeWhitespace() 938 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 940 node->mChars = tmp; in removeWhitespace() [all …]
|
D | XMLNode.h | 198 String16 mChars; variable
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 82 mChars(chars), mNchars(nchars) { in LayoutCacheKey() 89 memcpy(charsCopy, mChars, mNchars * sizeof(uint16_t)); in copyText() 90 mChars = charsCopy; in copyText() 93 delete[] mChars; in freeText() 94 mChars = NULL; in freeText() 101 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx); in doLayout() 105 const uint16_t* mChars; member in android::LayoutCacheKey 199 && !memcmp(mChars, other.mChars, mNchars * sizeof(uint16_t)); in operator ==() 213 hash = JenkinsHashMixShorts(hash, mChars, mNchars); in hash()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 772 private char[] mChars; field in PointerLocationView.FasterStringBuilder 776 mChars = new char[64]; in FasterStringBuilder() 787 value.getChars(0, valueLength, mChars, index); in append() 807 final char[] chars = mChars; in append() 861 return new String(mChars, 0, mLength); 867 final char[] oldChars = mChars; 873 mChars = newChars;
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 3918 mCharWrapper.mChars = null; in setText() 9215 private char[] mChars; field in TextView.CharWrapper 9219 mChars = chars; in CharWrapper() 9225 mChars = chars; in set() 9235 return mChars[off + mStart]; in charAt() 9240 return new String(mChars, mStart, mLength); in toString() 9248 return new String(mChars, start + mStart, end - start); in subSequence() 9256 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars() 9261 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText() 9268 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun() [all …]
|