Searched refs:getGravity (Results 1 – 11 of 11) 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()
299 assertEquals(Gravity.LEFT, spinner.getGravity()); in verifyGravity()302 assertEquals(Gravity.CENTER_HORIZONTAL, spinner.getGravity()); in verifyGravity()305 assertEquals(Gravity.RIGHT, spinner.getGravity()); in verifyGravity()308 assertEquals(Gravity.START, spinner.getGravity()); in verifyGravity()311 assertEquals(Gravity.END, spinner.getGravity()); in verifyGravity()
166 assertEquals(Gravity.NO_GRAVITY, mPopupMenu.getGravity()); in testAccessGravity()168 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testAccessGravity()176 assertEquals(Gravity.TOP, mPopupMenu.getGravity()); in testConstructorWithGravity()
351 assertEquals(Gravity.CENTER, mToast.getGravity());366 assertEquals(Gravity.BOTTOM, mToast.getGravity());388 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()
392 assertEquals(Gravity.TOP | Gravity.START, mTextView.getGravity()); in testAccessGravity()395 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); in testAccessGravity()398 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()401 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()404 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()407 assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity()410 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); in testAccessGravity()412 assertEquals(Gravity.FILL, mTextView.getGravity()); in testAccessGravity()414 assertEquals(Gravity.CENTER, mTextView.getGravity()); in testAccessGravity()417 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()
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()