/external/webkit/Source/WebCore/platform/graphics/ |
D | Path.cpp | 112 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) in addRoundedRect() argument 114 if (rect.isEmpty()) in addRoundedRect() 118 FloatSize halfSize(rect.width() / 2, rect.height() / 2); in addRoundedRect() 130 moveTo(FloatPoint(rect.x() + radius.width(), rect.y())); in addRoundedRect() 133 addLineTo(FloatPoint(rect.x() + rect.width() - roundingRadii.width(), rect.y())); in addRoundedRect() 135 …rect.x() + rect.width() - radius.width() * gCircleControlPoint, rect.y()), FloatPoint(rect.x() + r… in addRoundedRect() 138 addLineTo(FloatPoint(rect.x() + rect.width(), rect.y() + rect.height() - radius.height())); in addRoundedRect() 140 …rect.x() + rect.width(), rect.y() + rect.height() - radius.height() * gCircleControlPoint), FloatP… in addRoundedRect() 143 addLineTo(FloatPoint(rect.x() + radius.width(), rect.y() + rect.height())); in addRoundedRect() 145 …rect.x() + radius.width() * gCircleControlPoint, rect.y() + rect.height()), FloatPoint(rect.x(), r… in addRoundedRect() [all …]
|
/external/webkit/Source/WebCore/platform/chromium/ |
D | PlatformThemeChromiumGtk.cpp | 100 void PlatformThemeChromiumGtk::paintArrowButton(GraphicsContext* gc, const IntRect& rect, ArrowDire… in paintArrowButton() argument 106 widthMiddle = rect.width() / 2 + 1; in paintArrowButton() 107 lengthMiddle = rect.height() / 2 + 1; in paintArrowButton() 109 lengthMiddle = rect.width() / 2 + 1; in paintArrowButton() 110 widthMiddle = rect.height() / 2 + 1; in paintArrowButton() 129 skrect.set(rect.x(), rect.y(), rect.x() + rect.width(), rect.y() + rect.height()); in paintArrowButton() 138 outline.moveTo(rect.x() + 0.5, rect.y() + rect.height() + 0.5); in paintArrowButton() 139 outline.rLineTo(0, -(rect.height() - 2)); in paintArrowButton() 141 outline.rLineTo(rect.width() - 5, 0); in paintArrowButton() 143 outline.rLineTo(0, rect.height() - 2); in paintArrowButton() [all …]
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | WidgetRenderingContext.cpp | 147 void WidgetRenderingContext::gtkPaintBox(const IntRect& rect, GtkWidget* widget, GtkStateType state… in gtkPaintBox() argument 149 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintBox() 163 void WidgetRenderingContext::gtkPaintFlatBox(const IntRect& rect, GtkWidget* widget, GtkStateType s… in gtkPaintFlatBox() argument 165 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintFlatBox() 170 void WidgetRenderingContext::gtkPaintFocus(const IntRect& rect, GtkWidget* widget, GtkStateType sta… in gtkPaintFocus() argument 172 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintFocus() 177 void WidgetRenderingContext::gtkPaintSlider(const IntRect& rect, GtkWidget* widget, GtkStateType st… in gtkPaintSlider() argument 179 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintSlider() 184 void WidgetRenderingContext::gtkPaintCheck(const IntRect& rect, GtkWidget* widget, GtkStateType sta… in gtkPaintCheck() argument 186 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintCheck() [all …]
|
D | ScrollbarThemeGtk3.cpp | 67 …ThemeGtk::paintTrackBackground(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect) in paintTrackBackground() argument 72 IntRect fullScrollbarRect(rect); in paintTrackBackground() 100 … ScrollbarThemeGtk::paintThumb(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect) in paintThumb() argument 114 …nder_slider(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.he… in paintThumb() 120 …aintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument 140 …_background(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.he… in paintButton() 141 …ender_frame(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.he… in paintButton() 146 double arrowSize = std::min(rect.width(), rect.height()) * arrowScaling; in paintButton() 147 FloatPoint arrowPoint(rect.x() + (rect.width() - arrowSize) / 2, in paintButton() 148 rect.y() + (rect.height() - arrowSize) / 2); in paintButton()
|
D | RenderThemeGtk3.cpp | 126 static void adjustRectForFocus(GtkStyleContext* context, IntRect& rect) in adjustRectForFocus() argument 132 rect.inflate(focusWidth + focusPad); in adjustRectForFocus() 135 void RenderThemeGtk::adjustRepaintRect(const RenderObject* renderObject, IntRect& rect) in adjustRepaintRect() argument 147 rect.inflate(indicatorSpacing); in adjustRepaintRect() 176 adjustRectForFocus(context, rect); in adjustRepaintRect() 198 …eme, GType widgetType, RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) in paintToggle() argument 220 …eck(context, paintInfo.context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.he… in paintToggle() 222 …ion(context, paintInfo.context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.he… in paintToggle() 225 IntRect indicatorRect(rect); in paintToggle() 241 …hemeGtk::paintCheckbox(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) in paintCheckbox() argument [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderMediaControlsChromium.cpp | 64 static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) in paintMediaButton() argument 66 IntRect imageRect = image->rect(); in paintMediaButton() 67 context->drawImage(image, ColorSpaceDeviceRGB, rect); in paintMediaButton() 71 …ic bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaMuteButton() argument 82 return paintMediaButton(paintInfo.context, rect, soundDisabled); in paintMediaMuteButton() 84 return paintMediaButton(paintInfo.context, rect, mediaElement->muted() ? soundNone: soundFull); in paintMediaMuteButton() 87 …ic bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaPlayButton() argument 98 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); in paintMediaPlayButton() 100 …return paintMediaButton(paintInfo.context, rect, mediaElement->canPlay() ? mediaPlay : mediaPause); in paintMediaPlayButton() 109 static bool paintMediaSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaSlider() argument [all …]
|
D | RenderOverflow.h | 122 inline void RenderOverflow::addLayoutOverflow(const IntRect& rect) in addLayoutOverflow() argument 124 m_minYLayoutOverflow = std::min(rect.y(), m_minYLayoutOverflow); in addLayoutOverflow() 125 m_maxYLayoutOverflow = std::max(rect.maxY(), m_maxYLayoutOverflow); in addLayoutOverflow() 126 m_minXLayoutOverflow = std::min(rect.x(), m_minXLayoutOverflow); in addLayoutOverflow() 127 m_maxXLayoutOverflow = std::max(rect.maxX(), m_maxXLayoutOverflow); in addLayoutOverflow() 130 inline void RenderOverflow::addVisualOverflow(const IntRect& rect) in addVisualOverflow() argument 132 m_minYVisualOverflow = std::min(rect.y(), m_minYVisualOverflow); in addVisualOverflow() 133 m_maxYVisualOverflow = std::max(rect.maxY(), m_maxYVisualOverflow); in addVisualOverflow() 134 m_minXVisualOverflow = std::min(rect.x(), m_minXVisualOverflow); in addVisualOverflow() 135 m_maxXVisualOverflow = std::max(rect.maxX(), m_maxXVisualOverflow); in addVisualOverflow() [all …]
|
D | RenderThemeChromiumSkia.cpp | 374 …paintMediaControlsBackground(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaControlsBackground() argument 377 …nderMediaControlsChromium::paintMediaControlsPart(MediaTimelineContainer, object, paintInfo, rect); in paintMediaControlsBackground() 381 UNUSED_PARAM(rect); in paintMediaControlsBackground() 386 …mSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaSliderTrack() argument 389 … return RenderMediaControlsChromium::paintMediaControlsPart(MediaSlider, object, paintInfo, rect); in paintMediaSliderTrack() 393 UNUSED_PARAM(rect); in paintMediaSliderTrack() 398 …:paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaVolumeSliderTrack() argument 401 …rn RenderMediaControlsChromium::paintMediaControlsPart(MediaVolumeSlider, object, paintInfo, rect); in paintMediaVolumeSliderTrack() 405 UNUSED_PARAM(rect); in paintMediaVolumeSliderTrack() 419 …mSkia::paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaSliderThumb() argument [all …]
|
/external/webkit/Source/WebCore/platform/qt/ |
D | QtMobileWebStyle.cpp | 33 …angularControlBackground(QPainter* painter, const QPen& pen, const QRect& rect, const QBrush& brus… in drawRectangularControlBackground() argument 42 painter->drawRoundedRect(rect.adjusted(line, line, -line, -line), in drawRectangularControlBackground() 71 QPixmap QtMobileWebStyle::findChecker(const QRect& rect, bool disabled) const in findChecker() argument 73 int size = qMin(rect.width(), rect.height()); in findChecker() 94 QRect rect = QRect(QPoint(1, 1), QSize(squareSize - 2, squareSize - 2)); in drawRadio() local 95 const QPoint centerGradient(rect.bottomRight() * 0.7); in drawRadio() 104 painter->drawEllipse(rect); in drawRadio() 106 painter->drawEllipse(rect); in drawRadio() 108 int border = 0.1 * (rect.width() + rect.height()); in drawRadio() 110 rect.adjust(border, border, -border, -border); in drawRadio() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
D | SDL_QWin.cc | 131 const QRect& rect ) in gs_fastRotateBlit_3() argument 137 startx = rect.left() >> 1; in gs_fastRotateBlit_3() 138 starty = rect.top() >> 1; in gs_fastRotateBlit_3() 139 width = ((rect.right() - rect.left()) >> 1) + 2; in gs_fastRotateBlit_3() 140 height = ((rect.bottom() - rect.top()) >> 1) + 2; in gs_fastRotateBlit_3() 188 const QRect& rect ) { in gs_fastRotateBlit_1() argument 193 startx = rect.left() >> 1; in gs_fastRotateBlit_1() 194 starty = rect.top() >> 1; in gs_fastRotateBlit_1() 195 width = ((rect.right() - rect.left()) >> 1) + 2; in gs_fastRotateBlit_1() 196 height = ((rect.bottom() - rect.top()) >> 1) + 2; in gs_fastRotateBlit_1() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
D | FilterEffect.cpp | 49 inline bool isFilterSizeValid(IntRect rect) in isFilterSizeValid() argument 51 if (rect.width() < 0 || rect.width() > kMaxFilterSize in isFilterSizeValid() 52 || rect.height() < 0 || rect.height() > kMaxFilterSize) in isFilterSizeValid() 113 PassRefPtr<ByteArray> FilterEffect::asUnmultipliedImage(const IntRect& rect) in asUnmultipliedImage() argument 115 ASSERT(isFilterSizeValid(rect)); in asUnmultipliedImage() 116 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); in asUnmultipliedImage() 117 copyUnmultipliedImage(imageData.get(), rect); in asUnmultipliedImage() 121 PassRefPtr<ByteArray> FilterEffect::asPremultipliedImage(const IntRect& rect) in asPremultipliedImage() argument 123 ASSERT(isFilterSizeValid(rect)); in asPremultipliedImage() 124 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); in asPremultipliedImage() [all …]
|
/external/opencv/cv/src/ |
D | mycvHaarDetectObjects.cpp | 61 rect[CV_HAAR_FEATURE_MAX]; member 218 if( classifier->haar_feature[l].rect[k].r.width ) in myicvCreateHidHaarClassifierCascade() 220 CvRect r = classifier->haar_feature[l].rect[k].r; in myicvCreateHidHaarClassifierCascade() 304 if( fabs(feature->rect[2].weight) < DBL_EPSILON || in myicvCreateHidHaarClassifierCascade() 305 feature->rect[2].r.width == 0 || in myicvCreateHidHaarClassifierCascade() 306 feature->rect[2].r.height == 0 ) in myicvCreateHidHaarClassifierCascade() 307 memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) ); in myicvCreateHidHaarClassifierCascade() 398 #define calc_sum(rect,offset) \ argument 399 ((rect).p0[offset] - (rect).p1[offset] - (rect).p2[offset] + (rect).p3[offset]) 413 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; in myicvEvalHidHaarClassifier() [all …]
|
/external/chromium/chrome/common/extensions/ |
D | extension_action.cc | 144 SkRect rect; in PaintBadge() local 145 rect.fBottom = SkIntToScalar(bounds.bottom() - kBottomMargin); in PaintBadge() 146 rect.fTop = rect.fBottom - SkIntToScalar(kBadgeHeight); in PaintBadge() 148 rect.fLeft = SkIntToScalar( in PaintBadge() 152 rect.fRight = rect.fLeft + SkIntToScalar(badge_width); in PaintBadge() 154 rect.fRight = SkIntToScalar(bounds.right()); in PaintBadge() 155 rect.fLeft = rect.fRight - badge_width; in PaintBadge() 162 canvas->AsCanvasSkia()->drawRoundRect(rect, SkIntToScalar(2), in PaintBadge() 174 canvas->AsCanvasSkia()->drawBitmap(*gradient_left, rect.fLeft, rect.fTop); in PaintBadge() 176 SkScalarFloor(rect.fLeft) + gradient_left->width(), in PaintBadge() [all …]
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 162 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 || in update_histogram() 173 cvSetImageROI( m_color_planes[i], m_comp.rect ); in update_histogram() 174 cvSetImageROI( m_mask, m_comp.rect ); in update_histogram() 180 cvSetImageROI( m_color_planes[i], m_comp.rect ); in update_histogram() 204 CvRect rect; in track_object() local 213 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 || in track_object() 224 rect = m_comp.rect; in track_object() 226 if( rect.x < 0 ) in track_object() 227 rect.x = 0; in track_object() 228 if( rect.x + rect.width > bp_size.width ) in track_object() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | image_utils_unittest.mm | 33 - (id)initWithFrame:(NSRect)rect { 34 self = [super initWithFrame:rect]; 36 rect = NSInsetRect(rect, 5.0, 5.0); 37 rect.origin = NSZeroPoint; 38 const NSSize imageSize = NSInsetRect(rect, 5.0, 5.0).size; 42 [path moveToPoint:NSMakePoint(NSMinX(rect), NSMinY(rect))]; 43 [path lineToPoint:NSMakePoint(NSMinX(rect), NSMaxY(rect))]; 44 [path lineToPoint:NSMakePoint(NSMaxX(rect), NSMinY(rect))]; 55 - (void)drawRect:(NSRect)rect { 57 [path moveToPoint:NSMakePoint(NSMinX(rect), NSMinY(rect))]; [all …]
|
/external/qemu/android/skin/ |
D | window.c | 37 SkinRect rect; member 53 skin_rect_rotate( &r, &sback->rect, loc->rotation ); in background_init() 58 skin_rect_intersect( &back->rect, &r, frame ); in background_init() 62 background_redraw( Background* back, SkinRect* rect, SDL_Surface* surface ) in background_redraw() argument 66 if (skin_rect_intersect( &r, rect, &back->rect ) ) in background_redraw() 87 SkinRect rect; member 109 skin_rect_rotate( &disp->rect, &sdisp->rect, loc->rotation ); in display_init() 110 disp->rect.pos.x += loc->anchor.x; in display_init() 111 disp->rect.pos.y += loc->anchor.y; in display_init() 116 disp->origin = disp->rect.pos; in display_init() [all …]
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
D | ChunkedUpdateDrawingAreaProxyWin.cpp | 68 bool ChunkedUpdateDrawingAreaProxy::platformPaint(const IntRect& rect, HDC hdc) in platformPaint() argument 74 …::BitBlt(hdc, rect.x(), rect.y(), rect.width(), rect.height(), m_backingStoreDC.get(), rect.x(), r… in platformPaint() 85 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(updateChunk->rect().size()); in drawUpdateChunkIntoBackingStore() 97 …backingStoreDC.get(), updateChunk->rect().x(), updateChunk->rect().y(), updateChunk->rect().width(… in drawUpdateChunkIntoBackingStore() 103 RECT rect = updateChunk->rect(); in drawUpdateChunkIntoBackingStore() local 104 ::InvalidateRect(m_webView->window(), &rect, false); in drawUpdateChunkIntoBackingStore()
|
/external/webkit/Tools/WinLauncher/ |
D | PrintWebUIDelegate.cpp | 67 HRESULT PrintWebUIDelegate::webViewPrintingMarginRect(IWebView* view, RECT* rect) in webViewPrintingMarginRect() argument 69 if (!view || !rect) in webViewPrintingMarginRect() 82 privateFrame->frameBounds(rect); in webViewPrintingMarginRect() 84 rect->left += MARGIN; in webViewPrintingMarginRect() 85 rect->top += MARGIN; in webViewPrintingMarginRect() 87 rect->right = (::GetDeviceCaps(dc, LOGPIXELSX) * 6.5) - MARGIN; in webViewPrintingMarginRect() 88 rect->bottom = (::GetDeviceCaps(dc, LOGPIXELSY) * 11) - MARGIN; in webViewPrintingMarginRect() 131 /* [in] */ RECT* rect, in drawHeaderInRect() argument 134 if (!webView || !rect) in drawHeaderInRect() 146 … int rc = ::DrawTextW(dc, header, length, rect, DT_LEFT | DT_NOCLIP | DT_VCENTER | DT_SINGLELINE); in drawHeaderInRect() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | GraphicsContextCG.cpp | 156 void GraphicsContext::drawRect(const IntRect& rect) in drawRect() argument 165 CGContextFillRect(context, rect); in drawRect() 173 FloatRect(rect.x(), rect.y(), rect.width(), 1), in drawRect() 174 FloatRect(rect.x(), rect.maxY() - 1, rect.width(), 1), in drawRect() 175 FloatRect(rect.x(), rect.y() + 1, 1, rect.height() - 2), in drawRect() 176 FloatRect(rect.maxX() - 1, rect.y() + 1, 1, rect.height() - 2) in drawRect() 303 void GraphicsContext::drawEllipse(const IntRect& rect) in drawEllipse() argument 309 path.addEllipse(rect); in drawEllipse() 314 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) in strokeArc() argument 324 int x = rect.x(); in strokeArc() [all …]
|
/external/skia/tests/ |
D | RegionTest.cpp | 5 static void rand_rect(SkIRect* rect, SkRandom& rand) { in rand_rect() argument 8 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, in rand_rect() 10 rect->sort(); in rand_rect() 13 static bool test_rects(const SkIRect rect[], int count) { in test_rects() argument 17 rgn0.op(rect[i], SkRegion::kUnion_Op); in test_rects() 19 rgn1.setRects(rect, count); in test_rects() 25 rect[i].fLeft, rect[i].fTop, in test_rects() 26 rect[i].fRight, rect[i].fBottom); in test_rects() 54 SkIRect rect[N]; in TestRegion() local 56 rand_rect(&rect[j], rand); in TestRegion() [all …]
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/scrollbar/ |
D | scrollbar.edc | 81 name: "rect.base"; 93 name: "rect.clipper"; 98 rel1.to: "rect.base"; 99 rel2.to: "rect.base"; 104 rel1.to: "rect.base"; 105 rel2.to: "rect.base"; 113 clip_to: "rect.clipper"; 124 rel1.to: "rect.base"; 125 rel2.to: "rect.base"; 130 name: "rect.knobarea"; [all …]
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
D | GraphicsContextOpenVG.cpp | 94 void GraphicsContext::drawRect(const IntRect& rect) in drawRect() argument 99 m_data->drawRect(rect); in drawRect() 113 void GraphicsContext::drawEllipse(const IntRect& rect) in drawEllipse() argument 118 m_data->drawEllipse(rect); in drawEllipse() 121 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) in strokeArc() argument 126 m_data->drawArc(rect, startAngle, angleSpan, VG_STROKE_PATH); in strokeArc() 155 void GraphicsContext::fillRect(const FloatRect& rect) in fillRect() argument 160 m_data->drawRect(rect, VG_FILL_PATH); in fillRect() 163 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace) in fillRect() argument 170 m_data->drawRect(rect, VG_FILL_PATH); in fillRect() [all …]
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 68 SkRect rect; in onDrawContent() local 81 rect = SkRect::MakeLTRB(SkFloatToScalar(0.f), in onDrawContent() 85 canvas->drawRect(rect, paints[p]); in onDrawContent() 88 rect = SkRect::MakeLTRB(SkFloatToScalar(0.5f), in onDrawContent() 92 canvas->drawRect(rect, paints[p]); in onDrawContent() 95 rect = SkRect::MakeLTRB(SkFloatToScalar(0.5f), in onDrawContent() 99 canvas->drawRect(rect, paints[p]); in onDrawContent() 102 rect = SkRect::MakeLTRB(SkFloatToScalar(0.75f), in onDrawContent() 106 canvas->drawRect(rect, paints[p]); in onDrawContent() 111 rect = SkRect::MakeLTRB(SkFloatToScalar(0.0f), in onDrawContent() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/find_bar/ |
D | find_bar_view.mm | 23 - (void)drawRect:(NSRect)rect { 28 rect = NSInsetRect([self bounds], halfLineWidth, halfLineWidth); 29 rect = NSOffsetRect(rect, 0, lineWidth); 31 NSPoint topLeft = NSMakePoint(NSMinX(rect), NSMaxY(rect)); 32 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect)); 34 NSMakePoint(NSMinX(rect) + kCurveSize, NSMaxY(rect) - kCurveSize); 36 NSMakePoint(NSMinX(rect) + kCurveSize, NSMinY(rect) + kCurveSize); 38 NSMakePoint(NSMaxX(rect) - kCurveSize, NSMinY(rect) + kCurveSize); 40 NSMakePoint(NSMaxX(rect) - kCurveSize, NSMaxY(rect) - kCurveSize); 42 NSMakePoint(NSMinX(rect) + (2 * kCurveSize), NSMinY(rect)); [all …]
|
/external/webkit/Source/WebCore/platform/android/ |
D | RenderThemeAndroid.cpp | 226 …ol RenderThemeAndroid::paintCheckbox(RenderObject* obj, const PaintInfo& info, const IntRect& rect) in paintCheckbox() argument 228 RenderSkinRadio::Draw(getCanvasFromInfo(info), obj->node(), rect, true); in paintCheckbox() 232 bool RenderThemeAndroid::paintButton(RenderObject* obj, const PaintInfo& info, const IntRect& rect) in paintButton() argument 242 skins->renderSkinButton()->draw(getCanvasFromInfo(info), rect, in paintButton() 247 info.context->platformContext()->storeButtonInfo(node, rect); in paintButton() 282 …droid::paintMediaFullscreenButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaFullscreenButton() argument 287 …RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::FULLSCREEN,… in paintMediaFullscreenButton() 291 …hemeAndroid::paintMediaMuteButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaMuteButton() argument 296 …RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::MUTE, trans… in paintMediaMuteButton() 300 …hemeAndroid::paintMediaPlayButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaPlayButton() argument [all …]
|