Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java54 private static final float RING_EFFECT_RATIO = 0.095f; field in PredictedAppIcon
93 canvas.translate(getWidth() * RING_EFFECT_RATIO, getHeight() * RING_EFFECT_RATIO); in onDraw()
94 canvas.scale(1 - 2 * RING_EFFECT_RATIO, 1 - 2 * RING_EFFECT_RATIO); in onDraw()
104 canvas.translate(-getWidth() * RING_EFFECT_RATIO, -getHeight() * RING_EFFECT_RATIO); in drawDotIfNecessary()
105 canvas.scale(1 + 2 * RING_EFFECT_RATIO, 1 + 2 * RING_EFFECT_RATIO); in drawDotIfNecessary()
150 int predictionInset = (int) (getIconSize() * RING_EFFECT_RATIO); in getIconBounds()
196 float outlineSize = mNormalizedIconSize * RING_EFFECT_RATIO; in updateRingPath()
197 float iconSize = getIconSize() * (1 - 2 * RING_EFFECT_RATIO); in updateRingPath()
224 int internalSize = (int) (bounds.width() * RING_EFFECT_RATIO); in getSourceVisualDragBounds()