Home
last modified time | relevance | path

Searched refs:setGravity (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLinearLayoutTest.java46 linearLayout.setGravity(Gravity.CENTER_VERTICAL); // Only affects horizontal. in canAnswerGravity()
48 linearLayout.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); // Affects both directions. in canAnswerGravity()
DShadowToastTest.java75 toast.setGravity(Gravity.CENTER, 0, 0); in shouldSetGravityCorrectly()
82 toast.setGravity(0, 12, 34); in shouldSetOffsetsCorrectly()
DShadowTextViewTest.java104 textView.setGravity(Gravity.CENTER); in testGetGravity()
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
DHomeFragment.java39 tv.setGravity(CENTER); in onCreateView()
/external/replicaisland/src/com/replica/replicaisland/
DCustomToastSystem.java52 mToast.setGravity(Gravity.CENTER, 0, 0); in toast()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowToast.java58 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() method in ShadowToast
DShadowTextView.java313 public void setGravity(int gravity) { in setGravity() method in ShadowTextView
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java69 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() method in ShadowToast
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java121 mLayout.setGravity(Gravity.CENTER_HORIZONTAL); in initializeViews()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java72 textView.setGravity(Gravity.CENTER); in testGetGravity()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java1767 toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL, 10, 10); in showToast()