/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 348 private static final int LEFT = 0x00; field in PopupWindowTest 366 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 368 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 373 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 375 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 380 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 382 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 398 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 400 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 405 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() [all …]
|
D | TextViewFadingEdgeTest.java | 20 import static android.view.Gravity.LEFT; 120 LONG_LTR_STRING, true, LEFT, TEXT_ALIGNMENT_INHERIT, 0f, 1f), 126 LONG_RTL_STRING, true, LEFT, TEXT_ALIGNMENT_INHERIT, 0f, 1f),
|
D | SpinnerTest.java | 298 mActivityRule.runOnUiThread(() -> spinner.setGravity(Gravity.LEFT)); in verifyGravity() 299 assertEquals(Gravity.LEFT, spinner.getGravity()); in verifyGravity()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 43 private static final float LEFT = 10.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 …]
|
D | Paint_AlignTest.java | 35 assertEquals(Align.LEFT, Align.valueOf("LEFT")); in testValueOf() 46 assertEquals(Align.LEFT, actual[0]); in testValues() 54 assertEquals(Align.LEFT, p.getTextAlign()); in testValues()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 104 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, mOutRect); in testApply() 109 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, 5, 5, mOutRect); in testApply() 114 applyGravity(Gravity.LEFT, 2, 10, false /* LTR direction */); in testApply() 119 applyGravity(Gravity.LEFT, 2, 10, true /* RTL direction */); in testApply() 309 verifyOneGravity(Gravity.LEFT, Gravity.LEFT, false); in testGetAbsoluteGravity() 310 verifyOneGravity(Gravity.LEFT, Gravity.LEFT, true); in testGetAbsoluteGravity() 345 verifyOneGravity(Gravity.LEFT, Gravity.START, false); in testGetAbsoluteGravity() 349 verifyOneGravity(Gravity.LEFT, Gravity.END, true); in testGetAbsoluteGravity()
|
D | SurfaceViewSyncTest.java | 207 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testSmallRect() 225 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testEmptySurfaceView() 239 new FrameLayout.LayoutParams(320, 240, Gravity.LEFT | Gravity.TOP), in testSurfaceViewSmallScale() 253 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testSurfaceViewBigScale() 267 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewTranslate() 281 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewRotated()
|
D | LayoutInflaterTest.java | 231 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflate() 255 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflateAttachToRoot() 284 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflateParser() 324 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflateParserAttachToRoot()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DialogFrameTestActivity.java | 155 params.gravity = Gravity.TOP | Gravity.LEFT; in testExplicitSizeTopLeftGravity() 179 params.gravity = Gravity.LEFT | Gravity.TOP; in testOversizedDimensionsNoLimits() 196 params.gravity = Gravity.LEFT | Gravity.TOP; in testExplicitPositionMatchParentNoLimits() 209 params.gravity = Gravity.LEFT | Gravity.TOP; in testWithMargins()
|
D | WindowInputTests.java | 89 p.gravity = Gravity.LEFT | Gravity.TOP; in testMoveWindowAndTap()
|
D | SurfaceViewSurfaceValidatorTest.java | 129 DEFAULT_LAYOUT_HEIGHT, Gravity.LEFT | Gravity.TOP)); in start()
|
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/ |
D | AlertWindowTestBaseActivity.java | 26 import static android.view.Gravity.LEFT; 62 params.gravity = TOP | LEFT; in createAlertWindow()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/ |
D | AlertWindowService.java | 20 import static android.view.Gravity.LEFT; 91 params.gravity = TOP | LEFT; in addAlertWindow()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SlideEdgeTest.java | 49 { Gravity.LEFT, "LEFT" }, 206 case Gravity.LEFT: in verifyMovement() 235 moveGreater = in == (slideEdge == Gravity.START || slideEdge == Gravity.LEFT); in verifyMovement()
|
D | PropagationTest.java | 192 propagation.setSide(Gravity.LEFT); in testSidePropagationLeft()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 94 case LEFT: in testCursorJoinerAndIterator() 148 assertEquals(Result.LEFT, cursorJoiner.next()); in testNext()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfaceControlTestCase.java | 65 new FrameLayout.LayoutParams(layoutWidth, layoutHeight, Gravity.LEFT | Gravity.TOP); in SurfaceControlTestCase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ComplexMovementPath.java | 51 LEFT, enumConstant 81 mLocationMapping[RingLocations.LEFT.ordinal()] = in mapNineRingLocations()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | VectorDrawableTests.java | 102 Gravity.TOP | Gravity.LEFT)); in testInvalidateCache()
|
D | LayerTests.java | 130 Gravity.TOP | Gravity.LEFT)); in testLayerPaintAlphaChanged() 274 Gravity.TOP | Gravity.LEFT)); in testLayerInitialSizeZero() 294 Gravity.TOP | Gravity.LEFT)); in testLayerResizeZero()
|
/cts/tests/app/src/android/app/cts/ |
D | WearableExtenderTest.java | 58 final int gravity = Gravity.LEFT; in testWearableExtender() 210 final int gravity = Gravity.LEFT; in testWriteToParcel()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundActivity.java | 119 wmlp.gravity = Gravity.CENTER | Gravity.LEFT; in doShowApplicationOverlay()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 249 t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in doubleText()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 101 wmlp.gravity = Gravity.TOP | Gravity.LEFT; in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 348 mockDrawable, Gravity.LEFT, scaleWidth, scaleHeight); in testOnBoundsChange() 353 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange()
|