Home
last modified time | relevance | path

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

123

/frameworks/support/v4/java/android/support/v4/view/
DGravityCompat.java29 int getAbsoluteGravity(int gravity, int layoutDirection); in getAbsoluteGravity()
30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); in apply()
31 void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply()
33 void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection); in applyDisplay()
38 public int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity()
44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply()
50 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply()
56 public void applyDisplay(int gravity, Rect display, Rect inoutObj, in applyDisplay()
64 public int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity()
69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply()
[all …]
/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/v4/jellybean-mr1/android/support/v4/view/
DGravityCompatJellybeanMr1.java25 public static int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity()
29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply()
34 public static void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply()
39 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay()
/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.java1059 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1232 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1465 int gravity = lp.gravity; in layoutVertical() local
1582 int gravity = lp.gravity; in layoutHorizontal() local
1672 public void setGravity(int gravity) { in setGravity()
1688 final int gravity = horizontalGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
1696 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
1769 public int gravity = -1; field in LinearLayoutCompat.LayoutParams
/frameworks/base/core/java/android/widget/
DPopupMenu.java73 public PopupMenu(Context context, View anchor, int gravity) { in PopupMenu()
94 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr, in PopupMenu()
135 public void setGravity(int gravity) { in setGravity()
DFrameLayout.java284 int gravity = lp.gravity; in layoutChildren() local
435 public int gravity = UNSPECIFIED_GRAVITY; field in FrameLayout.LayoutParams
461 public LayoutParams(int width, int height, int gravity) { in LayoutParams()
DLinearLayout.java1161 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1326 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() local
1558 int gravity = lp.gravity; in layoutVertical() local
1684 int gravity = lp.gravity; in layoutHorizontal() local
1779 public void setGravity(int gravity) { in setGravity()
1806 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity() local
1815 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() local
1919 public int gravity = -1; field in LinearLayout.LayoutParams
DToast.java212 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity()
412 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow() local
DPopupWindow.java1118 public void showAtLocation(View parent, int gravity, int x, int y) { in showAtLocation()
1119 showAtLocation(parent.getWindowToken(), gravity, x, y); in showAtLocation() local
1133 public void showAtLocation(IBinder token, int gravity, int x, int y) { in showAtLocation()
1216 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown()
1397 int gravity = Gravity.START | Gravity.TOP; in computeGravity() local
1527 int xOffset, int yOffset, int width, int height, int gravity) { in findDropDownPosition()
/frameworks/support/v4/api21/android/support/v4/widget/
DDrawerLayoutCompatApi21.java45 public static void dispatchChildInsets(View child, Object insets, int gravity) { in dispatchChildInsets()
58 int gravity) { in applyMarginInsets()
/frameworks/support/v4/java/android/support/v4/widget/
DPopupWindowCompat.java35 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown()
48 int gravity) { in showAsDropDown()
101 int gravity) { in showAsDropDown()
180 int gravity) { in showAsDropDown()
DDrawerLayout.java462 public void setDrawerShadow(Drawable shadowDrawable, @EdgeGravity int gravity) { in setDrawerShadow()
501 public void setDrawerShadow(@DrawableRes int resId, @EdgeGravity int gravity) { in setDrawerShadow()
502 setDrawerShadow(getResources().getDrawable(resId), gravity); in setDrawerShadow() local
676 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()
1419 final int gravity = ((LayoutParams) child.getLayoutParams()).gravity; in isDrawerView() local
1633 public void openDrawer(@EdgeGravity int gravity) { in openDrawer()
1644 public void openDrawer(@EdgeGravity int gravity, boolean animate) { in openDrawer()
[all …]
/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/v4/kitkat/android/support/v4/widget/
DPopupWindowCompatKitKat.java29 int gravity) { in showAsDropDown()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java183 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation()
216 public static int dragViewTo(Instrumentation inst, View v, int gravity, int toX, in dragViewTo()
234 public static int dragViewToX(Instrumentation inst, View v, int gravity, int toX) { in dragViewToX()
249 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY()
/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/v4/api21/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable21.java51 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java145 public void setGravity(int gravity) { in setGravity()
216 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java174 void setExpandedTextGravity(int gravity) { in setExpandedTextGravity()
185 void setCollapsedTextGravity(int gravity) { in setCollapsedTextGravity()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java103 public void setGravity(int gravity) { in setGravity()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageView.java65 int gravity = a.getInt(R.styleable.UsageView_android_gravity, 0); in UsageView() local
/frameworks/support/percent/src/android/support/percent/
DPercentFrameLayout.java130 public LayoutParams(int width, int height, int gravity) { in LayoutParams()

123