Home
last modified time | relevance | path

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

/external/setupdesign/main/src/com/google/android/setupdesign/util/
DDescriptionStyler.java47 setGravity(description, PartnerStyleHelper.getLayoutGravity(context)); in applyPartnerCustomizationStyle()
79 static void setGravity(TextView description, int gravity) { in setGravity() method in DescriptionStyler
81 description.setGravity(gravity); in setGravity()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DHeaderMixin.java123 setGravity(header, Gravity.CENTER); in applyPartnerCustomizationStyle()
126 setGravity(header, Gravity.START); in applyPartnerCustomizationStyle()
218 private void setGravity(TextView header, int gravity) { in setGravity() method in HeaderMixin
219 header.setGravity(gravity); in setGravity()
DIconMixin.java110 setGravity(iconImage, gravity); in applyPartnerCustomizationStyle()
193 private void setGravity(ImageView icon, int gravity) { in setGravity() method in IconMixin
/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.java86 toast.setGravity(Gravity.CENTER, 0, 0); in shouldSetGravityCorrectly()
93 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/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardLayout.java341 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); in getIllustration()
345 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT); in getIllustration()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java71 protected 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java1973 toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL, 10, 10); in doShowToast()