Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java54 private float circleRadius; field in SwipeButtonView
158 float alpha = circleRadius / minBackgroundRadius; in updateIconColor()
165 if (circleRadius > 0 || finishing) { in drawBackgroundCircle()
167 canvas.drawCircle(centerX, centerY, circleRadius, circlePaint); in drawBackgroundCircle()
178 1.0f, (circleRadius - minBackgroundRadius) / (0.5f * minBackgroundRadius))); in updateCircleColor()
181 1 - Math.max(0, circleRadius - circleStartRadius) / (maxCircleSize - circleStartRadius); in updateCircleColor()
197 circleStartRadius = circleRadius; in finishAnimation()
202 animatorToRadius, circleRadius, maxCircleSize, velocity, maxCircleSize); in finishAnimation()
211 circleRadius = maxCircleSize; in finishAnimation()
221 previewView, getLeft() + centerX, getTop() + centerY, circleRadius, maxCircleSize); in finishAnimation()
[all …]
DSwipeButtonHelper.java504 float circleRadius, in updateIcon() argument
517 view.setCircleRadiusWithoutAnimation(circleRadius); in updateIcon()
519 view.setCircleRadius(circleRadius, slowRadiusAnimation); in updateIcon()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java210 float circleRadius = mPressed ? getCircleRadiusPressed() : getCircleRadius(); in onDraw() local
217 final float radius = circleRadius + mCircleBorderWidth + in onDraw()
234 mOval.set(mOval.centerX() - circleRadius, mOval.centerY() - circleRadius, in onDraw()
235 mOval.centerX() + circleRadius, mOval.centerY() + circleRadius); in onDraw()
265 canvas.drawCircle(centerX, centerY, circleRadius, mPaint); in onDraw()
448 public void setCircleRadius(float circleRadius) { in setCircleRadius() argument
449 if (circleRadius != mCircleRadius) { in setCircleRadius()
450 mCircleRadius = circleRadius; in setCircleRadius()