Searched defs:cx (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { argument
40 centerX = cx;
/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java24 * @param cx The x-coordinate of the center
35 public SweepGradient(float cx, float cy, argument
44 native_instance = nativeCreate1(cx, cy, colors, positions);
50 * @param cx The x-coordinate of the center
55 public SweepGradient(float cx, float cy, int color0, int color1) { argument
56 native_instance = nativeCreate2(cx, cy, color0, color1);
H A DCanvas.java892 * @param cx The x-coordinate of the center of the cirle to be drawn
897 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
898 native_drawCircle(mNativeCanvas, cx, cy, radius,
1513 private static native void native_drawCircle(int nativeCanvas, float cx, argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSweepGradient.java26 * @param cx The x-coordinate of the center
37 public SweepGradient(float cx, float cy, argument
41 mPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
47 * @param cx The x-coordinate of the center
52 public SweepGradient(float cx, float cy, int color0, int color1) { argument
53 this(cx, cy, new int[] { color0, color1}, null /*positions*/);
66 public SweepGradientPaint(float cx, float cy, int[] colors, float[] positions) { argument
68 mCx = cx;
H A DCanvas.java901 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
911 g.fillOval((int)(cx - radius), (int)(cy - radius), size, size);
915 g.drawOval((int)(cx - radius), (int)(cy - radius), size, size);
/frameworks/base/awt/org/apache/harmony/awt/gl/render/
H A DJavaArcRasterizer.java30 static void addX0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
36 mra.addRect(cx + Math.max(x1, start), y, cx + Math.min(x2, finish), y);
42 static void addX1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
48 mra.addRect(cx + Math.max(x1, start), y, cx + Math.min(x2, finish), y);
54 static void addX2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
60 mra.addRect(cx - Math.min(x2, finish), y, cx - Math.max(x1, start), y);
66 static void addX3LineSeg(MultiRectArea mra, int[] line, int cx, in argument
78 addY0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
90 addY1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
102 addY2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
114 addY3LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
126 addX0Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
134 addX1Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
142 addX2Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
150 addX3Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
158 addY0Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
166 addY1Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
174 addY2Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
182 addY3Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
[all...]
H A DJavaLineRasterizer.java686 static int clipY(int dx, int dy, int cx, boolean top) { argument
687 return clip(dx, dy, cx, top);
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DCrossing.java161 public QuadCurve(double x1, double y1, double cx, double cy, double x2, double y2) { argument
164 bx = cx - x1;
256 double ax, ay, bx, by, cx, cy; field in class:Crossing.CubicCurve
265 cx = cx2 - x1;
269 Bx = cx + cx + cx - Cx - Cx; // Bx = 3.0 * cx - 6.0 * bx
270 Ax = ax - Bx - Cx; // Ax = ax - 3.0 * cx + 3.0 * bx
291 if (py1 < 0.0 && (bx != 0.0 ? bx : (cx !
402 crossQuad(double x1, double y1, double cx, double cy, double x2, double y2, double x, double y) argument
665 intersectQuad(double x1, double y1, double cx, double cy, double x2, double y2, double rx1, double ry1, double rx2, double ry2) argument
[all...]
/frameworks/base/awt/java/awt/
H A DBasicStroke.java182 double mx, my, cx, cy; field in class:BasicStroke
498 mx = my = cx = cy = 0.0;
511 mx = cx = coords[0];
517 addLine(cx, cy, cx = coords[0], cy = coords[1], true);
520 addQuad(cx, cy, coords[0], coords[1], cx = coords[2], cy = coords[3]);
523 addCubic(cx, cy, coords[0], coords[1], coords[2], coords[3], cx = coords[4],
527 addLine(cx, c
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp423 static void drawCircle(JNIEnv* env, jobject, SkCanvas* canvas, jfloat cx, argument
425 canvas->drawCircle(SkFloatToScalar(cx), SkFloatToScalar(cy),
/frameworks/base/core/java/android/webkit/
H A DWebView.java2846 private boolean setContentScrollBy(int cx, int cy, boolean animate) { argument
2854 cx = contentToViewDimension(cx);
2861 tempRect.offset(cx, cy);
2869 return cy == 0 && cx != 0 && pinScrollBy(cx, 0, animate, 0);
2871 return pinScrollBy(cx, cy, animate, 0);
2911 // return true if pin caused the final x/y different than the request cx/cy,
2912 // and a future scroll may reach the request cx/cy after our size has
2916 private boolean setContentScrollTo(int cx, in argument
2971 spawnContentScrollTo(int cx, int cy) argument
[all...]

Completed in 560 milliseconds