Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DCharacterPerfTest.java53 private char[] mChars; field in CharacterPerfTest
56 this.mChars = characterSet.mChars; in setUp()
71 final char[] mChars; field in CharacterPerfTest.CharacterSet
74 this.mChars = new char[65536]; in CharacterSet()
76 mChars[i] = (char) (i % size); in CharacterSet()
111 Character.digit(mChars[ch], 10); in timeDigit()
117 Character.digit((int) mChars[ch], 10); in timeDigit()
131 Character.getNumericValue(mChars[ch]); in timeGetNumericValue()
137 Character.getNumericValue((int) mChars[ch]); in timeGetNumericValue()
151 Character.isDigit(mChars[ch]); in timeIsDigit()
[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.java70 private char[] mChars; field in TextLine
180 tl.mChars = null; in recycle()
253 if (mChars == null || mChars.length < mLen) { in set()
254 mChars = ArrayUtils.newUnpaddedCharArray(mLen); in set()
256 TextUtils.getChars(text, start, limit, mChars, 0); in set()
263 char[] chars = mChars; in set()
286 return mCharsValid ? mChars[i] : mText.charAt(i + mStart); in charAt()
1171 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()
1207 wp.getFontMetricsInt(mChars, start, count, contextStart, contextCount, runIsRtl, in expandMetricsFromPaint()
1263 float r = wp.getRunCharacterAdvance(mChars, start, end, contextStart, contextEnd, in getRunAdvance()
[all …]
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java66 @NonNull private final char[] mChars; field in MeasuredText
74 mChars = chars; in MeasuredText()
87 return mChars; in getChars()
91 if (start < 0 || start > end || end > mChars.length) { in rangeCheck()
99 "start(%d) end(%d) length(%d) out of bounds", start, end, mChars.length)); in throwRangeError()
103 if (offset < 0 || offset >= mChars.length) { in offsetCheck()
111 "offset (%d) length(%d) out of bounds", offset, mChars.length)); in throwOffsetError()
146 nGetBounds(mNativePtr, mChars, start, end, rect); in getBounds()
161 long packed = nGetExtent(mNativePtr, mChars, start, end); in getFontMetricsInt()
264 mText = text.mChars; in Builder()
/frameworks/minikin/include/minikin/
DLayoutCache.h40 : mChars(text.data()), in LayoutCacheKey()
68 !memcmp(mChars, o.mChars, mNchars * sizeof(uint16_t));
75 memcpy(charsCopy, mChars, mNchars * sizeof(uint16_t)); in copyText()
76 mChars = charsCopy; in copyText()
79 delete[] mChars; in freeText()
80 mChars = NULL; in freeText()
87 const uint16_t* mChars;
125 .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()
76 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.c_str(); in removeWhitespace()
948 node->mChars = String16(" "); in removeWhitespace()
952 const char16_t* e = node->mChars.c_str()+node->mChars.size()-1; in removeWhitespace()
956 if (p > node->mChars.c_str()) { in removeWhitespace()
959 if (e < (node->mChars.c_str()+node->mChars.size()-1)) { in removeWhitespace()
962 if (p > node->mChars.c_str() || in removeWhitespace()
963 e < (node->mChars.c_str()+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.java863 private char[] mChars; field in PointerLocationView.FasterStringBuilder
867 mChars = new char[64]; in FasterStringBuilder()
878 value.getChars(0, valueLength, mChars, index); in append()
898 final char[] chars = mChars; in append()
956 return new String(mChars, 0, mLength);
962 final char[] oldChars = mChars;
968 mChars = newChars;
/frameworks/av/camera/ndk/impl/
DACameraDevice.h186 const sp<ACameraMetadata> mChars; // Camera characteristics variable
DACameraDevice.cpp63 mChars(chars), in CameraDevice()
86 const CameraMetadata& metadata = mChars->getInternalData(); in CameraDevice()
107 if (mChars->isLogicalMultiCamera(&physicalIdCnt, &physicalCameraIds)) { in CameraDevice()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h232 const sp<ACameraMetadata> mChars; // Camera characteristics variable
DACameraDevice.cpp91 mChars(std::move(chars)), in CameraDevice()
113 const CameraMetadata& metadata = mChars->getInternalData(); in CameraDevice()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55127 Landroid/text/AlteredCharSequence;->mChars:[C
56279 Landroid/text/TextLine;->mChars:[C
69654 Landroid/widget/TextView$CharWrapper;->mChars:[C