/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 | 54 private static final float RIGHT = 50.0f; field in PathTest 80 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1() 89 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 208 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1() 217 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2() 238 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testDeprecatedComputeBounds2() 241 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testDeprecatedComputeBounds2() 267 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 270 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 320 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 382 private static final int RIGHT = 0x01; field in PopupWindowTest 403 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 410 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 417 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 435 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 442 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 449 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen() 467 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen_Overlap() 474 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, TOP); in testShowAsDropDown_ClipToScreen_Overlap() 481 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; 106 LONG_LTR_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f), 116 LONG_RTL_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f),
|
D | RelativeLayoutTest.java | 146 () -> relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT)); in testAccessGravity() 147 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity() 200 () -> relativeLayout.setHorizontalGravity(Gravity.RIGHT)); in testSetHorizontalGravity() 201 assertEquals(Gravity.RIGHT, Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()
|
D | SpinnerTest.java | 364 mActivityRule.runOnUiThread((() -> spinner.setGravity(Gravity.RIGHT))); in verifyGravity() 365 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()
|
D | GridLayoutTest.java | 87 new Alignment("RIGHT", Gravity.RIGHT) {
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 148 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, mOutRect); in testApply() 153 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, 5, 5, mOutRect); in testApply() 158 applyGravity(Gravity.RIGHT, 2, 10, false /* LTR direction */); in testApply() 163 applyGravity(Gravity.RIGHT, 2, 10, true /* RTL direction */); in testApply() 314 verifyOneGravity(Gravity.RIGHT, Gravity.RIGHT, false); in testGetAbsoluteGravity() 315 verifyOneGravity(Gravity.RIGHT, Gravity.RIGHT, true); in testGetAbsoluteGravity() 348 verifyOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity() 350 verifyOneGravity(Gravity.RIGHT, Gravity.END, false); in testGetAbsoluteGravity()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | MediaControlsHelper.java | 81 car.scroll(Direction.RIGHT, .5f, SCROLL_SPEED); in findMediaControls()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsLayoutTests.java | 111 testSetFitInsetsSidesInner(Side.RIGHT, activity); in testSetFitInsetsSides() 134 if ((sides & Side.RIGHT) != 0) { in testSetFitInsetsSidesInner()
|
D | DisplayCutoutTests.java | 114 static final String RIGHT = "right"; field in DisplayCutoutTests 353 assertCutoutPath(RIGHT, displayCutout.getBoundingRectRight(), cutoutPath); in testDisplayCutout_CutoutPaths() 456 assertCutoutIsConsistentWithInset(RIGHT, cutout, cutout.getSafeInsetRight(), appBounds); in assertCutoutsAreConsistentWithInsets() 530 hasBound(RIGHT, cutout, appBounds), is(false)); in assertOnlyShortEdgeHasBounds() 563 } else if (RIGHT.equals(position)) { in hasBound()
|
/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()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 123 case RIGHT: in testCursorJoinerAndIterator() 183 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 | 165 propagation.setSide(Gravity.RIGHT); in testSidePropagationRight()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ActivityTransitionTests.java | 26 import static android.server.wm.animations.ActivityTransitionTests.EdgeExtensionActivity.RIGHT; 437 extras.putInt(DIRECTION_KEY, RIGHT); in testRightEdgeExtensionWorksDuringActivityTransition() 455 extras.putInt(DIRECTION_KEY, RIGHT); in testOverrideActivityTransition() 478 extras.putInt(DIRECTION_KEY, RIGHT); in testClearOverrideActivityTransition() 950 static final int RIGHT = 2; field in ActivityTransitionTests.EdgeExtensionActivity 1028 case RIGHT: in processIntent()
|
D | MoveAnimationTests.java | 103 attrs.gravity = Gravity.RIGHT | Gravity.BOTTOM; in setContentSquare()
|
D | DialogFrameTestActivity.java | 148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
|
/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/input/src/android/input/cts/ |
D | TwoWindowsActivity.kt | 91 wmlp.gravity = Gravity.TOP or Gravity.RIGHT in launchTwoWindows()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 128 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
|
/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()
|
D | FlagSlipperyTest.kt | 298 wmlp.gravity = Gravity.BOTTOM or Gravity.RIGHT in onTouch()
|