/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 45 * @param cy The y-coordinate of the center 55 public SweepGradient(float cx, float cy, argument 66 mCy = cy; 75 * @param cy The y-coordinate of the center 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { argument 82 mCy = cy;
|
/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/tests/java_api/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/compat/java/android/support/v4/graphics/ |
H A D | PathParser.java | 657 double cy; 660 cy = ym + sdx; 663 cy = ym - sdx; 666 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 668 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 680 cy *= b; 682 cx = cx * cosTheta - cy * sinTheta; 683 cy = tcx * sinTheta + cy * cosTheta; 685 arcToBezier(p, cx, cy, 702 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/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 | 1095 float cx, float cy, 1101 float d = (cx - bx) * dy - (cy - by) * dx; 1110 float acy = (ay + cy) * 0.5f; 1111 float bcy = (by + cy) * 0.5f; 1092 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 | 75 * @param cy The y-coordinate of the center 85 private SweepGradient_Delegate(long nativeMatrix, float cx, float cy, argument 88 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); 96 public SweepGradientPaint(float cx, float cy, int[] colors, argument 100 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 | 100 final float cy = h * .5f; 102 final float ry = horizontal ? cy : radius; 103 final float corner = horizontal ? cy : cx; 105 canvas.drawRoundRect(cx - rx, cy - ry, 106 cx + rx, cy + ry,
|
H A D | RemoteInputView.java | 446 public void setRevealParameters(int cx, int cy, int r) { argument 448 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 | 738 double cy; 741 cy = ym + sdx; 744 cy = ym - sdx; 747 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 748 LOGGER.log(Level.FINE, "eta0 = Math.atan2( " + (y0p - cy) + " , " 751 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 752 LOGGER.log(Level.FINE, "eta1 = Math.atan2( " + (y1p - cy) + " , " 764 cy *= b; 766 cx = cx * cosTheta - cy * sinTheta; 767 cy 793 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 | 209 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument 211 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 101 final int cy = mIconFrame.getMeasuredHeight() / 2; 103 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 79 double cx = 0, cy = 0, cz = 0; 94 cy += areaOfTriangle * (poly[i * 3 + 1] + poly[k * 3 + 1] + poly[0 * 3 + 1]); 98 ret[1] = (float) (cy / (3 * area)); 174 private static boolean rightTurn(float ax, float ay, float bx, float by, float cx, float cy) { argument 175 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > 0.00001; 552 float cy = retXY[1]; 560 t2[i] = rayIntersectPoly(umbra, umbraLength, cx, cy, dx, dy); 561 t1[i] = rayIntersectPoly(penumbra, penumbraLength, cx, cy, dx, dy); 577 retStrips[p * 3 + 1] = dy * t + cy; 617 retStrips[p * 3 + 1] = dy * t + cy; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 163 float cy = r.centerY(); 164 r.offset(-cx, -cy); 169 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/tests/java_api/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 | 178 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
|
/frameworks/native/libs/math/include/math/ |
H A D | TMatHelpers.h | 564 T cy = std::cos(yaw); local 570 T cc = cr * cy; 572 T sc = sr * cy; 574 r[0][0] = cp * cy;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 243 final float cy = (bounds.top + bounds.bottom) / 2.0f; 244 canvas.scale(-1.0f, 1.0f, cx, cy);
|