Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java354 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 …]
DPopupMenuTest.java170 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/
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()
DSurfaceControlViewHostTests.java115 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()
DHideOverlayWindowsTest.java23 import static android.view.Gravity.TOP;
194 params.gravity = TOP | LEFT; in onCreate()
DDisplayCutoutTests.java98 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()
DWindowInsetsLayoutTests.java119 testSetFitInsetsSidesInner(Side.TOP, activity, mainWindowRoot); in testSetFitInsetsSides()
141 assertEquals((sides & Side.TOP) != 0 ? insets.top : 0, locationOnScreen[1]); in testSetFitInsetsSidesInner()
DWindowManager_LayoutParamsTest.java148 params.gravity = Gravity.TOP; in testCopyFrom()
232 mLayoutParams.gravity = Gravity.TOP; in testWriteToParcel()
DSurfaceViewSurfaceValidatorTest.java133 DEFAULT_LAYOUT_HEIGHT, Gravity.LEFT | Gravity.TOP)); in start()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java45 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/
DAlertWindowTestBaseActivity.java27 import static android.view.Gravity.TOP;
62 params.gravity = TOP | LEFT; in createAlertWindow()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewSyncTest.java210 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()
DGravityTest.java62 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/
DLocalAlertService.java19 import static android.view.Gravity.TOP;
69 params.gravity = TOP | LEFT; in showAlertWindow()
/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()
DTransitionTest.java509 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/
DAlertWindowService.java22 import static android.view.Gravity.TOP;
98 params.gravity = TOP | LEFT; in addAlertWindow()
/cts/tests/tests/permission3/UsePermissionAppWithOverlay/src/android/permission3/cts/usepermission/
DOverlayActivity.kt24 params.gravity = Gravity.LEFT or Gravity.TOP in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/
DPocService.java58 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java101 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/
DPocService.java58 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DVectorDrawableTests.java102 Gravity.TOP | Gravity.LEFT)); in testInvalidateCache()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfaceControlTestCase.java68 new FrameLayout.LayoutParams(layoutWidth, layoutHeight, Gravity.LEFT | Gravity.TOP); in SurfaceControlTestCase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java49 TOP, enumConstant
77 mLocationMapping[RingLocations.TOP.ordinal()] = in mapNineRingLocations()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DThemedDrawableTest.java82 assertEquals(Gravity.TOP, d.getGravity()); in verifyBitmapDrawable()

12