/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | StandardMenuPopup.java | 142 public void setGravity(int gravity) { argument 143 mDropDownGravity = gravity;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
H A D | PhoneWindowManagerTestBase.java | 112 mStatusBar.attrs.gravity = Gravity.TOP; 122 mNavigationBar.attrs.gravity = Gravity.BOTTOM;
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 426 * X position for this window. With the default gravity it is ignored. 434 * Y position for this window. With the default gravity it is ignored. 2002 * given as the desired gravity. For example you can specify 2011 public int gravity; field in class:WindowManager.LayoutParams 2588 out.writeInt(gravity); 2644 gravity = in.readInt(); 2786 if (gravity != o.gravity) { 2787 gravity = o.gravity; [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 1669 // The following values indicates a gravity of a window. 1814 * According to CEA-708B, the anchor id indicates the gravity of the window as the follows. 1818 * <h4>Anchor id and the gravity of a window</h4> 1846 * In order to handle the gravity of a window, there are two steps. First, set the size of 1848 * determined in a ratio. Second, set the gravity of the window. CaptionWindowLayout is 1849 * inherited from RelativeLayout. Hence, we could set the gravity of its child view, 1853 * The gravity of the window is also related to its size. When it should be pushed to a one 1896 int gravity = Gravity.CENTER; 1905 gravity = Gravity.LEFT; 1930 gravity [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Spinner.java | 471 * @param gravity See {@link android.view.Gravity} 475 public void setGravity(int gravity) { argument 476 if (mGravity != gravity) { 477 if ((gravity & Gravity.HORIZONTAL_GRAVITY_MASK) == 0) { 478 gravity |= Gravity.START; 480 mGravity = gravity; 755 // Position vertically based on gravity setting
|
H A D | ActionMenuView.java | 580 params.gravity = Gravity.CENTER_VERTICAL; 595 if (result.gravity <= Gravity.NO_GRAVITY) { 596 result.gravity = Gravity.CENTER_VERTICAL;
|
H A D | GridLayout.java | 121 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters. 134 * weight or a gravity. To prevent a column from stretching, ensure that one of the components 135 * in the column does not define a weight or a gravity. 151 * no gravity was defined on the view. If gravity was defined, then the gone-marked 642 static Alignment getAlignment(int gravity, boolean horizontal) { argument 645 int flags = (gravity & mask) >> shift; 1119 This method is then left with the simpler task of applying margins, gravity 2163 int gravity = a.getInt(GRAVITY, Gravity.NO_GRAVITY); 2168 this.columnSpec = spec(column, colSpan, getAlignment(gravity, tru 2187 setGravity(int gravity) argument [all...] |
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/ |
H A D | CoordinatorLayoutTest.java | 160 // gravity, expected left, expected top 180 lp.gravity = testCase[0]; 264 lpInsetView.gravity = Gravity.TOP | Gravity.LEFT; 272 lpDodgeInsetView.gravity = Gravity.TOP | Gravity.LEFT; 700 lp.gravity = Gravity.BOTTOM; 718 lp.gravity = Gravity.BOTTOM;
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | BridgeInflater.java | 533 String gravity = mOpenDrawerLayouts.get(view); 534 if (gravity != null) { 535 DrawerLayoutUtil.openDrawer(view, gravity);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionMenuView.java | 585 params.gravity = Gravity.CENTER_VERTICAL; 600 if (result.gravity <= Gravity.NO_GRAVITY) { 601 result.gravity = Gravity.CENTER_VERTICAL;
|
H A D | TooltipPopup.java | 131 outParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP;
|
H A D | ScrollingTabContainerView.java | 477 lp.gravity = Gravity.CENTER_VERTICAL; 497 lp.gravity = Gravity.CENTER_VERTICAL;
|
H A D | ToolbarWidgetWrapper.java | 431 lp.gravity = Gravity.START | Gravity.BOTTOM; 493 lp.gravity = Gravity.START | Gravity.BOTTOM;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 726 params.gravity = Gravity.CENTER; 1043 final int hgrav = (ablp != null ? ablp.gravity : DEFAULT_CUSTOM_GRAVITY) & 1173 final int gravity = ablp != null ? ablp.gravity : DEFAULT_CUSTOM_GRAVITY; 1185 int hgravity = gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; 1206 } else if (gravity == Gravity.NO_GRAVITY) { 1223 int vgravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; 1225 if (gravity == Gravity.NO_GRAVITY) {
|
H A D | ScrollingTabContainerView.java | 439 lp.gravity = Gravity.CENTER_VERTICAL; 459 lp.gravity = Gravity.CENTER_VERTICAL;
|
H A D | ToolbarWidgetWrapper.java | 452 lp.gravity = Gravity.START | Gravity.BOTTOM; 514 lp.gravity = Gravity.START | Gravity.BOTTOM;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarStatusBar.java | 312 leftlp.gravity = Gravity.LEFT; 329 rightlp.gravity = Gravity.RIGHT;
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | BaseGridView.java | 827 * Sets the gravity used for child view positioning. Defaults to 830 * @param gravity See {@link android.view.Gravity} 832 public void setGravity(int gravity) { argument 833 mLayoutManager.setGravity(gravity);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 257 /** Standard gravity (g) on Earth. This value is equivalent to 1G */ 260 /** Sun's gravity in SI units (m/s^2) */ 262 /** Mercury's gravity in SI units (m/s^2) */ 264 /** Venus' gravity in SI units (m/s^2) */ 266 /** Earth's gravity in SI units (m/s^2) */ 268 /** The Moon's gravity in SI units (m/s^2) */ 270 /** Mars' gravity in SI units (m/s^2) */ 272 /** Jupiter's gravity in SI units (m/s^2) */ 274 /** Saturn's gravity in SI units (m/s^2) */ 276 /** Uranus' gravity i 1180 getRotationMatrix(float[] R, float[] I, float[] gravity, float[] geomagnetic) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | TooltipPopup.java | 124 outParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 95 lp.gravity = Gravity.CENTER_HORIZONTAL;
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | SliceViewUtil.java | 175 lp.gravity = Gravity.CENTER;
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | CircularProgressLayout.java | 128 params.gravity = Gravity.CENTER;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 252 public void setGravity(int gravity) { argument 253 mGravity = gravity;
|
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
H A D | GridLayout.java | 118 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters. 131 * weight or a gravity. To prevent a column from stretching, ensure that one of the components 132 * in the column does not define a weight or a gravity. 148 * no gravity was defined on the view. If gravity was defined, then the gone-marked 622 static Alignment getAlignment(int gravity, boolean horizontal) { argument 625 int flags = (gravity & mask) >> shift; 1012 This method is then left with the simpler task of applying margins, gravity 1883 * @attr name android:gravity 2050 int gravity 2074 setGravity(int gravity) argument [all...] |