Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java34 char[] mChars; field in MeasuredText
88 mChars = null; in finish()
113 if (mChars == null || mChars.length < len) { in setPara()
114 mChars = ArrayUtils.newUnpaddedCharArray(len); in setPara()
116 TextUtils.getChars(text, start, end, mChars, 0); in setPara()
130 mChars[j] = '\uFFFC'; // object replacement character in setPara()
138 TextUtils.doesNotNeedBidi(mChars, 0, len)) { in setPara()
155 boolean isRtl = textDir.isRtl(mChars, 0, len); in setPara()
158 mDir = AndroidBidi.bidi(bidiRequest, mChars, mLevels, len, false); in setPara()
181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p); in addStyleRun()
[all …]
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.java56 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()
221 codept = mChars[j]; in draw()
223 codept = Character.codePointAt(mChars, j); in draw()
284 char[] chars = mChars; in measure()
643 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()
[all …]
DTextUtils.java1151 char[] buf = mt.mChars; in ellipsize()
1226 char[] buf = mt.mChars; in commaEllipsize()
DLayout.java1695 0, mt.mChars, 0, mt.mLen);
1698 char[] chars = mt.mChars;
DStaticLayout.java656 char[] chs = measured.mChars;
/frameworks/base/tools/aapt/
DXMLNode.cpp753 return mChars; in getCData()
896 mChars.append(chars); in appendChars()
937 const char16_t* p = node->mChars.string(); in removeWhitespace()
951 node->mChars = String16(" "); in removeWhitespace()
955 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace()
959 if (p > node->mChars.string()) { in removeWhitespace()
962 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
965 if (p > node->mChars.string() || in removeWhitespace()
966 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
968 node->mChars = tmp; in removeWhitespace()
[all …]
DXMLNode.h202 String16 mChars; variable
/frameworks/minikin/libs/minikin/
DLayout.cpp114 : mChars(chars), mNchars(nchars), in LayoutCacheKey()
129 memcpy(charsCopy, mChars, mNchars * sizeof(uint16_t)); in copyText()
130 mChars = charsCopy; in copyText()
133 delete[] mChars; in freeText()
134 mChars = NULL; in freeText()
141 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx); in doLayout()
145 const uint16_t* mChars; member in android::LayoutCacheKey
238 && !memcmp(mChars, other.mChars, mNchars * sizeof(uint16_t)); in operator ==()
253 hash = JenkinsHashMixShorts(hash, mChars, mNchars); in computeHash()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java772 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/av/camera/ndk/impl/
DACameraDevice.h148 const std::unique_ptr<ACameraMetadata> mChars; // Camera characteristics variable
DACameraDevice.cpp57 mChars(std::move(chars)), in CameraDevice()
79 const CameraMetadata& metadata = mChars->getInternalData(); in CameraDevice()
/frameworks/base/core/java/android/widget/
DTextView.java4336 mCharWrapper.mChars = null; in setText()
10111 private char[] mChars; field in TextView.CharWrapper
10115 mChars = chars; in CharWrapper()
10121 mChars = chars; in set()
10131 return mChars[off + mStart]; in charAt()
10136 return new String(mChars, mStart, mLength); in toString()
10144 return new String(mChars, start + mStart, end - start); in subSequence()
10152 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars()
10157 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText()
10164 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
[all …]