/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 354 private static final int TOP = 0x00; field in PopupWindowTest 375 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 377 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 379 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 382 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 384 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 386 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 389 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 391 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 393 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() [all …]
|
D | PopupMenuTest.java | 170 mPopupMenu.setGravity(Gravity.TOP); in testAccessGravity() 171 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testAccessGravity() 176 mBuilder = new Builder().withGravity(Gravity.TOP); in testConstructorWithGravity() 179 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testConstructorWithGravity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
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()
|
D | SurfaceControlViewHostTests.java | 115 width, height, Gravity.LEFT | Gravity.TOP)); in addSurfaceView() 411 … DEFAULT_SURFACE_VIEW_WIDTH, DEFAULT_SURFACE_VIEW_HEIGHT, Gravity.LEFT | Gravity.TOP)); in testCanCopySurfacePackage() 455 DEFAULT_SURFACE_VIEW_HEIGHT, Gravity.LEFT | Gravity.TOP)); in testTransferSurfacePackage() 500 DEFAULT_SURFACE_VIEW_HEIGHT, Gravity.TOP | Gravity.LEFT)); in testTransferSurfacePackage()
|
D | HideOverlayWindowsTest.java | 23 import static android.view.Gravity.TOP; 194 params.gravity = TOP | LEFT; in onCreate()
|
D | DisplayCutoutTests.java | 98 static final String TOP = "top"; field in DisplayCutoutTests 242 assertCutoutPath(TOP, displayCutout.getBoundingRectTop(), cutoutPath); in testDisplayCutout_CutoutPaths() 339 assertCutoutIsConsistentWithInset(TOP, cutout, cutout.getSafeInsetTop(), appBounds); in assertCutoutsAreConsistentWithInsets() 416 hasBound(TOP, cutout, appBounds), is(false)); in assertOnlyShortEdgeHasBounds() 429 } else if (TOP.equals(position)) { in hasBound()
|
D | WindowInsetsLayoutTests.java | 119 testSetFitInsetsSidesInner(Side.TOP, activity, mainWindowRoot); in testSetFitInsetsSides() 141 assertEquals((sides & Side.TOP) != 0 ? insets.top : 0, locationOnScreen[1]); in testSetFitInsetsSidesInner()
|
D | WindowManager_LayoutParamsTest.java | 148 params.gravity = Gravity.TOP; in testCopyFrom() 232 mLayoutParams.gravity = Gravity.TOP; in testWriteToParcel()
|
D | SurfaceViewSurfaceValidatorTest.java | 133 DEFAULT_LAYOUT_HEIGHT, Gravity.LEFT | Gravity.TOP)); in start()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 45 private static final float TOP = 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 …]
|
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/ |
D | AlertWindowTestBaseActivity.java | 27 import static android.view.Gravity.TOP; 62 params.gravity = TOP | LEFT; in createAlertWindow()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | SurfaceViewSyncTest.java | 210 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testSmallRect() 228 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testEmptySurfaceView() 242 new FrameLayout.LayoutParams(320, 240, Gravity.LEFT | Gravity.TOP), in testSurfaceViewSmallScale() 256 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testSurfaceViewBigScale() 270 new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewTranslate() 284 new FrameLayout.LayoutParams(100, 100, Gravity.LEFT | Gravity.TOP), in testVideoSurfaceViewRotated()
|
D | GravityTest.java | 62 Gravity.apply(Gravity.TOP, 2, 3, mInRect, mOutRect); in testApply() 67 Gravity.apply(Gravity.TOP, 2, 3, mInRect, 5, 5, mOutRect); in testApply() 72 applyGravity(Gravity.TOP, 2, 3, false /* LTR direction */); in testApply() 77 applyGravity(Gravity.TOP, 2, 3, true /* RTL direction */); in testApply() 315 verifyOneGravity(Gravity.TOP, Gravity.TOP, false); in testGetAbsoluteGravity() 316 verifyOneGravity(Gravity.TOP, Gravity.TOP, true); in testGetAbsoluteGravity()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalAlertService.java | 19 import static android.view.Gravity.TOP; 69 params.gravity = TOP | LEFT; in showAlertWindow()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SlideEdgeTest.java | 50 { 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()
|
D | TransitionTest.java | 509 private static final String TOP = "top value"; in testPropagation() 510 private final String[] PROPERTIES = {TOP}; in testPropagation() 515 int startTop = startValues == null ? 0 : (Integer) startValues.values.get(TOP); in testPropagation() 516 int endTop = endValues == null ? 0 : (Integer) endValues.values.get(TOP); in testPropagation() 523 transitionValues.values.put(TOP, transitionValues.view.getTop()); in testPropagation()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/ |
D | AlertWindowService.java | 22 import static android.view.Gravity.TOP; 98 params.gravity = TOP | LEFT; in addAlertWindow()
|
/cts/tests/tests/permission3/UsePermissionAppWithOverlay/src/android/permission3/cts/usepermission/ |
D | OverlayActivity.kt | 24 params.gravity = Gravity.LEFT or Gravity.TOP in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/ |
D | PocService.java | 58 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 101 wmlp.gravity = Gravity.TOP | Gravity.LEFT; in testActionOutsideDoesNotContainedObscuredInformation() 114 wmlp.gravity = Gravity.TOP | Gravity.RIGHT; in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/ |
D | PocService.java | 58 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | VectorDrawableTests.java | 102 Gravity.TOP | Gravity.LEFT)); in testInvalidateCache()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfaceControlTestCase.java | 68 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 | 49 TOP, enumConstant 77 mLocationMapping[RingLocations.TOP.ordinal()] = in mapNineRingLocations()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ThemedDrawableTest.java | 82 assertEquals(Gravity.TOP, d.getGravity()); in verifyBitmapDrawable()
|