Home
last modified time | relevance | path

Searched refs:mCircleRadius (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java63 private float mCircleRadius; field in KeyguardAffordanceView
172 float alpha = mCircleRadius / mMinBackgroundRadius; in updateIconColor()
179 if (mCircleRadius > 0) { in drawBackgroundCircle()
186 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
193 (mCircleRadius - mMinBackgroundRadius) / (0.5f * mMinBackgroundRadius))); in updateCircleColor()
195 float finishingFraction = 1 - Math.max(0, mCircleRadius - mCircleStartRadius) in updateCircleColor()
209 mCircleStartRadius = mCircleRadius; in finishAnimation()
218 mFlingAnimationUtils.applyDismissing(animatorToRadius, mCircleRadius, maxCircleSize, in finishAnimation()
232 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
234 mFlingAnimationUtils.applyDismissing(mPreviewClipper, mCircleRadius, maxCircleSize, in finishAnimation()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java65 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 …]
DCircleView.java45 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()
DRadialTextsView.java61 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/
DRadialTimePickerView.java170 private int mCircleRadius; field in RadialTimePickerView
639 mCircleRadius = Math.min(mXCenter, mYCenter); in onLayout()
641 mMinDistForInnerNumber = mCircleRadius - mTextInset[HOURS_INNER] - mSelectorRadius; in onLayout()
642 mMaxDistForOuterNumber = mCircleRadius - mTextInset[HOURS] + mSelectorRadius; in onLayout()
643 mHalfwayDist = mCircleRadius - (mTextInset[HOURS] + mTextInset[HOURS_INNER]) / 2; in onLayout()
662 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaintBackground); in drawCircleBackground()
732 final int selLength = mCircleRadius - mTextInset[index]; in drawSelector()
775 final float numbersRadius = mCircleRadius - mTextInset[HOURS]; in calculatePositionsHours()
783 final int innerNumbersRadius = mCircleRadius - mTextInset[HOURS_INNER]; in calculatePositionsHours()
791 final float numbersRadius = mCircleRadius - mTextInset[MINUTES]; in calculatePositionsMinutes()
[all …]