Home
last modified time | relevance | path

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

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java47 private final float mBitmapOffset; field in DotRenderer
60 mBitmapOffset = -mBackgroundWithShadow.getHeight() * 0.5f; // Same as width. in DotRenderer()
114 ? Math.max(0, canvasBounds.left - (dotCenterX + mBitmapOffset)) in draw()
115 : Math.min(0, canvasBounds.right - (dotCenterX - mBitmapOffset)); in draw()
116 float offsetY = Math.max(0, canvasBounds.top - (dotCenterY + mBitmapOffset)); in draw()
123 canvas.drawBitmap(mBackgroundWithShadow, mBitmapOffset, mBitmapOffset, mCirclePaint); in draw()