Searched refs:ry (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/
H A DTessellationCache.h67 float ry; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect
125 float width, float height, float rx, float ry) {
126 getRoundRectBuffer(transform, paint, width, height, rx, ry);
129 float width, float height, float rx, float ry);
152 float width, float height, float rx, float ry);
124 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
H A DTessellationCache.cpp448 float ry = description.shape.roundRect.ry; local
453 ry += outset;
456 path.addRoundRect(rect, rx, ry);
462 float width, float height, float rx, float ry) {
467 entry.shape.roundRect.ry = ry;
471 float width, float height, float rx, float ry) {
472 return getRoundRectBuffer(transform, paint, width, height, rx, ry)->getVertexBuffer();
460 getRoundRectBuffer( const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
470 getRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
H A DDisplayListRenderer.cpp275 float rx, float ry, const SkPaint* paint) {
277 addDrawOp(new (alloc()) DrawRoundRectOp(left, top, right, bottom, rx, ry, paint));
284 CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry,
291 mDisplayListData->ref(ry);
294 &right->value, &bottom->value, &rx->value, &ry->value, &paint->value));
274 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
281 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
H A DDisplayListRenderer.h127 float rx, float ry, const SkPaint* paint);
130 CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry,
H A DPathCache.cpp505 float rx, float ry, const SkPaint* paint) {
510 entry.shape.roundRect.mRy = ry;
518 path.addRoundRect(r, rx, ry, SkPath::kCW_Direction);
504 getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint) argument
H A DPathCache.h189 PathTexture* getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint);
H A DRenderer.h201 float rx, float ry, const SkPaint* paint) = 0;
H A DDisplayListOp.h1077 float rx, float ry, const SkPaint* paint)
1078 : DrawStrokableOp(left, top, right, bottom, paint), mRx(rx), mRy(ry) {}
1086 OP_LOG("Draw RoundRect " RECT_STRING ", rx %f, ry %f", RECT_ARGS(mLocalBounds), mRx, mRy);
1108 float *rx, float *ry, const SkPaint* paint)
1110 mRx(rx), mRy(ry) {}
1118 OP_LOG("Draw RoundRect Props " RECT_STRING ", rx %f, ry %f",
1076 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1107 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
H A DOpenGLRenderer.h180 float rx, float ry, const SkPaint* paint);
H A DOpenGLRenderer.cpp2484 float rx, float ry, const SkPaint* p) {
2494 right - left, bottom - top, rx, ry, p);
2499 *currentTransform(), *p, right - left, bottom - top, rx, ry);
2483 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* p) argument
/frameworks/base/core/java/android/view/
H A DHardwareCanvas.java115 CanvasProperty<Float> rx, CanvasProperty<Float> ry,
113 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
H A DGLES20Canvas.java729 CanvasProperty<Float> ry, CanvasProperty<Paint> paint) {
732 rx.getNativeContainer(), ry.getNativeContainer(),
864 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
866 nDrawRoundRect(mRenderer, left, top, right, bottom, rx, ry, paint.mNativePaint);
727 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp727 const GLfixed ry = rhs->y; local
728 lhs->x = mla2a(rx, m[ 0], ry, m[ 4], m[12]);
729 lhs->y = mla2a(rx, m[ 1], ry, m[ 5], m[13]);
730 lhs->z = mla2a(rx, m[ 2], ry, m[ 6], m[14]);
731 lhs->w = mla2a(rx, m[ 3], ry, m[ 7], m[15]);
737 const GLfixed ry = rhs->y; local
739 lhs->x = mla3a(rx, m[ 0], ry, m[ 4], rz, m[ 8], m[12]);
740 lhs->y = mla3a(rx, m[ 1], ry, m[ 5], rz, m[ 9], m[13]);
741 lhs->z = mla3a(rx, m[ 2], ry, m[ 6], rz, m[10], m[14]);
742 lhs->w = mla3a(rx, m[ 3], ry,
748 const GLfixed ry = rhs->y; local
763 const GLfixed ry = rhs->y; local
777 const GLfixed ry = rhs->y; local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java596 * @param ry The y-radius of the rounded corners on the round-rectangle
599 public void addRoundRect(RectF rect, float rx, float ry, Direction dir) { argument
600 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, rx, ry, dir);
607 * @param ry The y-radius of the rounded corners on the round-rectangle
610 public void addRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
613 native_addRoundRect(mNativePath, left, top, right, bottom, rx, ry, dir.nativeInt);
818 float rx, float ry, int dir);
816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
H A DCanvas.java1246 * @param ry The y-radius of the oval used to round the corners
1249 public void drawRoundRect(@NonNull RectF rect, float rx, float ry, @NonNull Paint paint) { argument
1250 drawRoundRect(rect.left, rect.top, rect.right, rect.bottom, rx, ry, paint);
1258 * @param ry The y-radius of the oval used to round the corners
1261 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
1263 native_drawRoundRect(mNativeCanvasWrapper, left, top, right, bottom, rx, ry, paint.mNativePaint);
2046 float rx, float ry, long nativePaint);
2044 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java96 final float ry = horizontal ? cy : radius;
99 canvas.drawRoundRect(cx - rx, cy - ry,
100 cx + rx, cy + ry,
/frameworks/base/include/private/graphics/
H A DCanvas.h101 float rx, float ry, const SkPaint& paint) = 0;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp242 jobject clazz, jlong renderNodePtr, float ry) {
243 return SET_AND_DIRTY(setRotationY, ry, RenderNode::ROTATION_Y);
241 android_view_RenderNode_setRotationY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float ry) argument
H A Dandroid_graphics_Canvas.cpp249 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
251 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
248 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
H A Dandroid_view_GLES20Canvas.cpp465 jfloat rx, jfloat ry, jlong paintPtr) {
468 renderer->drawRoundRect(left, top, right, bottom, rx, ry, paint);
463 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintPtr) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java372 float bottom, float rx, float ry, int dir) {
380 left, top, right - left, bottom - top, rx * 2, ry * 2), false);
371 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
H A DCanvas_Delegate.java665 final float rx, final float ry, long paint) {
678 (int)rx, (int)ry);
686 (int)rx, (int)ry);
663 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp101 float rx, float ry, const SkPaint& paint);
521 float rx, float ry, const SkPaint& paint) {
523 mCanvas->drawRoundRect(rect, rx, ry, paint);
520 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
H A DPath.cpp197 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
201 obj->addRoundRect(rect, rx, ry, dir);
196 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument

Completed in 1415 milliseconds