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.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.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.java817 private char[] mChars; field in PointerLocationView.FasterStringBuilder
821 mChars = new char[64]; in FasterStringBuilder()
832 value.getChars(0, valueLength, mChars, index); in append()
852 final char[] chars = mChars; in append()
910 return new String(mChars, 0, mLength);
916 final char[] oldChars = mChars;
922 mChars = newChars;
/frameworks/av/camera/ndk/impl/
DACameraDevice.h183 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.h210 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.java6100 mCharWrapper.mChars = null; in setText()
13129 private char[] mChars; field in TextView.Drawables.CharWrapper
13133 mChars = chars; in CharWrapper()
13139 mChars = chars; in set()
13149 return mChars[off + mStart]; in charAt()
13154 return new String(mChars, mStart, mLength); in toString()
13162 return new String(mChars, start + mStart, end - start); in subSequence()
13170 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars()
13176 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText()
13184 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt74795 Landroid/text/AlteredCharSequence;->mChars:[C
76023 Landroid/text/TextLine;->mChars:[C
90854 Landroid/widget/TextView$CharWrapper;->mChars:[C