Home
last modified time | relevance | path

Searched refs:RIGHT (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPaint_AlignTest.java37 assertEquals(Align.RIGHT, Align.valueOf("RIGHT")); in testValueOf()
48 assertEquals(Align.RIGHT, actual[2]); in testValues()
58 assertEquals(Align.RIGHT, p.getTextAlign()); in testValues()
DPathTest.java44 private static final float RIGHT = 50.0f; field in PathTest
63 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1()
72 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2()
188 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1()
197 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2()
218 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2()
221 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2()
271 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval()
318 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect1()
327 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect2()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java349 private static final int RIGHT = 0x01; field in PopupWindowTest
370 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
377 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
384 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown()
402 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen()
409 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen()
416 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen()
434 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen_Overlap()
441 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen_Overlap()
448 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen_Overlap()
[all …]
DLinearLayout_LayoutParamsTest.java84 linearLayoutParams2.gravity = Gravity.RIGHT; in testConstructor()
89 assertEquals(Gravity.RIGHT, linearLayoutParams.gravity); in testConstructor()
DTextViewFadingEdgeTest.java22 import static android.view.Gravity.RIGHT;
98 LONG_LTR_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f),
108 LONG_RTL_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f),
DRelativeLayoutTest.java138 () -> relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT)); in testAccessGravity()
139 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity()
192 () -> relativeLayout.setHorizontalGravity(Gravity.RIGHT)); in testSetHorizontalGravity()
193 assertEquals(Gravity.RIGHT, Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()
DSpinnerTest.java304 mActivityRule.runOnUiThread((() -> spinner.setGravity(Gravity.RIGHT))); in verifyGravity()
305 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()
DListPopupWindowTest.java276 if (absoluteGravity == Gravity.RIGHT) { in verifyAnchoring()
334 mPopupWindowBuilder = new Builder().withDropDownGravity(Gravity.RIGHT); in testAnchoringWithRightGravity()
342 verifyAnchoring(0, 0, Gravity.RIGHT); in testAnchoringWithRightGravity()
DGridLayoutTest.java84 new Alignment("RIGHT", Gravity.RIGHT) {
DGridViewTest.java252 mGridView.setGravity(Gravity.RIGHT); in testSetGravity()
257 assertEquals(Gravity.RIGHT, mGridView.getGravity()); in testSetGravity()
DLinearLayoutTest.java601 () -> parent.setHorizontalGravity(Gravity.RIGHT)); in testRightGravityOnVerticalLayout()
603 assertEquals(Gravity.RIGHT, parent.getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK); in testRightGravityOnVerticalLayout()
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java146 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, mOutRect); in testApply()
151 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, 5, 5, mOutRect); in testApply()
156 applyGravity(Gravity.RIGHT, 2, 10, false /* LTR direction */); in testApply()
161 applyGravity(Gravity.RIGHT, 2, 10, true /* RTL direction */); in testApply()
312 verifyOneGravity(Gravity.RIGHT, Gravity.RIGHT, false); in testGetAbsoluteGravity()
313 verifyOneGravity(Gravity.RIGHT, Gravity.RIGHT, true); in testGetAbsoluteGravity()
346 verifyOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity()
348 verifyOneGravity(Gravity.RIGHT, Gravity.END, false); in testGetAbsoluteGravity()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWipeDataNotificationTest.java40 notification.swipe(Direction.RIGHT, 1.0f); in testWipeDataWithReasonVerification()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DScaleDrawableTest.java364 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange()
368 Gravity.apply(Gravity.BOTTOM | Gravity.RIGHT, in testOnBoundsChange()
380 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange()
391 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange()
440 Gravity.RIGHT, 100, 200); in testInflate()
DBitmapDrawableTest.java462 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); in testInflate()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java99 case RIGHT: in testCursorJoinerAndIterator()
157 assertEquals(Result.RIGHT, cursorJoiner.next()); in testNext()
/cts/tests/tests/transition/src/android/transition/cts/
DSlideEdgeTest.java51 { Gravity.RIGHT, "RIGHT" },
208 case Gravity.RIGHT: in verifyMovement()
DPropagationTest.java160 propagation.setSide(Gravity.RIGHT); in testSidePropagationRight()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java101 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java52 RIGHT, enumConstant
83 mLocationMapping[RingLocations.RIGHT.ordinal()] = in mapNineRingLocations()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDialogFrameTestActivity.java163 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java258 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java114 wmlp.gravity = Gravity.TOP | Gravity.RIGHT; in testActionOutsideDoesNotContainedObscuredInformation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java294 case Gravity.RIGHT: in layoutBoxChildren()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBLAS.java58 ScriptIntrinsicBLAS.RIGHT,
158 if (Side != ScriptIntrinsicBLAS.LEFT && Side != ScriptIntrinsicBLAS.RIGHT) { in validateSide()
4928 if (Side == ScriptIntrinsicBLAS.RIGHT) { in validateL3()
5336 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_SSYMM_Correctness()
5368 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_DSYMM_Correctness()
5400 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_CSYMM_Correctness()
5432 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_ZSYMM_Correctness()
5467 (Side == ScriptIntrinsicBLAS.RIGHT && adim != B.getType().getX())) { in validateHEMM()
5545 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_CHEMM_Correctness()
5577 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_ZHEMM_Correctness()
[all …]

12