Home
last modified time | relevance | path

Searched refs:BORDER_SIZE (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumLabelMaker.java36 private static final int BORDER_SIZE = 0; field in AlbumLabelMaker
63 return BORDER_SIZE; in getBorderSize()
112 int borders = 2 * BORDER_SIZE; in setLabelWidth()
160 int borders = 2 * BORDER_SIZE; in run()
166 canvas.clipRect(BORDER_SIZE, BORDER_SIZE, in run()
167 bitmap.getWidth() - BORDER_SIZE, in run()
168 bitmap.getHeight() - BORDER_SIZE); in run()
171 canvas.translate(BORDER_SIZE, BORDER_SIZE); in run()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java41 private static final int BORDER_SIZE = 1; field in TiledTexture
42 private static final int TILE_SIZE = CONTENT_SIZE + 2 * BORDER_SIZE;
124 mWidth = width + 2 * BORDER_SIZE; in setSize()
125 mHeight = height + 2 * BORDER_SIZE; in setSize()
138 int x = BORDER_SIZE - offsetX; in onGetBitmap()
139 int y = BORDER_SIZE - offsetY; in onGetBitmap()
288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in drawMixed()
307 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in draw()
331 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorCompareView.java56 public final static float BORDER_SIZE = 0; field in ColorCompareView
63 mBorder = BORDER_SIZE * mDpToPix; in ColorCompareView()
DColorValueView.java53 private final static float BORDER_SIZE = ColorRectView.DOT_SIZE; field in ColorValueView
62 mBorder = BORDER_SIZE * mDpToPix; in ColorValueView()
DColorSaturationView.java59 public final static float BORDER_SIZE = 20;; field in ColorSaturationView
68 mBorder = BORDER_SIZE * mDpToPix; in ColorSaturationView()
DColorOpacityView.java59 public final static float BORDER_SIZE = 20;; field in ColorOpacityView
66 mBorder = BORDER_SIZE * mDpToPix; in ColorOpacityView()
DColorBrightnessView.java59 public final static float BORDER_SIZE = 20;; field in ColorBrightnessView
68 mBorder = BORDER_SIZE * mDpToPix; in ColorBrightnessView()
DColorHueView.java58 public final static float BORDER_SIZE = 20; field in ColorHueView
69 mBorder = BORDER_SIZE * mDpToPix; in ColorHueView()
DColorSVRectView.java59 public final static float BORDER_SIZE = 20; field in ColorSVRectView
68 mBorder = BORDER_SIZE * mDpToPix; in ColorSVRectView()
DColorRectView.java65 public final static float BORDER_SIZE = 10; field in ColorRectView
73 mBorder = BORDER_SIZE * mDpToPix; in ColorRectView()