Home
last modified time | relevance | path

Searched refs:LEFT (Results 1 – 25 of 33) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java348 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 …]
DTextViewFadingEdgeTest.java20 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),
DSpinnerTest.java298 mActivityRule.runOnUiThread(() -> spinner.setGravity(Gravity.LEFT)); in verifyGravity()
299 assertEquals(Gravity.LEFT, spinner.getGravity()); in verifyGravity()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java43 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 …]
DPaint_AlignTest.java35 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/
DGravityTest.java104 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()
DSurfaceViewSyncTest.java207 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()
DLayoutInflaterTest.java231 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/
DDialogFrameTestActivity.java155 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()
DWindowInputTests.java89 p.gravity = Gravity.LEFT | Gravity.TOP; in testMoveWindowAndTap()
DSurfaceViewSurfaceValidatorTest.java129 DEFAULT_LAYOUT_HEIGHT, Gravity.LEFT | Gravity.TOP)); in start()
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java26 import static android.view.Gravity.LEFT;
62 params.gravity = TOP | LEFT; in createAlertWindow()
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/
DAlertWindowService.java20 import static android.view.Gravity.LEFT;
91 params.gravity = TOP | LEFT; in addAlertWindow()
/cts/tests/tests/transition/src/android/transition/cts/
DSlideEdgeTest.java49 { Gravity.LEFT, "LEFT" },
206 case Gravity.LEFT: in verifyMovement()
235 moveGreater = in == (slideEdge == Gravity.START || slideEdge == Gravity.LEFT); in verifyMovement()
DPropagationTest.java192 propagation.setSide(Gravity.LEFT); in testSidePropagationLeft()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java94 case LEFT: in testCursorJoinerAndIterator()
148 assertEquals(Result.LEFT, cursorJoiner.next()); in testNext()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfaceControlTestCase.java65 new FrameLayout.LayoutParams(layoutWidth, layoutHeight, Gravity.LEFT | Gravity.TOP); in SurfaceControlTestCase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java51 LEFT, enumConstant
81 mLocationMapping[RingLocations.LEFT.ordinal()] = in mapNineRingLocations()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DVectorDrawableTests.java102 Gravity.TOP | Gravity.LEFT)); in testInvalidateCache()
DLayerTests.java130 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/
DWearableExtenderTest.java58 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/
DStatsdCtsForegroundActivity.java119 wmlp.gravity = Gravity.CENTER | Gravity.LEFT; in doShowApplicationOverlay()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java249 t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in doubleText()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java101 wmlp.gravity = Gravity.TOP | Gravity.LEFT; in testActionOutsideDoesNotContainedObscuredInformation()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DScaleDrawableTest.java348 mockDrawable, Gravity.LEFT, scaleWidth, scaleHeight); in testOnBoundsChange()
353 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange()

12