Searched defs:cy (Results 1 - 22 of 22) sorted by path

/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { argument
41 centerY = cy;
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java209 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
211 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(),
H A DRecordingCanvas.java206 public final void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
207 nDrawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance());
579 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp286 static void drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, argument
289 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
H A Dandroid_hardware_camera2_DngCreator.cpp1786 float cy = entry4.data.f[/*c_y*/3]; local
1788 cy);
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java226 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
228 nDrawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance());
588 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, argument
H A DCanvas.java1521 * @param cy The y-coordinate of the center of the cirle to be drawn
1525 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
1526 super.drawCircle(cx, cy, radius, paint);
H A DSweepGradient.java45 * @param cy The y-coordinate of the center
55 public SweepGradient(float cx, float cy, argument
66 mCy = cy;
75 * @param cy The y-coordinate of the center
79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { argument
82 mCy = cy;
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp473 int cy = cx + 1; local
484 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]);
H A DPathTessellator.cpp1095 float cx, float cy,
1101 float d = (cx - bx) * dy - (cy - by) * dx;
1110 float acy = (ay + cy) * 0.5f;
1111 float bcy = (by + cy) * 0.5f;
1092 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 DSpotShadow.cpp227 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
/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp104 * @param cy The y coordinate center of the ellipse
115 double cy,
143 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2);
216 double cy; local
219 cy = ym + sdx;
222 cy = ym - sdx;
225 double eta0 = atan2((y0p - cy), (x0p - cx));
227 double eta1 = atan2((y1p - cy), (x1p - cx));
239 cy *= b;
241 cx = cx * cosTheta - cy * sinThet
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/egg/
H A DMLand.java985 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;
1281 cy = (hitRect.top + hitRect.bottom)/2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java446 public void setRevealParameters(int cx, int cy, int r) { argument
448 mRevealCy = cy;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java255 float cx, float cy, float radius, long paint) {
257 cx - radius, cy - radius, cx + radius, cy + radius,
254 nDrawCircle(long nativeCanvas, float cx, float cy, float radius, long paint) argument
H A DSweepGradient_Delegate.java75 * @param cy The y-coordinate of the center
85 private SweepGradient_Delegate(long nativeMatrix, float cx, float cy, argument
88 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
96 public SweepGradientPaint(float cx, float cy, int[] colors, argument
100 mCy = cy;
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java738 double cy;
741 cy = ym + sdx;
744 cy = ym - sdx;
747 double eta0 = Math.atan2((y0p - cy), (x0p - cx));
748 LOGGER.log(Level.FINE, "eta0 = Math.atan2( " + (y0p - cy) + " , "
751 double eta1 = Math.atan2((y1p - cy), (x1p - cx));
752 LOGGER.log(Level.FINE, "eta1 = Math.atan2( " + (y1p - cy) + " , "
764 cy *= b;
766 cx = cx * cosTheta - cy * sinTheta;
767 cy
793 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 DNopCanvas.java178 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java79 double cx = 0, cy = 0, cz = 0;
94 cy += areaOfTriangle * (poly[i * 3 + 1] + poly[k * 3 + 1] + poly[0 * 3 + 1]);
98 ret[1] = (float) (cy / (3 * area));
174 private static boolean rightTurn(float ax, float ay, float bx, float by, float cx, float cy) { argument
175 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > 0.00001;
552 float cy = retXY[1];
560 t2[i] = rayIntersectPoly(umbra, umbraLength, cx, cy, dx, dy);
561 t1[i] = rayIntersectPoly(penumbra, penumbraLength, cx, cy, dx, dy);
577 retStrips[p * 3 + 1] = dy * t + cy;
617 retStrips[p * 3 + 1] = dy * t + cy;
[all...]
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h564 T cy = std::cos(yaw); local
570 T cc = cr * cy;
572 T sc = sr * cy;
574 r[0][0] = cp * cy;
/frameworks/support/compat/java/android/support/v4/graphics/
H A DPathParser.java657 double cy;
660 cy = ym + sdx;
663 cy = ym - sdx;
666 double eta0 = Math.atan2((y0p - cy), (x0p - cx));
668 double eta1 = Math.atan2((y1p - cy), (x1p - cx));
680 cy *= b;
682 cx = cx * cosTheta - cy * sinTheta;
683 cy = tcx * sinTheta + cy * cosTheta;
685 arcToBezier(p, cx, cy,
702 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeProgressBar.java142 final int cy = height / 2;
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, cy);
243 private void drawTrigger(Canvas canvas, int cx, int cy) { argument
245 canvas.drawCircle(cx, cy, c
257 drawCircle(Canvas canvas, float cx, float cy, int color, float pct) argument
[all...]

Completed in 759 milliseconds