Searched refs:dpToPixel (Results 1 – 12 of 12) sorted by relevance
63 mBarHeight = GalleryUtils.dpToPixel(48); in UndoBarView()64 mBarMargin = GalleryUtils.dpToPixel(4); in UndoBarView()65 mUndoTextMargin = GalleryUtils.dpToPixel(16); in UndoBarView()66 mIconMargin = GalleryUtils.dpToPixel(8); in UndoBarView()67 mIconSize = GalleryUtils.dpToPixel(32); in UndoBarView()68 mSeparatorRightMargin = GalleryUtils.dpToPixel(12); in UndoBarView()69 mSeparatorTopMargin = GalleryUtils.dpToPixel(10); in UndoBarView()70 mSeparatorBottomMargin = GalleryUtils.dpToPixel(10); in UndoBarView()71 mSeparatorWidth = GalleryUtils.dpToPixel(1); in UndoBarView()72 mDeletedTextMargin = GalleryUtils.dpToPixel(16); in UndoBarView()[all …]
1106 int maxVelocity = GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages()1107 int escapeVelocity = GalleryUtils.dpToPixel(SWIPE_ESCAPE_VELOCITY); in flingImages()1108 int escapeDistance = GalleryUtils.dpToPixel(SWIPE_ESCAPE_DISTANCE); in flingImages()
104 private static final int IMAGE_GAP = GalleryUtils.dpToPixel(16);105 private static final int HORIZONTAL_SLACK = GalleryUtils.dpToPixel(12);
108 public static float dpToPixel(float dp) { in dpToPixel() method in GalleryUtils112 public static int dpToPixel(int dp) { in dpToPixel() method in GalleryUtils113 return Math.round(dpToPixel((float) dp)); in dpToPixel()118 return Math.round(dpToPixel(meter * 39.37f * 160)); in meterToPixel()
32 private static final int THRESHOLD_FIRST_MOVE = Util.dpToPixel(10); // pixels34 private static final int ICON_SPACING = Util.dpToPixel(12);
53 mShutterButtonRadius = Util.dpToPixel(SHUTTER_BUTTON_RADIUS); in onFinishInflate()106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS); in onLayout()
82 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in ZoomControlWheel()146 mCenterX = right - left - Util.dpToPixel( in onLayout()
160 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in initialize()344 mCenterX = right - left - Util.dpToPixel( in onLayout()
37 public static final int ICON_SPACING = Util.dpToPixel(16);
37 private static int ICON_SPACING = Util.dpToPixel(16);
108 public static int dpToPixel(int dp) { in dpToPixel() method in Util
1081 int margin = (int) dpToPixel(mTestableContext, 15) in testScrollbarVisibility_justEnoughToShowOnlyButtons()1116 int margin = (int) dpToPixel(mTestableContext, 15) in testScrollbarVisibility_enoughToShowEverything()1905 private static float dpToPixel(Context context, int dp) { in dpToPixel() method in CarUiRecyclerViewTest