Searched defs:inset (Results 1 - 25 of 44) sorted by last modified time

12

/external/skia/samplecode/
H A DSampleApp.cpp1035 SkScalar inset = SkIntToScalar(-2); local
1036 bounds.inset(inset, inset);
H A DSampleHairline.cpp213 const SkIRect& inset) {
212 show_bitmaps(SkCanvas* canvas, const SkBitmap& b0, const SkBitmap& b1, const SkIRect& inset) argument
/external/skia/src/core/
H A DSkCanvas.cpp1736 const int inset = 1; local
1738 r.iset(ibounds.fLeft - inset, ibounds.fTop - inset,
1739 ibounds.fRight + inset, ibounds.fBottom + inset);
/external/skia/src/effects/
H A DSkMagnifierImageFilter.cpp197 uint32_t inset = random->nextULessThan(kMaxInset); local
205 (float) inset / texture->width(),
206 (float) inset / texture->height());
250 SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset) argument
251 : INHERITED(0), fSrcRect(srcRect), fInset(inset) {
252 SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0);
322 // a square twice the size of the inset.
/external/skia/src/gpu/
H A DGrAARectRenderer.cpp482 SkScalar inset = SkMinScalar(devRect.width(), SK_Scalar1); local
483 inset = SK_ScalarHalf * SkMinScalar(inset, devRect.height());
495 set_inset_fan(fan1Pos, vsize, devRect, inset, inset);
513 // Now create the inset points and then outset the original
540 if (inset < SK_ScalarHalf) {
541 scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf));
777 devInside.inset(r
834 SkScalar inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); local
844 SkScalar inset = SK_ScalarHalf; local
[all...]
/external/skia/tests/
H A DPaintTest.cpp223 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? local
226 maxR.inset(-inset, -inset);
/external/skia/tools/lua/
H A Dskia.lua82 function Sk.Rect:inset(dx, dy)
/external/skia/gm/
H A Dpathinterior.cpp15 static SkRect inset(const SkRect& r) { function
17 rect.inset(r.width() / 8, r.height() / 8);
82 SkRect r = insetFirst ? inset(rect) : rect;
88 r = insetFirst ? rect : inset(rect);
H A Dstrokes.cpp148 static SkRect inset(const SkRect& r) { function
150 rr.inset(r.width()/10, r.height()/10);
157 path->addRect(inset(bounds), SkPath::kCW_Direction);
163 path->addRect(inset(bounds), SkPath::kCCW_Direction);
169 path->addOval(inset(bounds), SkPath::kCW_Direction);
175 path->addOval(inset(bounds), SkPath::kCCW_Direction);
182 r.inset(bounds.width() / 10, -bounds.height() / 10);
190 r.inset(bounds.width() / 10, -bounds.height() / 10);
/external/skia/include/core/
H A DSkRRect.h217 * Call inset on the bounds, and adjust the radii to reflect what happens
219 * otherwise we grow/shrink the radii by the amount of the inset. If a
224 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
226 void inset(SkScalar dx, SkScalar dy) { function in class:SkRRect
227 this->inset(dx, dy, this);
233 * otherwise we grow/shrink the radii by the amount of the inset. If a
239 this->inset(-dx, -dy, dst);
242 this->inset(-dx, -dy, this);
H A DSkRect.h168 * Return a new IRect, built as an inset of this rect.
202 void inset(int32_t dx, int32_t dy) { function in struct:SkIRect
214 void outset(int32_t dx, int32_t dy) { this->inset(-dx, -dy); }
602 * Return a new Rect, built as an inset of this rect.
637 void inset(SkScalar dx, SkScalar dy) {
649 void outset(SkScalar dx, SkScalar dy) { this->inset(-dx, -dy); }
/external/skia/include/effects/
H A DSkMagnifierImageFilter.h17 static SkMagnifierImageFilter* Create(const SkRect& srcRect, SkScalar inset) { argument
18 return SkNEW_ARGS(SkMagnifierImageFilter, (srcRect, inset));
24 SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset);
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusLineCaps.h107 CustomLineCap::SetBaseInset(IN REAL inset) argument
109 return SetStatus(DllExports::GdipSetCustomLineCapBaseInset(nativeCap, inset));
115 REAL inset; local
116 SetStatus(DllExports::GdipGetCustomLineCapBaseInset(nativeCap, &inset));
118 return inset;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/skia/gm/
H A Dpathinterior.cpp15 static SkRect inset(const SkRect& r) { function
17 rect.inset(r.width() / 8, r.height() / 8);
78 SkRect r = insetFirst ? inset(rect) : rect;
84 r = insetFirst ? rect : inset(rect);
H A Dstrokes.cpp148 static SkRect inset(const SkRect& r) { function
150 rr.inset(r.width()/10, r.height()/10);
157 path->addRect(inset(bounds), SkPath::kCW_Direction);
163 path->addRect(inset(bounds), SkPath::kCCW_Direction);
169 path->addOval(inset(bounds), SkPath::kCW_Direction);
175 path->addOval(inset(bounds), SkPath::kCCW_Direction);
182 r.inset(bounds.width() / 10, -bounds.height() / 10);
190 r.inset(bounds.width() / 10, -bounds.height() / 10);
/external/chromium_org/third_party/skia/include/core/
H A DSkRRect.h217 * Call inset on the bounds, and adjust the radii to reflect what happens
219 * otherwise we grow/shrink the radii by the amount of the inset. If a
224 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
226 void inset(SkScalar dx, SkScalar dy) { function in class:SkRRect
227 this->inset(dx, dy, this);
233 * otherwise we grow/shrink the radii by the amount of the inset. If a
239 this->inset(-dx, -dy, dst);
242 this->inset(-dx, -dy, this);
H A DSkRect.h168 * Return a new IRect, built as an inset of this rect.
202 void inset(int32_t dx, int32_t dy) { function in struct:SkIRect
214 void outset(int32_t dx, int32_t dy) { this->inset(-dx, -dy); }
600 * Return a new Rect, built as an inset of this rect.
635 void inset(SkScalar dx, SkScalar dy) {
647 void outset(SkScalar dx, SkScalar dy) { this->inset(-dx, -dy); }
/external/chromium_org/third_party/skia/samplecode/
H A DSampleApp.cpp1032 SkScalar inset = SkIntToScalar(-2); local
1033 bounds.inset(inset, inset);
H A DSampleHairline.cpp213 const SkIRect& inset) {
212 show_bitmaps(SkCanvas* canvas, const SkBitmap& b0, const SkBitmap& b1, const SkIRect& inset) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkCanvas.cpp1629 const int inset = 1; local
1631 r.iset(ibounds.fLeft - inset, ibounds.fTop - inset,
1632 ibounds.fRight + inset, ibounds.fBottom + inset);
/external/chromium_org/third_party/skia/src/effects/
H A DSkMagnifierImageFilter.cpp199 uint32_t inset = random->nextULessThan(kMaxInset); local
207 (float) inset / texture->width(),
208 (float) inset / texture->height());
238 SkImageFilter* SkMagnifierImageFilter::Create(const SkRect& srcRect, SkScalar inset, argument
241 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) {
248 return SkNEW_ARGS(SkMagnifierImageFilter, (srcRect, inset, input));
268 SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset, argument
270 : INHERITED(1, &input), fSrcRect(srcRect), fInset(inset) {
271 SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0);
346 // a square twice the size of the inset
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAARectRenderer.cpp507 SkScalar inset = SkMinScalar(devRect.width(), SK_Scalar1); local
508 inset = SK_ScalarHalf * SkMinScalar(inset, devRect.height());
520 set_inset_fan(fan1Pos, vstride, devRect, inset, inset);
538 // Now create the inset points and then outset the original
571 if (inset < SK_ScalarHalf) {
572 scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf));
805 devInside.inset(r
864 SkScalar inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); local
874 SkScalar inset = SK_ScalarHalf; local
[all...]

Completed in 1479 milliseconds

12