Home
last modified time | relevance | path

Searched refs:Gravity (Results 1 – 25 of 25) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLinearLayoutTest.java7 import android.view.Gravity;
45 assertThat(shadow.getGravity()).isEqualTo(Gravity.TOP | Gravity.START); in canAnswerGravity()
46 linearLayout.setGravity(Gravity.CENTER_VERTICAL); // Only affects horizontal. in canAnswerGravity()
47 assertThat(shadow.getGravity()).isEqualTo(Gravity.CENTER_VERTICAL | Gravity.START); in canAnswerGravity()
48 linearLayout.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); // Affects both directions. in canAnswerGravity()
49 assertThat(shadow.getGravity()).isEqualTo(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in canAnswerGravity()
DShadowToastTest.java7 import android.view.Gravity;
86 toast.setGravity(Gravity.CENTER, 0, 0); in shouldSetGravityCorrectly()
87 assertThat(toast.getGravity()).isEqualTo(Gravity.CENTER); in shouldSetGravityCorrectly()
DShadowTextViewTest.java32 import android.view.Gravity;
103 assertThat(textView.getGravity()).isNotEqualTo(Gravity.CENTER); in testGetGravity()
104 textView.setGravity(Gravity.CENTER); in testGetGravity()
105 assertThat(textView.getGravity()).isEqualTo(Gravity.CENTER); in testGetGravity()
DShadowApplicationTest.java38 import android.view.Gravity;
595 pw.showAtLocation(new LinearLayout(context), Gravity.CENTER, 0, 0); in getLatestPopupWindow()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustration.java30 import android.view.Gravity;
167 Gravity.apply( in onLayout()
168 Gravity.FILL_HORIZONTAL | Gravity.TOP, in onLayout()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DTrimView.kt7 import android.view.Gravity
52 leftLp.gravity = Gravity.START
56 rightLp.gravity = Gravity.END
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DContentStyler.java23 import android.view.Gravity;
206 return Gravity.CENTER; in getPartnerContentTextGravity()
208 return Gravity.START; in getPartnerContentTextGravity()
210 return Gravity.END; in getPartnerContentTextGravity()
DPartnerStyleHelper.java23 import android.view.Gravity;
49 return Gravity.CENTER; in getLayoutGravity()
51 return Gravity.START; in getLayoutGravity()
DItemStyler.java23 import android.view.Gravity;
69 ((LinearLayout) listItemView).setGravity(Gravity.CENTER_VERTICAL); in applyPartnerCustomizationItemStyle()
/external/replicaisland/src/com/replica/replicaisland/
DCustomToastSystem.java21 import android.view.Gravity;
52 mToast.setGravity(Gravity.CENTER, 0, 0); in toast()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java12 import android.view.Gravity;
98 Gravity.apply(BitmapState.GRAVITY, width, height, getBounds(), destRect); in draw()
142 private static final int GRAVITY = Gravity.FILL;
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DExpandableSwitchItem.java32 import android.view.Gravity;
89 setIconGravity(Gravity.TOP); in ExpandableSwitchItem()
97 setIconGravity(a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.TOP)); in ExpandableSwitchItem()
DItem.java24 import android.view.Gravity;
49 private int iconGravity = Gravity.CENTER_VERTICAL;
66 iconGravity = a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.CENTER_VERTICAL); in Item()
/external/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardLayout.java35 import android.view.Gravity;
347 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); in getIllustration()
351 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT); in getIllustration()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java14 import android.view.Gravity;
224Gravity.apply(GifState.GRAVITY, getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), destRect); in draw()
313 private static final int GRAVITY = Gravity.FILL;
/external/ImageMagick/PerlMagick/demo/
Dsettings.pl19 Gravity => 'East',
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java26 import android.view.Gravity;
121 mLayout.setGravity(Gravity.CENTER_HORIZONTAL); in initializeViews()
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/
DMainActivity.java19 import android.view.Gravity;
224 toast.setGravity(Gravity.TOP, 0, 200); in showToast()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsActivity.java24 import android.view.Gravity;
440 popUp.showAtLocation((View) findViewById(R.id.settingsMainLayout), Gravity.TOP, 0, 0); in onButtonHelp()
DLoopbackActivity.java49 import android.view.Gravity;
1784 popUp.showAtLocation((View) findViewById(R.id.linearLayoutMain), Gravity.TOP, 0, 0); in onButtonGlitches()
1812 popUp.showAtLocation((View) findViewById(R.id.linearLayoutMain), Gravity.TOP, 0, 0); in onButtonReport()
1842 popUp.showAtLocation((View) findViewById(R.id.linearLayoutMain), Gravity.TOP, 0, 0); in onButtonHeatMap()
1973 toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL, 10, 10); in doShowToast()
/external/protobuf/docs/
Doptions.md172 1. Gravity
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java33 import android.view.Gravity;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java30 import android.view.Gravity;
495 setInteger(view, attr, getInteger(Gravity.class, value)); in setProperty()
555 setIntegerField(layout, "gravity", getInteger(Gravity.class, value)); in setLayoutProperty()
/external/python/cpython3/Lib/tkinter/
D__init__.py172 Gravity = '24' variable in EventType
/external/ImageMagick/Magick++/
DChangeLog507 Bugfix. Remove "Gravity" from the end of each gravity