Searched refs:getGravity (Results 1 – 13 of 13) sorted by relevance
147 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity()156 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()166 relativeLayout.getGravity()); in testAccessGravity()175 assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.getGravity()); in testAccessGravity()201 assertEquals(Gravity.RIGHT, Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()211 Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetHorizontalGravity()235 assertEquals(Gravity.BOTTOM, Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetVerticalGravity()245 Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetVerticalGravity()
359 assertEquals(Gravity.LEFT, spinner.getGravity()); in verifyGravity()362 assertEquals(Gravity.CENTER_HORIZONTAL, spinner.getGravity()); in verifyGravity()365 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()368 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()371 assertEquals(Gravity.END, spinner.getGravity()); in verifyGravity()
177 assertEquals(Gravity.NO_GRAVITY, mPopupMenu.getGravity()); in testAccessGravity()179 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testAccessGravity()187 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testConstructorWithGravity()
248 assertEquals(Gravity.CENTER_HORIZONTAL, mGridView.getGravity()); in testSetGravity()257 assertEquals(Gravity.LEFT, mGridView.getGravity()); in testSetGravity()267 assertEquals(Gravity.RIGHT, mGridView.getGravity()); in testSetGravity()
644 if (Gravity.CENTER == mToast.getGravity()) { in testAccessMargin_whenCustomToast()665 assertEquals(Gravity.CENTER, mToast.getGravity());680 assertEquals(Gravity.BOTTOM, mToast.getGravity());702 assertEquals(Gravity.BOTTOM, mToast.getGravity());
471 assertEquals(Gravity.CENTER_VERTICAL, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testVerticalCenterGravityOnHorizontalLayout()518 assertEquals(Gravity.BOTTOM, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testBottomGravityOnHorizontalLayout()565 parent.getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK); in testHorizontalCenterGravityOnVerticalLayout()612 assertEquals(Gravity.RIGHT, parent.getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK); in testRightGravityOnVerticalLayout()
575 assertEquals(Gravity.TOP | Gravity.START, mTextView.getGravity()); in testAccessGravity()578 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); in testAccessGravity()581 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()584 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()587 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()590 assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()593 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); in testAccessGravity()595 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()597 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()600 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());
107 assertEquals(gravity, extender.getGravity()); in testWearableExtender()273 assertEquals(gravity, extender.getGravity()); in testWriteToParcel()
295 public int getGravity() { in getGravity() method in PlatformInspectableProcessorTest.ValueTypeTest311 assertEquals(node.getGravity(), mPropertyReader.get("gravity")); in testValueTypeEquals()
6893 method @Deprecated public int getGravity();17411 method public int getGravity();59399 method public int getGravity();59559 method public int getGravity();59870 method public int getGravity();60112 method public int getGravity();60622 method public int getGravity();60879 method public int getGravity();61155 method public int getGravity();