Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java48 private final int minBackgroundRadius; field in SwipeButtonView
123 minBackgroundRadius = in SwipeButtonView()
158 float alpha = circleRadius / minBackgroundRadius; in updateIconColor()
178 1.0f, (circleRadius - minBackgroundRadius) / (0.5f * minBackgroundRadius))); in updateCircleColor()
283 float diff = circleRadius - minBackgroundRadius; in setCircleRadius()
300 Math.abs(this.circleRadius - circleRadius) / (float) minBackgroundRadius; in setCircleRadius()
DSwipeButtonHelper.java57 private int minBackgroundRadius; field in SwipeButtonHelper
118 minBackgroundRadius = in initDimens()
485 float translation = (circleSize - minBackgroundRadius) / BACKGROUND_RADIUS_SCALE_FACTOR; in getTranslationFromRadius()
493 return (translation - touchSlop) * BACKGROUND_RADIUS_SCALE_FACTOR + minBackgroundRadius; in getRadiusFromTranslation()