Home
last modified time | relevance | path

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

12

/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()
DWindowManager.java1106 public int gravity; field in WindowManager.LayoutParams
DWindow.java618 public void setGravity(int gravity) in setGravity()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java498 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation()
548 public static int dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewBy()
570 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, in dragViewBy()
603 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo()
620 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo()
654 public static int dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToX()
670 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX()
701 public static int dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToY()
717 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY()
/frameworks/base/core/java/android/widget/
DLinearLayout.java1093 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1265 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1494 int gravity = lp.gravity; in layoutVertical() local
1606 int gravity = lp.gravity; in layoutHorizontal() local
1700 public void setGravity(int gravity) { in setGravity()
1717 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
1726 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
1817 public int gravity = -1; field in LinearLayout.LayoutParams
DFrameLayout.java409 int gravity = lp.gravity; in onLayout() local
604 public int gravity = -1; field in FrameLayout.LayoutParams
636 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
DToast.java198 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity()
385 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow() local
DPopupWindow.java810 public void showAtLocation(View parent, int gravity, int x, int y) { in showAtLocation()
811 showAtLocation(parent.getWindowToken(), gravity, x, y); in showAtLocation() local
825 public void showAtLocation(IBinder token, int gravity, int x, int y) { in showAtLocation()
DRelativeLayout.java278 public void setGravity(int gravity) { in setGravity()
295 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
304 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
397 int gravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onMeasure() local
DTableRow.java206 final int gravity = lp.gravity; in measureChildBeforeLayout() local
DSpinner.java358 public void setGravity(int gravity) { in setGravity()
DGallery.java1336 public void setGravity(int gravity) in setGravity()
DTextView.java1731 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingTop() local
1764 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingBottom() local
2815 public void setGravity(int gravity) { in setGravity()
4354 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getVerticalOffset() local
4385 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBottomVerticalOffset() local
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java134 public void setGravity(int gravity) { in setGravity()
/frameworks/base/services/java/com/android/server/display/
DOverlayDisplayAdapter.java153 int gravity = chooseOverlayGravity(number); in updateOverlayDisplayDevicesLocked() local
268 int width, int height, int densityDpi, int gravity) { in OverlayDisplayHandle()
DOverlayDisplayWindow.java95 int width, int height, int densityDpi, int gravity, Listener listener) { in OverlayDisplayWindow()
/frameworks/base/core/java/android/app/
DActionBar.java945 public int gravity = Gravity.NO_GRAVITY; field in ActionBar.LayoutParams
963 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
968 public LayoutParams(int gravity) { in LayoutParams()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DMultiPaneChallengeLayout.java367 final int gravity = Gravity.getAbsoluteGravity(lp.gravity, getLayoutDirection()); in layoutWithGravity() local
486 public int gravity = Gravity.NO_GRAVITY; field in MultiPaneChallengeLayout.LayoutParams
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java62 public ClipDrawable(Drawable drawable, int gravity, int orientation) { in ClipDrawable()
DScaleDrawable.java55 public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) { in ScaleDrawable()
DBitmapDrawable.java251 public void setGravity(int gravity) { in setGravity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java300 public void setGravity(int gravity) { in setGravity()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java235 public void setGravity(int gravity) { in setGravity()
/frameworks/base/core/java/android/hardware/
DSensorManager.java787 float[] gravity, float[] geomagnetic) { in getRotationMatrix()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1167 final int gravity = ablp != null ? ablp.gravity : DEFAULT_CUSTOM_GRAVITY; in onLayout() local

12