Home
last modified time | relevance | path

Searched refs:getGravity (Results 1 – 11 of 11) 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.java76 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.java76 public 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()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowToast.java63 public int getGravity() { in getGravity() method in ShadowToast
DShadowTextView.java308 public int getGravity() { in getGravity() method in ShadowTextView
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java71 assertThat(textView.getGravity(), not(equalTo(Gravity.CENTER))); in testGetGravity()
73 assertThat(textView.getGravity(), equalTo(Gravity.CENTER)); in testGetGravity()