/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumLabelMaker.java | 36 private static final int BORDER_SIZE = 0; 63 return BORDER_SIZE; 112 int borders = 2 * BORDER_SIZE; 160 int borders = 2 * BORDER_SIZE; 166 canvas.clipRect(BORDER_SIZE, BORDER_SIZE, 167 bitmap.getWidth() - BORDER_SIZE, 168 bitmap.getHeight() - BORDER_SIZE); 171 canvas.translate(BORDER_SIZE, BORDER_SIZE); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 41 private static final int BORDER_SIZE = 1; 42 private static final int TILE_SIZE = CONTENT_SIZE + 2 * BORDER_SIZE; 124 mWidth = width + 2 * BORDER_SIZE; 125 mHeight = height + 2 * BORDER_SIZE; 138 int x = BORDER_SIZE - offsetX; 139 int y = BORDER_SIZE - offsetY; 288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); 307 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY) [all...] |
/external/chromium/chrome/browser/ui/views/bubble/ |
bubble_border.cc | 37 gfx::Size border_size(contents_size); 40 border_size.Enlarge(insets.left() + insets.right(), 63 x += w / 2 + arrow_offset - border_size.width() + 1; 73 x += kArrowOverlap - border_size.width(); 78 x += w / 2 - border_size.width() / 2; 91 y += kArrowOverlap - border_size.height(); 101 y += h / 2 + arrow_offset - border_size.height() + 1; 109 y += h / 2 - border_size.height() / 2; 113 return gfx::Rect(x, y, border_size.width(), border_size.height()) [all...] |
/external/chromium_org/ui/views/bubble/ |
tray_bubble_view.cc | 117 gfx::Size border_size(contents_size); 119 border_size.Enlarge(insets.width(), insets.height()); 121 position_relative_to.width() / 2 - border_size.width() / 2; 123 const int y = position_relative_to.y() - border_size.height() + 125 return gfx::Rect(x, y, border_size.width(), border_size.height());
|
bubble_border.cc | 215 int BubbleBorder::GetArrowOffset(const gfx::Size& border_size) const { 217 border_size.width() : border_size.height();
|
bubble_border.h | 161 int GetArrowOffset(const gfx::Size& border_size) const;
|
/external/chromium_org/ash/shelf/ |
overflow_bubble_view.cc | 187 const int border_size = local 190 const int arrow_offset = border_size + kPadding + kShelfViewLeadingInset +
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorBrightnessView.java | 59 public final static float BORDER_SIZE = 20;; 68 mBorder = BORDER_SIZE * mDpToPix;
|
ColorCompareView.java | 56 public final static float BORDER_SIZE = 0; 63 mBorder = BORDER_SIZE * mDpToPix;
|
ColorHueView.java | 58 public final static float BORDER_SIZE = 20; 69 mBorder = BORDER_SIZE * mDpToPix;
|
ColorOpacityView.java | 59 public final static float BORDER_SIZE = 20;; 66 mBorder = BORDER_SIZE * mDpToPix;
|
ColorRectView.java | 65 public final static float BORDER_SIZE = 10; 73 mBorder = BORDER_SIZE * mDpToPix;
|
ColorSVRectView.java | 59 public final static float BORDER_SIZE = 20; 68 mBorder = BORDER_SIZE * mDpToPix;
|
ColorSaturationView.java | 59 public final static float BORDER_SIZE = 20;; 68 mBorder = BORDER_SIZE * mDpToPix;
|
ColorValueView.java | 53 private final static float BORDER_SIZE = ColorRectView.DOT_SIZE; 62 mBorder = BORDER_SIZE * mDpToPix;
|
/external/chromium_org/ash/wm/caption_buttons/ |
maximize_bubble_controller_bubble.cc | 196 gfx::Size border_size(contents_size); 198 border_size.Enlarge(insets.width(), insets.height()); 201 int x = (anchor_size_.width() - border_size.width()) / 2; 208 return gfx::Rect(view_origin, border_size);
|
/external/chromium_org/ppapi/tests/ |
test_file_io.cc | 782 const int32_t border_size = strlen(border); local 787 std::vector<char> extended_buf_1(border_size * 2 + size_1); 788 char* buf_1 = &extended_buf_1[border_size]; 789 memcpy(&extended_buf_1[0], border, border_size); 790 memcpy(buf_1 + size_1, border, border_size); 795 std::vector<char> extended_buf_2(border_size * 2 + size_2); 796 char* buf_2 = &extended_buf_2[border_size]; 797 memcpy(&extended_buf_2[0], border, border_size); 798 memcpy(buf_2 + size_2, border, border_size); [all...] |