Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 18 of 18) 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()
1686 private static native void native_drawCircle(int nativeCanvas, float cx, 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
109 mCx = cx; 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/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
40 centerX = cx; in OrientedBoundingBox()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp544 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { in etc1_encode_image() local
597 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { in etc1_decode_image() local
/frameworks/base/opengl/java/android/opengl/
DMatrix.java623 float cx = (float) Math.cos(x); in setRotateEulerM() local
629 float cxsy = cx * sy; in setRotateEulerM()
637 rm[rmOffset + 4] = cxsy * cz + cx * sz; in setRotateEulerM()
638 rm[rmOffset + 5] = -cxsy * sz + cx * cz; in setRotateEulerM()
644 rm[rmOffset + 10] = cx * cy; in setRotateEulerM()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DPointCloud.java219 final float cx = mDrawable.getIntrinsicWidth() * 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()
704 float acx = (ax + cx) * 0.5f; in recursiveQuadraticBezierVertices()
705 float bcx = (bx + cx) * 0.5f; in recursiveQuadraticBezierVertices()
DOpenGLRenderer.cpp1755 int cx = i + 2; in drawBitmapMesh() local
1756 int cy = cx + 1; in drawBitmapMesh()
1762 TextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1); in drawBitmapMesh()
1765 TextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1); in drawBitmapMesh()
1769 left = fminf(left, fminf(vertices[ax], fminf(vertices[bx], vertices[cx]))); in drawBitmapMesh()
1771 right = fmaxf(right, fmaxf(vertices[ax], fmaxf(vertices[bx], vertices[cx]))); 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.java1123 int cx = !isLayoutRtl() ? paddingLeft + leftMargin + dx : in onLayout() local
1130 cx -= insets.left; in onLayout()
1138 c.layout(cx, cy, cx + width, cy + height); in onLayout()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1059 int cx = !isLayoutRtl(this) ? paddingLeft + leftMargin + dx : 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
3944 cx = contentToViewDimension(cx); 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
4004 int vx = contentToViewX(cx); in contentScrollTo()
/frameworks/base/core/jni/android/graphics/
DCanvas.cpp411 static void drawCircle(JNIEnv* env, jobject, SkCanvas* canvas, jfloat cx, in drawCircle() argument
413 canvas->drawCircle(SkFloatToScalar(cx), SkFloatToScalar(cy), in drawCircle()