/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 44 * @param cx The x-coordinate of the center 55 public SweepGradient(float cx, float cy, argument 65 mCx = cx; 74 * @param cx The x-coordinate of the center 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { argument 81 mCx = cx;
|
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { argument 40 centerX = cx;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 153 int cx = (x1 >> 1) * cstep; local 154 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); 187 int cx = (x1 >> 1) * cstep; local 188 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); 191 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]);
|
/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) { 105 int reg_minx = cx; 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/support/compat/src/main/java/androidx/core/graphics/ |
H A D | PathParser.java | 657 double cx; 660 cx = xm - sdy; 663 cx = xm + sdy; 667 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 669 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 680 cx *= a; 682 double tcx = cx; 683 cx = cx * cosTheta - cy * sinTheta; 686 arcToBezier(p, cx, c 703 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | ActionRow.java | 216 int cx = view.getLeft() + width / 2; 221 Math.max(cx + cy, cx + (h - cy)), 222 Math.max((w - cx) + cy, (w - cx) + (h - cy))); 224 riv.setRevealParameters(cx, cy, r);
|
H A D | RemoteInputView.java | 269 public void setRevealParameters(int cx, int cy, int r) { argument 270 mRevealCx = cx;
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.h | 129 static void recursiveQuadraticBezierVertices(float ax, float ay, float bx, float by, float cx,
|
H A D | SpotShadow.h | 49 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
|
H A D | BakedOpDispatcher.cpp | 468 int cx = i + 2; local 469 int cy = cx + 1; 480 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | SweepGradient_Delegate.java | 78 * @param cx The x-coordinate of the center 89 private SweepGradient_Delegate(long nativeMatrix, float cx, float cy, argument 92 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); 100 public SweepGradientPaint(float cx, float cy, int[] colors, argument 103 mCx = cx;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonRipple.java | 109 final float cx = w * .5f; 111 final float rx = horizontal ? radius : cx; 113 final float corner = horizontal ? cy : cx; 115 canvas.drawRoundRect(cx - rx, cy - ry, 116 cx + rx, cy + ry,
|
H A D | RemoteInputView.java | 439 public void setRevealParameters(int cx, int cy, int r) { argument 440 mRevealCx = cx;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 259 int cx = width / 2; 265 cx += (mTempRectF.left / scale) - xoffset; 267 cx -= (mTempRectF.left / scale) - xoffset; 275 mRenderer.centerX = swap ? cy : cx; 276 mRenderer.centerY = swap ? cx : cy;
|
/frameworks/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 739 double cx; 742 cx = xm - sdy; 745 cx = xm + sdy; 749 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); 751 + (x0p - cx) + ") = " + Math.toDegrees(eta0)); 753 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); 755 + (x1p - cx) + ") = " + Math.toDegrees(eta1)); 765 cx *= a; 767 double tcx = cx; 768 cx 795 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationRemoteInputManager.java | 245 int cx = view.getLeft() + width / 2; 250 Math.max(cx + cy, cx + (h - cy)), 251 Math.max((w - cx) + cy, (w - cx) + (h - cy))); 253 riv.setRevealParameters(cx, cy, r);
|
/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/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 544 for (etc1_uint32 cx = 0; cx < xEnd; cx++) { 597 for (etc1_uint32 cx = 0; cx < xEnd; cx++) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | Utilities.java | 162 float cx = r.centerX(); 164 r.offset(-cx, -cy); 169 r.offset(cx, cy);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 130 final int cx = mIconFrame.getMeasuredWidth() / 2 + mIconFrame.getLeft(); 133 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 651 float cx = (float) Math.cos(x); 657 float cxsy = cx * sy; 665 rm[rmOffset + 4] = cxsy * cz + cx * sz; 666 rm[rmOffset + 5] = -cxsy * sz + cx * cz; 672 rm[rmOffset + 10] = cx * cy;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 532 final int cx = (int) (left + w * 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 | 351 double cx = mScreenDim[0] / 2.;
354 double dx = (cx - x) / ballRadius;
|
/frameworks/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/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 243 final float cx = (bounds.left + bounds.right) / 2.0f; 245 canvas.scale(-1.0f, 1.0f, cx, cy);
|