Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java75 public static void drawIndicator(Canvas canvas, Drawable indicator, int indicatorSize, in drawIndicator() argument
77 int left = (int) centerX - indicatorSize / 2; in drawIndicator()
78 int top = (int) centerY - indicatorSize / 2; in drawIndicator()
79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize); in drawIndicator()
83 public static void drawIndicators(Canvas canvas, Drawable cropIndicator, int indicatorSize, in drawIndicators() argument
88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top); in drawIndicators()
91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top); in drawIndicators()
94 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.bottom); in drawIndicators()
97 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.bottom); in drawIndicators()
101 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.centerX(), bounds.top); in drawIndicators()
[all …]