Home
last modified time | relevance | path

Searched defs:gravity (Results 1 – 25 of 72) 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()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DDrawerLayoutUtil.java39 int gravity = -1; in openDrawer() local
54 private static void openDrawer(View drawerLayout, int gravity) { in openDrawer()
57 gravity); in openDrawer() local
/frameworks/support/compat/java/android/support/v4/view/
DGravityCompat.java62 public static void apply(int gravity, int w, int h, Rect container, in apply()
96 public static void apply(int gravity, int w, int h, Rect container, in apply()
125 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay()
144 public static int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DPopupMenu.java77 public PopupMenu(@NonNull Context context, @NonNull View anchor, int gravity) { in PopupMenu()
98 public PopupMenu(@NonNull Context context, @NonNull View anchor, int gravity, in PopupMenu()
139 public void setGravity(int gravity) { in setGravity()
DLinearLayoutCompat.java1065 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1238 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1471 int gravity = lp.gravity; in layoutVertical() local
1588 int gravity = lp.gravity; in layoutHorizontal() local
1678 public void setGravity(int gravity) { in setGravity()
1704 final int gravity = horizontalGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
1712 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
1787 public int gravity = -1; field in LinearLayoutCompat.LayoutParams
/frameworks/base/core/java/android/widget/
DPopupMenu.java74 public PopupMenu(Context context, View anchor, int gravity) { in PopupMenu()
95 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr, in PopupMenu()
136 public void setGravity(int gravity) { in setGravity()
DFrameLayout.java284 int gravity = lp.gravity; in layoutChildren() local
436 public int gravity = UNSPECIFIED_GRAVITY; field in FrameLayout.LayoutParams
462 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
DLinearLayout.java1211 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1376 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1608 int gravity = lp.gravity; in layoutVertical() local
1734 int gravity = lp.gravity; in layoutHorizontal() local
1829 public void setGravity(int gravity) { in setGravity()
1856 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
1865 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
1970 public int gravity = -1; field in LinearLayout.LayoutParams
DToast.java219 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity()
470 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow() local
DPopupWindow.java1168 public void showAtLocation(View parent, int gravity, int x, int y) { in showAtLocation()
1170 showAtLocation(parent.getWindowToken(), gravity, x, y); in showAtLocation() local
1184 public void showAtLocation(IBinder token, int gravity, int x, int y) { in showAtLocation()
1263 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown()
1446 int gravity = mGravity == Gravity.NO_GRAVITY ? Gravity.START | Gravity.TOP : mGravity; in computeGravity() local
1582 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition()
/frameworks/support/core-ui/api21/android/support/v4/widget/
DDrawerLayoutCompatApi21.java47 public static void dispatchChildInsets(View child, Object insets, int gravity) { in dispatchChildInsets()
60 int gravity) { in applyMarginInsets()
/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/support/compat/java/android/support/v4/widget/
DPopupWindowCompat.java43 int gravity) { in showAsDropDown()
113 int gravity) { in showAsDropDown()
217 int gravity) { in showAsDropDown()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java64 int width, int height, int gravity) { in OverlayDisplayWindow()
73 int width, int height, int gravity) { in create()
115 int width, int height, int gravity) { in LegacyImpl()
213 int width, int height, int gravity) { in JellybeanMr1Impl()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java182 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation()
215 public static int dragViewTo(Instrumentation inst, View v, int gravity, int toX, in dragViewTo()
233 public static int dragViewToX(Instrumentation inst, View v, int gravity, int toX) { in dragViewToX()
248 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY()
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java465 public void setDrawerShadow(Drawable shadowDrawable, @EdgeGravity int gravity) { in setDrawerShadow()
504 public void setDrawerShadow(@DrawableRes int resId, @EdgeGravity int gravity) { in setDrawerShadow()
505 setDrawerShadow(ContextCompat.getDrawable(getContext(), resId), gravity); in setDrawerShadow() local
679 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in setDrawerLockMode() local
932 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in getDrawerViewAbsoluteGravity() local
971 View findDrawerWithGravity(int gravity) { in findDrawerWithGravity()
991 static String gravityToString(@EdgeGravity int gravity) { in gravityToString()
1420 final int gravity = ((LayoutParams) child.getLayoutParams()).gravity; in isDrawerView() local
1636 public void openDrawer(@EdgeGravity int gravity) { in openDrawer()
1647 public void openDrawer(@EdgeGravity int gravity, boolean animate) { in openDrawer()
[all …]
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerLayout.java338 private void closeDrawerDelayed(final int gravity, long delayMs) { in closeDrawerDelayed()
358 void closeDrawer(int gravity) { in closeDrawer()
389 void openDrawer(int gravity) { in openDrawer()
445 void peekDrawer(final int gravity) { in peekDrawer()
776 int gravity = in maybePeekDrawer() local
835 private WearableDrawerView findDrawerWithGravity(int gravity) { in findDrawerWithGravity()
1179 private ClosePeekRunnable(int gravity) { in ClosePeekRunnable()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java69 int windowType, int gravity, boolean takesFocus) { in SoftInputWindow()
111 public void setGravity(int gravity) { in setGravity()
/frameworks/support/core-utils/api21/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable21.java53 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/support/wear/src/android/support/wear/widget/
DBoxInsetLayout.java251 int gravity = lp.gravity; in onLayout() local
323 int gravity = childLayoutParams.gravity; in measureChild() local
478 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
483 public LayoutParams(int width, int height, int gravity, @BoxedEdges int boxed) { in LayoutParams()
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java147 public void setGravity(int gravity) { in setGravity()
218 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java104 public void setGravity(int gravity) { in setGravity()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java179 void setExpandedTextGravity(int gravity) { in setExpandedTextGravity()
190 void setCollapsedTextGravity(int gravity) { in setCollapsedTextGravity()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageView.java65 int gravity = a.getInt(R.styleable.UsageView_android_gravity, 0); in UsageView() local

123