Home
last modified time | relevance | path

Searched refs:mText (Results 1 – 15 of 15) 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.java1013 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToRightCursorableOffset()
1021 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToLeftCursorableOffset()
DTextUtilsTest.java1122 private char mText[]; field in TextUtilsTest.MockCharSequence
1125 mText = text.toCharArray(); in MockCharSequence()
1129 if (arg0 >= 0 && arg0 < mText.length) { in charAt()
1130 return mText[arg0]; in charAt()
1136 return mText.length; in length()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxNeverallowRule.java45 public String mText; field in SELinuxNeverallowRule
52 mText = text; in SELinuxNeverallowRule()
68 return "Rule [text= " + mText in toString()
168 mText); in testNeverallowRule()
181 + "neverallow rule:\n" + mText + "\n" + errorString, in testNeverallowRule()
DSELinuxNeverallowRulesParserTest.java47 assertEquals("neverallow d1 d2:c1 p;", rules.get(0).mText); in testParsingWithoutConditions()
52 assertEquals("neverallow d2 d3:c2 p2;", rules.get(1).mText); in testParsingWithoutConditions()
79 assertEquals(rules.get(0).mText, "neverallow d1 { d2 d3 }:file { p1 p2 };"); in testParsingMultiLinesNeverallow()
/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.java552 private final String mText; field in VisualVoicemailServiceTest.SmsBroadcastReceiver
557 mText = text; in SmsBroadcastReceiver()
589 if (!TextUtils.equals(mText, messageBody.toString())) { in onReceive()
618 private final String mText; field in VisualVoicemailServiceTest.SentSmsObserver
625 mText = text; in SentSmsObserver()
652 .equals(cursor.getString(1), mText)) { in onChange()
DSmsManagerTest.java126 private String mText; field in SmsManagerTest
159 mText = "This is a test message"; in setUp()
305 String composedText = "testprefix1" + mText + token; in testSmsRetriever()
383 assertEquals(mReceivedText, mText); in sendDataSms()
721 byte[] data = mText.getBytes(); in sendDataMessageIfSupported()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java371 String mText = "This is test provision data."; in testProvisionSatelliteService() local
372 byte[] testProvisionData = mText.getBytes(); in testProvisionSatelliteService()
813 String mText = "This is a test datagram message from user"; in testSendKeepAliveDatagramInNotConnectedState() local
814 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSendKeepAliveDatagramInNotConnectedState()
903 String mText = "This is a test datagram message from user"; in sendDatagramWithoutResponse() local
904 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in sendDatagramWithoutResponse()
986 String mText = "This is a test datagram message from user"; in verifyNbIotStateTransitionsWithTransferringFailureOnIdle() local
987 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in verifyNbIotStateTransitionsWithTransferringFailureOnIdle()
1089 String mText = "This is a test datagram message from user"; in verifyNbIotStateTransitionsWithSendingAborted() local
1090 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in verifyNbIotStateTransitionsWithSendingAborted()
[all …]
DSatelliteManagerTest.java234 String mText = "This is test provision data."; in testProvisionSatelliteService() local
235 byte[] testProvisionData = mText.getBytes(); in testProvisionSatelliteService()
519 String mText = "This is a test datagram message"; in testSatelliteModemStateChanged() local
520 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSatelliteModemStateChanged()
616 String mText = "This is a test datagram message"; in testSendSatelliteDatagram() local
617 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSendSatelliteDatagram()
DSatelliteManagerTestBase.java809 String mText = "This is test provision data."; in provisionSatellite() local
810 byte[] testProvisionData = mText.getBytes(); in provisionSatellite()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java381 CharSequence mText; field in ClipboardManagerTest.ExpectedClipItem
386 mText = text; in ExpectedClipItem()
403 && expectedClipItems[0].mText != null) { in assertSetPrimaryClip()
444 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()