Searched refs:mCircleRadius (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 60 private float mCircleRadius; field in KeyguardAffordanceView 178 canvas.translate(- mCircleRadius - mHintChevronPadding in drawArrow() 189 float alpha = mCircleRadius / mMinBackgroundRadius; in updateIconColor() 196 if (mCircleRadius > 0) { in drawBackgroundCircle() 198 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle() 204 (mCircleRadius - mMinBackgroundRadius) / (0.5f * mMinBackgroundRadius))); in updateCircleColor() 206 float finishingFraction = 1 - Math.max(0, mCircleRadius - mCircleStartRadius) in updateCircleColor() 219 mCircleStartRadius = mCircleRadius; in finishAnimation() 222 mFlingAnimationUtils.applyDismissing(animatorToRadius, mCircleRadius, maxCircleSize, in finishAnimation() 235 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/core/java/android/widget/ |
D | RadialTimePickerView.java | 125 private final float[] mCircleRadius = new float[3]; field in RadialTimePickerView 711 mCircleRadius[HOURS] = min * mCircleRadiusMultiplier[HOURS]; in updateLayoutData() 712 mCircleRadius[HOURS_INNER] = min * mCircleRadiusMultiplier[HOURS]; in updateLayoutData() 713 mCircleRadius[MINUTES] = min * mCircleRadiusMultiplier[MINUTES]; in updateLayoutData() 715 mMinHypotenuseForInnerNumber = (int) (mCircleRadius[HOURS] in updateLayoutData() 717 mMaxHypotenuseForOuterNumber = (int) (mCircleRadius[HOURS] in updateLayoutData() 719 mHalfwayHypotenusePoint = (int) (mCircleRadius[HOURS] in updateLayoutData() 722 mTextSize[HOURS] = mCircleRadius[HOURS] * mTextSizeMultiplier[HOURS]; in updateLayoutData() 723 mTextSize[MINUTES] = mCircleRadius[MINUTES] * mTextSizeMultiplier[MINUTES]; in updateLayoutData() 726 mInnerTextSize = mCircleRadius[HOURS] * mTextSizeMultiplier[HOURS_INNER]; in updateLayoutData() [all …]
|