Searched refs:cy (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java41 * @param cy The y-coordinate of the center
51 public SweepGradient(float cx, float cy, argument
62 mCy = cy;
65 init(nativeCreate1(cx, cy, colors, positions));
72 * @param cy The y-coordinate of the center
76 public SweepGradient(float cx, float cy, int color0, int color1) { argument
79 mCy = cy;
82 init(nativeCreate2(cx, cy, color0, color1));
H A DCanvas.java1176 * @param cy The y-coordinate of the center of the cirle to be drawn
1180 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
1181 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.mNativePaint);
2038 float cy, float radius,
2037 native_drawCircle(long nativeCanvas, float cx, float cy, float radius, long nativePaint) argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java141 final int cy = height / 2;
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, cy);
242 private void drawTrigger(Canvas canvas, int cx, int cy) { argument
244 canvas.drawCircle(cx, cy, c
256 drawCircle(Canvas canvas, float cx, float cy, int color, float pct) argument
[all...]
/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/util/
H A DPathParser.java590 double cy;
593 cy = ym + sdx;
596 cy = ym - sdx;
599 double eta0 = Math.atan2((y0p - cy), (x0p - cx));
601 double eta1 = Math.atan2((y1p - cy), (x1p - cx));
613 cy *= b;
615 cx = cx * cosTheta - cy * sinTheta;
616 cy = tcx * sinTheta + cy * cosTheta;
618 arcToBezier(p, cx, cy,
635 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 Davcenc_int.h58 #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 DHardwareCanvas.java110 public abstract void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
H A DGLES20Canvas.java709 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
710 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint);
713 private static native void nDrawCircle(long renderer, float cx, float cy, argument
717 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
719 nDrawCircle(mRenderer, cx.getNativeContainer(), cy.getNativeContainer(),
/frameworks/base/libs/hwui/
H A DPathTessellator.h106 float cx, float cy,
H A DSpotShadow.h48 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
H A DPathTessellator.cpp1022 float cx, float cy,
1027 float d = (cx - bx) * dy - (cy - by) * dx;
1037 float acy = (ay + cy) * 0.5f;
1038 float bcy = (by + cy) * 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 DSpotShadow.cpp221 float cx, float cy) {
222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON;
220 ccw(float ax, float ay, float bx, float by, float cx, float cy) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSweepGradient_Delegate.java71 * @param cy The y-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
96 mCy = cy;
H A DCanvas_Delegate.java624 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/native/opengl/libs/ETC1/
H A Detc1.cpp538 for (etc1_uint32 cy = 0; cy < yEnd; cy++) {
539 etc1_byte* q = block + (cy * 4) * 3;
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
591 for (etc1_uint32 cy = 0; cy < yEnd; cy++) {
592 const etc1_byte* q = block + (cy * 4) * 3;
593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java94 final float cy = h * .5f;
96 final float ry = horizontal ? cy : radius;
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 DTiledImageView.java260 int cy = height / 2;
270 cy += (mTempRectF.top / scale) - yoffset;
272 cy -= (mTempRectF.top / scale) - yoffset;
275 mRenderer.centerX = swap ? cy : cx;
276 mRenderer.centerY = swap ? cx : cy;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java64 int cy = r.centerY();
65 r.offset(-cx, -cy);
70 r.offset(cx, cy);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java219 final float cy = mDrawable.getIntrinsicHeight() * 0.5f;
222 canvas.translate(px - cx, py - cy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java286 final int cy = mDual ? mIcon.getTop() + mIcon.getHeight() / 2 : height / 2;
288 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java653 float cy = (float) Math.cos(y);
660 rm[rmOffset + 0] = cy * cz;
661 rm[rmOffset + 1] = -cy * sz;
667 rm[rmOffset + 6] = -sx * cy;
672 rm[rmOffset + 10] = cx * cy;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java526 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/
H A DLLand.java692 c.drawCircle(p.cx, p.cy, p.r, pt);
860 int cx, cy, r; field in class:LLand.Pop
882 if (Math.hypot(x-cx, y-cy) <= r) return true;
895 cy = (hitRect.top + hitRect.bottom)/2;
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp254 static void drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, argument
257 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1184 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin;
1189 c.layout(cx, cy, cx + width, cy + height);

Completed in 536 milliseconds

12