Home
last modified time | relevance | path

Searched refs:RIGHT (Results 1 – 25 of 38) 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.java54 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/
DPopupWindowTest.java382 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 …]
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;
106 LONG_LTR_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f),
116 LONG_RTL_STRING, true, RIGHT, TEXT_ALIGNMENT_INHERIT, 1f, 0f),
DRelativeLayoutTest.java146 () -> 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()
DSpinnerTest.java364 mActivityRule.runOnUiThread((() -> spinner.setGravity(Gravity.RIGHT))); in verifyGravity()
365 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()
DGridLayoutTest.java87 new Alignment("RIGHT", Gravity.RIGHT) {
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java148 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/
DMediaControlsHelper.java81 car.scroll(Direction.RIGHT, .5f, SCROLL_SPEED); in findMediaControls()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsLayoutTests.java111 testSetFitInsetsSidesInner(Side.RIGHT, activity); in testSetFitInsetsSides()
134 if ((sides & Side.RIGHT) != 0) { in testSetFitInsetsSidesInner()
DDisplayCutoutTests.java114 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/
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()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java123 case RIGHT: in testCursorJoinerAndIterator()
183 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.java165 propagation.setSide(Gravity.RIGHT); in testSidePropagationRight()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java26 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()
DMoveAnimationTests.java103 attrs.gravity = Gravity.RIGHT | Gravity.BOTTOM; in setContentSquare()
DDialogFrameTestActivity.java148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
/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/input/src/android/input/cts/
DTwoWindowsActivity.kt91 wmlp.gravity = Gravity.TOP or Gravity.RIGHT in launchTwoWindows()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java128 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
/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()
DFlagSlipperyTest.kt298 wmlp.gravity = Gravity.BOTTOM or Gravity.RIGHT in onTouch()

12