/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 40 * @param cx The x-coordinate of the center 51 public SweepGradient(float cx, float cy, argument 61 mCx = cx; 65 init(nativeCreate1(cx, cy, colors, positions)); 71 * @param cx The x-coordinate of the center 76 public SweepGradient(float cx, float cy, int color0, int color1) { argument 78 mCx = cx; 82 init(nativeCreate2(cx, cy, color0, color1));
|
H A D | Canvas.java | 1118 * @param cx The x-coordinate of the center of the cirle to be drawn 1123 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument 1124 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.mNativePaint); 1977 private static native void native_drawCircle(long nativeCanvas, float cx, argument
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 140 final int cx = width / 2; 170 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height); 202 drawCircle(canvas, cx, cy, mColor1, pct); 206 drawCircle(canvas, cx, cy, mColor2, pct); 210 drawCircle(canvas, cx, cy, mColor3, pct); 214 drawCircle(canvas, cx, cy, mColor4, pct); 218 drawCircle(canvas, cx, cy, mColor1, pct); 228 drawTrigger(canvas, cx, cy); 236 drawTrigger(canvas, cx, c 242 drawTrigger(Canvas canvas, int cx, int cy) argument 256 drawCircle(Canvas canvas, float cx, float cy, int color, float pct) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { argument 40 centerX = cx;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 159 int cx = (x1 >> 1) * cstep; local 160 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); 193 int cx = (x1 >> 1) * cstep; local 194 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); 197 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]);
|
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 550 double cx; 553 cx = xm - sdy; 556 cx = xm + sdy; 560 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 562 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 573 cx *= a; 575 double tcx = cx; 576 cx = cx * cosTheta - cy * sinTheta; 579 arcToBezier(p, cx, c 596 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A 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])) 59 #define MV_COST_S(f,cx,cy,px,py) (WEIGHTED_COST(f,mvbits[cx-px]+mvbits[cy-py]))
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareCanvas.java | 113 public abstract void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
|
H A D | GLES20Canvas.java | 710 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument 711 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint); 714 private static native void nDrawCircle(long renderer, float cx, float cy, argument 718 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument 720 nDrawCircle(mRenderer, cx.getNativeContainer(), cy.getNativeContainer(),
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.h | 106 float cx, float cy,
|
H A D | SpotShadow.h | 84 static bool ccw(double ax, double ay, double bx, double by, double cx, double cy);
|
H A D | PathTessellator.cpp | 1022 float cx, float cy, 1027 float d = (cx - bx) * dy - (cy - by) * dx; 1035 float acx = (ax + cx) * 0.5f; 1036 float bcx = (bx + cx) * 0.5f; 1019 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, float sqrInvScaleX, float sqrInvScaleY, float thresholdSquared, Vector<Vertex>& outputVertices, int depth) argument
|
H A D | SpotShadow.cpp | 221 double cx, double cy) { 222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; 220 ccw(double ax, double ay, double bx, double by, double cx, double cy) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | SweepGradient_Delegate.java | 70 * @param cx The x-coordinate of the center 81 private SweepGradient_Delegate(float cx, float cy, argument 84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); 92 public SweepGradientPaint(float cx, float cy, int[] colors, argument 95 mCx = cx;
|
H A D | Canvas_Delegate.java | 624 float cx, float cy, float radius, long paint) { 626 cx - radius, cy - radius, cx + radius, cy + radius, 623 native_drawCircle(long nativeCanvas, float cx, float cy, float radius, long paint) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonRipple.java | 93 final float cx = w * .5f; 95 final float rx = horizontal ? radius : cx; 97 final float corner = horizontal ? cy : cx; 99 canvas.drawRoundRect(cx - rx, cy - ry, 100 cx + rx, cy + ry,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 259 int cx = width / 2; 265 cx += (mTempRectF.left / scale) - xoffset; 267 cx -= (mTempRectF.left / scale) - xoffset; 275 mRenderer.centerX = swap ? cy : cx; 276 mRenderer.centerY = swap ? cx : cy;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 63 int cx = r.centerX(); 65 r.offset(-cx, -cy); 70 r.offset(cx, cy);
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 544 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { 597 for (etc1_uint32 cx = 0; cx < xEnd; cx++) {
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | PointCloud.java | 218 final float cx = mDrawable.getIntrinsicWidth() * 0.5f; 222 canvas.translate(px - cx, py - cy);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTileView.java | 275 final int cx = width / 2; 278 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 651 float cx = (float) Math.cos(x); 657 float cxsy = cx * sy; 665 rm[rmOffset + 4] = cxsy * cz + cx * sz; 666 rm[rmOffset + 5] = -cxsy * sz + cx * cz; 672 rm[rmOffset + 10] = cx * cy;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 525 final int cx = (int) (left + w * 0.5f); 527 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | LLand.java | 658 c.drawCircle(p.cx, p.cy, p.r, pt); 822 int cx, cy, r; field in class:LLand.Pop 843 if (Math.hypot(x-cx, y-cy) <= r) return true; 855 cx = (hitRect.left + hitRect.right)/2;
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 254 static void drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, argument 257 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
|