Searched refs:minBackgroundRadius (Results 1 – 2 of 2) sorted by relevance
48 private final int minBackgroundRadius; field in SwipeButtonView123 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()
57 private int minBackgroundRadius; field in SwipeButtonHelper118 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()