/frameworks/base/core/java/android/view/ |
D | Gravity.java | 138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply() 159 public static void apply(int gravity, int w, int h, Rect container, in apply() 186 public static void apply(int gravity, int w, int h, Rect container, in apply() 296 public static void apply(int gravity, int w, int h, Rect container, in apply() 318 public static void applyDisplay(int gravity, Rect display, Rect inoutObj) { in applyDisplay() 376 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay() 387 public static boolean isVertical(int gravity) { in isVertical() 397 public static boolean isHorizontal(int gravity) { in isHorizontal() 412 public static int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity() 447 public static String toString(int gravity) { in toString()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | DrawerLayoutUtil.java | 42 int gravity = -1; in openDrawer() local 57 private static void openDrawer(View drawerLayout, int gravity) { in openDrawer() 60 gravity); in openDrawer() local
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | AnimatedTemperatureView.java | 66 static boolean isHorizontal(int gravity) { in isHorizontal() 72 static boolean isLeft(int gravity, int layoutDirection) { in isLeft() 78 static boolean isVertical(int gravity) { in isVertical() 83 static boolean isTop(int gravity) { in isTop()
|
D | TemperatureTextAnimator.java | 108 private void setupAnimations(int gravity) { in setupAnimations()
|
D | TemperatureBackgroundAnimator.java | 87 private void setupAnimations(int gravity, int pivotOffset, Rect paddingRect, in setupAnimations()
|
/frameworks/base/core/java/android/widget/ |
D | PopupMenu.java | 77 public PopupMenu(Context context, View anchor, int gravity) { in PopupMenu() 98 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr, in PopupMenu() 139 public void setGravity(int gravity) { in setGravity()
|
D | FrameLayout.java | 293 int gravity = lp.gravity; in layoutChildren() local 449 public int gravity = UNSPECIFIED_GRAVITY; field in FrameLayout.LayoutParams 475 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
|
D | LinearLayout.java | 1248 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local 1414 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local 1646 int gravity = lp.gravity; in layoutVertical() local 1772 int gravity = lp.gravity; in layoutHorizontal() local 1871 public void setGravity(int gravity) { in setGravity() 1899 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local 1908 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local 2017 public int gravity = -1; field in LinearLayout.LayoutParams
|
D | Toast.java | 227 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() 488 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow() local
|
D | PopupWindow.java | 1306 public void showAtLocation(View parent, int gravity, int x, int y) { in showAtLocation() 1308 showAtLocation(parent.getWindowToken(), gravity, x, y); in showAtLocation() local 1323 public void showAtLocation(IBinder token, int gravity, int x, int y) { in showAtLocation() 1402 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() 1593 int gravity = mGravity == Gravity.NO_GRAVITY ? Gravity.START | Gravity.TOP : mGravity; in computeGravity() local 1731 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 492 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation() 542 public static int dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewBy() 564 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, in dragViewBy() 597 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() 614 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() 648 public static int dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToX() 664 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() 695 public static int dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToY() 711 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 248 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition() 263 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() 287 protected void attachToAnchor(View anchor, int xoff, int yoff, int gravity) { in attachToAnchor()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 187 private View createDecorWindow(int gravity, int width, int height) { in createDecorWindow() 192 private View createWindow(String name, int gravity, int width, int height, int color, int flags, in createWindow() 218 private void updateWindow(View v, int gravity, int width, int height, in updateWindow()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 130 int windowType, int gravity, boolean takesFocus) { in SoftInputWindow() 174 public void setGravity(int gravity) { in setGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsOnboarding.java | 403 final int gravity; in show() local 482 private WindowManager.LayoutParams getWindowLayoutParams(int gravity, int x) { in getWindowLayoutParams()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 114 public static void boundsFromDirection(DisplayCutout displayCutout, int gravity, Rect out) { in boundsFromDirection()
|
/frameworks/base/core/proto/android/view/ |
D | windowlayoutparams.proto | 37 optional int32 gravity = 8; field
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | MockView.java | 115 public void setGravity(int gravity) { in setGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ReverseLinearLayout.java | 140 public void setDefaultGravity(int gravity) { in setDefaultGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareUiLayout.java | 286 private int rotateGravityRight(int gravity) { in rotateGravityRight() 336 private int rotateGravityLeft(int gravity) { in rotateGravityLeft()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 135 private static int findInsetForSide(Size display, List<Rect> boundingRects, int gravity) { in findInsetForSide()
|
/frameworks/base/core/java/android/app/ |
D | ActionBar.java | 1381 public int gravity = Gravity.NO_GRAVITY; field in ActionBar.LayoutParams 1399 public LayoutParams(int width, int height, int gravity) { in LayoutParams() 1405 public LayoutParams(int gravity) { in LayoutParams()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayAdapter.java | 194 int gravity = chooseOverlayGravity(number); in updateOverlayDisplayDevicesLocked() local 380 public OverlayDisplayHandle(String name, List<OverlayMode> modes, int gravity, in OverlayDisplayHandle()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 80 public ClipDrawable(Drawable drawable, int gravity, int orientation) { in ClipDrawable()
|
D | ScaleDrawable.java | 89 public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) { in ScaleDrawable()
|