HomeSort by relevance Sort by last modified time
    Searched defs:inset (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/skia/gm/
pathinterior.cpp 17 static SkRect inset(const SkRect& r) { function
19 rect.inset(r.width() / 8, r.height() / 8);
80 SkRect r = insetFirst ? inset(rect) : rect;
86 r = insetFirst ? rect : inset(rect);
addarc.cpp 34 const SkScalar inset = paint.getStrokeWidth() + 4; variable
50 r.inset(inset, inset);
150 r.inset(delta, delta);
203 r.inset(delta, delta);
showmiplevels.cpp 44 SkScalar inset = 2; local
48 r.inset(inset, inset);
49 inset += 1;
strokes.cpp 326 static SkRect inset(const SkRect& r) { function
328 rr.inset(r.width()/10, r.height()/10);
335 path->addRect(inset(bounds), SkPath::kCW_Direction);
341 path->addRect(inset(bounds), SkPath::kCCW_Direction);
347 path->addOval(inset(bounds), SkPath::kCW_Direction);
353 path->addOval(inset(bounds), SkPath::kCCW_Direction);
360 r.inset(bounds.width() / 10, -bounds.height() / 10);
368 r.inset(bounds.width() / 10, -bounds.height() / 10);
    [all...]
  /external/skqp/gm/
pathinterior.cpp 17 static SkRect inset(const SkRect& r) { function
19 rect.inset(r.width() / 8, r.height() / 8);
80 SkRect r = insetFirst ? inset(rect) : rect;
86 r = insetFirst ? rect : inset(rect);
addarc.cpp 34 const SkScalar inset = paint.getStrokeWidth() + 4; variable
50 r.inset(inset, inset);
150 r.inset(delta, delta);
203 r.inset(delta, delta);
showmiplevels.cpp 43 SkScalar inset = 2; local
47 r.inset(inset, inset);
48 inset += 1;
strokes.cpp 326 static SkRect inset(const SkRect& r) { function
328 rr.inset(r.width()/10, r.height()/10);
335 path->addRect(inset(bounds), SkPath::kCW_Direction);
341 path->addRect(inset(bounds), SkPath::kCCW_Direction);
347 path->addOval(inset(bounds), SkPath::kCW_Direction);
353 path->addOval(inset(bounds), SkPath::kCCW_Direction);
360 r.inset(bounds.width() / 10, -bounds.height() / 10);
368 r.inset(bounds.width() / 10, -bounds.height() / 10);
  /frameworks/layoutlib/bridge/src/android/view/
RectShadowPainter.java 95 shadowRect.inset(-shadowSize, -shadowSize);
97 RectF inset = new RectF(outline); local
98 inset.inset(radius, radius);
104 edgeShadowRect.set(-shadowSize, 0f, 0f, inset.height());
106 sideShadow(canvas, edgePaint, edgeShadowRect, outline.left, inset.top, 0);
108 sideShadow(canvas, edgePaint, edgeShadowRect, outline.right, inset.bottom, 2);
110 edgeShadowRect.set(-shadowSize, 0, 0, inset.width());
111 sideShadow(canvas, edgePaint, edgeShadowRect, inset.right, outline.top, 1);
112 // bottom shadow. This needs an inset so that blank doesn't appear when the content i
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/utils/
WmDisplayCutout.java 58 * @return a copy of this instance which has been inset
61 public WmDisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { method in class:WmDisplayCutout
62 DisplayCutout newInner = mInner.inset(insetLeft, insetTop, insetRight, insetBottom);
87 return inset(frame.left, frame.top,
123 int inset = 0; local
130 inset = Math.max(inset, boundingRect.bottom);
135 inset = Math.max(inset, display.getHeight() - boundingRect.top);
140 inset = Math.max(inset, boundingRect.right)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Regions.java 85 float inset = p.getStrokeWidth() * 0.5f; local
86 if (inset == 0) { // catch hairlines
87 inset = 0.5f;
89 c.drawRect(r.left + inset, r.top + inset,
90 r.right - inset, r.bottom - inset, p);
ShapeDrawable1.java 82 RectF inset = new RectF(6, 6, 6, 6); local
97 mDrawables[3] = new ShapeDrawable(new RoundRectShape(outerR, inset,
99 mDrawables[4] = new ShapeDrawable(new RoundRectShape(outerR, inset,
  /external/skia/src/gpu/effects/
GrMagnifierEffect.cpp 180 SkScalar inset = d->fRandom->nextRangeScalar(1.0f, kMaxInset); local
190 bounds.width() / inset,
191 bounds.height() / inset);
GrTextureDomain.h 70 // For Clamp mode, inset by half a texel.
71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; local
72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset,
73 texelRect.fRight - inset, texelRect.fBottom - inset);
  /external/skia/tools/lua/
skia.lua 82 function Sk.Rect:inset(dx, dy)
  /external/skqp/src/gpu/effects/
GrMagnifierEffect.cpp 180 SkScalar inset = d->fRandom->nextRangeScalar(1.0f, kMaxInset); local
190 bounds.width() / inset,
191 bounds.height() / inset);
GrTextureDomain.h 70 // For Clamp mode, inset by half a texel.
71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; local
72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset,
73 texelRect.fRight - inset, texelRect.fBottom - inset);
  /external/skqp/tools/lua/
skia.lua 82 function Sk.Rect:inset(dx, dy)
  /frameworks/base/libs/hwui/
Rect.h 160 void inset(float delta) { outset(-delta); } function in class:android::uirenderer::Rect
190 * inset the bounds first by the fudge factor. Very small fraction-of-a-pixel errors
191 * from this inset will only incur similarly small errors in output, due to transparency
  /packages/apps/Launcher3/src/com/android/launcher3/touch/
WorkspaceTouchListener.java 86 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
MoreKeysKeyboardAccessibilityDelegate.java 105 mMoreKeysKeyboardValidBounds.inset(CLOSING_INSET_IN_PIXEL, CLOSING_INSET_IN_PIXEL);
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RoundRectShapeTest.java 75 RectF inset = new RectF(6, 6, 6, 6); local
77 RoundRectShape roundRectShape = new RoundRectShape(outerR, inset, innerR);
161 // Inset can't produce a valid outline, so the resulting behavior is
  /external/skia/include/core/
SkRRect.h 220 * Call inset on the bounds, and adjust the radii to reflect what happens
222 * otherwise we grow/shrink the radii by the amount of the inset. If a
225 * If the inset amount is larger than the width/height then the rrect collapses to
228 * If the inset is sufficiently negative to cause the bounds to become infinite then
233 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
235 void inset(SkScalar dx, SkScalar dy) { function in class:SkRRect
236 this->inset(dx, dy, this);
242 * otherwise we grow/shrink the radii by the amount of the inset. If a
248 this->inset(-dx, -dy, dst);
251 this->inset(-dx, -dy, this)
    [all...]
  /external/skia/tests/
PaintTest.cpp 194 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? local
197 maxR.inset(-inset, -inset);
  /external/skqp/include/core/
SkRRect.h 230 * Call inset on the bounds, and adjust the radii to reflect what happens
232 * otherwise we grow/shrink the radii by the amount of the inset. If a
235 * If the inset amount is larger than the width/height then the rrect collapses to
238 * If the inset is sufficiently negative to cause the bounds to become infinite then
243 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
245 void inset(SkScalar dx, SkScalar dy) { function in class:SkRRect
246 this->inset(dx, dy, this);
252 * otherwise we grow/shrink the radii by the amount of the inset. If a
258 this->inset(-dx, -dy, dst);
261 this->inset(-dx, -dy, this)
    [all...]

Completed in 484 milliseconds

1 2 3 4 5