/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;
|
/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/tests/ |
PaintTest.cpp | 91 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? local 94 maxR.inset(-inset, -inset);
|
/development/samples/BrowserPlugin/jni/navigation/ |
NavigationPlugin.cpp | 46 static uint16_t rnd16(float x, int inset) { 47 int ix = (int)roundf(x) + inset; 55 const int inset = doAA ? -1 : 0; local 59 inval.left = rnd16(r.left, inset); 60 inval.top = rnd16(r.top, inset); 61 inval.right = rnd16(r.right, -inset); 62 inval.bottom = rnd16(r.bottom, -inset);
|
/external/skia/gm/ |
aaclip.cpp | 31 target.inset(SkIntToScalar(-2), SkIntToScalar(-2)); 33 target.inset(SkIntToScalar(2), SkIntToScalar(2)); 36 target.inset(SkIntToScalar(-4), SkIntToScalar(-4));
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardCircleFramedDrawable.java | 73 circleRect.inset(mStrokeWidth / 2f, mStrokeWidth / 2f); 74 circleRect.inset(mShadowRadius, mShadowRadius); 114 mFrameRect.inset(mStrokeWidth / 2f, mStrokeWidth / 2f); 115 mFrameRect.inset(mShadowRadius, mShadowRadius);
|
/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),
|
/external/skia/samplecode/ |
SampleAAClip.cpp | 83 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); 108 r.inset(20, 20);
|
/external/skia/src/core/ |
SkRasterizer.cpp | 34 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);
|
VideoLayerAndroid.cpp | 116 videoRect.inset(0, deltaY / 2); 120 videoRect.inset(deltaX / 2, 0); 180 innerRect.inset(manager->getButtonSize() / 4 * scale, 207 innerRect.inset(manager->getButtonSize() / 4 * scale,
|
/frameworks/base/core/java/android/view/ |
TouchDelegate.java | 95 mSlopBounds.inset(-mSlop, -mSlop);
|
/development/samples/BrowserPlugin/jni/audio/ |
AudioPlugin.cpp | 47 static uint16_t rnd16(float x, int inset) { 48 int ix = (int)roundf(x) + inset; 56 const int inset = doAA ? -1 : 0; local 60 inval.left = rnd16(r.left, inset); 61 inval.top = rnd16(r.top, inset); 62 inval.right = rnd16(r.right, -inset); 63 inval.bottom = rnd16(r.bottom, -inset);
|
/development/samples/BrowserPlugin/jni/form/ |
FormPlugin.cpp | 46 static uint16_t rnd16(float x, int inset) { 47 int ix = (int)roundf(x) + inset; 55 const int inset = doAA ? -1 : 0; local 59 inval.left = rnd16(r.left, inset); 60 inval.top = rnd16(r.top, inset); 61 inval.right = rnd16(r.right, -inset); 62 inval.bottom = rnd16(r.bottom, -inset);
|
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 216 * @param inset 220 public Bitmap toBitmap(int width, int height, int inset, int color) { 238 final float sx = (width - 2 * inset) / bounds.width(); 239 final float sy = (height - 2 * inset) / bounds.height(); 246 canvas.translate(inset, inset);
|