Home
last modified time | relevance | path

Searched refs:imageRect (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dbubble_decoration.mm67 NSRect imageRect = NSInsetRect(frame, 0.0, kBubbleYInset);
71 imageRect.origin.y +=
73 imageRect.size = imageSize;
75 return imageRect;
109 NSRect imageRect = decorationFrame;
113 imageRect.origin.y +=
115 imageRect.size = imageSize;
116 [image_ drawInRect:imageRect
122 imageRect.size = NSZeroSize;
127 textRect.origin.x = NSMaxX(imageRect);
/external/webkit/Source/WebCore/platform/graphics/filters/
DSourceAlpha.cpp66 FloatRect imageRect(FloatPoint(), absolutePaintRect().size()); in apply() local
69 filterContext->clipToImageBuffer(filter->sourceImage(), imageRect); in apply()
70 filterContext->fillRect(imageRect, Color::black, ColorSpaceDeviceRGB); in apply()
DFEColorMatrix.cpp174 IntRect imageRect(IntPoint(), absolutePaintRect().size()); in apply() local
175 RefPtr<ByteArray> pixelArray = resultImage->getUnmultipliedImageData(imageRect); in apply()
195 … resultImage->putUnmultipliedImageData(pixelArray.get(), imageRect.size(), imageRect, IntPoint()); in apply()
/external/webkit/Source/WebCore/css/
DCSSBorderImageValue.cpp29 CSSBorderImageValue::CSSBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<Rect> imageRect, in… in CSSBorderImageValue() argument
31 , m_imageSliceRect(imageRect) in CSSBorderImageValue()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundleHitTestResult.cpp103 WebCore::IntRect InjectedBundleHitTestResult::imageRect() const in imageRect() function in WebKit::InjectedBundleHitTestResult
105 return m_hitTestResult.imageRect(); in imageRect()
DInjectedBundleHitTestResult.h59 WebCore::IntRect imageRect() const;
/external/webkit/Source/WebCore/platform/graphics/cairo/
DCairoUtilities.cpp135 IntRect imageRect = enclosingIntRect(tileRect); in drawPatternToCairoContext() local
136 …ce = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, imageRect.width(), imageRect.height(… in drawPatternToCairoContext()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button_cell.mm236 NSRect imageRect = NSZeroRect;
237 imageRect.size = [arrowImage_ size];
239 CGFloat dX = NSWidth(cellFrame) - NSWidth(imageRect);
240 CGFloat dY = (NSHeight(cellFrame) / 2.0) - (NSHeight(imageRect) / 2.0) +
242 NSRect drawRect = NSOffsetRect(imageRect, dX, dY);
244 fromRect:imageRect
/external/webkit/Source/WebCore/platform/
DCursor.cpp36 IntRect imageRect = image->rect(); in determineHotSpot() local
37 if (imageRect.contains(specifiedHotSpot)) in determineHotSpot()
43 if (imageHasIntrinsicHotSpot && imageRect.contains(intrinsicHotSpot)) in determineHotSpot()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp619 QRect imageRect(0, 0, w, h); in drawRepeatPattern() local
620 if (imageRect.intersects(r)) { in drawRepeatPattern()
628 QRect imageRect(r.x(), 0, r.width(), h); in drawRepeatPattern() local
629 if (imageRect.intersects(r)) { in drawRepeatPattern()
637 QRect imageRect(0, r.y(), w, r.height()); in drawRepeatPattern() local
638 if (imageRect.intersects(r)) { in drawRepeatPattern()
652 QRect imageRect(x, y, w, h); in drawRepeatPattern() local
653 QRect intersectRect = imageRect.intersected(r); in drawRepeatPattern()
655 …QRect sourceRect(intersectRect.x() - imageRect.x(), intersectRect.y() - imageRect.y(), intersect… in drawRepeatPattern()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DFrameLoaderClientAndroid.cpp1110 IntRect imageRect(x(), y(), image->width(), image->height()); in paint() local
1112 int xOffset = (width() - imageRect.width()) >> 1; in paint()
1113 int yOffset = (height() - imageRect.height()) >> 1; in paint()
1115 imageRect.move(xOffset, yOffset); in paint()
1117 if (!rect.intersects(imageRect)) in paint()
1130 if (frameRect().contains(imageRect)) { in paint()
1141 ctx->drawImage(image.get(), ColorSpaceDeviceRGB, imageRect.location()); in paint()
/external/webkit/Source/WebCore/platform/chromium/
DPopupMenuChromium.cpp981 IntRect imageRect = image->rect(); in paintRow() local
982 remainingWidth -= (imageRect.width() + kLabelToIconPadding); in paintRow()
983 imageRect.setX(rowRect.width() - rightPadding - imageRect.width()); in paintRow()
984 imageRect.setY(rowRect.y() + (rowRect.height() - imageRect.height()) / 2); in paintRow()
985 gc->drawImage(image.get(), ColorSpaceDeviceRGB, imageRect); in paintRow()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundleHitTestResult.cpp74 return toAPI(toImpl(hitTestResultRef)->imageRect()); in WKBundleHitTestResultGetImageRect()
/external/webkit/Source/WebCore/loader/cache/
DCachedImage.h61 …IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the im…
DCachedImage.cpp190 IntRect CachedImage::imageRect(float multiplier) const in imageRect() function in WebCore::CachedImage
/external/webkit/Source/WebCore/page/
DDragController.cpp724 IntRect imageRect = dragSource.imageRect(); in startDrag() local
725imageRect.setLocation(m_page->mainFrame()->view()->windowToContents(src->view()->contentsToWindow( in startDrag()
726 doImageDrag(element, dragOrigin, dragSource.imageRect(), clipboard, src, m_dragOffset); in startDrag()
DFrame.h203 NSImage* snapshotDragImage(Node*, NSRect* imageRect, NSRect* elementRect) const;
/external/webkit/Source/WebCore/platform/mac/
DClipboardMac.mm410 NSRect imageRect;
412 result = m_frame->snapshotDragImage(m_dragImageElement.get(), &imageRect, &elementRect);
415 loc.x = elementRect.origin.x - imageRect.origin.x + m_dragLoc.x();
416 loc.y = elementRect.origin.y - imageRect.origin.y + m_dragLoc.y();
417 loc.y = imageRect.size.height - loc.y;
/external/chromium/chrome/browser/ui/cocoa/
Dgradient_button_cell.mm601 NSRect imageRect = NSZeroRect;
602 imageRect.size = [[self image] size];
605 fromRect:imageRect
624 NSRect imageRect = NSZeroRect;
625 imageRect.size = [overlayImage_ size];
627 fromRect:imageRect
/external/webkit/Source/WebCore/plugins/
DPluginView.cpp1330 …IntRect imageRect(frameRect().x(), frameRect().y(), nullPluginImage->width(), nullPluginImage->hei… in paintMissingPluginIcon() local
1332 int xOffset = (frameRect().width() - imageRect.width()) / 2; in paintMissingPluginIcon()
1333 int yOffset = (frameRect().height() - imageRect.height()) / 2; in paintMissingPluginIcon()
1335 imageRect.move(xOffset, yOffset); in paintMissingPluginIcon()
1337 if (!rect.intersects(imageRect)) in paintMissingPluginIcon()
1342 context->drawImage(nullPluginImage.get(), ColorSpaceDeviceRGB, imageRect.location()); in paintMissingPluginIcon()
/external/webkit/Source/WebCore/rendering/
DHitTestResult.h84 IntRect imageRect() const;
/external/webkit/Source/WebCore/page/mac/
DFrameMac.mm297 NSImage* Frame::snapshotDragImage(Node* node, NSRect* imageRect, NSRect* elementRect) const
317 if (imageRect)
318 *imageRect = paintingRect;
/external/webkit/Source/WebKit/qt/tests/qwebelement/
Dtst_qwebelement.cpp970 QRect imageRect(0, 0, resource.width(), resource.height()); in render() local
974 painter0.fillRect(imageRect, Qt::white); in render()
983 painter1.fillRect(imageRect, Qt::white); in render()
992 painter2.fillRect(imageRect, Qt::white); in render()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_mac.mm605 NSRect imageRect = cellFrame;
606 imageRect.size = [image size];
607 imageRect.origin.y +=
608 std::floor((NSHeight(cellFrame) - NSHeight(imageRect)) / 2.0);
609 imageRect.origin.x += kImageXOffset;
610 [image drawInRect:imageRect
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dbrowser_action_button.mm280 const NSRect imageRect =
284 [actionImage drawInRect:imageRect

12