/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 41 * @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 D | Canvas.java | 1176 * @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 D | SwipeProgressBar.java | 141 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 D | OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { argument 41 centerY = cy;
|
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 590 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 D | avcenc_int.h | 58 #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 D | HardwareCanvas.java | 110 public abstract void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
|
H A D | GLES20Canvas.java | 709 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 D | PathTessellator.h | 106 float cx, float cy,
|
H A D | SpotShadow.h | 48 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
|
H A D | PathTessellator.cpp | 1022 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 D | SpotShadow.cpp | 221 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 D | SweepGradient_Delegate.java | 71 * @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 D | Canvas_Delegate.java | 624 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 D | etc1.cpp | 538 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 D | KeyButtonRipple.java | 94 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 D | TiledImageView.java | 260 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 D | Utilities.java | 64 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 D | PointCloud.java | 219 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 D | QSTileView.java | 286 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 D | Matrix.java | 653 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 D | DessertCaseView.java | 526 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 D | LLand.java | 692 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 D | android_graphics_Canvas.cpp | 254 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 D | GridLayout.java | 1184 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; 1189 c.layout(cx, cy, cx + width, cy + height);
|