Searched defs:ry (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/
H A DTessellationCache.h73 float ry; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect
158 float width, float height, float rx, float ry) {
159 getRoundRectBuffer(transform, paint, width, height, rx, ry);
162 float width, float height, float rx, float ry);
190 float width, float height, float rx, float ry);
157 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
H A DPathCache.cpp462 float rx, float ry, const SkPaint* paint) {
467 entry.shape.roundRect.mRy = ry;
475 path.addRoundRect(r, rx, ry, SkPath::kCW_Direction);
461 getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint) argument
H A DRecordedOp.h324 RoundRectOp(BASE_PARAMS, float rx, float ry) argument
327 , ry(ry) {}
329 const float ry; member in struct:android::uirenderer::RoundRectOp
334 float* left, float* top, float* right, float* bottom, float *rx, float *ry)
341 , ry(ry) {}
347 const float* ry; member in struct:android::uirenderer::RoundRectPropsOp
333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument
H A DTessellationCache.cpp75 return lRect.ry == rRect.ry;
442 float ry = description.shape.roundRect.ry; local
447 ry += outset;
450 path.addRoundRect(rect, rx, ry);
456 float width, float height, float rx, float ry) {
461 entry.shape.roundRect.ry = ry;
465 float width, float height, float rx, float ry) {
454 getRoundRectBuffer( const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
464 getRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
[all...]
H A DDisplayListCanvas.cpp351 float rx, float ry, const SkPaint& paint) {
352 addDrawOp(new (alloc()) DrawRoundRectOp(left, top, right, bottom, rx, ry, refPaint(&paint)));
358 CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry,
365 mDisplayList->ref(ry);
369 &right->value, &bottom->value, &rx->value, &ry->value, &paint->value));
350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
H A DRecordingCanvas.cpp358 float rx, float ry, const SkPaint& paint) {
359 if (CC_LIKELY(MathUtils::isPositive(rx) || MathUtils::isPositive(ry))) {
364 refPaint(&paint), rx, ry)); local
373 CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry,
380 mDisplayList->ref(ry);
388 &rx->value, &ry->value));
357 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
370 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
H A DDisplayListOp.h1012 float rx, float ry, const SkPaint* paint)
1013 : DrawStrokableOp(left, top, right, bottom, paint), mRx(rx), mRy(ry) {}
1021 OP_LOG("Draw RoundRect " RECT_STRING ", rx %f, ry %f", RECT_ARGS(mLocalBounds), mRx, mRy);
1043 float *rx, float *ry, const SkPaint* paint)
1045 mRx(rx), mRy(ry) {}
1053 OP_LOG("Draw RoundRect Props " RECT_STRING ", rx %f, ry %f",
1011 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1042 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
H A DSkiaCanvas.cpp126 float rx, float ry, const SkPaint& paint) override;
156 uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) override;
590 float rx, float ry, const SkPaint& paint) {
592 mCanvas->drawRoundRect(rect, rx, ry, paint);
781 uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) :
782 mLeft(left), mTop(top), mRight(right), mBottom(bottom), mRx(rx), mRy(ry), mPaint(p) {}
830 uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) {
832 new AnimatedRoundRect(left, top, right, bottom, rx, ry, paint));
589 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
778 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument
827 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument
H A DOpenGLRenderer.cpp1802 float rx, float ry, const SkPaint* p) {
1812 right - left, bottom - top, rx, ry, p);
1816 *currentTransform(), *p, right - left, bottom - top, rx, ry);
1801 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 DDisplayListCanvas.java245 CanvasProperty<Float> ry, CanvasProperty<Paint> paint) {
248 rx.getNativeContainer(), ry.getNativeContainer(),
243 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java188 public void drawRoundRect(RectF rect, float rx, float ry, Paint paint) { argument
192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp195 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
199 obj->addRoundRect(rect, rx, ry, dir);
194 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp304 jobject clazz, jlong renderNodePtr, float ry) {
305 return SET_AND_DIRTY(setRotationY, ry, RenderNode::ROTATION_Y);
303 android_view_RenderNode_setRotationY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float ry) argument
H A Dandroid_graphics_Canvas.cpp277 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
/frameworks/base/graphics/java/android/graphics/
H A DPath.java611 * @param ry The y-radius of the rounded corners on the round-rectangle
614 public void addRoundRect(RectF rect, float rx, float ry, Direction dir) { argument
615 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, rx, ry, dir);
622 * @param ry The y-radius of the rounded corners on the round-rectangle
625 public void addRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
628 native_addRoundRect(mNativePath, left, top, right, bottom, rx, ry, dir.nativeInt);
842 float rx, float ry, int dir);
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
H A DCanvas.java1231 * @param ry The y-radius of the oval used to round the corners
1234 public void drawRoundRect(@NonNull RectF rect, float rx, float ry, @NonNull Paint paint) { argument
1235 drawRoundRect(rect.left, rect.top, rect.right, rect.bottom, rx, ry, paint);
1243 * @param ry The y-radius of the oval used to round the corners
1246 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
1248 native_drawRoundRect(mNativeCanvasWrapper, left, top, right, bottom, rx, ry, paint.getNativeInstance());
2079 float rx, float ry, long nativePaint);
2077 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java377 float bottom, float rx, float ry, int dir) {
385 left, top, right - left, bottom - top, rx * 2, ry * 2), false);
376 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
H A DCanvas_Delegate.java679 final float rx, final float ry, long paint) {
692 2 * (int)rx, 2 * (int)ry);
700 2 * (int)rx, 2 * (int)ry);
677 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/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...]

Completed in 444 milliseconds