/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayout_LayoutParamsTest.java | 54 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 60 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 66 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 73 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 80 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 84 linearLayoutParams2.gravity = Gravity.RIGHT; in testConstructor() 89 assertEquals(Gravity.RIGHT, linearLayoutParams.gravity); in testConstructor()
|
D | TextViewFadingEdgeTest.java | 157 data.gravity, data.textAlignment, data.scrollToMiddle); in testFadingEdge() 167 int gravity, int textAlignment, boolean scrollToMiddle) throws Throwable { in createTextView() argument 177 textView.setGravity(gravity); in createTextView() 204 final int gravity; field in TextViewFadingEdgeTest.TestCase 210 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument 216 this.gravity = gravity; in TestCase() 223 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument 225 this(errorMsg, text, horizontalFadingEnabled, gravity, textAlignment, false, in TestCase()
|
D | GridLayoutTest.java | 64 int gravity; field in GridLayoutTest.Alignment 68 protected Alignment(String name, int gravity) { in Alignment() argument 70 this.gravity = gravity; in Alignment() 226 lp.setGravity(va.gravity | Gravity.CENTER_HORIZONTAL); in populate() 237 lp.setGravity(Gravity.CENTER_VERTICAL | ha.gravity); in populate() 251 lp.setGravity(va.gravity | ha.gravity); in populate()
|
D | FrameLayout_LayoutParamsTest.java | 96 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor() 105 assertEquals("Gravity", fllp.gravity, copy.gravity); in testCopyConstructor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 263 int gravity = lp.gravity; in layoutBoxChildren() local 264 if (gravity == -1) { in layoutBoxChildren() 265 gravity = DEFAULT_CHILD_GRAVITY; in layoutBoxChildren() 269 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutBoxChildren() 270 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutBoxChildren() 408 public LayoutParams(int width, int height, int gravity) { in LayoutParams() argument 409 super(width, height, gravity); in LayoutParams() 412 public LayoutParams(int width, int height, int gravity, int boxed) { in LayoutParams() argument 413 super(width, height, gravity); in LayoutParams() 432 this.gravity = source.gravity; in LayoutParams()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DialogFrameTestActivity.java | 140 params.gravity = Gravity.TOP | Gravity.LEFT; in testExplicitSizeTopLeftGravity() 148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity() 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/tests/notification/src/android/app/notification/current/cts/ |
D | WearableExtenderTest.java | 71 final int gravity = Gravity.LEFT; in testWearableExtender() local 85 .setGravity(gravity) in testWearableExtender() 87 .setContentIconGravity(gravity) in testWearableExtender() 107 assertEquals(gravity, extender.getGravity()); in testWearableExtender() 109 assertEquals(gravity, extender.getContentIconGravity()); in testWearableExtender() 227 final int gravity = Gravity.LEFT; in testWriteToParcel() local 245 .setGravity(gravity) in testWriteToParcel() 247 .setContentIconGravity(gravity) in testWriteToParcel() 273 assertEquals(gravity, extender.getGravity()); in testWriteToParcel() 275 assertEquals(gravity, extender.getContentIconGravity()); in testWriteToParcel()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | WindowManager_LayoutParamsTest.java | 148 params.gravity = Gravity.TOP; in testCopyFrom() 152 assertEquals(params.gravity, mLayoutParams.gravity); in testCopyFrom() 232 mLayoutParams.gravity = Gravity.TOP; in testWriteToParcel()
|
/cts/tests/input/src/android/input/cts/ |
D | TwoWindowsActivity.kt | 73 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/ |
D | CloseOnOutsideTestActivity.java | 52 params.gravity = Gravity.LEFT | Gravity.TOP; in setupWindowSize()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | Step.java | 383 params.gravity = Gravity.TOP; // TMP in showWithArrayAdapter() 410 if (params.gravity == Gravity.TOP) { in swap() 411 params.gravity = Gravity.BOTTOM; in swap() 413 params.gravity = Gravity.TOP; in swap()
|
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | SyncValidatorSCVHTestCase.java | 146 layoutParams.gravity = Gravity.CENTER; 155 txtParams.gravity = Gravity.TOP | Gravity.LEFT;
|
/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/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/ |
D | AlertWindowTestBaseActivity.java | 62 params.gravity = TOP | LEFT; in createAlertWindow()
|
/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/src/android/view/surfacecontrol/cts/ |
D | SurfaceSyncGroupActivity.java | 66 layoutParams.gravity = Gravity.CENTER; in setupEmbeddedSCVH()
|
/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/tests/app/app/src/android/app/stubs/ |
D | LocalAlertService.java | 69 params.gravity = TOP | LEFT; in showAlertWindow()
|
/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()
|
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/ |
D | OverlayWindowTestActivitySdk22.java | 82 params.gravity = TOP | LEFT; in createOverlayWindowOnDisplay()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/ |
D | PocService.java | 55 mLayoutParams.gravity = Gravity.LEFT | Gravity.TOP; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/ |
D | OverlayService.java | 54 mLayoutParams.gravity = Gravity.CENTER; in onCreate()
|