HomeSort by relevance Sort by last modified time
    Searched refs:dpToPixel (Results 1 - 18 of 18) sorted by null

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

Completed in 530 milliseconds