(float size)
| 28 | public static final Rect rectTmp2 = new Rect(); |
| 29 | |
| 30 | private static int getSize(float size) { |
| 31 | return (int) (size < 0 ? size : dip2px(size)); |
| 32 | } |
| 33 | |
| 34 | private static int getAbsoluteGravity(int gravity) { |
| 35 | return Gravity.getAbsoluteGravity(gravity, LocaleController.isRTL() ? ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR); |