/frameworks/base/libs/hwui/ |
D | RevealClip.h | 32 , 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() 55 float getRadius() const { return mRadius; } in getRadius() 69 float mRadius; variable
|
D | Outline.h | 39 , mRadius(0) in Outline() 49 && radius == mRadius) { in setRoundRect() 56 mRadius = radius; in setRoundRect() 114 return willClip() && MathUtils::isPositive(mRadius); in willRoundRectClip() 120 *outRadius = mRadius; in getAsRoundRect() 141 return mRadius; in getRadius() 148 float mRadius; variable
|
D | DisplayListOp.h | 1072 mX(x), mY(y), mRadius(radius) {} in DrawCircleOp() 1075 renderer.drawCircle(mX, mY, mRadius, mPaint); in applyDraw() 1079 OP_LOG("Draw Circle x %f, y %f, r %f", mX, mY, mRadius); in output() 1087 float mRadius; variable 1093 : DrawOp(paint), mX(x), mY(y), mRadius(radius) {} in DrawCirclePropsOp() 1096 renderer.drawCircle(*mX, *mY, *mRadius, mPaint); in applyDraw() 1100 OP_LOG("Draw Circle Props x %p, y %p, r %p", mX, mY, mRadius); in output() 1108 float* mRadius; variable
|
D | PathCache.cpp | 110 return shape.circle.mRadius == rhs.shape.circle.mRadius; in operator ==() 489 entry.shape.circle.mRadius = radius; in getCircle()
|
D | SkiaCanvas.cpp | 807 mX(x), mY(y), mRadius(radius), mPaint(paint) {} in AnimatedCircle() 813 const float radius = mRadius->value; in onGetBounds() 817 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value); in onDraw() 823 sp<uirenderer::CanvasPropertyPrimitive> mRadius; member in android::AnimatedCircle
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Blur25.java | 36 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()
|
D | Blur25G.java | 35 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/ |
D | Geofence.java | 36 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/support/v7/cardview/api21/android/support/v7/widget/ |
D | RoundRectDrawable.java | 42 private float mRadius; field in RoundRectDrawable 56 mRadius = radius; in RoundRectDrawable() 97 canvas.drawRoundRect(mBoundsF, mRadius, mRadius, paint); in draw() 111 float vInset = calculateVerticalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds() 112 float hInset = calculateHorizontalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds() 127 outline.setRoundRect(mBoundsI, mRadius); in getOutline() 131 if (radius == mRadius) { in setRadius() 134 mRadius = radius; in setRadius() 155 return mRadius; in getRadius()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Outline.java | 67 public float mRadius = RADIUS_UNDEFINED; field in Outline 93 mRadius = RADIUS_UNDEFINED; in setEmpty() 153 mRadius = src.mRadius; in set() 185 mRadius = radius; in setRoundRect() 221 return mRadius; in getRadius() 243 mRadius = RADIUS_UNDEFINED; in setOval() 270 mRadius = RADIUS_UNDEFINED; in setConvexPath()
|
D | RadialGradient.java | 35 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()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | Blur25.java | 36 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()
|
D | Blur25G.java | 35 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | Blur25.java | 32 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()
|
D | Blur25G.java | 29 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/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
D | RoundedRectHelperApi21.java | 28 private int mRadius; field in RoundedRectHelperApi21.RoundedRectOutlineProvider 31 mRadius = radius; in RoundedRectOutlineProvider() 36 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius); in getOutline()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequest.java | 34 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/ |
D | CirclePropActivity.java | 67 CanvasProperty<Float> mRadius; field in CirclePropActivity.CircleView 76 mRadius = CanvasProperty.createFloat(150.0f); in CircleView() 92 displayListCanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw() 112 mRadius, mToggle ? 250.0f : 150.0f)); in performClick()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PagingIndicator.java | 426 float mRadius; 435 mRadius = mArrowRadius; 436 mArrowImageRadius = mRadius * mArrowToBgRatio; 445 mRadius = mDotRadius; 446 mArrowImageRadius = mRadius * mArrowToBgRatio; 484 this.mRadius = diameter / 2; 491 canvas.drawCircle(centerX, mDotCenterY, mRadius, mBgPaint); 494 canvas.drawCircle(centerX, mDotCenterY, mRadius, mFgPaint);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | RedEyeFilter.java | 53 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/base/core/java/android/widget/ |
D | EdgeEffect.java | 109 private float mRadius; field in EdgeEffect 145 mRadius = r; in setSize() 325 final float centerY = mBounds.height() - mRadius; in draw() 335 canvas.drawCircle(centerX, centerY, mRadius, mPaint); in draw()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | TextViewWithCircularIndicator.java | 39 private final int mRadius; field in TextViewWithCircularIndicator 49 mRadius = res.getDimensionPixelOffset(R.dimen.month_select_circle_radius); in TextViewWithCircularIndicator()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | RadialGradient_Delegate.java | 99 private final float mRadius; field in RadialGradient_Delegate.RadialGradientPaint 106 mRadius = radius; in RadialGradientPaint() 192 data[index++] = getGradientColor(distance / mRadius); in getRaster()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 294 return mGradientState.mRadius; in getCornerRadius() 733 } else if (st.mRadius > 0.0f) { in draw() 739 float rad = Math.min(st.mRadius, in draw() 1421 R.styleable.DrawableCorners_radius, (int) st.mRadius); 1693 if (st.mRadius > 0.0f) { 1695 rad = Math.min(st.mRadius, 1752 public float mRadius = 0.0f; // use this if mRadiusArray is null 1809 mRadius = orig.mRadius; 1896 if (mRadius > 0) { 1897 mRadius = Drawable.scaleFromDensity(mRadius, sourceDensity, targetDensity); [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 43 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() 441 mRadius = 5; in RsdCpuScriptIntrinsicBlur()
|