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.java973 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToRightCursorableOffset()
981 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.java601 private final String mText; field in VisualVoicemailServiceTest.SmsBroadcastReceiver
606 mText = text; in SmsBroadcastReceiver()
626 if (!TextUtils.equals(mText, messageBody.toString())) { in onReceive()
655 private final String mText; field in VisualVoicemailServiceTest.SentSmsObserver
662 mText = text; in SentSmsObserver()
689 .equals(cursor.getString(1), mText)) { in onChange()
DSmsManagerTest.java118 private String mText; field in SmsManagerTest
148 mText = "This is a test message"; in setUp()
235 String composedText = "testprefix1" + mText + token; in testSmsRetriever()
285 assertEquals(mReceivedText, mText); in testSendAndReceiveMessages()
643 byte[] data = mText.getBytes(); in sendDataMessageIfSupported()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java293 CharSequence mText; field in ClipboardManagerTest.ExpectedClipItem
298 mText = text; in ExpectedClipItem()
315 && expectedClipItems[0].mText != null) { in assertSetPrimaryClip()
356 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()