/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 58 mBarHeight = (int) GalleryUtils.dpToPixel(48); in UndoBarView() 59 mBarMargin = (int) GalleryUtils.dpToPixel(4); in UndoBarView() 60 mUndoTextMargin = (int) GalleryUtils.dpToPixel(16); in UndoBarView() 61 mIconMargin = (int) GalleryUtils.dpToPixel(8); in UndoBarView() 62 mIconSize = (int) GalleryUtils.dpToPixel(32); in UndoBarView() 63 mSeparatorRightMargin = (int) GalleryUtils.dpToPixel(12); in UndoBarView() 64 mSeparatorTopMargin = (int) GalleryUtils.dpToPixel(10); in UndoBarView() 65 mSeparatorBottomMargin = (int) GalleryUtils.dpToPixel(10); in UndoBarView() 66 mSeparatorWidth = (int) GalleryUtils.dpToPixel(1); in UndoBarView() 67 mDeletedTextMargin = (int) GalleryUtils.dpToPixel(16); in UndoBarView() [all …]
|
D | PhotoView.java | 1049 int maxVelocity = (int) GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages() 1051 (int) GalleryUtils.dpToPixel(SWIPE_ESCAPE_VELOCITY); in flingImages()
|
D | PositionController.java | 103 private static final int IMAGE_GAP = GalleryUtils.dpToPixel(16); 104 private static final int HORIZONTAL_SLACK = GalleryUtils.dpToPixel(12);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 80 mShutterButtonRadius = Util.dpToPixel(IndicatorControlWheelContainer.SHUTTER_BUTTON_RADIUS); in ZoomControlWheel() 81 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in ZoomControlWheel() 163 mCenterX = right - left - Util.dpToPixel( in onLayout() 168 mCenterY = bottom - top - Util.dpToPixel( in onLayout()
|
D | IndicatorControlWheelContainer.java | 67 mShutterButtonRadius = Util.dpToPixel(SHUTTER_BUTTON_RADIUS); in onFinishInflate() 124 mCenterX = right - left - Util.dpToPixel(WHEEL_CENTER_TO_SECANT); in onLayout() 132 mCenterY = bottom - top - Util.dpToPixel(WHEEL_CENTER_TO_SECANT); in onLayout()
|
D | ZoomControlBar.java | 34 private static final int THRESHOLD_FIRST_MOVE = Util.dpToPixel(10); // pixels 36 private static final int ICON_SPACING = Util.dpToPixel(12);
|
D | IndicatorControlWheel.java | 211 mShutterButtonRadius = Util.dpToPixel( in initialize() 213 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in initialize() 465 mCenterX = right - left - Util.dpToPixel( in onLayout() 470 mCenterY = bottom - top - Util.dpToPixel( in onLayout()
|
D | IndicatorControlBar.java | 39 public static final int ICON_SPACING = Util.dpToPixel(16);
|
D | SecondLevelIndicatorControlBar.java | 38 private static int ICON_SPACING = Util.dpToPixel(16);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlBar.java | 32 private static final int THRESHOLD_FIRST_MOVE = Util.dpToPixel(10); // pixels 34 private static final int ICON_SPACING = Util.dpToPixel(12);
|
D | IndicatorControlWheelContainer.java | 53 mShutterButtonRadius = Util.dpToPixel(SHUTTER_BUTTON_RADIUS); in onFinishInflate() 106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS); in onLayout()
|
D | ZoomControlWheel.java | 82 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in ZoomControlWheel() 146 mCenterX = right - left - Util.dpToPixel( in onLayout()
|
D | IndicatorControlBar.java | 37 public static final int ICON_SPACING = Util.dpToPixel(16);
|
D | IndicatorControlWheel.java | 160 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in initialize() 337 mCenterX = right - left - Util.dpToPixel( in onLayout()
|
D | SecondLevelIndicatorControlBar.java | 37 private static int ICON_SPACING = Util.dpToPixel(16);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 81 public static float dpToPixel(float dp) { in dpToPixel() method in GalleryUtils 85 public static int dpToPixel(int dp) { in dpToPixel() method in GalleryUtils 86 return Math.round(dpToPixel((float) dp)); in dpToPixel() 91 return Math.round(dpToPixel(meter * 39.37f * 160)); in meterToPixel()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 108 public static int dpToPixel(int dp) { in dpToPixel() method in Util
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 93 public static int dpToPixel(int dp) { in dpToPixel() method in Util
|