/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 61 public SweepGradient(float cx, float cy, @NonNull @ColorInt int[] colors, in SweepGradient() argument 63 this(cx, cy, convertColors(colors), positions, ColorSpace.get(ColorSpace.Named.SRGB)); in SweepGradient() 83 public SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() argument 85 this(cx, cy, colors.clone(), positions, detectColorSpace(colors)); in SweepGradient() 92 private SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() argument 101 mCy = cy; in SweepGradient() 114 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { in SweepGradient() argument 115 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient() 129 public SweepGradient(float cx, float cy, @ColorLong long color0, @ColorLong long color1) { in SweepGradient() argument 130 this(cx, cy, new long[] {color0, color1}, null); in SweepGradient()
|
D | RecordingCanvas.java | 246 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle() argument 248 nDrawCircle(mNativeCanvasWrapper, cx.getNativeContainer(), cy.getNativeContainer(), in drawCircle()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | RotateAndCropMapper.cpp | 58 int32_t cy = 0; in updateCaptureRequest() local 64 cy = entry.data.i32[1]; in updateCaptureRequest() 156 transformPoints(entry.data.i32 + i, 2, transformMat, xShift, yShift, cx, cy); in updateCaptureRequest() 174 int32_t cy = 0; in updateCaptureResult() local 180 cy = entry.data.i32[1]; in updateCaptureResult() 249 ry = cy; in updateCaptureResult() 258 ry = cy + (ch - rh) / 2; in updateCaptureResult() 264 yShift = ry - cy + ch; // top edge of rotated to bottom edge of cropped in updateCaptureResult()
|
D | RotateAndCropMapper.h | 55 float xShift, float yShift, float cx, float cy);
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowVertexCalculator.java | 49 float cy = mConfig.getLightSourcePosition()[1]; in generateVertex() local 72 mVertex[shift + 3] = cy + h * (py - cy); in generateVertex()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 740 double cy; in drawArc() local 743 cy = ym + sdx; in drawArc() 746 cy = ym - sdx; in drawArc() 749 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc() 750 LOGGER.log(Level.FINE, "eta0 = Math.atan2( " + (y0p - cy) + " , " in drawArc() 753 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc() 754 LOGGER.log(Level.FINE, "eta1 = Math.atan2( " + (y1p - cy) + " , " in drawArc() 766 cy *= b; in drawArc() 768 cx = cx * cosTheta - cy * sinTheta; in drawArc() 769 cy = tcx * sinTheta + cy * cosTheta; in drawArc() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 126 final float cy = h * .5f; in drawSoftware() local 128 final float ry = horizontal ? cy : radius; in drawSoftware() 129 final float corner = horizontal ? cy : cx; in drawSoftware() 132 canvas.drawRoundRect(cx - rx, cy - ry, cx + rx, cy + ry, corner, corner, p); in drawSoftware() 135 canvas.translate(cx, cy); in drawSoftware() 179 CanvasProperty<Float> cy = CanvasProperty.createFloat(getBounds().height() / 2); in drawHardware() local 182 c.drawCircle(cx, cy, r, mPaintProp); in drawHardware()
|
D | KeyButtonView.java | 474 int cy = (getTop() + getBottom()) / 2; in draw() local 475 canvas.translate(cx, cy); in draw()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 534 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local 535 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() 536 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image() 587 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_decode_image() local 588 const etc1_byte* q = block + (cy * 4) * 3; in etc1_decode_image() 589 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 83 private SweepGradient_Delegate(long nativeMatrix, float cx, float cy, in SweepGradient_Delegate() argument 86 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate() 94 public SweepGradientPaint(float cx, float cy, int[] colors, in SweepGradientPaint() argument 98 mCy = cy; in SweepGradientPaint()
|
D | BaseCanvas_Delegate.java | 265 float cx, float cy, float radius, long paint) { in nDrawCircle() argument 267 cx - radius, cy - radius, cx + radius, cy + radius, in nDrawCircle()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 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/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { in OrientedBoundingBox() argument 41 centerY = cy; in OrientedBoundingBox()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 982 const float cx, const float cy, const float f) { in undistort() argument 984 double yp = (y - cy) / f; in undistort() 1003 y = ypp * f + cy; in undistort() 1010 const float cx, const float cy, const float f, in unDistortWithinPreCorrArray() argument 1012 undistort(x, y, distortion, cx, cy, f); in unDistortWithinPreCorrArray() 1025 const float cx, const float cy, const float f, in boxWithinPrecorrectionArray() argument 1029 distortion, cx, cy, f, preCorrW, preCorrH, xMin, yMin)) { in boxWithinPrecorrectionArray() 1034 distortion, cx, cy, f, preCorrW, preCorrH, xMin, yMin)) { in boxWithinPrecorrectionArray() 1039 distortion, cx, cy, f, preCorrW, preCorrH, xMin, yMin)) { in boxWithinPrecorrectionArray() 1044 if (!unDistortWithinPreCorrArray(left, cy, in boxWithinPrecorrectionArray() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 260 int cy = height / 2; in positionFromMatrix() local 270 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix() 272 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix() 275 mRenderer.centerX = swap ? cy : cx; in positionFromMatrix() 276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix()
|
/frameworks/base/core/java/android/view/ |
D | DisplayListCanvas.java | 52 public abstract void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 472 int cy = view.getTop() + view.getHeight() / 2; in activateRemoteInput() local 476 Math.max(cx + cy, cx + (h - cy)), in activateRemoteInput() 477 Math.max((w - cx) + cy, (w - cx) + (h - cy))); in activateRemoteInput() 479 riv.setRevealParameters(cx, cy, r); in activateRemoteInput()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 653 float cy = (float) Math.cos(y); in setRotateEulerM() local 660 rm[rmOffset + 0] = cy * cz; in setRotateEulerM() 661 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM() 667 rm[rmOffset + 6] = -sx * cy; in setRotateEulerM() 672 rm[rmOffset + 10] = cx * cy; in setRotateEulerM()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileBaseView.java | 156 final int cy = mIconFrame.getMeasuredHeight() / 2 + mIconFrame.getTop(); in updateRippleSize() local 158 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
|
/frameworks/native/libs/math/include/math/ |
D | TMatHelpers.h | 564 T cy = std::cos(yaw); in eulerZYX() local 570 T cc = cr * cy; in eulerZYX() 572 T sc = sr * cy; in eulerZYX() 574 r[0][0] = cp * cy; in eulerZYX()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseView.java | 533 final int cy = (int) (top + h * 0.5f); 534 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 230 float cy = (getTop() + getBottom()) / 2f; in onTouchEvent() local 231 float angle = (float) toPositiveDegrees(Math.atan2(x - cx, y - cy)); in onTouchEvent()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 352 double cy = mScreenDim[1] / 2.; in ballToVec() local 355 double dy = (cy - y) / ballRadius; in ballToVec()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 558 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F() local 565 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, cy, 0x… in TEST_F() 568 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, yInfo, cy, 0)); in TEST_F() 571 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, yInfo, cy, 0)); in TEST_F()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 178 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() argument
|