Searched refs:cy (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java45 * @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/base/core/java/android/gesture/
H A DOrientedBoundingBox.java36 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 Dfind_region.rs46 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/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java658 double cy;
661 cy = ym + sdx;
664 cy = ym - sdx;
667 double eta0 = Math.atan2((y0p - cy), (x0p - cx));
669 double eta1 = Math.atan2((y1p - cy), (x1p - cx));
681 cy *= b;
683 cx = cx * cosTheta - cy * sinTheta;
684 cy = tcx * sinTheta + cy * cosTheta;
686 arcToBezier(p, cx, cy,
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 DActionRow.java217 int cy = view.getTop() + view.getHeight() / 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 DRemoteInputView.java269 public void setRevealParameters(int cx, int cy, int r) { argument
271 mRevealCy = cy;
/frameworks/base/libs/hwui/
H A DPathTessellator.h130 float cy,
H A DSpotShadow.h49 static bool ccw(float ax, float ay, float bx, float by, float cx, float cy);
H A DPathTessellator.cpp1040 float ax, float ay, float bx, float by, float cx, float cy,
1046 float d = (cx - bx) * dy - (cy - by) * dx;
1054 float acy = (ay + cy) * 0.5f;
1055 float bcy = (by + cy) * 0.5f;
1039 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, const PathApproximationInfo& approximationInfo, std::vector<Vertex>& outputVertices, int depth) argument
/frameworks/layoutlib/bridge/src/android/graphics/
H A DSweepGradient_Delegate.java79 * @param cy The y-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
104 mCy = cy;
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp538 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 DKeyButtonRipple.java110 final float cy = h * .5f;
112 final float ry = horizontal ? cy : radius;
113 final float corner = horizontal ? cy : cx;
115 canvas.drawRoundRect(cx - rx, cy - ry,
116 cx + rx, cy + ry,
H A DRemoteInputView.java439 public void setRevealParameters(int cx, int cy, int r) { argument
441 mRevealCy = cy;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java260 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/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java740 double cy;
743 cy = ym + sdx;
746 cy = ym - sdx;
749 double eta0 = Math.atan2((y0p - cy), (x0p - cx));
750 LOGGER.log(Level.FINE, "eta0 = Math.atan2( " + (y0p - cy) + " , "
753 double eta1 = Math.atan2((y1p - cy), (x1p - cx));
754 LOGGER.log(Level.FINE, "eta1 = Math.atan2( " + (y1p - cy) + " , "
766 cy *= b;
768 cx = cx * cosTheta - cy * sinTheta;
769 cy
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 DNotificationRemoteInputManager.java246 int cy = view.getTop() + view.getHeight() / 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 DDisplayListCanvas.java209 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, argument
211 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(),
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DUtilities.java163 float cy = r.centerY();
164 r.offset(-cx, -cy);
169 r.offset(cx, cy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileBaseView.java131 final int cy = mIconFrame.getMeasuredHeight() / 2 + mIconFrame.getTop();
133 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java653 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 DDessertCaseView.java533 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 DViewMatrix.java352 double cy = mScreenDim[1] / 2.;
355 double dy = (cy - y) / ballRadius;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java178 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h564 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 DNinePatchDrawable.java244 final float cy = (bounds.top + bounds.bottom) / 2.0f;
245 canvas.scale(-1.0f, 1.0f, cx, cy);

Completed in 5047 milliseconds

12