/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLinearLayoutTest.java | 7 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()
|
D | ShadowToastTest.java | 7 import android.view.Gravity; 86 toast.setGravity(Gravity.CENTER, 0, 0); in shouldSetGravityCorrectly() 87 assertThat(toast.getGravity()).isEqualTo(Gravity.CENTER); in shouldSetGravityCorrectly()
|
D | ShadowTextViewTest.java | 32 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()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLinearLayoutTest.java | 7 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()
|
D | ShadowToastTest.java | 7 import android.view.Gravity; 86 toast.setGravity(Gravity.CENTER, 0, 0); in shouldSetGravityCorrectly() 87 assertThat(toast.getGravity()).isEqualTo(Gravity.CENTER); in shouldSetGravityCorrectly()
|
D | ShadowTextViewTest.java | 32 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()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPhoneWindow.java | 8 import android.view.Gravity; 39 return Gravity.CENTER | Gravity.BOTTOM; in getOptionsPanelGravity()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | Illustration.java | 30 import android.view.Gravity; 167 Gravity.apply( in onLayout() 168 Gravity.FILL_HORIZONTAL | Gravity.TOP, in onLayout()
|
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | TrimView.kt | 6 import android.view.Gravity 52 leftLp.gravity = Gravity.START 56 rightLp.gravity = Gravity.END
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | ContentStyler.java | 23 import android.view.Gravity; 217 return Gravity.CENTER; in getPartnerContentTextGravity() 219 return Gravity.START; in getPartnerContentTextGravity() 221 return Gravity.END; in getPartnerContentTextGravity()
|
D | PartnerStyleHelper.java | 23 import android.view.Gravity; 49 return Gravity.CENTER; in getLayoutGravity() 51 return Gravity.START; in getLayoutGravity()
|
D | ItemStyler.java | 23 import android.view.Gravity; 69 ((LinearLayout) listItemView).setGravity(Gravity.CENTER_VERTICAL); in applyPartnerCustomizationItemStyle()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | CustomToastSystem.java | 21 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/ |
D | GlideBitmapDrawable.java | 12 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/ |
D | ExpandableSwitchItem.java | 28 import android.view.Gravity; 89 setIconGravity(Gravity.TOP); in ExpandableSwitchItem() 97 setIconGravity(a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.TOP)); in ExpandableSwitchItem()
|
D | Item.java | 24 import android.view.Gravity; 50 private int iconGravity = Gravity.CENTER_VERTICAL; 68 iconGravity = a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.CENTER_VERTICAL); in Item()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 35 import android.view.Gravity; 347 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); in getIllustration() 351 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT); in getIllustration()
|
/external/robolectric/integration_tests/androidx_test/src/test/java/org/robolectric/integrationtests/axt/ |
D | EspressoWithWindowLayersTest.java | 16 import android.view.Gravity; 180 popup.showAtLocation(view, Gravity.LEFT | Gravity.TOP, viewLocation[0], viewLocation[1]); in showPopupOver()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
D | GifDrawable.java | 14 import android.view.Gravity; 224 … Gravity.apply(GifState.GRAVITY, getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), destRect); in draw() 313 private static final int GRAVITY = Gravity.FILL;
|
/external/setupcompat/main/java/com/google/android/setupcompat/view/ |
D | ButtonBarLayout.java | 21 import android.view.Gravity; 136 setHorizontalGravity(Gravity.CENTER); in setStacked()
|
/external/ImageMagick/PerlMagick/demo/ |
D | settings.pl | 19 Gravity => 'East',
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/ |
D | Main.java | 26 import android.view.Gravity; 121 mLayout.setGravity(Gravity.CENTER_HORIZONTAL); in initializeViews()
|
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/ |
D | MainActivity.java | 19 import android.view.Gravity; 225 toast.setGravity(Gravity.TOP, 0, 200); in showToast()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterBarMixin.java | 33 import android.view.Gravity; 296 buttonContainer.setGravity(Gravity.END | Gravity.CENTER_VERTICAL);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
D | ViewInflater.java | 30 import android.view.Gravity; 495 setInteger(view, attr, getInteger(Gravity.class, value)); in setProperty() 555 setIntegerField(layout, "gravity", getInteger(Gravity.class, value)); in setLayoutProperty()
|