Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRevealClip.h28 RevealClip() : mShouldClip(false), mX(0), mY(0), mRadius(0) {} in RevealClip()
34 mRadius = radius; in set()
45 outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius); in getBounds()
48 float getRadius() const { return mRadius; } in getRadius()
62 float mRadius; variable
DOutline.h31 Outline() : mShouldClip(false), mType(Type::None), mRadius(0), mAlpha(0.0f) {} in Outline()
36 top == mBounds.top && bottom == mBounds.bottom && radius == mRadius) { in setRoundRect()
43 mRadius = radius; in setRoundRect()
98 return willClip() && MathUtils::isPositive(mRadius); in willRoundRectClip()
104 *outRadius = mRadius; in getAsRoundRect()
120 float getRadius() const { return mRadius; } in getRadius()
126 float mRadius; variable
/frameworks/rs/tests/java_api/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/base/location/java/android/location/
DGeofence.java37 private final float mRadius; field in Geofence
58 mRadius = radius; in Geofence()
78 return mRadius; in getRadius()
129 parcel.writeFloat(mRadius); in writeToParcel()
145 typeToString(mType), mLatitude, mLongitude, mRadius); in toString()
157 result = prime * result + Float.floatToIntBits(mRadius); in hashCode()
174 if (mRadius != other.mRadius) in equals()
/frameworks/rs/tests/java_api/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()
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()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DBlur25.java38 private float mRadius = MAX_RADIUS; field in Blur25
57 mRadius = ((float)progress) / 100.0f * MAX_RADIUS; in onBar1Changed()
58 if (mRadius <= 0.10f) { in onBar1Changed()
59 mRadius = 0.10f; in onBar1Changed()
62 mIntrinsic.setRadius(mRadius); in onBar1Changed()
64 mScript_half.invoke_setRadius((int)mRadius); in onBar1Changed()
66 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/
DOutline.java73 public float mRadius = RADIUS_UNDEFINED; field in Outline
102 mRadius = RADIUS_UNDEFINED; in setEmpty()
167 mRadius = src.mRadius; in set()
203 mRadius = radius; in setRoundRect()
238 return mRadius; in getRadius()
265 mRadius = RADIUS_UNDEFINED; in setOval()
296 mRadius = RADIUS_UNDEFINED; in setConvexPath()
DRadialGradient.java31 private float mRadius; field in RadialGradient
111 mRadius = radius; in RadialGradient()
152 return nativeCreate(nativeMatrix, mX, mY, mRadius, in createNativeInstance()
DRenderNode.java689 outline.mRadius, outline.mAlpha); in setOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationHandle.java39 private final int mRadius; field in NavigationHandle
49 mRadius = res.getDimensionPixelSize(R.dimen.navigation_handle_radius); in NavigationHandle()
68 int height = mRadius * 2; in onDraw()
71 canvas.drawRoundRect(0, y, width, y + height, mRadius, mRadius, mPaint); in onDraw()
/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/libs/hwui/pipeline/skia/
DAnimatedDrawables.h62 : mX(x), mY(y), mRadius(radius), mPaint(paint) {} in AnimatedCircle()
68 const float radius = mRadius->value; in onGetBounds()
72 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value); in onDraw()
78 sp<uirenderer::CanvasPropertyPrimitive> mRadius; variable
/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 recordingCanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw()
112 mRadius, mToggle ? 250.0f : 150.0f)); in performClick()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java284 private float mRadius; field in RenderingJitter.AnimatedBackgroundDrawable
301 canvas.drawCircle(mX, mY, mRadius, mPaint); in draw()
307 if (mX <= mRadius) { in clampXY()
309 mX = mRadius; in clampXY()
311 if (mY <= mRadius) { in clampXY()
313 mY = mRadius; in clampXY()
315 float maxX = getBounds().width() - mRadius; in clampXY()
320 float maxY = getBounds().height() - mRadius; in clampXY()
331 mRadius = Math.min(bounds.width(), bounds.height()) / 20.0f; in onBoundsChange()
/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.java42 private final int mRadius; field in TextViewWithCircularIndicator
52 mRadius = res.getDimensionPixelOffset(R.dimen.month_select_circle_radius); in TextViewWithCircularIndicator()
/frameworks/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java96 private final float mRadius; field in RadialGradient_Delegate.RadialGradientPaint
103 mRadius = radius; in RadialGradientPaint()
186 data[index++] = getGradientColor(distance / mRadius); in getRaster()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java120 private float mRadius; field in EdgeEffect
156 mRadius = r; in setSize()
366 final float centerY = mBounds.height() - mRadius; in draw()
376 canvas.drawCircle(centerX, centerY, mRadius, mPaint); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java304 return mGradientState.mRadius; in getCornerRadius()
793 } else if (st.mRadius > 0.0f) { in draw()
799 float rad = Math.min(st.mRadius, in draw()
1625 R.styleable.DrawableCorners_radius, (int) st.mRadius);
1870 if (st.mRadius > 0.0f) { in getOutline()
1872 rad = Math.min(st.mRadius, in getOutline()
1940 public float mRadius = 0.0f; // use this if mRadiusArray is null field in GradientDrawable.GradientState
2005 mRadius = orig.mRadius; in GradientState()
2096 if (mRadius > 0) { in applyDensityScaling()
2097 mRadius = Drawable.scaleFromDensity(mRadius, sourceDensity, targetDensity); in applyDensityScaling()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp43 float mRadius; member in android::renderscript::RsdCpuScriptIntrinsicBlur
75 float sigma = 0.4f * mRadius + 0.6f; in ComputeGaussianWeights()
85 mIradius = (float)ceil(mRadius) + 0.5f; in ComputeGaussianWeights()
107 mRadius = ((const float *)data)[0]; in setGlobalVar()
454 mRadius = 5; in RsdCpuScriptIntrinsicBlur()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3638 private int mRadius = 0;
3660 mRadius = context.getResources().getDimensionPixelSize(R.dimen.chooser_corner_radius);
3681 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,
3682 mRadius, Path.Direction.CW);
3691 mRadius = radius;
3714 if (mRadius != 0) {
3734 canvas.drawRoundRect(x, y, width, height, mRadius, mRadius, mRoundRectPaint);