/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 | 973 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()
|
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 | 601 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()
|
D | SmsManagerTest.java | 118 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/ |
D | ClipboardManagerTest.java | 293 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/ |
D | PlatformInspectableProcessorTest.java | 395 private final String mText; field in PlatformInspectableProcessorTest.ObjectPropertiesTest 405 mText = stringBuilder.toString(); in ObjectPropertiesTest() 410 return mText; in getText()
|