/external/webkit/Source/WebCore/rendering/ |
RenderRubyText.cpp | 74 // Inset the ruby text by half the inter-ideograph expansion amount, but no more than a full-width 76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); local 78 inset = min<float>(2 * style()->fontSize(), inset); 80 logicalLeft += inset / 2; 81 logicalWidth -= inset;
|
RenderTextControlMultiLine.cpp | 136 int inset = borderLeft() + paddingLeft(); local 139 inset += innerTextRenderer->paddingLeft(); 141 return inset; 146 int inset = borderRight() + paddingRight(); local 149 inset += innerTextRenderer->paddingRight(); 151 return inset; 156 int inset = borderTop() + paddingTop(); local 159 inset += innerTextRenderer->paddingTop(); 161 return inset;
|
RenderRubyBase.cpp | 208 // Inset the ruby base by half the inter-ideograph expansion amount. 209 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); local 211 logicalLeft += inset / 2; 212 logicalWidth -= inset;
|
/external/skia/include/effects/ |
SkMagnifierImageFilter.h | 17 SkMagnifierImageFilter(SkRect srcRect, SkScalar inset);
|
/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/chromium/chrome/browser/ui/gtk/ |
theme_install_bubble_view_gtk.cc | 167 int inset = kBubbleCornerRadius; local 168 inner_rect.Inset(inset, inset); 171 cairo_arc(cr, inner_rect.x(), inner_rect.y(), inset, 173 cairo_arc(cr, inner_rect.right(), inner_rect.y(), inset, 175 cairo_arc(cr, inner_rect.right(), inner_rect.bottom(), inset, 177 cairo_arc(cr, inner_rect.x(), inner_rect.bottom(), inset,
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
RoundRectShape.java | 25 * Creates a rounded-corner rectangle. Optionally, an inset (rounded) rectangle 48 * @param inset A RectF that specifies the distance from the inner 56 * If inset parameter is null, this parameter is ignored. 58 public RoundRectShape(float[] outerRadii, RectF inset, 67 mInset = inset; 70 if (inset != null) {
|
/external/skia/gm/ |
pathinterior.cpp | 15 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);
|
strokes.cpp | 140 static SkRect inset(const SkRect& r) { function 142 rr.inset(r.width()/10, r.height()/10); 149 path->addRect(inset(bounds), SkPath::kCW_Direction); 155 path->addRect(inset(bounds), SkPath::kCCW_Direction); 161 path->addOval(inset(bounds), SkPath::kCW_Direction); 167 path->addOval(inset(bounds), SkPath::kCCW_Direction); 174 r.inset(bounds.width() / 10, -bounds.height() / 10); 182 r.inset(bounds.width() / 10, -bounds.height() / 10);
|
rrect.cpp | 18 r.inset(dx, dy); 38 r.inset(dx, dy); 54 r.inset(dx, dy); 82 r.inset(dx, dy);
|
/external/skia/tests/ |
PaintTest.cpp | 91 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? local 94 maxR.inset(-inset, -inset);
|
StrokeTest.cpp | 51 inner.inset(width/2, width/2);
|
/external/skia/include/core/ |
SkRRect.h | 224 * Call inset on the bounds, and adjust the radii to reflect what happens 226 * otherwise we grow/shrink the radii by the amount of the inset. If a 231 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const; 233 void inset(SkScalar dx, SkScalar dy) { function in class:SkRRect 234 this->inset(dx, dy, this); 240 * otherwise we grow/shrink the radii by the amount of the inset. If a 246 this->inset(-dx, -dy, dst); 249 this->inset(-dx, -dy, this);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RoundRectShapeTest.java | 63 RectF inset = new RectF(6, 6, 6, 6); local 65 RoundRectShape roundRectShape = new RoundRectShape(outerR, inset, innerR);
|
/external/chromium/chrome/browser/chromeos/login/ |
rounded_rect_painter.cc | 181 int inset = border_->corner_radius / 2 + border_->padding + shadow; local 182 insets->Set(inset - shadow / 3, inset, inset + shadow / 3, inset);
|
rounded_view.h | 76 view_rect.inset(2 * rounded_view::kStrokeWidth, 113 view_rect.inset(rounded_view::kStrokeWidth, rounded_view::kStrokeWidth);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
InsetDrawable.java | 35 * <p>It can be defined in an XML file with the <code><inset></code> element. For more 57 public InsetDrawable(Drawable drawable, int inset) { 58 this(drawable, inset, inset, inset, inset); 110 + ": <inset> tag requires a 'drawable' attribute or " 117 Log.w("drawable", "No drawable specified for <inset>");
|
/external/webkit/Source/WebCore/css/ |
fullscreenQuickTime.css | 52 inset 0 -1px 1px rgba(0, 0, 0, 0.5), 53 inset 0 1px 0 0px rgba(255, 255, 255, 0.15), 54 inset 0 -1px 0 0px rgba(202, 202, 202, 0.09),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 85 mArc1.inset(-r1, -r1); 87 mArc2.inset(-r2, -r2);
|
/external/skia/legacy/src/core/ |
SkRasterizer.cpp | 34 storage.inset(-margin.fX, -margin.fY);
|
/external/skia/legacy/src/images/ |
SkPageFlipper.cpp | 65 r.inset(-1, -1);
|
/external/skia/src/core/ |
SkRasterizer.cpp | 33 storage.inset(-margin.fX, -margin.fY);
|
/external/skia/src/images/ |
SkPageFlipper.cpp | 65 r.inset(-1, -1);
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
MediaLayer.cpp | 68 mediaBounds.inset(m_outlineSize, m_outlineSize);
|