Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java55 private @NonNull char[] mChars; field in MeasuredText
61 mChars = chars; in MeasuredText()
71 return mChars; in getChars()
82 Preconditions.checkArgument(0 <= start && start <= mChars.length, in getWidth()
83 "start(" + start + ") must be 0 <= start <= " + mChars.length); in getWidth()
84 Preconditions.checkArgument(0 <= end && end <= mChars.length, in getWidth()
85 "end(" + end + ") must be 0 <= end <= " + mChars.length); in getWidth()
109 Preconditions.checkArgument(0 <= start && start <= mChars.length, in getBounds()
110 "start(" + start + ") must be 0 <= start <= " + mChars.length); in getBounds()
111 Preconditions.checkArgument(0 <= end && end <= mChars.length, in getBounds()
[all …]
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java47 mChars = sub; in AlteredCharSequence()
53 mChars = sub; in update()
93 return mChars[off - mStart]; in charAt()
104 mChars, mStart - start, mEnd - start); in subSequence()
114 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
127 private char[] mChars; field in AlteredCharSequence
DTextLine.java66 private char[] mChars; field in TextLine
140 tl.mChars = null; in recycle()
209 if (mChars == null || mChars.length < mLen) { in set()
210 mChars = ArrayUtils.newUnpaddedCharArray(mLen); in set()
212 TextUtils.getChars(text, start, limit, mChars, 0); in set()
219 char[] chars = mChars; in set()
242 return mCharsValid ? mChars[i] : mText.charAt(i + mStart); in charAt()
768 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart,
823 return wp.getRunAdvance(mChars, start, end, contextStart, contextEnd, runIsRtl, offset);
1253 c.drawTextRun(mChars, start, count, contextStart, contextCount,
[all …]
/frameworks/minikin/include/minikin/
DLayoutCache.h41 : mChars(text.data()), in LayoutCacheKey()
67 !memcmp(mChars, o.mChars, mNchars * sizeof(uint16_t));
74 memcpy(charsCopy, mChars, mNchars * sizeof(uint16_t)); in copyText()
75 mChars = charsCopy; in copyText()
78 delete[] mChars; in freeText()
79 mChars = NULL; in freeText()
85 const uint16_t* mChars;
122 .updateShorts(mChars, mNchars) in computeHash()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java52 private final int mChars; field in EditTextLongTextPerfTest
57 mChars = chars; in EditTextLongTextPerfTest()
75 for (int j = 0; j < mChars; j++) { in setupEditText()
/frameworks/base/tools/aapt/
DXMLNode.cpp750 return mChars; in getCData()
893 mChars.append(chars); in appendChars()
934 const char16_t* p = node->mChars.string(); in removeWhitespace()
948 node->mChars = String16(" "); in removeWhitespace()
952 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace()
956 if (p > node->mChars.string()) { in removeWhitespace()
959 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
962 if (p > node->mChars.string() || in removeWhitespace()
963 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
965 node->mChars = tmp; in removeWhitespace()
[all …]
DXMLNode.h202 String16 mChars; variable
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java847 private char[] mChars; field in PointerLocationView.FasterStringBuilder
851 mChars = new char[64]; in FasterStringBuilder()
862 value.getChars(0, valueLength, mChars, index); in append()
882 final char[] chars = mChars; in append()
940 return new String(mChars, 0, mLength);
946 final char[] oldChars = mChars;
952 mChars = newChars;
/frameworks/av/camera/ndk/impl/
DACameraDevice.h184 const sp<ACameraMetadata> mChars; // Camera characteristics variable
DACameraDevice.cpp64 mChars(chars), in CameraDevice()
87 const CameraMetadata& metadata = mChars->getInternalData(); in CameraDevice()
108 if (mChars->isLogicalMultiCamera(&physicalIdCnt, &physicalCameraIds)) { in CameraDevice()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h212 const sp<ACameraMetadata> mChars; // Camera characteristics variable
DACameraDevice.cpp85 mChars(std::move(chars)), in CameraDevice()
108 const CameraMetadata& metadata = mChars->getInternalData(); in CameraDevice()
/frameworks/base/core/java/android/widget/
DTextView.java6105 mCharWrapper.mChars = null; in setText()
13158 private char[] mChars; field in TextView.Drawables.CharWrapper
13162 mChars = chars; in CharWrapper()
13168 mChars = chars; in set()
13178 return mChars[off + mStart]; in charAt()
13183 return new String(mChars, mStart, mLength); in toString()
13191 return new String(mChars, start + mStart, end - start); in subSequence()
13199 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars()
13205 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText()
13213 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt69793 Landroid/text/AlteredCharSequence;->mChars:[C
70945 Landroid/text/TextLine;->mChars:[C
84726 Landroid/widget/TextView$CharWrapper;->mChars:[C