/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 67 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/ |
D | SourceAlpha.cpp | 66 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()
|
D | FEColorMatrix.cpp | 174 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/ |
D | CSSBorderImageValue.cpp | 29 CSSBorderImageValue::CSSBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<Rect> imageRect, in… in CSSBorderImageValue() argument 31 , m_imageSliceRect(imageRect) in CSSBorderImageValue()
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
D | InjectedBundleHitTestResult.cpp | 103 WebCore::IntRect InjectedBundleHitTestResult::imageRect() const in imageRect() function in WebKit::InjectedBundleHitTestResult 105 return m_hitTestResult.imageRect(); in imageRect()
|
D | InjectedBundleHitTestResult.h | 59 WebCore::IntRect imageRect() const;
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
D | CairoUtilities.cpp | 135 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/ |
D | bookmark_button_cell.mm | 236 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/ |
D | Cursor.cpp | 36 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/ |
D | GraphicsContextQt.cpp | 619 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/ |
D | FrameLoaderClientAndroid.cpp | 1110 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/ |
D | PopupMenuChromium.cpp | 981 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/ |
D | WKBundleHitTestResult.cpp | 74 return toAPI(toImpl(hitTestResultRef)->imageRect()); in WKBundleHitTestResultGetImageRect()
|
/external/webkit/Source/WebCore/loader/cache/ |
D | CachedImage.h | 61 …IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the im…
|
D | CachedImage.cpp | 190 IntRect CachedImage::imageRect(float multiplier) const in imageRect() function in WebCore::CachedImage
|
/external/webkit/Source/WebCore/page/ |
D | DragController.cpp | 724 IntRect imageRect = dragSource.imageRect(); in startDrag() local 725 …imageRect.setLocation(m_page->mainFrame()->view()->windowToContents(src->view()->contentsToWindow(… in startDrag() 726 doImageDrag(element, dragOrigin, dragSource.imageRect(), clipboard, src, m_dragOffset); in startDrag()
|
D | Frame.h | 203 NSImage* snapshotDragImage(Node*, NSRect* imageRect, NSRect* elementRect) const;
|
/external/webkit/Source/WebCore/platform/mac/ |
D | ClipboardMac.mm | 410 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/ |
D | gradient_button_cell.mm | 601 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/ |
D | PluginView.cpp | 1330 …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/ |
D | HitTestResult.h | 84 IntRect imageRect() const;
|
/external/webkit/Source/WebCore/page/mac/ |
D | FrameMac.mm | 297 NSImage* Frame::snapshotDragImage(Node* node, NSRect* imageRect, NSRect* elementRect) const 317 if (imageRect) 318 *imageRect = paintingRect;
|
/external/webkit/Source/WebKit/qt/tests/qwebelement/ |
D | tst_qwebelement.cpp | 970 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/ |
D | autocomplete_popup_view_mac.mm | 605 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/ |
D | browser_action_button.mm | 280 const NSRect imageRect = 284 [actionImage drawInRect:imageRect
|