/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Geometry.h | 42 inline void ClipRect(BlendRect rrect, BlendRect &brect) 44 if (rrect.bot < brect.bot) brect.bot = rrect.bot; 45 if (rrect.top > brect.top) brect.top = rrect.top; 46 if (rrect.lft < brect.lft) brect.lft = rrect.lft; 47 if (rrect.rgt > brect.rgt) brect.rgt = rrect.rgt;
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
Geometry.h | 42 inline void ClipRect(BlendRect rrect, BlendRect &brect) 44 if (rrect.bot < brect.bot) brect.bot = rrect.bot; 45 if (rrect.top > brect.top) brect.top = rrect.top; 46 if (rrect.lft < brect.lft) brect.lft = rrect.lft; 47 if (rrect.rgt > brect.rgt) brect.rgt = rrect.rgt;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Geometry.h | 42 inline void ClipRect(BlendRect rrect, BlendRect &brect) 44 if (rrect.bot < brect.bot) brect.bot = rrect.bot; 45 if (rrect.top > brect.top) brect.top = rrect.top; 46 if (rrect.lft < brect.lft) brect.lft = rrect.lft; 47 if (rrect.rgt > brect.rgt) brect.rgt = rrect.rgt;
|
/external/skia/gm/ |
rrect.cpp | 99 static void draw_rrect_color(SkCanvas* canvas, const SkRRect& rrect) { 104 if (rrect.isRect()) { 106 } else if (rrect.isOval()) { 108 } else if (rrect.isSimple()) { 113 canvas->drawRRect(rrect, paint); 116 static void drawrr(SkCanvas* canvas, const SkRRect& rrect, InsetProc proc) { 119 proc(rrect, d, d, &rr); 130 return SkString("rrect"); 142 SkRRect rrect[4]; local 148 rrect[0].setRect(r) [all...] |
blurroundrect.cpp | 130 SkRRect rrect; variable 131 rrect.setRectXY(r, SkIntToScalar(cornerRadii[j]), SkIntToScalar(cornerRadii[j])); 132 canvas->drawRRect(rrect, paint);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrOvalRenderer.h | 37 const SkRRect& rrect, const SkStrokeRec& stroke);
|
/external/skia/src/gpu/ |
GrOvalRenderer.h | 37 const SkRRect& rrect, const SkStrokeRec& stroke);
|
/external/chromium_org/third_party/skia/src/utils/debugger/ |
SkObjectParser.cpp | 230 SkString* SkObjectParser::RRectToString(const SkRRect& rrect, const char* title) { 236 if (rrect.isEmpty()) { 238 } else if (rrect.isRect()) { 240 } else if (rrect.isOval()) { 242 } else if (rrect.isSimple()) { 245 SkASSERT(rrect.isComplex()); 253 mRRect->appendScalar(rrect.rect().left()); 255 mRRect->appendScalar(rrect.rect().top()); 257 mRRect->appendScalar(rrect.rect().right()); 259 mRRect->appendScalar(rrect.rect().bottom()) [all...] |
SkObjectParser.h | 90 @param rrect SkRRect 92 static SkString* RRectToString(const SkRRect& rrect, const char* title = NULL);
|
SkDebugCanvas.h | 150 virtual bool clipRRect(const SkRRect& rrect, 199 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRIDE;
|
/external/skia/src/utils/debugger/ |
SkObjectParser.cpp | 230 SkString* SkObjectParser::RRectToString(const SkRRect& rrect, const char* title) { 236 if (rrect.isEmpty()) { 238 } else if (rrect.isRect()) { 240 } else if (rrect.isOval()) { 242 } else if (rrect.isSimple()) { 245 SkASSERT(rrect.isComplex()); 253 mRRect->appendScalar(rrect.rect().left()); 255 mRRect->appendScalar(rrect.rect().top()); 257 mRRect->appendScalar(rrect.rect().right()); 259 mRRect->appendScalar(rrect.rect().bottom()) [all...] |
SkObjectParser.h | 90 @param rrect SkRRect 92 static SkString* RRectToString(const SkRRect& rrect, const char* title = NULL);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDumpCanvas.cpp | 37 static void toString(const SkRRect& rrect, SkString* str) { 38 SkRect r = rrect.getBounds(); 42 if (rrect.isOval()) { 44 } else if (rrect.isSimple()) { 45 const SkVector& rad = rrect.getSimpleRadii(); 47 } else if (rrect.isComplex()) { 49 rrect.radii(SkRRect::kUpperLeft_Corner), 50 rrect.radii(SkRRect::kUpperRight_Corner), 51 rrect.radii(SkRRect::kLowerRight_Corner), 52 rrect.radii(SkRRect::kLowerLeft_Corner) [all...] |
SkProxyCanvas.cpp | 65 bool SkProxyCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { 66 return fProxy->clipRRect(rrect, op, doAA); 94 void SkProxyCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 95 fProxy->drawRRect(rrect, paint);
|
SkLuaCanvas.cpp | 154 bool SkLuaCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { 156 lua.pushRRect(rrect, "rrect"); 158 return this->INHERITED::clipRRect(rrect, op, doAA); 196 void SkLuaCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 198 lua.pushRRect(rrect, "rrect");
|
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 37 static void toString(const SkRRect& rrect, SkString* str) { 38 SkRect r = rrect.getBounds(); 42 if (rrect.isOval()) { 44 } else if (rrect.isSimple()) { 45 const SkVector& rad = rrect.getSimpleRadii(); 47 } else if (rrect.isComplex()) { 49 rrect.radii(SkRRect::kUpperLeft_Corner), 50 rrect.radii(SkRRect::kUpperRight_Corner), 51 rrect.radii(SkRRect::kLowerRight_Corner), 52 rrect.radii(SkRRect::kLowerLeft_Corner) [all...] |
SkProxyCanvas.cpp | 65 bool SkProxyCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { 66 return fProxy->clipRRect(rrect, op, doAA); 94 void SkProxyCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 95 fProxy->drawRRect(rrect, paint);
|
SkLuaCanvas.cpp | 154 bool SkLuaCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { 156 lua.pushRRect(rrect, "rrect"); 158 return this->INHERITED::clipRRect(rrect, op, doAA); 196 void SkLuaCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 198 lua.pushRRect(rrect, "rrect");
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurMaskFilter.cpp | 180 static bool draw_rrect_into_mask(const SkRRect rrect, SkMask* mask) { 181 if (!prepare_to_draw_into_mask(rrect.rect(), mask)) { 199 canvas.drawRRect(rrect, paint); 240 SkBlurMaskFilterImpl::filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, 244 switch (rrect.getType()) { 277 if (rect_exceeds(rrect.rect(), SkIntToScalar(32767))) { 283 rrect.rect().roundOut(&srcM.fBounds); 295 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner); 296 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); 297 const SkVector& LR = rrect.radii(SkRRect::kLowerRight_Corner) [all...] |
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 180 static bool draw_rrect_into_mask(const SkRRect rrect, SkMask* mask) { 181 if (!prepare_to_draw_into_mask(rrect.rect(), mask)) { 199 canvas.drawRRect(rrect, paint); 240 SkBlurMaskFilterImpl::filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, 244 switch (rrect.getType()) { 277 if (rect_exceeds(rrect.rect(), SkIntToScalar(32767))) { 283 rrect.rect().roundOut(&srcM.fBounds); 295 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner); 296 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); 297 const SkVector& LR = rrect.radii(SkRRect::kLowerRight_Corner) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBBoxHierarchyRecord.h | 47 virtual bool clipRRect(const SkRRect& rrect,
|
SkBBoxHierarchyRecord.cpp | 100 bool SkBBoxHierarchyRecord::clipRRect(const SkRRect& rrect, 104 return INHERITED::clipRRect(rrect, op, doAntiAlias);
|
/external/skia/src/core/ |
SkBBoxHierarchyRecord.h | 47 virtual bool clipRRect(const SkRRect& rrect,
|
/external/chromium_org/third_party/skia/include/core/ |
SkReader32.h | 117 bool readRRect(SkRRect* rrect) { 118 return readObjectFromMemory(rrect);
|
/external/skia/include/core/ |
SkReader32.h | 117 bool readRRect(SkRRect* rrect) { 118 return readObjectFromMemory(rrect);
|