/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 381 private static final int LEFT = 0x00; field in PopupWindowTest 399 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 401 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 406 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 408 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 413 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 415 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 431 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 433 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() 438 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown_ClipToScreen() [all …]
|
D | TextViewFadingEdgeTest.java | 20 import static android.view.Gravity.LEFT; 128 LONG_LTR_STRING, true, LEFT, TEXT_ALIGNMENT_INHERIT, 0f, 1f), 134 LONG_RTL_STRING, true, LEFT, TEXT_ALIGNMENT_INHERIT, 0f, 1f),
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
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()
|
D | PathTest.java | 53 private static final float LEFT = 10.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/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DialogFrameTestActivity.java | 140 params.gravity = Gravity.TOP | Gravity.LEFT; in testExplicitSizeTopLeftGravity() 164 params.gravity = Gravity.LEFT | Gravity.TOP; in testOversizedDimensionsNoLimits() 181 params.gravity = Gravity.LEFT | Gravity.TOP; in testExplicitPositionMatchParentNoLimits() 194 params.gravity = Gravity.LEFT | Gravity.TOP; in testWithMargins()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceViewSyncTest.java | 281 }, new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testSmallRect() 299 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testEmptySurfaceView() 313 new FrameLayout.LayoutParams(320, 240, Gravity.LEFT | Gravity.TOP), in testSurfaceViewSmallScale() 327 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testSurfaceViewBigScale() 340 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testSurfaceViewFixedSizeWithViewSizeChanges() 352 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testSurfaceViewFixedSizeChanges() 360 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewTranslate() 368 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewRotated()
|
D | SurfaceViewSurfaceValidatorTest.java | 139 Gravity.LEFT | Gravity.TOP)); in testBackgroundIsBehindAllSurfaceView() 160 Gravity.LEFT | Gravity.TOP)); in addSurfaceView()
|
D | AttachedSurfaceControlSyncTest.java | 235 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testSync() 249 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testSyncFromDrawCallback()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 106 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, mOutRect); in testApply() 111 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, 5, 5, mOutRect); in testApply() 116 applyGravity(Gravity.LEFT, 2, 10, false /* LTR direction */); in testApply() 121 applyGravity(Gravity.LEFT, 2, 10, true /* RTL direction */); in testApply() 311 verifyOneGravity(Gravity.LEFT, Gravity.LEFT, false); in testGetAbsoluteGravity() 312 verifyOneGravity(Gravity.LEFT, Gravity.LEFT, true); in testGetAbsoluteGravity() 347 verifyOneGravity(Gravity.LEFT, Gravity.START, false); in testGetAbsoluteGravity() 351 verifyOneGravity(Gravity.LEFT, Gravity.END, true); in testGetAbsoluteGravity()
|
/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/app/app/src/android/app/stubs/ |
D | LocalAlertService.java | 18 import static android.view.Gravity.LEFT; 69 params.gravity = TOP | LEFT; in showAlertWindow()
|
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/ |
D | OverlayWindowTestActivitySdk22.java | 19 import static android.view.Gravity.LEFT; 82 params.gravity = TOP | LEFT; in createOverlayWindowOnDisplay()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/ |
D | AlertWindowService.java | 21 import static android.view.Gravity.LEFT; 98 params.gravity = TOP | LEFT; in addAlertWindow()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | CloseOnOutsideTestActivity.java | 52 params.gravity = Gravity.LEFT | Gravity.TOP; in setupWindowSize()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | QuickSettingsHelper.java | 62 quickSettings.swipe(Direction.LEFT, 1f); in findTileWithLabel()
|
D | MediaControlsHelper.java | 67 if (!car.scroll(Direction.LEFT, .5f, SCROLL_SPEED)) { in findMediaControls()
|
/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()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/ |
D | PocService.java | 44 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/ |
D | PocService.java | 46 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/ |
D | PocService.java | 53 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfaceControlTestCase.java | 40 new FrameLayout.LayoutParams(layoutWidth, layoutHeight, Gravity.LEFT | Gravity.TOP); in SurfaceControlTestCase()
|
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/ |
D | PocService.java | 48 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/ |
D | PocService.java | 53 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | PocService.java | 55 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/ |
D | PocService.java | 52 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|