Home
last modified time | relevance | path

Searched refs:indicatorSize (Results 1 – 3 of 3) 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 …]
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java642 int indicatorSize = getResources().getDimensionPixelSize(R.dimen.focus_indicator_size); in createFocusIndicatorDrawable() local
643 Bitmap bitmap = Bitmap.createBitmap(indicatorSize, indicatorSize, Bitmap.Config.ARGB_8888); in createFocusIndicatorDrawable()
656 int halfIndicatorSize = indicatorSize / 2; in createFocusIndicatorDrawable()
884 int indicatorSize = getResources().getDimensionPixelSize(R.dimen.focus_indicator_size); in showFocusIndicator() local
886 normalizedPoint[0] * mTextureViewCard.getWidth() - indicatorSize / 2f; in showFocusIndicator()
888 - indicatorSize / 2f; in showFocusIndicator()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java697 final Size indicatorSize = in drawRunningAppIndicatorIfNecessary() local
699 canvas.drawRect(mRunningAppIconBounds.centerX() - indicatorSize.getWidth() / 2, in drawRunningAppIndicatorIfNecessary()
700 indicatorTop, mRunningAppIconBounds.centerX() + indicatorSize.getWidth() / 2, in drawRunningAppIndicatorIfNecessary()
701 indicatorTop + indicatorSize.getHeight(), mRunningAppIndicatorPaint); in drawRunningAppIndicatorIfNecessary()