Home
last modified time | relevance | path

Searched defs:gravity (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/view/
DGravity.java138 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/
DDrawerLayoutUtil.java42 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/
DAnimatedTemperatureView.java66 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()
DTemperatureTextAnimator.java108 private void setupAnimations(int gravity) { in setupAnimations()
DTemperatureBackgroundAnimator.java87 private void setupAnimations(int gravity, int pivotOffset, Rect paddingRect, in setupAnimations()
/frameworks/base/core/java/android/widget/
DPopupMenu.java77 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()
DFrameLayout.java293 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()
DLinearLayout.java1248 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
DToast.java227 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity()
488 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow() local
DPopupWindow.java1306 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/
DTouchUtils.java492 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/
DAutofillPopupWindow.java248 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/
DScreenDecorWindowTests.java187 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/
DSoftInputWindow.java130 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/
DRecentsOnboarding.java403 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/
DDisplayCutoutView.java114 public static void boundsFromDirection(DisplayCutout displayCutout, int gravity, Rect out) { in boundsFromDirection()
/frameworks/base/core/proto/android/view/
Dwindowlayoutparams.proto37 optional int32 gravity = 8; field
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java115 public void setGravity(int gravity) { in setGravity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java140 public void setDefaultGravity(int gravity) { in setDefaultGravity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java286 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/
DWmDisplayCutout.java135 private static int findInsetForSide(Size display, List<Rect> boundingRects, int gravity) { in findInsetForSide()
/frameworks/base/core/java/android/app/
DActionBar.java1381 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/
DOverlayDisplayAdapter.java194 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/
DClipDrawable.java80 public ClipDrawable(Drawable drawable, int gravity, int orientation) { in ClipDrawable()
DScaleDrawable.java89 public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) { in ScaleDrawable()

123