Home
last modified time | relevance | path

Searched refs:TOP (Results 1 – 25 of 69) sorted by relevance

123

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java378 private static final int TOP = 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()
403 RIGHT, EQUAL_TO, RIGHT, 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()
410 RIGHT, EQUAL_TO, RIGHT, 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()
417 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDialogFrameTestActivity.java140 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/
DSurfaceViewSyncTest.java281 }, 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()
DSurfaceViewSurfaceValidatorTest.java139 Gravity.LEFT | Gravity.TOP)); in testBackgroundIsBehindAllSurfaceView()
160 Gravity.LEFT | Gravity.TOP)); in addSurfaceView()
DAttachedSurfaceControlSyncTest.java235 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/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java27 import static android.view.Gravity.TOP;
62 params.gravity = TOP | LEFT; in createAlertWindow()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java55 private static final float TOP = 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/app/app/src/android/app/stubs/
DLocalAlertService.java19 import static android.view.Gravity.TOP;
69 params.gravity = TOP | LEFT; in showAlertWindow()
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/
DOverlayWindowTestActivitySdk22.java20 import static android.view.Gravity.TOP;
82 params.gravity = TOP | LEFT; in createOverlayWindowOnDisplay()
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java64 Gravity.apply(Gravity.TOP, 2, 3, mInRect, mOutRect); in testApply()
69 Gravity.apply(Gravity.TOP, 2, 3, mInRect, 5, 5, mOutRect); in testApply()
74 applyGravity(Gravity.TOP, 2, 3, false /* LTR direction */); in testApply()
79 applyGravity(Gravity.TOP, 2, 3, true /* RTL direction */); in testApply()
317 verifyOneGravity(Gravity.TOP, Gravity.TOP, false); in testGetAbsoluteGravity()
318 verifyOneGravity(Gravity.TOP, Gravity.TOP, true); in testGetAbsoluteGravity()
/cts/tests/tests/transition/src/android/transition/cts/
DSlideEdgeTest.java50 { Gravity.TOP, "TOP" },
214 case Gravity.TOP: in verifyMovement()
226 if (slideEdge == Gravity.TOP || slideEdge == Gravity.BOTTOM) { in verifyMovement()
230 moveGreater = in == (slideEdge == Gravity.TOP); in verifyMovement()
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/
DAlertWindowService.java22 import static android.view.Gravity.TOP;
98 params.gravity = TOP | LEFT; in addAlertWindow()
/cts/tests/input/src/android/input/cts/
DTwoWindowsActivity.kt73 wmlp.gravity = Gravity.TOP or Gravity.LEFT in launchTwoWindows()
91 wmlp.gravity = Gravity.TOP or Gravity.RIGHT in launchTwoWindows()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DCloseOnOutsideTestActivity.java52 params.gravity = Gravity.LEFT | Gravity.TOP; in setupWindowSize()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/
DPocService.java44 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/
DPocService.java46 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/
DPocService.java53 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfaceControlTestCase.java40 new FrameLayout.LayoutParams(layoutWidth, layoutHeight, Gravity.LEFT | Gravity.TOP); in SurfaceControlTestCase()
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
DPocService.java48 layoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onStartCommand()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/
DPocService.java53 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/
DPocService.java55 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
DPocService.java52 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/
DPocService.java55 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsLayoutTests.java110 testSetFitInsetsSidesInner(Side.TOP, activity); in testSetFitInsetsSides()
131 if ((sides & Side.TOP) != 0) { in testSetFitInsetsSidesInner()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DNotTouchableWindowTestActivity.java111 params.gravity = Gravity.TOP; in createDefaultWindowParams()

123