Home
last modified time | relevance | path

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

12

/cts/tests/signature/lib/android/src/android/signature/cts/
DXmlApiParser.java568 final int START = 0; in unescapeFieldStringValue() local
574 int state = START; in unescapeFieldStringValue()
579 case START: in unescapeFieldStringValue()
590 state = START; in unescapeFieldStringValue()
594 state = START; in unescapeFieldStringValue()
598 state = START; in unescapeFieldStringValue()
602 state = START; in unescapeFieldStringValue()
606 state = START; in unescapeFieldStringValue()
610 state = START; in unescapeFieldStringValue()
614 state = START; in unescapeFieldStringValue()
[all …]
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierValueObjectsTest.java69 private static final int START = 5; field in TextClassifierValueObjectsTest
79 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection()
86 assertEquals(START, selection.getSelectionStartIndex()); in testTextSelection()
124 TextSelection selection = new TextSelection.Builder(START, END).build(); in testTextSelection_defaultValues()
137 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection_prunedConfidenceScore()
156 new TextSelection.Builder(START, 0 /* end */) in testTextSelection_invalidEndParams()
162 final TextSelection selection = new TextSelection.Builder(START, END).build(); in testTextSelection_entityIndexOutOfBounds()
169 final TextSelection.Request request = new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest()
173 assertEquals(START, request.getStartIndex()); in testTextSelectionRequest()
181 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest_nullValues()
[all …]
DTextClassificationManagerTest.java67 private static final int START = 1; field in TextClassificationManagerTest
74 new TextSelection.Request.Builder(TEXT, START, END)
78 new TextClassification.Request.Builder(TEXT, START, END)
131 assertValidResult(mClassifier.suggestSelection(TEXT, START, END, LOCALES)); in testSuggestSelectionWith4Param()
141 assertValidResult(mClassifier.classifyText(TEXT, START, END, LOCALES)); in testClassifyTextWith4Param()
151 assertEquals(START, selection.getSelectionStartIndex()); in testNoOpClassifier()
/cts/tests/tests/animation/src/android/animation/cts/
DEvaluatorTest.java98 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/tests/tests/graphics/src/android/graphics/cts/
DMatrix_ScaleToFitTest.java36 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()
DMatrixTest.java319 mMatrix.setRectToRect(r1, r2, ScaleToFit.START); in testSetRectToRect()
327 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.START)); in testSetRectToRect()
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java125 Gravity.apply(Gravity.START, 2, 10, mInRect, mOutRect); in testApply()
130 Gravity.apply(Gravity.START, 2, 10, mInRect, 5, 5, mOutRect); in testApply()
135 applyGravity(Gravity.START, 2, 10, false /* LTR direction */); in testApply()
140 applyGravity(Gravity.START, 2, 10, true /* RTL direction */); in testApply()
345 verifyOneGravity(Gravity.LEFT, Gravity.START, false); in testGetAbsoluteGravity()
346 verifyOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity()
/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.java47 { Gravity.START, "START" },
207 case Gravity.START: in verifyMovement()
235 moveGreater = in == (slideEdge == Gravity.START || slideEdge == Gravity.LEFT); in verifyMovement()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricsUtils.java52 .setEqInt(AppBreadcrumbReported.State.START.ordinal()))) in startAtomMatcher()
57 return appBreadcrumbMatcherWithLabelAndState(id, label, AppBreadcrumbReported.State.START); in startAtomMatcherWithLabel()
DGaugeMetricsTests.java137 AppBreadcrumbReported.State.START); in testGaugeMetric()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundTestActivity.java50 START, RECORDING, DONE, PLAYER enumConstant
55 private Status status = Status.START;
139 case START: in onCreate()
DHifiUltrasoundSpeakerTestActivity.java53 START, RECORDING, DONE, PLAYER enumConstant
58 private Status status = Status.START;
159 case START: in onCreate()
/cts/tools/release-parser/proto/
Drelease.proto15 // [START declaration]
20 // [START java_declaration]
25 // [START messages]
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java108 TextUtils.TruncateAt.START, in testConstructors()
181 TextUtils.TruncateAt.START, in testReplaceOrMake()
318 TextUtils.TruncateAt.START, in testMake()
DDynamicLayoutTest.java99 TextUtils.TruncateAt.START, in testConstructors()
120 TextUtils.TruncateAt.START, in testEllipsis()
DTextUtilsTest.java101 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); in getEllipsis()
517 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize()
540 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize()
567 final TextUtils.TruncateAt[] kinds = {TextUtils.TruncateAt.START, in testEllipsize_emoji()
602 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, false, in testEllipsizeCallback()
611 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START, true, in testEllipsizeCallback()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java266 mEditText1.setEllipsize(TextUtils.TruncateAt.START); in testSetEllipsize()
267 assertSame(TextUtils.TruncateAt.START, mEditText1.getEllipsize()); in testSetEllipsize()
DSpinnerTest.java307 mActivityRule.runOnUiThread(() -> spinner.setGravity(Gravity.START)); in verifyGravity()
308 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()
DRelativeLayoutTest.java148 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()
167 assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()
DPopupWindowTest.java463 final int gravity = Gravity.TOP | Gravity.START; in testShowAsDropDown_ClipToScreen_Overlap_Offset()
540 0, 0, Gravity.TOP | Gravity.START); in verifyPosition()
558 0, 0, Gravity.TOP | Gravity.START); in verifyPosition()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java108 90, 40, Gravity.START | Gravity.TOP)); in testMovingWhiteSurfaceView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java45 private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START;
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java442 AppBreadcrumbReported.State.START.ordinal()) in getBaseConfig()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DAtomTestCase.java810 doAppBreadcrumbReported(label, AppBreadcrumbReported.State.START.ordinal()); in doAppBreadcrumbReportedStart()

12