Searched refs:getGravity (Results 1 – 12 of 12) sorted by relevance
139 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity()148 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()158 relativeLayout.getGravity()); in testAccessGravity()167 assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()193 assertEquals(Gravity.RIGHT, Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()203 Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()227 assertEquals(Gravity.BOTTOM, Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetVerticalGravity()237 Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetVerticalGravity()
300 assertEquals(Gravity.LEFT, spinner.getGravity()); in verifyGravity()303 assertEquals(Gravity.CENTER_HORIZONTAL, spinner.getGravity()); in verifyGravity()306 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()309 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()312 assertEquals(Gravity.END, spinner.getGravity()); in verifyGravity()
169 assertEquals(Gravity.NO_GRAVITY, mPopupMenu.getGravity()); in testAccessGravity()171 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testAccessGravity()179 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testConstructorWithGravity()
581 if (Gravity.CENTER == mToast.getGravity()) { in testAccessMargin_whenCustomToast()602 assertEquals(Gravity.CENTER, mToast.getGravity());617 assertEquals(Gravity.BOTTOM, mToast.getGravity());639 assertEquals(Gravity.BOTTOM, mToast.getGravity());
238 assertEquals(Gravity.CENTER_HORIZONTAL, mGridView.getGravity()); in testSetGravity()247 assertEquals(Gravity.LEFT, mGridView.getGravity()); in testSetGravity()257 assertEquals(Gravity.RIGHT, mGridView.getGravity()); in testSetGravity()
462 assertEquals(Gravity.CENTER_VERTICAL, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testVerticalCenterGravityOnHorizontalLayout()509 assertEquals(Gravity.BOTTOM, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testBottomGravityOnHorizontalLayout()556 parent.getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK); in testHorizontalCenterGravityOnVerticalLayout()603 assertEquals(Gravity.RIGHT, parent.getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK); in testRightGravityOnVerticalLayout()
515 assertEquals(Gravity.TOP | Gravity.START, mTextView.getGravity()); in testAccessGravity()518 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); in testAccessGravity()521 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()524 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()527 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()530 assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()533 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); in testAccessGravity()535 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()537 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()540 assertEquals(Gravity.TOP | Gravity.START, mTextView.getGravity()); in testAccessGravity()[all …]
128 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); in testAccessGravity()131 assertEquals(Gravity.CENTER, bitmapDrawable.getGravity()); in testAccessGravity()134 assertEquals(-1, bitmapDrawable.getGravity()); in testAccessGravity()137 assertEquals(Integer.MAX_VALUE, bitmapDrawable.getGravity()); in testAccessGravity()347 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); in testGetOpacity()352 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); in testGetOpacity()359 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); in testGetOpacity()462 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); in testInflate()474 assertEquals(Gravity.CENTER, bitmapDrawable.getGravity()); in testInflate()
82 assertEquals(Gravity.TOP, d.getGravity()); in verifyBitmapDrawable()
360 if (Gravity.CENTER == mToast.getGravity()) { in testAccessMargin()381 assertEquals(Gravity.CENTER, mToast.getGravity());396 assertEquals(Gravity.BOTTOM, mToast.getGravity());418 assertEquals(Gravity.BOTTOM, mToast.getGravity());
96 assertEquals(gravity, extender.getGravity()); in testWearableExtender()258 assertEquals(gravity, extender.getGravity()); in testWriteToParcel()
295 public int getGravity() { in getGravity() method in PlatformInspectableProcessorTest.ValueTypeTest311 assertEquals(node.getGravity(), mPropertyReader.get("gravity")); in testValueTypeEquals()