/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutGetLineLeftRightTest.java | 62 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()
|
D | StaticLayoutTest.java | 974 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()
|
D | TextUtilsTest.java | 1088 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/ |
D | EditorState.java | 55 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()
|
D | ForwardDeleteTest.java | 48 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete() 59 state.mText = mTextView.getText(); in forwardDelete()
|
D | BackspaceTest.java | 48 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace() 59 state.mText = mTextView.getText(); in backspace()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 605 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()
|
D | SmsManagerTest.java | 117 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/ |
D | ClipboardManagerTest.java | 327 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/ |
D | PlatformInspectableProcessorTest.java | 395 private final String mText; field in PlatformInspectableProcessorTest.ObjectPropertiesTest 405 mText = stringBuilder.toString(); in ObjectPropertiesTest() 410 return mText; in getText()
|