/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 63 private float mCircleRadius; field in KeyguardAffordanceView 183 float alpha = mCircleRadius / mMinBackgroundRadius; in updateIconColor() 190 if (mCircleRadius > 0 || mFinishing) { in drawBackgroundCircle() 200 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle() 207 (mCircleRadius - mMinBackgroundRadius) / (0.5f * mMinBackgroundRadius))); in updateCircleColor() 209 float finishingFraction = 1 - Math.max(0, mCircleRadius - mCircleStartRadius) in updateCircleColor() 223 mCircleStartRadius = mCircleRadius; in finishAnimation() 233 mFlingAnimationUtils.applyDismissing(animatorToRadius, mCircleRadius, maxCircleSize, in finishAnimation() 240 mCircleRadius = maxCircleSize; in finishAnimation() 249 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation() [all …]
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 65 private int mCircleRadius; field in RadialSelectorView 209 int innerNumberRadius = (int) (mCircleRadius * mInnerNumbersRadiusMultiplier); in getDegreesFromCoords() 211 int outerNumberRadius = (int) (mCircleRadius * mOuterNumbersRadiusMultiplier); in getDegreesFromCoords() 220 (int) (mCircleRadius * mInnerNumbersRadiusMultiplier) - mSelectionRadius; in getDegreesFromCoords() 222 (int) (mCircleRadius * mOuterNumbersRadiusMultiplier) + mSelectionRadius; in getDegreesFromCoords() 223 int halfwayHypotenusePoint = (int) (mCircleRadius * in getDegreesFromCoords() 244 int maxAllowedDistance = (int) (mCircleRadius * (1 - mNumbersRadiusMultiplier)); in getDegreesFromCoords() 281 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw() 287 int amPmCircleRadius = (int) (mCircleRadius * mAmPmCircleRadiusMultiplier); in onDraw() 291 mSelectionRadius = (int) (mCircleRadius * mSelectionRadiusMultiplier); in onDraw() [all …]
|
D | CircleView.java | 45 private int mCircleRadius; field in CircleView 101 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw() 107 int amPmCircleRadius = (int) (mCircleRadius * mAmPmCircleRadiusMultiplier); in onDraw() 116 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaint); in onDraw()
|
D | RadialTextsView.java | 61 private float mCircleRadius; field in RadialTextsView 183 mCircleRadius = Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier; in onDraw() 188 float amPmCircleRadius = mCircleRadius * mAmPmCircleRadiusMultiplier; in onDraw() 192 mTextSize = mCircleRadius * mTextSizeMultiplier; in onDraw() 194 mInnerTextSize = mCircleRadius * mInnerTextSizeMultiplier; in onDraw() 207 mCircleRadius * mNumbersRadiusMultiplier * mAnimationRadiusMultiplier; in onDraw() 215 mCircleRadius * mInnerNumbersRadiusMultiplier * mAnimationRadiusMultiplier; in onDraw()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | OpPropAnimation.cpp | 39 sp<CanvasPropertyPrimitive> mCircleRadius = new CanvasPropertyPrimitive(0); member in OpPropAnimation 59 canvas.drawCircle(mCircleX.get(), mCircleY.get(), mCircleRadius.get(), mPaint.get()); in createContent() 68 mCircleRadius->value = value * dp(200); in doFrame()
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | CircledImageView.java | 83 private float mCircleRadius; field in CircledImageView 145 mCircleRadius = a.getDimension(R.styleable.CircledImageView_background_radius, 0); in CircledImageView() 146 mInitialCircleRadius = mCircleRadius; in CircledImageView() 148 R.styleable.CircledImageView_background_radius_pressed, mCircleRadius); in CircledImageView() 437 float radius = mCircleRadius; in getCircleRadius() 438 if (mCircleRadius <= 0 && mCircleRadiusPercent > 0) { in getCircleRadius() 447 if (circleRadius != mCircleRadius) { in setCircleRadius() 448 mCircleRadius = circleRadius; in setCircleRadius()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 179 private int mCircleRadius; field in RadialTimePickerView 652 mCircleRadius = Math.min(mXCenter, mYCenter); in onLayout() 654 mMinDistForInnerNumber = mCircleRadius - mTextInset[HOURS_INNER] - mSelectorRadius; in onLayout() 655 mMaxDistForOuterNumber = mCircleRadius - mTextInset[HOURS] + mSelectorRadius; in onLayout() 656 mHalfwayDist = mCircleRadius - (mTextInset[HOURS] + mTextInset[HOURS_INNER]) / 2; in onLayout() 720 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaintBackground); in drawCircleBackground() 805 mCircleRadius - MathUtils.lerp(hoursInset, minutesInset, mHoursToMinutes); in drawSelector() 849 final float numbersRadius = mCircleRadius - mTextInset[HOURS]; in calculatePositionsHours() 857 final int innerNumbersRadius = mCircleRadius - mTextInset[HOURS_INNER]; in calculatePositionsHours() 865 final float numbersRadius = mCircleRadius - mTextInset[MINUTES]; in calculatePositionsMinutes() [all …]
|