Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRevealClip.h32 , mRadius(0) {} in RevealClip()
38 mRadius = radius; in set()
51 outBounds->set(mX - mRadius, mY - mRadius, in getBounds()
52 mX + mRadius, mY + mRadius); in getBounds()
54 float getRadius() const { return mRadius; } in getRadius()
66 float mRadius; variable
DOutline.h31 , mRadius(0) in Outline()
37 mRadius = radius; in setRoundRect()
91 *outRadius = mRadius; in getAsRoundRect()
114 float mRadius; variable
DDisplayListOp.h1137 mX(x), mY(y), mRadius(radius) {} in DrawCircleOp()
1140 return renderer.drawCircle(mX, mY, mRadius, getPaint(renderer)); in applyDraw()
1144 OP_LOG("Draw Circle x %f, y %f, r %f", mX, mY, mRadius); in output()
1152 float mRadius; variable
1158 : DrawOp(paint), mX(x), mY(y), mRadius(radius) {} in DrawCirclePropsOp()
1161 return renderer.drawCircle(*mX, *mY, *mRadius, getPaint(renderer)); in applyDraw()
1165 OP_LOG("Draw Circle Props x %p, y %p, r %p", mX, mY, mRadius); in output()
1173 float* mRadius; variable
DPathCache.h130 float mRadius; member
DPathCache.cpp532 entry.shape.circle.mRadius = radius; in getCircle()
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
DRoundRectDrawable.java37 private float mRadius; field in RoundRectDrawable
46 mRadius = radius; in RoundRectDrawable()
71 canvas.drawRoundRect(mBoundsF, mRadius, mRadius, mPaint); in draw()
81 float vInset = calculateVerticalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds()
82 float hInset = calculateHorizontalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds()
97 outline.setRoundRect(mBoundsI, mRadius); in getOutline()
101 if (radius == mRadius) { in setRadius()
104 mRadius = radius; in setRadius()
125 return mRadius; in getRadius()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DBlur25.java36 private float mRadius = MAX_RADIUS; field in Blur25
54 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
55 if (mRadius <= 0.10f) { in onBar1Changed()
56 mRadius = 0.10f; in onBar1Changed()
59 mIntrinsic.setRadius(mRadius); in onBar1Changed()
61 mScript.invoke_setRadius((int)mRadius); in onBar1Changed()
113 mIntrinsic.setRadius(mRadius); in exitBenchmark()
115 mScript.invoke_setRadius((int)mRadius); in exitBenchmark()
DBlur25G.java35 private float mRadius = MAX_RADIUS; field in Blur25G
55 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
56 if (mRadius <= 0.10f) { in onBar1Changed()
57 mRadius = 0.10f; in onBar1Changed()
59 mIntrinsic.setRadius(mRadius); in onBar1Changed()
90 mIntrinsic.setRadius(mRadius); in exitBenchmark()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DBlur25.java32 private float mRadius = MAX_RADIUS; field in Blur25
50 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
51 if (mRadius <= 0.10f) { in onBar1Changed()
52 mRadius = 0.10f; in onBar1Changed()
55 mIntrinsic.setRadius(mRadius); in onBar1Changed()
57 mScript.invoke_setRadius((int)mRadius); in onBar1Changed()
109 mIntrinsic.setRadius(mRadius); in exitBenchmark()
111 mScript.invoke_setRadius((int)mRadius); in exitBenchmark()
DBlur25G.java29 private float mRadius = MAX_RADIUS; field in Blur25G
49 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
50 if (mRadius <= 0.10f) { in onBar1Changed()
51 mRadius = 0.10f; in onBar1Changed()
53 mIntrinsic.setRadius(mRadius); in onBar1Changed()
84 mIntrinsic.setRadius(mRadius); in exitBenchmark()
/frameworks/base/location/java/android/location/
DGeofence.java36 private final float mRadius; field in Geofence
57 mRadius = radius; in Geofence()
77 return mRadius; in getRadius()
127 parcel.writeFloat(mRadius); in writeToParcel()
143 typeToString(mType), mLatitude, mLongitude, mRadius); in toString()
155 result = prime * result + Float.floatToIntBits(mRadius); in hashCode()
172 if (mRadius != other.mRadius) in equals()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DBlur25.java36 private float mRadius = MAX_RADIUS; field in Blur25
54 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
55 if (mRadius <= 0.10f) { in onBar1Changed()
56 mRadius = 0.10f; in onBar1Changed()
59 mIntrinsic.setRadius(mRadius); in onBar1Changed()
61 mScript.invoke_setRadius((int)mRadius); in onBar1Changed()
DBlur25G.java35 private float mRadius = MAX_RADIUS; field in Blur25G
55 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
56 if (mRadius <= 0.10f) { in onBar1Changed()
57 mRadius = 0.10f; in onBar1Changed()
59 mIntrinsic.setRadius(mRadius); in onBar1Changed()
/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java35 private float mRadius; field in RadialGradient
68 mRadius = radius; in RadialGradient()
91 mRadius = radius; in RadialGradient()
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), in copy()
110 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode); in copy()
DOutline.java39 public float mRadius; field in Outline
64 mRadius = 0; in setEmpty()
134 mRadius = src.mRadius; in set()
166 mRadius = radius; in setRoundRect()
222 mRadius = -1.0f; in setConvexPath()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequest.java34 private double mRadius; field in GeofenceHardwareRequest
45 mRadius = radius; in setCircularGeofence()
149 return mRadius; in getRadius()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCirclePropActivity.java67 CanvasProperty<Float> mRadius; field in CirclePropActivity.CircleView
76 mRadius = CanvasProperty.createFloat(150.0f); in CircleView()
92 hwcanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw()
112 mRadius, mToggle ? 250.0f : 150.0f)); in performClick()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRedEyeFilter.java53 private float mRadius; field in RedEyeFilter
160 mRadius = Math.max(MIN_RADIUS, RADIUS_RATIO * Math.min(bitmapWidth, bitmapHeight)); in createRedEyeFrame()
164 mRadius, mPaint); in createRedEyeFrame()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DTextViewWithCircularIndicator.java39 private final int mRadius; field in TextViewWithCircularIndicator
49 mRadius = res.getDimensionPixelOffset(R.dimen.month_select_circle_radius); in TextViewWithCircularIndicator()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java109 private float mRadius; field in EdgeEffect
145 mRadius = r; in setSize()
324 final float centerY = mBounds.height() - mRadius; in draw()
334 canvas.drawCircle(centerX, centerY, mRadius, mPaint); in draw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java97 private final float mRadius; field in RadialGradient_Delegate.RadialGradientPaint
104 mRadius = radius; in RadialGradientPaint()
189 data[index++] = getGradientColor(distance / mRadius); in getRaster()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp43 float mRadius; member in android::renderscript::RsdCpuScriptIntrinsicBlur
78 float sigma = 0.4f * mRadius + 0.6f; in ComputeGaussianWeights()
88 mIradius = (float)ceil(mRadius) + 0.5f; in ComputeGaussianWeights()
110 mRadius = ((const float *)data)[0]; in setGlobalVar()
435 mRadius = 5; in RsdCpuScriptIntrinsicBlur()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java588 } else if (st.mRadius > 0.0f) { in draw()
594 float rad = Math.min(st.mRadius, in draw()
1231 R.styleable.DrawableCorners_radius, (int) st.mRadius);
1489 if (st.mRadius > 0.0f) {
1491 rad = Math.min(st.mRadius,
1548 public float mRadius = 0.0f; // use this if mRadiusArray is null
1602 mRadius = state.mRadius;
1704 && mRadius <= 0
1721 mRadius = radius;
1728 mRadius = 0;
/frameworks/base/core/java/android/view/
DRenderNode.java362 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); in setOutline()
/frameworks/base/docs/html/training/location/
Dgeofencing.jd268 private final float mRadius;
291 this.mRadius = radius;
306 return mRadius;