Home
last modified time | relevance | path

Searched refs:cy (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DSweepGradient.java35 public SweepGradient(float cx, float cy, in SweepGradient() argument
44 native_instance = nativeCreate1(cx, cy, colors, positions); in SweepGradient()
45 native_shader = nativePostCreate1(native_instance, cx, cy, colors, positions); in SweepGradient()
56 public SweepGradient(float cx, float cy, int color0, int color1) { in SweepGradient() argument
57 native_instance = nativeCreate2(cx, cy, color0, color1); in SweepGradient()
58 native_shader = nativePostCreate2(native_instance, cx, cy, color0, color1); in SweepGradient()
64 private static native int nativePostCreate1(int native_shader, float cx, float cy, in nativePostCreate1() argument
66 private static native int nativePostCreate2(int native_shader, float cx, float cy, in nativePostCreate2() argument
DCanvas.java960 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() argument
961 native_drawCircle(mNativeCanvas, cx, cy, radius, paint.mNativePaint); in drawCircle()
1687 float cy, float radius, in native_drawCircle() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java66 /*package*/ static int nativePostCreate1(int native_shader, float cx, float cy, in nativePostCreate1() argument
73 /*package*/ static int nativePostCreate2(int native_shader, float cx, float cy, in nativePostCreate2() argument
95 private SweepGradient_Delegate(float cx, float cy, in SweepGradient_Delegate() argument
98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
106 public SweepGradientPaint(float cx, float cy, int[] colors, in SweepGradientPaint() argument
110 mCy = cy; in SweepGradientPaint()
DCanvas_Delegate.java728 float cx, float cy, float radius, int paint) { in native_drawCircle() argument
730 new RectF(cx - radius, cy - radius, cx + radius, cy + radius), in native_drawCircle()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp538 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local
539 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image()
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
591 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_decode_image() local
592 const etc1_byte* q = block + (cy * 4) * 3; in etc1_decode_image()
593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Davcenc_int.h58 #define MV_COST(f,s,cx,cy,px,py) (WEIGHTED_COST(f,mvbits[((cx)<<(s))-px]+mvbits[((cy)<<(s))-py… argument
59 #define MV_COST_S(f,cx,cy,px,py) (WEIGHTED_COST(f,mvbits[cx-px]+mvbits[cy-py])) argument
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { in OrientedBoundingBox() argument
41 centerY = cy; in OrientedBoundingBox()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java625 float cy = (float) Math.cos(y); in setRotateEulerM() local
632 rm[rmOffset + 0] = cy * cz; in setRotateEulerM()
633 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM()
639 rm[rmOffset + 6] = -sx * cy; in setRotateEulerM()
644 rm[rmOffset + 10] = cx * cy; in setRotateEulerM()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DPointCloud.java220 final float cy = mDrawable.getIntrinsicHeight() * 0.5f; in draw() local
223 canvas.translate(px - cx, py - cy); in draw()
/frameworks/base/libs/hwui/
DPathRenderer.h84 float cx, float cy,
DPathRenderer.cpp694 float cx, float cy, in recursiveQuadraticBezierVertices() argument
698 float d = (cx - bx) * dy - (cy - by) * dx; in recursiveQuadraticBezierVertices()
706 float acy = (ay + cy) * 0.5f; in recursiveQuadraticBezierVertices()
707 float bcy = (by + cy) * 0.5f; in recursiveQuadraticBezierVertices()
DOpenGLRenderer.cpp1756 int cy = cx + 1; in drawBitmapMesh() local
1762 TextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1); in drawBitmapMesh()
1765 TextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1); in drawBitmapMesh()
1770 top = fminf(top, fminf(vertices[ay], fminf(vertices[by], vertices[cy]))); in drawBitmapMesh()
1772 bottom = fmaxf(bottom, fmaxf(vertices[ay], fmaxf(vertices[by], vertices[cy]))); in drawBitmapMesh()
/frameworks/base/core/java/android/view/
DGLES20RecordingCanvas.java154 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() argument
155 super.drawCircle(cx, cy, radius, paint); in drawCircle()
DGLES20Canvas.java923 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() argument
926 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint); in drawCircle()
932 private static native void nDrawCircle(int renderer, float cx, float cy, in nDrawCircle() argument
/frameworks/base/core/java/android/widget/
DGridLayout.java1125 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout() local
1131 cy -= insets.top; in onLayout()
1138 c.layout(cx, cy, cx + width, cy + height); in onLayout()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1061 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout() local
1066 c.layout(cx, cy, cx + width, cy + height); in onLayout()
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java3936 private boolean setContentScrollBy(int cx, int cy, boolean animate) { in setContentScrollBy() argument
3945 cy = contentToViewDimension(cy); in setContentScrollBy()
3948 if (cy != 0) { in setContentScrollBy()
3951 tempRect.offset(cx, cy); in setContentScrollBy()
3959 return cy == 0 && cx != 0 && pinScrollBy(cx, 0, animate, 0); in setContentScrollBy()
3961 return pinScrollBy(cx, cy, animate, 0); in setContentScrollBy()
3998 private void contentScrollTo(int cx, int cy, boolean animate) { in contentScrollTo() argument
4005 int vy = contentToViewY(cy); in contentScrollTo()
/frameworks/base/core/jni/android/graphics/
DCanvas.cpp412 jfloat cy, jfloat radius, SkPaint* paint) { in drawCircle() argument
413 canvas->drawCircle(SkFloatToScalar(cx), SkFloatToScalar(cy), in drawCircle()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic1072 1cy