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

/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 native_instance = nativeCreate1(cx, cy, colors, positions);
66 native_shader = nativePostCreate1(native_instance, cx, cy, colors, positions);
73 * @param cy The y-coordinate of the center
77 public SweepGradient(float cx, float cy, int color0, int color1) { argument
80 mCy = cy;
83 native_instance = nativeCreate2(cx, cy, color0, color1);
84 native_shader = nativePostCreate2(native_instance, cx, cy, color
112 nativePostCreate1(int native_shader, float cx, float cy, int[] colors, float[] positions) argument
114 nativePostCreate2(int native_shader, float cx, float cy, int color0, int color1) argument
[all...]
H A DCanvas.java1011 * @param cy The y-coordinate of the center of the cirle to be drawn
1015 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
1016 native_drawCircle(mNativeCanvas, cx, cy, radius, paint.mNativePaint);
1773 float cy, float radius,
1772 native_drawCircle(int nativeCanvas, float cx, float cy, float radius, int paint) argument
/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/tools/layoutlib/bridge/src/android/graphics/
H A DSweepGradient_Delegate.java66 /*package*/ static int nativePostCreate1(int native_shader, float cx, float cy, argument
73 /*package*/ static int nativePostCreate2(int native_shader, float cx, float cy, argument
85 * @param cy The y-coordinate of the center
95 private SweepGradient_Delegate(float cx, float cy, argument
98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
106 public SweepGradientPaint(float cx, float cy, int[] colors, argument
110 mCy = cy;
H A DCanvas_Delegate.java722 float cx, float cy, float radius, int paint) {
724 new RectF(cx - radius, cy - radius, cx + radius, cy + radius),
721 native_drawCircle(int nativeCanvas, float cx, float cy, float radius, int paint) argument
/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/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/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/libs/hwui/
H A DPathTessellator.h127 float cx, float cy,
H A DPathTessellator.cpp1001 float cx, float cy,
1005 float d = (cx - bx) * dy - (cy - by) * dx;
1013 float acy = (ay + cy) * 0.5f;
1014 float bcy = (by + cy) * 0.5f;
998 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, float sqrInvScaleX, float sqrInvScaleY, Vector<Vertex>& outputVertices) argument
H A DOpenGLRenderer.cpp2249 int cy = cx + 1; local
2259 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]);
2262 top = fminf(top, fminf(vertices[ay], fminf(vertices[by], vertices[cy])));
2264 bottom = fmaxf(bottom, fmaxf(vertices[ay], fmaxf(vertices[by], vertices[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/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.java527 final int cy = (int) (top + h * 0.5f);
528 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java978 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
981 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint);
987 private static native void nDrawCircle(int renderer, float cx, float cy, argument
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1178 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin;
1183 c.layout(cx, cy, cx + width, cy + height);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1079 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin;
1084 c.layout(cx, cy, cx + width, cy + height);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp436 jfloat cy, jfloat radius, SkPaint* paint) {
437 canvas->drawCircle(SkFloatToScalar(cx), SkFloatToScalar(cy),
435 drawCircle(JNIEnv* env, jobject, SkCanvas* canvas, jfloat cx, jfloat cy, jfloat radius, SkPaint* paint) argument

Completed in 562 milliseconds