Searched refs:getGravity (Results 1 – 11 of 11) sorted by relevance
45 assertThat(shadow.getGravity()).isEqualTo(Gravity.TOP | Gravity.START); in canAnswerGravity()47 assertThat(shadow.getGravity()).isEqualTo(Gravity.CENTER_VERTICAL | Gravity.START); in canAnswerGravity()49 assertThat(shadow.getGravity()).isEqualTo(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in canAnswerGravity()
76 assertThat(toast.getGravity()).isEqualTo(Gravity.CENTER); in shouldSetGravityCorrectly()
103 assertThat(textView.getGravity()).isNotEqualTo(Gravity.CENTER); in testGetGravity()105 assertThat(textView.getGravity()).isEqualTo(Gravity.CENTER); in testGetGravity()
12 public int getGravity() { in getGravity() method in ShadowLinearLayout
76 public int getGravity() { in getGravity() method in ShadowToast
47 public Vector2 getGravity() { in getGravity() method in GravityComponent
86 final Vector2 gravityVector = gravity.getGravity(); in applyMagnetism()
88 final Vector2 gravityVector = gravity.getGravity(); in update()
63 public int getGravity() { in getGravity() method in ShadowToast
308 public int getGravity() { in getGravity() method in ShadowTextView
71 assertThat(textView.getGravity(), not(equalTo(Gravity.CENTER))); in testGetGravity()73 assertThat(textView.getGravity(), equalTo(Gravity.CENTER)); in testGetGravity()