/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseGridView.java | 22 import android.view.Gravity; 194 setGravity(a.getInt(R.styleable.lbBaseGridView_android_gravity, Gravity.NO_GRAVITY)); 481 * @param gravity See {@link android.view.Gravity} 483 public void setGravity(int gravity) { 484 mLayoutManager.setGravity(gravity);
|
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/ |
SendActivity.java | 28 import android.view.Gravity; 185 popupWindow.showAtLocation(view, Gravity.CENTER, 0, 0);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
QuickSettings.java | 25 import android.view.Gravity; 54 lp.gravity = Gravity.RIGHT;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationContainer.java | 27 import android.view.Gravity; 508 forceGravity = Gravity.TOP; 512 forceGravity = Gravity.NO_GRAVITY; 596 // stacking algorithm in positionOverlays(), unless gravity is forced to the top 597 final int y = (forceGravity == Gravity.TOP) ? withinTop : withinBottom; 601 final int v = ((forceGravity != Gravity.NO_GRAVITY) ? 602 forceGravity : adapterItem.getGravity()) & Gravity.VERTICAL_GRAVITY_MASK; 604 case Gravity.BOTTOM: 606 case Gravity.TOP: 609 throw new UnsupportedOperationException("unsupported gravity: " + v) [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListAdapter.java | 34 import android.view.Gravity; 207 galleryIcon.setGravity(Gravity.CENTER);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 78 import android.view.Gravity; 163 mTextView.setGravity(Gravity.CENTER); 282 assertEquals(Gravity.TOP | Gravity.START, mTextView.getGravity()); 285 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); 288 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); 291 assertEquals(Gravity.CENTER, mTextView.getGravity()); 294 assertEquals(Gravity.FILL, mTextView.getGravity()) [all...] |
CompoundButtonTest.java | 40 import android.view.Gravity; 266 // onDraw when Gravity.TOP, it's default. 281 // onDraw when Gravity.BOTTOM 282 compoundButton.setGravity(Gravity.BOTTOM); 290 // onDraw when Gravity.CENTER_VERTICAL 291 compoundButton.setGravity(Gravity.CENTER_VERTICAL);
|
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 36 import android.view.Gravity; 225 mLayout.setHorizontalGravity(Gravity.LEFT); 250 mLayout.setHorizontalGravity(Gravity.LEFT); 281 mLayout.setHorizontalGravity(Gravity.LEFT); 326 mLayout.setHorizontalGravity(Gravity.LEFT);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
CameraWidgetFrame.java | 27 import android.view.Gravity; 322 atBottom ? Gravity.BOTTOM|Gravity.FILL_HORIZONTAL 323 : Gravity.RIGHT|Gravity.FILL_VERTICAL));
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 41 import android.view.Gravity; [all...] |
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/notifications/ |
NotificationPresets.java | 38 import android.view.Gravity; 290 .setContentIconGravity(Gravity.START)) 301 .setContentIconGravity(Gravity.START))
|
/development/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPresets.java | 38 import android.view.Gravity; 290 .setContentIconGravity(Gravity.START)) 301 .setContentIconGravity(Gravity.START))
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/ |
SwipableOverlayView.java | 16 import android.view.Gravity; 174 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 13 import android.view.Gravity; 182 Gravity.CENTER)); 191 Gravity.CENTER));
|
/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 28 import android.view.Gravity; 244 lp.gravity = Gravity.TOP | Gravity.START; 423 * respects the gravity of a child's layout parameters.
|
ActionMenuView.java | 22 import android.view.Gravity; 550 params.gravity = Gravity.CENTER_VERTICAL; 565 if (result.gravity <= Gravity.NO_GRAVITY) { 566 result.gravity = Gravity.CENTER_VERTICAL;
|
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 30 import android.view.Gravity; 372 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT;
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 17 import android.view.Gravity; 49 public static final float GRAVITY = 500f; 173 Gravity.TOP|Gravity.RIGHT)); 226 // gravity points down 227 mBody.applyForce(new World.Vec(0, mass * World.GRAVITY));
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
DrawerLayoutActivity.java | 28 import android.view.Gravity;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TextViewTest.java | 9 import android.view.Gravity; 71 assertThat(textView.getGravity(), not(equalTo(Gravity.CENTER))); 72 textView.setGravity(Gravity.CENTER); 73 assertThat(textView.getGravity(), equalTo(Gravity.CENTER));
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 29 import android.view.Gravity; 559 params.gravity = Gravity.CENTER_VERTICAL; 574 if (result.gravity <= Gravity.NO_GRAVITY) { 575 result.gravity = Gravity.CENTER_VERTICAL;
|
/hardware/invensense/60xx/libsensors_iio/ |
MPLSensor.cpp | 111 {"MPL Gravity", "Invensense", 1, 272 mPendingEvents[Gravity].version = sizeof(sensors_event_t); 273 mPendingEvents[Gravity].sensor = ID_GR; 274 mPendingEvents[Gravity].type = SENSOR_TYPE_GRAVITY; 303 mHandlers[Gravity] = &MPLSensor::gravHandler; 1075 (1 << LinearAccel) | (1 << Gravity)))) { [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
CaptureAnimationOverlay.java | 29 import android.view.Gravity;
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
MainFragment.java | 36 import android.view.Gravity; 273 view.setGravity(Gravity.CENTER);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 22 import android.view.Gravity; 73 private int mDropDownGravity = Gravity.NO_GRAVITY; 110 public void setGravity(int gravity) { 111 mDropDownGravity = gravity;
|