Home
last modified time | relevance | path

Searched refs:mText (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutGetLineLeftRightTest.java62 final CharSequence mText; field in StaticLayoutGetLineLeftRightTest
104 mText = ss; in StaticLayoutGetLineLeftRightTest()
106 mText = TEST_STR; in StaticLayoutGetLineLeftRightTest()
113 mWidth = mLeadingMargin + (int) mPaint.measureText(mText, 0, mText.length()) / 10; in StaticLayoutGetLineLeftRightTest()
114 mLayout = StaticLayout.Builder.obtain(mText, 0, mText.length(), mPaint, mWidth) in StaticLayoutGetLineLeftRightTest()
149 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineLeft()
173 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineRight()
DStaticLayoutTest.java974 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToRightCursorableOffset()
982 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToLeftCursorableOffset()
DTextUtilsTest.java1088 private char mText[]; field in TextUtilsTest.MockCharSequence
1091 mText = text.toCharArray(); in MockCharSequence()
1095 if (arg0 >= 0 && arg0 < mText.length) { in charAt()
1096 return mText[arg0]; in charAt()
1102 return mText.length; in length()
/cts/tests/tests/text/src/android/text/method/cts/
DEditorState.java55 public Editable mText; field in EditorState
175 mText = Editable.Factory.getInstance().newEditable(spannable); in setByString()
182 Assert.assertEquals(expected.mText.toString(), mText.toString()); in assertEquals()
DForwardDeleteTest.java48 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete()
59 state.mText = mTextView.getText(); in forwardDelete()
DBackspaceTest.java48 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace()
59 state.mText = mTextView.getText(); in backspace()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DVisualVoicemailServiceTest.java605 private final String mText; field in VisualVoicemailServiceTest.SmsBroadcastReceiver
610 mText = text; in SmsBroadcastReceiver()
630 if (!TextUtils.equals(mText, messageBody.toString())) { in onReceive()
659 private final String mText; field in VisualVoicemailServiceTest.SentSmsObserver
666 mText = text; in SentSmsObserver()
693 .equals(cursor.getString(1), mText)) { in onChange()
DSmsManagerTest.java117 private String mText; field in SmsManagerTest
151 mText = "This is a test message"; in setUp()
281 String composedText = "testprefix1" + mText + token; in testSmsRetriever()
344 assertEquals(mReceivedText, mText); in sendDataSms()
666 byte[] data = mText.getBytes(); in sendDataMessageIfSupported()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java327 CharSequence mText; field in ClipboardManagerTest.ExpectedClipItem
332 mText = text; in ExpectedClipItem()
349 && expectedClipItems[0].mText != null) { in assertSetPrimaryClip()
390 assertEquals(expectedItem.mText, item.getText()); in assertClipItem()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java395 private final String mText; field in PlatformInspectableProcessorTest.ObjectPropertiesTest
405 mText = stringBuilder.toString(); in ObjectPropertiesTest()
410 return mText; in getText()