/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));
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 142 final int cy = height / 2; 203 drawCircle(canvas, cx, cy, mColor1, pct); 207 drawCircle(canvas, cx, cy, mColor2, pct); 211 drawCircle(canvas, cx, cy, mColor3, pct); 215 drawCircle(canvas, cx, cy, mColor4, pct); 219 drawCircle(canvas, cx, cy, mColor1, pct); 229 drawTrigger(canvas, cx, cy); 237 drawTrigger(canvas, cx, cy); 243 private void drawTrigger(Canvas canvas, int cx, int cy) { argument 245 canvas.drawCircle(cx, cy, c 257 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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | find_region.rs | 46 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight); 100 static int2 gfindMin(rs_allocation fit, int cx, int cy, int cwidth, int cheight) { 106 int reg_miny = cy; 132 void findMin(rs_allocation fit, rs_allocation fit_max,int cx, int cy, int cwidth, int cheight) { 133 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight);
|
/frameworks/base/libs/hwui/utils/ |
H A D | VectorDrawableUtils.cpp | 104 * @param cy The y coordinate center of the ellipse 115 double cy, 143 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); 216 double cy; local 219 cy = ym + sdx; 222 cy = ym - sdx; 225 double eta0 = atan2((y0p - cy), (x0p - cx)); 227 double eta1 = atan2((y1p - cy), (x1p - cx)); 239 cy *= b; 241 cx = cx * cosTheta - cy * sinThet 113 arcToBezier(SkPath* p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 638 double cy; 641 cy = ym + sdx; 644 cy = ym - sdx; 647 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 649 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 661 cy *= b; 663 cx = cx * cosTheta - cy * sinTheta; 664 cy = tcx * sinTheta + cy * cosTheta; 666 arcToBezier(p, cx, cy, 683 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/libs/hwui/ |
H A D | PathTessellator.h | 129 float cx, float cy,
|
H A D | SpotShadow.h | 49 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
|
H A D | PathTessellator.cpp | 1087 float cx, float cy, 1093 float d = (cx - bx) * dy - (cy - by) * dx; 1102 float acy = (ay + cy) * 0.5f; 1103 float bcy = (by + cy) * 0.5f; 1084 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, const PathApproximationInfo& approximationInfo, std::vector<Vertex>& outputVertices, int depth) 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;
|
/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 | 93 final float cy = h * .5f; 95 final float ry = horizontal ? cy : radius; 96 final float corner = horizontal ? cy : cx; 98 canvas.drawRoundRect(cx - rx, cy - ry, 99 cx + rx, cy + ry,
|
H A D | RemoteInputView.java | 431 public void setRevealParameters(int cx, int cy, int r) { argument 433 mRevealCy = cy;
|
/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/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 737 double cy; 740 cy = ym + sdx; 743 cy = ym - sdx; 746 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 747 LOGGER.log(Level.FINE, "eta0 = Math.atan2( " + (y0p - cy) + " , " 750 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 751 LOGGER.log(Level.FINE, "eta1 = Math.atan2( " + (y1p - cy) + " , " 763 cy *= b; 765 cx = cx * cosTheta - cy * sinTheta; 766 cy 792 arcToBezier(@onNull Path_Delegate p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 234 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument 236 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(),
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | CircularDisplayMask.java | 128 // the circle with center (cx, cy) and radius 'radius' 129 static private double calcPixelShading(double cx, double cy, double px, argument 133 py -= cy; 245 double cy = (maskHeight - 1.0 + mScreenOffset) / 2.0; 251 double shading = calcPixelShading(cx, cy, px, py, radius);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTileBaseView.java | 87 final int cy = height / 2; 89 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 164 float cy = r.centerY(); 165 r.offset(-cx, -cy); 170 r.offset(cx, cy);
|
/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 | 533 final int cy = (int) (top + h * 0.5f); 534 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | ViewMatrix.java | 352 double cy = mScreenDim[1] / 2.;
355 double dy = (cy - y) / ballRadius;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 174 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 244 final float cy = (bounds.top + bounds.bottom) / 2.0f; 245 canvas.scale(-1.0f, 1.0f, cx, cy);
|