Home
last modified time | relevance | path

Searched refs:START (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierValueObjectsTest.java54 private static final int START = 5; field in TextClassifierValueObjectsTest
64 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection()
70 assertEquals(START, selection.getSelectionStartIndex()); in testTextSelection()
107 TextSelection selection = new TextSelection.Builder(START, END).build(); in testTextSelection_defaultValues()
119 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection_prunedConfidenceScore()
138 new TextSelection.Builder(START, 0 /* end */) in testTextSelection_invalidEndParams()
144 final TextSelection selection = new TextSelection.Builder(START, END).build(); in testTextSelection_entityIndexOutOfBounds()
151 final TextSelection.Request request = new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest()
155 assertEquals(START, request.getStartIndex()); in testTextSelectionRequest()
163 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest_nullValues()
[all …]
DTextClassificationManagerTest.java51 private static final int START = 1; field in TextClassificationManagerTest
58 new TextSelection.Request.Builder(TEXT, START, END)
62 new TextClassification.Request.Builder(TEXT, START, END)
110 assertEquals(START, selection.getSelectionStartIndex()); in testNoOpClassifier()
/cts/tests/tests/graphics/src/android/graphics/cts/
DMatrix_ScaleToFitTest.java35 assertEquals(ScaleToFit.START,scaleToFits[1]); in testValues()
43 assertEquals(ScaleToFit.START,ScaleToFit.valueOf("START")); in testValueOf()
51 assertEquals(ScaleToFit.START, ScaleToFit.valueOf(ScaleToFit.class, "START")); in testValueOf2()
DMatrixTest.java318 mMatrix.setRectToRect(r1, r2, ScaleToFit.START); in testSetRectToRect()
326 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.START)); in testSetRectToRect()
/cts/tests/signature/src/android/signature/cts/
DApiComplianceChecker.java358 final int START = 0; in unescapeFieldStringValue() local
364 int state = START; in unescapeFieldStringValue()
369 case START: in unescapeFieldStringValue()
380 state = START; in unescapeFieldStringValue()
384 state = START; in unescapeFieldStringValue()
388 state = START; in unescapeFieldStringValue()
392 state = START; in unescapeFieldStringValue()
396 state = START; in unescapeFieldStringValue()
400 state = START; in unescapeFieldStringValue()
404 state = START; in unescapeFieldStringValue()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DEvaluatorTest.java97 final int START = 0xffFF8080; in testArgbEvaluator() local
99 int aSTART = Color.alpha(START); in testArgbEvaluator()
100 int rSTART = Color.red(START); in testArgbEvaluator()
101 int gSTART = Color.green(START); in testArgbEvaluator()
102 int bSTART = Color.blue(START); in testArgbEvaluator()
110 int result = (Integer) evaluator.evaluate(0, START, END); in testArgbEvaluator()
120 result = (Integer) evaluator.evaluate(.5f, START, END); in testArgbEvaluator()
138 result = (Integer) evaluator.evaluate(1, START, END); in testArgbEvaluator()
/cts/tools/dasm/src/java_cup/
Dsym.java31 static final int START = 12; field in sym
Dlexer.java124 keywords.put("start", new Integer(sym.START)); in init()
Dparser.cup164 START, SEMI, COMMA, STAR, DOT, COLON, COLON_COLON_EQUALS, BAR,
191 non_terms.put("$START", non_terminal.START_nt);
385 START WITH nt_id:start_name
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto15 // [START declaration]
20 // [START java_declaration]
25 // [START messages]
/cts/tests/tests/transition/src/android/transition/cts/
DSlideEdgeTest.java45 { Gravity.START, "START" },
111 case Gravity.START: in testSlideOut()
194 case Gravity.START: in testSlideIn()
238 case Gravity.START: in verifyTranslation()
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java124 Gravity.apply(Gravity.START, 2, 10, mInRect, mOutRect); in testApply()
129 Gravity.apply(Gravity.START, 2, 10, mInRect, 5, 5, mOutRect); in testApply()
134 applyGravity(Gravity.START, 2, 10, false /* LTR direction */); in testApply()
139 applyGravity(Gravity.START, 2, 10, true /* RTL direction */); in testApply()
344 verifyOneGravity(Gravity.LEFT, Gravity.START, false); in testGetAbsoluteGravity()
345 verifyOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundTestActivity.java47 START, RECORDING, DONE, PLAYER enumConstant
52 private Status status = Status.START;
136 case START: in onCreate()
DHifiUltrasoundSpeakerTestActivity.java50 START, RECORDING, DONE, PLAYER enumConstant
55 private Status status = Status.START;
156 case START: in onCreate()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricsUtils.java51 .setEqInt(AppBreadcrumbReported.State.START.ordinal()))) in startAtomMatcher()
DGaugeMetricsTests.java128 AppBreadcrumbReported.State.START); in testGaugeMetric()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java263 mEditText1.setEllipsize(TextUtils.TruncateAt.START); in testSetEllipsize()
264 assertSame(TextUtils.TruncateAt.START, mEditText1.getEllipsize()); in testSetEllipsize()
DSpinnerTest.java305 mActivityRule.runOnUiThread(() -> spinner.setGravity(Gravity.START)); in verifyGravity()
306 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()
DRelativeLayoutTest.java142 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()
161 assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java107 TextUtils.TruncateAt.START, in testConstructors()
180 TextUtils.TruncateAt.START, in testReplaceOrMake()
317 TextUtils.TruncateAt.START, in testMake()
DDynamicLayoutTest.java98 TextUtils.TruncateAt.START, in testConstructors()
119 TextUtils.TruncateAt.START, in testEllipsis()
DTextUtilsTest.java100 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); in getEllipsis()
516 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize()
539 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize()
566 final TextUtils.TruncateAt[] kinds = {TextUtils.TruncateAt.START, in testEllipsize_emoji()
601 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, false, in testEllipsizeCallback()
610 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, true, in testEllipsizeCallback()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java105 90, 40, Gravity.START | Gravity.TOP)); in testMovingWhiteSurfaceView()
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java376 AppBreadcrumbReported.State.START.ordinal()) in getBaseConfig()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java45 private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START;

12