/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeProgressBar.java | 141 final int cx = width / 2; in draw() local 171 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height); in draw() 203 drawCircle(canvas, cx, cy, mColor1, pct); in draw() 207 drawCircle(canvas, cx, cy, mColor2, pct); in draw() 211 drawCircle(canvas, cx, cy, mColor3, pct); in draw() 215 drawCircle(canvas, cx, cy, mColor4, pct); in draw() 219 drawCircle(canvas, cx, cy, mColor1, pct); in draw() 229 drawTrigger(canvas, cx, cy); in draw() 237 drawTrigger(canvas, cx, cy); in draw() 243 private void drawTrigger(Canvas canvas, int cx, int cy) { in drawTrigger() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 51 public SweepGradient(float cx, float cy, in SweepGradient() argument 61 mCx = cx; 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 78 mCx = cx; in SweepGradient() 82 init(nativeCreate2(cx, cy, color0, color1)); in SweepGradient()
|
D | Canvas.java | 1168 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { in drawCircle() argument 1169 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance()); in drawCircle() 2054 private static native void native_drawCircle(long nativeCanvas, float cx, in native_drawCircle() argument
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicYuvToRGB.cpp | 159 int cx = (x1 >> 1) * cstep; in kernel() local 160 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel() 193 int cx = (x1 >> 1) * cstep; in kernel() local 194 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel() 197 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
|
/frameworks/base/core/java/android/util/ |
D | PathParser.java | 589 double cx; in drawArc() local 592 cx = xm - sdy; in drawArc() 595 cx = xm + sdy; in drawArc() 599 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc() 601 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc() 612 cx *= a; in drawArc() 614 double tcx = cx; in drawArc() 615 cx = cx * cosTheta - cy * sinTheta; in drawArc() 618 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc() 636 double cx, in arcToBezier() argument [all …]
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | PathParser.java | 617 double cx; in drawArc() local 620 cx = xm - sdy; in drawArc() 623 cx = xm + sdy; in drawArc() 627 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc() 629 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc() 640 cx *= a; in drawArc() 642 double tcx = cx; in drawArc() 643 cx = cx * cosTheta - cy * sinTheta; in drawArc() 646 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc() 664 double cx, in arcToBezier() argument [all …]
|
/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 95 mCx = cx; in SweepGradientPaint()
|
D | Canvas_Delegate.java | 630 float cx, float cy, float radius, long paint) { in native_drawCircle() argument 632 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 40 centerX = cx; in OrientedBoundingBox()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 93 final float cx = w * .5f; in drawSoftware() local 95 final float rx = horizontal ? radius : cx; 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 | 259 int cx = width / 2; in positionFromMatrix() local 265 cx += (mTempRectF.left / scale) - xoffset; in positionFromMatrix() 267 cx -= (mTempRectF.left / scale) - xoffset; 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 | 33 int cx = r.centerX(); in scaleRectAboutCenter() local 35 r.offset(-cx, -cy); in scaleRectAboutCenter() 40 r.offset(cx, cy); in scaleRectAboutCenter()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 544 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { in etc1_encode_image() local 597 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { in etc1_decode_image() local
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 651 float cx = (float) Math.cos(x); in setRotateEulerM() local 657 float cxsy = cx * sy; in setRotateEulerM() 665 rm[rmOffset + 4] = cxsy * cz + cx * sz; in setRotateEulerM() 666 rm[rmOffset + 5] = -cxsy * sz + cx * cz; in setRotateEulerM() 672 rm[rmOffset + 10] = cx * cy; in setRotateEulerM()
|
/frameworks/base/core/java/android/view/ |
D | DisplayListCanvas.java | 292 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle() argument 294 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(), in drawCircle()
|
/frameworks/base/libs/hwui/ |
D | PathTessellator.h | 125 float cx, float cy,
|
D | SpotShadow.h | 49 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
|
D | PathTessellator.cpp | 1094 float cx, float cy, in recursiveQuadraticBezierVertices() argument 1100 float d = (cx - bx) * dy - (cy - by) * dx; in recursiveQuadraticBezierVertices() 1107 float acx = (ax + cx) * 0.5f; in recursiveQuadraticBezierVertices() 1108 float bcx = (bx + cx) * 0.5f; in recursiveQuadraticBezierVertices()
|
D | OpenGLRenderer.cpp | 1616 int cx = i + 2; 1617 int cy = cx + 1; 1627 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]); 1629 left = std::min(left, std::min(vertices[ax], std::min(vertices[bx], vertices[cx]))); 1631 right = std::max(right, std::max(vertices[ax], std::max(vertices[bx], vertices[cx])));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileView.java | 287 final int cx = width / 2; in updateRippleSize() local 290 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseView.java | 525 final int cx = (int) (left + w * 0.5f); 527 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 351 double cx = mScreenDim[0] / 2.; in ballToVec() local 354 double dx = (cx - x) / ballRadius; in ballToVec()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 986 c.drawCircle(pop.cx, pop.cy, pop.r, pt); 1240 int cx, cy, r; 1269 if (Math.hypot(x-cx, y-cy) <= r) return true; 1281 cx = (hitRect.left + hitRect.right)/2;
|
/frameworks/base/docs/html/training/material/ |
D | animations.jd | 84 int cx = myView.getWidth() / 2; 92 ViewAnimationUtils.createCircularReveal(myView, cx, cy, 0, finalRadius); 106 int cx = myView.getWidth() / 2; 114 ViewAnimationUtils.createCircularReveal(myView, cx, cy, initialRadius, 0);
|