/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Paint_AlignTest.java | 37 assertEquals(Align.RIGHT, Align.valueOf("RIGHT")); in testValueOf() 48 assertEquals(Align.RIGHT, actual[2]); in testValues() 58 assertEquals(Align.RIGHT, p.getTextAlign()); in testValues()
|
D | PathTest.java | 44 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/ |
D | PopupWindowTest.java | 349 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 …]
|
D | LinearLayout_LayoutParamsTest.java | 84 linearLayoutParams2.gravity = Gravity.RIGHT; in testConstructor() 89 assertEquals(Gravity.RIGHT, linearLayoutParams.gravity); in testConstructor()
|
D | TextViewFadingEdgeTest.java | 22 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),
|
D | RelativeLayoutTest.java | 138 () -> 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()
|
D | SpinnerTest.java | 304 mActivityRule.runOnUiThread((() -> spinner.setGravity(Gravity.RIGHT))); in verifyGravity() 305 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()
|
D | ListPopupWindowTest.java | 276 if (absoluteGravity == Gravity.RIGHT) { in verifyAnchoring() 334 mPopupWindowBuilder = new Builder().withDropDownGravity(Gravity.RIGHT); in testAnchoringWithRightGravity() 342 verifyAnchoring(0, 0, Gravity.RIGHT); in testAnchoringWithRightGravity()
|
D | GridLayoutTest.java | 84 new Alignment("RIGHT", Gravity.RIGHT) {
|
D | GridViewTest.java | 252 mGridView.setGravity(Gravity.RIGHT); in testSetGravity() 257 assertEquals(Gravity.RIGHT, mGridView.getGravity()); in testSetGravity()
|
D | LinearLayoutTest.java | 601 () -> 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/ |
D | GravityTest.java | 146 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/ |
D | WipeDataNotificationTest.java | 40 notification.swipe(Direction.RIGHT, 1.0f); in testWipeDataWithReasonVerification()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 364 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()
|
D | BitmapDrawableTest.java | 462 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); in testInflate()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 99 case RIGHT: in testCursorJoinerAndIterator() 157 assertEquals(Result.RIGHT, cursorJoiner.next()); in testNext()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SlideEdgeTest.java | 51 { Gravity.RIGHT, "RIGHT" }, 208 case Gravity.RIGHT: in verifyMovement()
|
D | PropagationTest.java | 160 propagation.setSide(Gravity.RIGHT); in testSidePropagationRight()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 101 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ComplexMovementPath.java | 52 RIGHT, enumConstant 83 mLocationMapping[RingLocations.RIGHT.ordinal()] = in mapNineRingLocations()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DialogFrameTestActivity.java | 163 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 258 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 114 wmlp.gravity = Gravity.TOP | Gravity.RIGHT; in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 294 case Gravity.RIGHT: in layoutBoxChildren()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 58 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 …]
|