Searched refs:mString (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DTextLayoutTest.java29 protected String mString; field in class:TextLayoutTest
34 mString = "The quick brown fox";
40 Layout l = new StaticLayout(mString, mPaint, 200,
47 Layout l = new DynamicLayout(mString, mPaint, 200,
H A DTextUtilsTest.java398 private CharSequence mString; field in class:TextUtilsTest.Wrapper
401 mString = s;
405 return mString.length();
409 return mString.charAt(off);
414 return mString.toString();
418 return new Wrapper(mString.subSequence(start, end));
/frameworks/native/libs/utils/
H A DString8.cpp142 : mString(getEmptyString())
147 : mString(o.mString)
149 SharedBuffer::bufferFromData(mString)->acquire();
153 : mString(allocFromUTF8(o, strlen(o)))
155 if (mString == NULL) {
156 mString = getEmptyString();
161 : mString(allocFromUTF8(o, len))
163 if (mString == NULL) {
164 mString
[all...]
H A DString16.cpp95 : mString(getEmptyString())
100 : mString(o.mString)
102 SharedBuffer::bufferFromData(mString)->acquire();
106 : mString(getEmptyString())
119 mString = str;
123 mString = getEmptyString();
134 mString = str;
138 mString = getEmptyString();
142 : mString(allocFromUTF
[all...]
/frameworks/native/include/utils/
H A DString8.h220 const char* mString; member in class:android::String8
248 return mString;
253 return SharedBuffer::sizeFromData(mString)-1;
268 return SharedBuffer::sizeFromData(mString)-1;
273 return SharedBuffer::bufferFromData(mString);
316 return strcmp(mString, other.mString);
321 return strcmp(mString, other.mString) < 0;
326 return strcmp(mString, othe
[all...]
H A DString16.h113 const char16_t* mString; member in class:android::String16
137 return mString;
142 return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1;
147 return SharedBuffer::bufferFromData(mString);
171 return strzcmp16(mString, size(), other.mString, other.size());
176 return strzcmp16(mString, size(), other.mString, other.size()) < 0;
181 return strzcmp16(mString, size(), other.mString, othe
[all...]
/frameworks/base/core/java/android/text/method/
H A DWordIterator.java38 private String mString; field in class:WordIterator
63 mString = ((SpannableStringBuilder) charSequence).substring(mOffsetShift, windowEnd);
65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString();
67 mIterator.setText(mString);
159 if (shiftedOffset >= 1 && shiftedOffset <= mString.length()) {
160 final int codePoint = mString.codePointBefore(shiftedOffset);
167 if (shiftedOffset >= 0 && shiftedOffset < mString.length()) {
168 final int codePoint = mString.codePointAt(shiftedOffset);
175 if (shiftedOffset < 0 || shiftedOffset > mString.length()) {
177 ". Valid range is [" + mOffsetShift + ", " + (mString
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringSource.java35 private String mString; field in class:StringSource
52 output.setObjectValue(mString);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPerformanceTest.java33 private String mString = "The quick brown fox"; field in class:TextViewPerformanceTest
49 mLabelView.setText(mString);
59 mTextView.setText(mString);
80 CharSequence charSeq = new SpannedString(mString);
97 mCanvas.drawText(mString, 30, 30, mPaint);
/frameworks/base/core/java/android/text/
H A DTextUtils.java377 private String mString; field in class:TextUtils.SimpleStringSplitter
395 mString = string;
397 mLength = mString.length();
409 int end = mString.indexOf(mDelimiter, mPosition);
413 String nextString = mString.substring(mPosition, end);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp48 jfieldID mString; member in struct:android::typedvalue_offsets_t
93 env->SetObjectField(outValue, gTypedValueOffsets.mString, NULL);
1731 gTypedValueOffsets.mString
1733 LOG_FATAL_IF(gTypedValueOffsets.mString == NULL, "Unable to find TypedValue.string");
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java7987 String mString; field in class:WebViewClassic.InvokeListBox.Container
7993 return mString;
8103 mContainers[i].mString = array[i];
8117 mContainers[i].mString = array[i];

Completed in 285 milliseconds