Home
last modified time | relevance | path

Searched refs:mOriginal (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/text/method/
DReplacementTransformationMethod.java110 private char[] mOriginal, mReplacement; field in ReplacementTransformationMethod.ReplacementCharSequence
115 mOriginal = original; in ReplacementCharSequence()
126 int n = mOriginal.length; in charAt()
128 if (c == mOriginal[j]) { in charAt()
153 int n = mOriginal.length; in getChars()
159 if (c == mOriginal[j]) { in getChars()
DInsertModeTransformationMethod.java197 private final CharSequence mOriginal; field in InsertModeTransformationMethod.TransformedText
203 mOriginal = original; in TransformedText()
220 Preconditions.checkArgumentInRange(offset, 0, mOriginal.length(), "offset"); in originalToTransformed()
259 return mOriginal.length() + mPlaceholder.length(); in length()
266 return mOriginal.charAt(index); in charAt()
271 return mOriginal.charAt(index - mPlaceholder.length()); in charAt()
295 mOriginal.subSequence(seg1Start, seg1End), in subSequence()
297 mOriginal.subSequence(seg3Start, seg3End)); in subSequence()
302 return String.valueOf(mOriginal.subSequence(0, mEnd)) in toString()
304 + mOriginal.subSequence(mEnd, mOriginal.length()); in toString()
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutOffsetMappingTest.java260 private final CharSequence mOriginal; field in DynamicLayoutOffsetMappingTest.TestOffsetMapping
264 mOriginal = original; in TestOffsetMapping()
265 if (mOriginal instanceof Spannable) { in TestOffsetMapping()
266 ((Spannable) mOriginal).setSpan(INSERT_POINT, insertOffset, insertOffset, in TestOffsetMapping()
274 if (mOriginal instanceof Spannable) { in getInsertOffset()
275 return ((Spannable) mOriginal).getSpanStart(INSERT_POINT); in getInsertOffset()
319 return mOriginal.length() + mInsertText.length(); in length()
326 return mOriginal.charAt(index); in charAt()
331 return mOriginal.charAt(index - mInsertText.length()); in charAt()
/frameworks/base/core/java/android/text/
DFontConfig.java475 private final @NonNull String mOriginal; field in FontConfig.Alias
489 mOriginal = original; in Alias()
504 return mOriginal; in getOriginal()
524 dest.writeString8(mOriginal); in writeToParcel()
551 && Objects.equals(mOriginal, alias.mOriginal); in equals()
556 return Objects.hash(mName, mOriginal, mWeight); in hashCode()
563 + ", mOriginal='" + mOriginal + '\'' in toString()
DTextUtils.java2577 private final String mOriginal; field in TextUtils.StringWithRemovedChars
2586 mOriginal = original; in StringWithRemovedChars()
2595 mRemovedChars = new BitSet(mOriginal.length()); in removeRange()
2606 mRemovedChars = new BitSet(mOriginal.length()); in removeAllCharBefore()
2617 mRemovedChars = new BitSet(mOriginal.length()); in removeAllCharAfter()
2620 mRemovedChars.set(firstRemoved, mOriginal.length()); in removeAllCharAfter()
2627 return mOriginal; in toString()
2630 StringBuilder sb = new StringBuilder(mOriginal.length()); in toString()
2631 for (int i = 0; i < mOriginal.length(); i++) { in toString()
2633 sb.append(mOriginal.charAt(i)); in toString()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java827 private final ShortcutListAsserter mOriginal; field in ShortcutListAsserter
835 mOriginal = (original == null) ? this : original; in ShortcutListAsserter()
840 return mOriginal; in revertToOriginalList()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java1341 private final TextClassifier mOriginal; field in TextViewActivityTest.SingleActionTextClassifier
1351 mOriginal = Objects.requireNonNull(original); in SingleActionTextClassifier()
1360 final TextSelection sel = mOriginal.suggestSelection(request); in suggestSelection()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12358 Landroid/content/pm/PackageItemInfo$StringWithRemovedChars;->mOriginal:Ljava/lang/String;
55792 Landroid/text/method/ReplacementTransformationMethod$ReplacementCharSequence;->mOriginal:[C