Home
last modified time | relevance | path

Searched refs:mRadius (Results 1 – 20 of 20) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DCircleView.java79 private float mRadius; field in CircleView
98 mRadius = a.getDimension(R.styleable.CircleView_radius, 0.0f); in CircleView()
128 canvas.drawCircle(mCenterX, mCenterY, mRadius, mCirclePaint); in onDraw()
185 invalidate(mCenterX, mCenterY, mRadius); in setFillColor()
203 invalidate(oldCenterX, mCenterY, mRadius); in setCenterX()
204 invalidate(centerX, mCenterY, mRadius); in setCenterX()
226 invalidate(mCenterX, oldCenterY, mRadius); in setCenterY()
227 invalidate(mCenterX, centerY, mRadius); in setCenterY()
240 return mRadius; in getRadius()
251 final float oldRadius = mRadius; in setRadius()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java69 private final float mRadius; field in ShelfScrimView
101 mRadius = BOTTOM_CORNER_RADIUS_RATIO * Themes.getDialogCornerRadius(context); in ShelfScrimView()
183 mShelfTop = Utilities.mapRange(mProgress / SCRIM_CATCHUP_THRESHOLD, -mRadius, in updateColors()
246 mTempPath.addRoundRect(0, height - mRadius, width, height + mRadius + 10, in drawBackground()
247 mRadius, mRadius, Direction.CW); in drawBackground()
253 float offset = height - mRadius - mShelfTop; in drawBackground()
261 canvas.drawRoundRect(0, mShelfTop, width, height + mRadius, mRadius, mRadius, mPaint); in drawBackground()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DListItemOutlineProvider.java31 private final float mRadius; field in ListItemOutlineProvider
34 mRadius = radius; in ListItemOutlineProvider()
52 top -= mRadius; in getOutline()
57 bottom += mRadius; in getOutline()
59 outline.setRoundRect(left, top, right, bottom, mRadius); in getOutline()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java92 public float mRadius; field in FilterDrawRepresentation.StrokeData
103 mRadius = copy.mRadius; in StrokeData()
116 || mRadius != sd.mRadius in equals()
126 return "stroke(" + mType + ", path(" + (mPath) + "), " + mRadius + " , " in toString()
276 sd.mRadius = size; in fillStrokeParameters()
330 writer.name(SERIAL_RADIUS).value(mark.mRadius); in serializeRepresentation()
361 stroke.mRadius = (float) sreader.nextDouble(); in deSerializeRepresentation()
DImageFilterDraw.java127 paint.setStrokeWidth(toScrMatrix.mapRadius(sd.mRadius)); in paint()
169 draw(canvas, paint, sd.mColor, toScrMatrix.mapRadius(sd.mRadius) * 2, in paint()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrDecorateView.java48 final private float mRadius; field in QrDecorateView
75 mRadius = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, CORNER_RADIUS, in QrDecorateView()
116 mMaskCanvas.drawRoundRect(mOuterFrame, mRadius, mRadius, mStrokePaint); in onDraw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrDecorateView.java48 final private float mRadius; field in QrDecorateView
75 mRadius = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, CORNER_RADIUS, in QrDecorateView()
116 mMaskCanvas.drawRoundRect(mOuterFrame, mRadius, mRadius, mStrokePaint); in onDraw()
/packages/apps/Camera2/src/com/android/camera/ui/
DAnimatedCircleDrawable.java38 private int mRadius; field in AnimatedCircleDrawable
121 mRadius = map(getLevel(), 0, DRAWABLE_MAX_LEVEL, in draw()
124 mRadius, mPaint); in draw() local
DModeTransitionView.java78 private float mRadius = 0f; field in ModeTransitionView
176 canvas.drawCircle(mPeepHoleCenterX, mPeepHoleCenterY, mRadius, mMaskPaint); in onDraw()
247 mRadius = (Float) radiusAnimator.getAnimatedValue(); in startPeepHoleAnimation()
274 mRadius = 0; in startPeepHoleAnimation()
DModeListView.java1943 private float mRadius = 0f; field in PeepholeAnimationEffect
2036 mRadius = (Float) mPeepHoleAnimator.getAnimatedValue(); in setupAnimators()
2083 canvas.drawCircle(mPeepHoleCenterX, mPeepHoleCenterY, mRadius, mMaskPaint); in drawForeground()
2084 canvas.drawCircle(mPeepHoleCenterX, mPeepHoleCenterY, mRadius, mCirclePaint); in drawForeground()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java19 private float mRadius; field in ClippedFolderIconLayoutRule
26 mRadius = ITEM_RADIUS_SCALE_FACTOR * availableSpace / 2f; in init()
116 float radius = mRadius * (1 + MAX_RADIUS_DILATION * (curNumItems - in getPosition()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java69 private float mRadius = 0f; field in ModeOptions
213 canvas.drawCircle(mAnimateFrom.centerX(), mAnimateFrom.centerY(), mRadius, mPaint); in onDraw() local
254 mRadius = (Float) animation.getAnimatedValue(); in setupAnimators()
329 mRadius = (Float) animation.getAnimatedValue(); in setupAnimators()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java71 private int mRadius; field in PieRenderer
153 mRadius = (int) res.getDimensionPixelSize(R.dimen.pie_radius_start); in init()
154 mCircleSize = mRadius - res.getDimensionPixelSize(R.dimen.focus_radius_offset); in init()
276 int inner = mRadius + rgap; in layoutPie()
277 int outer = mRadius + mRadiusInc - rgap; in layoutPie()
457 if (polar.y < mRadius) { in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java245 float radius = mTmpStrokData.mRadius; in displayDrawLook()
248 if (radius != mTmpStrokData.mRadius) { in displayDrawLook()
266 float rad = mRotateToScreen.mapRadius(mTmpStrokData.mRadius); in drawLook()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorRectView.java39 private float mRadius = 80; field in ColorRectView
126 mRadius = Math.min(mCtrY, mCtrX) - 2 * mBorder; in onSizeChanged()
DColorCompareView.java39 private float mRadius; field in ColorCompareView
DColorValueView.java37 private float mRadius; field in ColorValueView
DColorSaturationView.java40 private float mRadius; field in ColorSaturationView
DColorOpacityView.java40 private float mRadius; field in ColorOpacityView
DColorBrightnessView.java40 private float mRadius; field in ColorBrightnessView