/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeProgressBar.java | 141 final int cy = height / 2; in draw() local 202 drawCircle(canvas, cx, cy, mColor1, pct); in draw() 206 drawCircle(canvas, cx, cy, mColor2, pct); in draw() 210 drawCircle(canvas, cx, cy, mColor3, pct); in draw() 214 drawCircle(canvas, cx, cy, mColor4, pct); in draw() 218 drawCircle(canvas, cx, cy, mColor1, pct); in draw() 228 drawTrigger(canvas, cx, cy); in draw() 236 drawTrigger(canvas, cx, cy); in draw() 242 private void drawTrigger(Canvas canvas, int cx, int cy) { in drawTrigger() argument 244 canvas.drawCircle(cx, cy, cx * mTriggerPercentage, mPaint); in drawTrigger() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 51 public SweepGradient(float cx, float cy, in SweepGradient() argument 62 mCy = cy; in SweepGradient() 65 init(nativeCreate1(cx, cy, colors, positions)); in SweepGradient() 76 public SweepGradient(float cx, float cy, int color0, int color1) { in SweepGradient() argument 79 mCy = cy; in SweepGradient() 82 init(nativeCreate2(cx, cy, color0, color1)); in SweepGradient()
|
D | Canvas.java | 1180 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { in drawCircle() argument 1181 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.mNativePaint); in drawCircle() 2038 float cy, float radius, in native_drawCircle() argument
|
/frameworks/base/core/java/android/util/ |
D | PathParser.java | 590 double cy; in drawArc() local 593 cy = ym + sdx; in drawArc() 596 cy = ym - sdx; in drawArc() 599 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc() 601 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc() 613 cy *= b; in drawArc() 615 cx = cx * cosTheta - cy * sinTheta; in drawArc() 616 cy = tcx * sinTheta + cy * cosTheta; in drawArc() 618 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc() 637 double cy, in arcToBezier() argument [all …]
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 538 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local 539 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() 540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image() 591 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_decode_image() local 592 const etc1_byte* q = block + (cy * 4) * 3; in etc1_decode_image() 593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 81 private SweepGradient_Delegate(float cx, float cy, in SweepGradient_Delegate() argument 84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate() 92 public SweepGradientPaint(float cx, float cy, int[] colors, in SweepGradientPaint() argument 96 mCy = cy; in SweepGradientPaint()
|
D | Canvas_Delegate.java | 624 float cx, float cy, float radius, long paint) { in native_drawCircle() argument 626 cx - radius, cy - radius, cx + radius, cy + radius, in native_drawCircle()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | avcenc_int.h | 58 #define MV_COST(f,s,cx,cy,px,py) (WEIGHTED_COST(f,mvbits[((cx)<<(s))-px]+mvbits[((cy)<<(s))-py… argument 59 #define MV_COST_S(f,cx,cy,px,py) (WEIGHTED_COST(f,mvbits[cx-px]+mvbits[cy-py])) argument
|
/frameworks/base/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { in OrientedBoundingBox() argument 41 centerY = cy; in OrientedBoundingBox()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 94 final float cy = h * .5f; in drawSoftware() local 96 final float ry = horizontal ? cy : radius; in drawSoftware() 97 final float corner = horizontal ? cy : cx; in drawSoftware() 99 canvas.drawRoundRect(cx - rx, cy - ry, in drawSoftware() 100 cx + rx, cy + ry, in drawSoftware()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 260 int cy = height / 2; in positionFromMatrix() local 270 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix() 272 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix() 275 mRenderer.centerX = swap ? cy : cx; in positionFromMatrix() 276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 64 int cy = r.centerY(); in scaleRectAboutCenter() local 65 r.offset(-cx, -cy); in scaleRectAboutCenter() 70 r.offset(cx, cy); in scaleRectAboutCenter()
|
/frameworks/base/libs/hwui/ |
D | PathTessellator.h | 106 float cx, float cy,
|
D | SpotShadow.h | 48 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
|
D | PathTessellator.cpp | 1022 float cx, float cy, in recursiveQuadraticBezierVertices() argument 1027 float d = (cx - bx) * dy - (cy - by) * dx; in recursiveQuadraticBezierVertices() 1037 float acy = (ay + cy) * 0.5f; in recursiveQuadraticBezierVertices() 1038 float bcy = (by + cy) * 0.5f; in recursiveQuadraticBezierVertices()
|
D | SpotShadow.cpp | 221 float cx, float cy) { in ccw() argument 222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; in ccw()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 653 float cy = (float) Math.cos(y); in setRotateEulerM() local 660 rm[rmOffset + 0] = cy * cz; in setRotateEulerM() 661 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM() 667 rm[rmOffset + 6] = -sx * cy; in setRotateEulerM() 672 rm[rmOffset + 10] = cx * cy; in setRotateEulerM()
|
/frameworks/base/core/java/android/view/ |
D | HardwareCanvas.java | 110 public abstract void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle() argument
|
D | GLES20Canvas.java | 709 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() argument 710 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint); in drawCircle() 713 private static native void nDrawCircle(long renderer, float cx, float cy, in nDrawCircle() argument 717 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle() argument 719 nDrawCircle(mRenderer, cx.getNativeContainer(), cy.getNativeContainer(), in drawCircle()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | PointCloud.java | 219 final float cy = mDrawable.getIntrinsicHeight() * 0.5f; in draw() local 222 canvas.translate(px - cx, py - cy); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileView.java | 286 final int cy = mDual ? mIcon.getTop() + mIcon.getHeight() / 2 : height / 2; in updateRippleSize() local 288 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseView.java | 526 final int cy = (int) (top + h * 0.5f); 527 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | LLand.java | 692 c.drawCircle(p.cx, p.cy, p.r, pt); 860 int cx, cy, r; 882 if (Math.hypot(x-cx, y-cy) <= r) return true; 895 cy = (hitRect.top + hitRect.bottom)/2;
|
/frameworks/base/docs/html/training/material/ |
D | animations.jd | 84 int cy = (myView.getTop() + myView.getBottom()) / 2; 91 ViewAnimationUtils.createCircularReveal(myView, cx, cy, 0, finalRadius); 106 int cy = (myView.getTop() + myView.getBottom()) / 2; 113 ViewAnimationUtils.createCircularReveal(myView, cx, cy, initialRadius, 0);
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 254 static void drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, in drawCircle() argument 257 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint); in drawCircle()
|