/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayout_LayoutParamsTest.java | 53 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 59 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 65 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 72 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 79 assertEquals(-1, linearLayoutParams.gravity); in testConstructor() 83 linearLayoutParams2.gravity = Gravity.RIGHT; in testConstructor() 88 assertEquals(Gravity.RIGHT, linearLayoutParams.gravity); in testConstructor()
|
D | TextViewFadingEdgeTest.java | 149 data.gravity, data.textAlignment, data.scrollToMiddle); in testFadingEdge() 159 int gravity, int textAlignment, boolean scrollToMiddle) throws Throwable { in createTextView() argument 169 textView.setGravity(gravity); in createTextView() 197 final int gravity; field in TextViewFadingEdgeTest.TestCase 203 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument 209 this.gravity = gravity; in TestCase() 216 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument 218 this(errorMsg, text, horizontalFadingEnabled, gravity, textAlignment, false, in TestCase()
|
D | GridLayoutTest.java | 60 int gravity; field in GridLayoutTest.Alignment 64 protected Alignment(String name, int gravity) { in Alignment() argument 66 this.gravity = gravity; in Alignment() 216 lp.setGravity(va.gravity | Gravity.CENTER_HORIZONTAL); in populate() 227 lp.setGravity(Gravity.CENTER_VERTICAL | ha.gravity); in populate() 241 lp.setGravity(va.gravity | ha.gravity); in populate()
|
D | FrameLayout_LayoutParamsTest.java | 95 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor() 104 assertEquals("Gravity", fllp.gravity, copy.gravity); in testCopyConstructor()
|
D | PopupWindowTest.java | 448 final int gravity = Gravity.TOP | Gravity.START; in testShowAsDropDown_ClipToScreen_Overlap_Offset() local 452 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 455 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 458 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 462 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 465 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 468 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 472 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 475 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 478 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() [all …]
|
D | GalleryTest.java | 192 private void setGalleryGravity(final int gravity) throws Throwable { in setGalleryGravity() argument 194 mGallery.setGravity(gravity); in setGalleryGravity()
|
D | PopupMenuTest.java | 357 public Builder withGravity(int gravity) { in withGravity() argument 359 mGravity = gravity; in withGravity()
|
D | RadioGroupTest.java | 306 assertEquals(-1, layoutParams.gravity); in testGenerateLayoutParams() 319 assertEquals(Gravity.BOTTOM, layoutParams.gravity); in testGenerateLayoutParams()
|
D | RadioGroup_LayoutParamsTest.java | 113 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
|
D | ListPopupWindowTest.java | 242 private void verifyAnchoring(int horizontalOffset, int verticalOffset, int gravity) { in verifyAnchoring() argument 258 Gravity.getAbsoluteGravity(gravity, upperAnchor.getLayoutDirection()); in verifyAnchoring()
|
D | FrameLayoutTest.java | 220 assertEquals(Gravity.BOTTOM, params.gravity); in testGenerateLayoutParams2()
|
/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/hostsidetests/services/activityandwindowmanager/windowmanager/frametestapp/src/android/server/frametestapp/ |
D | DialogTestActivity.java | 141 params.gravity = Gravity.TOP | Gravity.LEFT; in testExplicitSizeTopLeftGravity() 149 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity() 165 params.gravity = Gravity.LEFT | Gravity.TOP; in testOversizedDimensionsNoLimits() 182 params.gravity = Gravity.LEFT | Gravity.TOP; in testExplicitPositionMatchParentNoLimits() 197 params.gravity = Gravity.LEFT | Gravity.TOP; in testWithMargins()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowManager_LayoutParamsTest.java | 145 params.gravity = Gravity.TOP; in testCopyFrom() 149 assertEquals(params.gravity, mLayoutParams.gravity); in testCopyFrom() 222 mLayoutParams.gravity = Gravity.TOP; in testWriteToParcel()
|
D | GravityTest.java | 53 private void applyGravity(int gravity, int w, int h, boolean bRtl) { in applyGravity() argument 55 Gravity.apply(gravity, w, h, mInRect, mOutRect, layoutDirection); in applyGravity()
|
D | WindowTest.java | 532 assertEquals(0, attrs.gravity); in testSetGravity() 538 assertEquals(Gravity.TOP, attrs.gravity); in testSetGravity()
|
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/alertwindowappsdk25/src/android/server/alertwindowappsdk25/ |
D | AlertWindowTestBaseActivity.java | 62 params.gravity = TOP | LEFT; in createAlertWindow()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 97 wmlp.gravity = Gravity.TOP | Gravity.LEFT; in testActionOutsideDoesNotContainedObscuredInformation() 110 wmlp.gravity = Gravity.TOP | Gravity.RIGHT; in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/tests/app/app2/src/com/android/app2/ |
D | AlertWindowService.java | 91 params.gravity = TOP | LEFT; in addAlertWindow()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 256 final float gravity = 9.81f; in testGetRotationMatrix() local 267 gm[6] = gravity; // m/s^2, first column gravity in testGetRotationMatrix() 340 gI[0] = gI[1] = gI[2] = data.nextFloat() * gravity * 0.05f; // sqrt(3) * 0.05 < 0.1 in testGetRotationMatrix()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 379 public MockClipDrawable(Drawable drawable, int gravity, int orientation) { in MockClipDrawable() argument 380 super(drawable, gravity, orientation); in MockClipDrawable()
|
D | ScaleDrawableTest.java | 551 public MockScaleDrawable(Drawable drawable, int gravity, in MockScaleDrawable() argument 553 super(drawable, gravity, scaleWidth, scaleHeight); in MockScaleDrawable()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 764 params.gravity = Gravity.TOP; in addTwoAppPanelWindows() 796 params.gravity = Gravity.BOTTOM; in addTwoAppPanelWindows()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 608 public static final int gravity 89455 public int gravity 103416 public int gravity 104495 public int gravity 109854 public static final int gravity
|