/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/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 | 1160 * @param cx The x-coordinate of the center of the cirle to be drawn 1165 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument 1166 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance()); 2070 private static native void native_drawCircle(long nativeCanvas, float cx, 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 | 638 float cx, float cy, float radius, long paint) { 640 cx - radius, cy - radius, cx + radius, cy + radius, 637 native_drawCircle(long nativeCanvas, float cx, float cy, float radius, long paint) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | CircularDisplayMask.java | 128 // the circle with center (cx, cy) and radius 'radius' 129 static private double calcPixelShading(double cx, double cy, double px, argument 132 px -= cx; 244 double cx = (maskWidth - 1.0) / 2.0; 251 double shading = calcPixelShading(cx, cy, px, py, radius);
|
/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/support/core-ui/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 141 final int cx = width / 2; 171 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height); 203 drawCircle(canvas, cx, cy, mColor1, pct); 207 drawCircle(canvas, cx, cy, mColor2, pct); 211 drawCircle(canvas, cx, cy, mColor3, pct); 215 drawCircle(canvas, cx, cy, mColor4, pct); 219 drawCircle(canvas, cx, cy, mColor1, pct); 229 drawTrigger(canvas, cx, cy); 237 drawTrigger(canvas, cx, c 243 drawTrigger(Canvas canvas, int cx, int cy) argument 257 drawCircle(Canvas canvas, float cx, float cy, int color, float pct) argument [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 637 double cx; 640 cx = xm - sdy; 643 cx = xm + sdy; 647 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 649 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 660 cx *= a; 662 double tcx = cx; 663 cx = cx * cosTheta - cy * sinTheta; 666 arcToBezier(p, cx, c 683 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 234 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument 236 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(),
|
/frameworks/base/libs/hwui/utils/ |
H A D | VectorDrawableUtils.cpp | 103 * @param cx The x coordinate center of the ellipse 114 double cx, 142 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); 215 double cx; local 218 cx = xm - sdy; 221 cx = xm + sdy; 225 double eta0 = atan2((y0p - cy), (x0p - cx)); 227 double eta1 = atan2((y1p - cy), (x1p - cx)); 238 cx *= a; 240 double tcx = cx; 113 arcToBezier(SkPath* p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 431 public void setRevealParameters(int cx, int cy, int r) { argument 432 mRevealCx = cx;
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 736 double cx; 739 cx = xm - sdy; 742 cx = xm + sdy; 746 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 748 + (x0p - cx) + ") = " + Math.toDegrees(eta0)); 750 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 752 + (x1p - cx) + ") = " + Math.toDegrees(eta1)); 762 cx *= a; 764 double tcx = cx; 765 cx 792 arcToBezier(@onNull Path_Delegate p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 174 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 478 int cx = i + 2; local 479 int cy = cx + 1; 490 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]);
|
H A D | PathTessellator.cpp | 1087 float cx, float cy, 1093 float d = (cx - bx) * dy - (cy - by) * dx; 1100 float acx = (ax + cx) * 0.5f; 1101 float bcx = (bx + cx) * 0.5f; 1084 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, const PathApproximationInfo& approximationInfo, std::vector<Vertex>& outputVertices, int depth) argument
|
H A D | SpotShadow.cpp | 227 float cx, float cy) { 228 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; 226 ccw(float ax, float ay, float bx, float by, float cx, float cy) argument
|
H A D | OpenGLRenderer.cpp | 1553 int cx = i + 2; local 1554 int cy = cx + 1; 1564 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]); 1566 left = std::min(left, std::min(vertices[ax], std::min(vertices[bx], vertices[cx]))); 1568 right = std::max(right, std::max(vertices[ax], std::max(vertices[bx], vertices[cx])));
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 282 static void drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, argument 285 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
|
H A D | android_hardware_camera2_DngCreator.cpp | 1767 float cx = entry4.data.f[/*c_x*/2]; local 1769 err = builder.addWarpRectilinearForMetadata(entry3.data.f, preWidth, preHeight, cx,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 985 c.drawCircle(pop.cx, pop.cy, pop.r, pt); 1239 int cx, cy, r; field in class:MLand.Pop 1268 if (Math.hypot(x-cx, y-cy) <= r) return true; 1280 cx = (hitRect.left + hitRect.right)/2;
|