/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextSelectionTest.java | 52 private static final int START = 5; field in TextSelectionTest 64 final TextSelection.Builder originalBuilder = new TextSelection.Builder(START, END) in testTextSelection() 76 assertThat(selection.getSelectionStartIndex()).isEqualTo(START); in testTextSelection() 117 TextSelection original = new TextSelection.Builder(START, END).build(); in testTextSelection_defaultValues() 136 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection_prunedConfidenceScore() 155 new TextSelection.Builder(START, 0 /* end */) in testTextSelection_invalidEndParams() 161 final TextSelection selection = new TextSelection.Builder(START, END).build(); in testTextSelection_entityIndexOutOfBounds() 169 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest() 181 assertThat(request.getStartIndex()).isEqualTo(START); in testTextSelectionRequest() 193 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest_nullValues() [all …]
|
D | TextLinksTest.java | 60 private static final int START = 5; field in TextLinksTest 79 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_ADDRESS, 1.0f)) in testTextLinks_full() 80 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_PHONE, 1.0f), in testTextLinks_full() 106 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_ADDRESS, 1.0f)) in testTextLinks_clearTextLinks() 116 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_ADDRESS, 1.0f)) in testTextLinks_apply() 134 assertEquals(START, textLink.getStart()); in testTextLinks_apply() 155 spannableString.setSpan(urlSpan, START, END, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testTextLinks_applyStrategyReplace() 157 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_ADDRESS, 1.0f)) in testTextLinks_applyStrategyReplace() 177 spannableString.setSpan(urlSpan, START, END, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testTextLinks_applyStrategyIgnore() 179 .addLink(START, END, Collections.singletonMap(TextClassifier.TYPE_ADDRESS, 1.0f)) in testTextLinks_applyStrategyIgnore() [all …]
|
D | TextClassificationTest.java | 61 private static final int START = 5; field in TextClassificationTest 184 new TextClassification.Request.Builder(TEXT, START, END) in testTextClassificationRequest() 198 new TextClassification.Request.Builder(TEXT, START, END) in testTextClassificationRequest_nullValues() 209 new TextClassification.Request.Builder(TEXT, START, END).build(); in testTextClassificationRequest_defaultValues()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Matrix_ScaleToFitTest.java | 36 assertEquals(ScaleToFit.START,scaleToFits[1]); in testValues() 44 assertEquals(ScaleToFit.START,ScaleToFit.valueOf("START")); in testValueOf() 52 assertEquals(ScaleToFit.START, ScaleToFit.valueOf(ScaleToFit.class, "START")); in testValueOf2()
|
D | MatrixTest.java | 506 mMatrix.setRectToRect(r1, r2, ScaleToFit.START); in testSetRectToRect() 514 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.START)); in testSetRectToRect()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 570 final int START = 0; in unescapeFieldStringValue() local 576 int state = START; in unescapeFieldStringValue() 581 case START: in unescapeFieldStringValue() 592 state = START; in unescapeFieldStringValue() 596 state = START; in unescapeFieldStringValue() 600 state = START; in unescapeFieldStringValue() 604 state = START; in unescapeFieldStringValue() 608 state = START; in unescapeFieldStringValue() 612 state = START; in unescapeFieldStringValue() 616 state = START; in unescapeFieldStringValue() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 98 final int START = 0xffFF8080; in testArgbEvaluator() local 100 int aSTART = Color.alpha(START); in testArgbEvaluator() 101 int rSTART = Color.red(START); in testArgbEvaluator() 102 int gSTART = Color.green(START); in testArgbEvaluator() 103 int bSTART = Color.blue(START); in testArgbEvaluator() 111 int result = (Integer) evaluator.evaluate(0, START, END); in testArgbEvaluator() 121 result = (Integer) evaluator.evaluate(.5f, START, END); in testArgbEvaluator() 139 result = (Integer) evaluator.evaluate(1, START, END); in testArgbEvaluator()
|
/cts/tools/cts-api-coverage/proto/ |
D | testsuite.proto | 15 // [START declaration] 20 // [START java_declaration] 25 // [START messages]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioMicrophoneMuteToggleActivity.java | 43 START, RECORDING, DONE, PLAYER enumConstant 48 private Status mStatus = Status.START; 95 case START: in onCreate()
|
D | HifiUltrasoundTestActivity.java | 50 START, RECORDING, DONE, PLAYER enumConstant 55 private Status status = Status.START; 148 case START: in onCreate()
|
D | HifiUltrasoundSpeakerTestActivity.java | 53 START, RECORDING, DONE, PLAYER enumConstant 58 private Status status = Status.START; 168 case START: in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 127 Gravity.apply(Gravity.START, 2, 10, mInRect, mOutRect); in testApply() 132 Gravity.apply(Gravity.START, 2, 10, mInRect, 5, 5, mOutRect); in testApply() 137 applyGravity(Gravity.START, 2, 10, false /* LTR direction */); in testApply() 142 applyGravity(Gravity.START, 2, 10, true /* RTL direction */); in testApply() 347 verifyOneGravity(Gravity.LEFT, Gravity.START, false); in testGetAbsoluteGravity() 348 verifyOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | VehicleIgnitionStateTest.java | 39 assertThat(VehicleIgnitionState.toString(VehicleIgnitionState.START)).isEqualTo("START"); in testToString()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SlideEdgeTest.java | 47 { Gravity.START, "START" }, 207 case Gravity.START: in verifyMovement() 235 moveGreater = in == (slideEdge == Gravity.START || slideEdge == Gravity.LEFT); in verifyMovement()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 97 TextUtils.TruncateAt.START, in testConstructors() 121 TextUtils.TruncateAt.START, in testEllipsis_singlelineNotEllipsized() 143 TextUtils.TruncateAt.START, in testEllipsis_multilineNotEllipsized() 171 TextUtils.TruncateAt.START, in testEllipsis_transformedNotEllipsized() 398 createBuilderWithDefaults(text).setEllipsize(TextUtils.TruncateAt.START).build(); in testEllipsis_notAffectedByPreviousEllipsization()
|
D | BoringLayoutTest.java | 109 TextUtils.TruncateAt.START, in testConstructors() 182 TextUtils.TruncateAt.START, in testReplaceOrMake() 330 TextUtils.TruncateAt.START, in testMake()
|
D | TextUtilsTest.java | 108 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); in getEllipsis() 539 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize() 562 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize() 590 final TextUtils.TruncateAt[] kinds = {TextUtils.TruncateAt.START, in testEllipsize_emoji() 626 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, false, in testEllipsizeCallback() 635 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, true, in testEllipsizeCallback()
|
/cts/tools/release-parser/proto/ |
D | release.proto | 15 // [START declaration] 20 // [START java_declaration] 25 // [START messages]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/ |
D | PerfettoTests.java | 325 1, AppBreadcrumbReported.State.START.ordinal())); in startPerfettoTrace() 365 .START in getStatsdConfig()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | AtomTestUtils.java | 59 AppBreadcrumbReported.State.START.ordinal(), /*label=*/ 1); in sendAppBreadcrumbReportedAtom()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SpinnerTest.java | 367 mActivityRule.runOnUiThread(() -> spinner.setGravity(Gravity.START)); in verifyGravity() 368 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()
|
D | RelativeLayoutTest.java | 156 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity() 175 assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()
|
D | EditTextTest.java | 315 mEditText1.setEllipsize(TextUtils.TruncateAt.START); in testSetEllipsize() 316 assertSame(TextUtils.TruncateAt.START, mEditText1.getEllipsize()); in testSetEllipsize()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 45 private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START;
|
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/ |
D | MediaParserTest.java | 483 mediaParser.seek(MediaParser.SeekPoint.START); in testTsBigBuckBunny()
|