Home
last modified time | relevance | path

Searched refs:getGravity (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLinearLayoutTest.java45 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()
DShadowToastTest.java87 assertThat(toast.getGravity()).isEqualTo(Gravity.CENTER); in shouldSetGravityCorrectly()
DShadowTextViewTest.java103 assertThat(textView.getGravity()).isNotEqualTo(Gravity.CENTER); in testGetGravity()
105 assertThat(textView.getGravity()).isEqualTo(Gravity.CENTER); in testGetGravity()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLinearLayout.java12 public int getGravity() { in getGravity() method in ShadowLinearLayout
DShadowToast.java78 protected int getGravity() { in getGravity() method in ShadowToast
/external/replicaisland/src/com/replica/replicaisland/
DGravityComponent.java47 public Vector2 getGravity() { in getGravity() method in GravityComponent
DOrbitalMagnetComponent.java86 final Vector2 gravityVector = gravity.getGravity(); in applyMagnetism()
DPhysicsComponent.java88 final Vector2 gravityVector = gravity.getGravity(); in update()