/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 53 NSRect imageRect = NSInsetRect(frame, 0.0, kBackgroundYInset); 57 imageRect.origin.y += 59 imageRect.size = imageSize; 61 return imageRect; 82 NSRect imageRect = decoration_frame; 83 imageRect.origin.y += 85 imageRect.size = imageSize; 86 [image_ drawInRect:imageRect 92 textOffset = NSMaxX(imageRect) + kIconLabelPadding;
|
/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/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_popup_cell.mm | 63 NSRect imageRect = cellFrame; 64 imageRect.size = [image size]; 65 imageRect.origin.y += 66 std::floor((NSHeight(cellFrame) - NSHeight(imageRect)) / 2.0); 67 imageRect.origin.x += kImageXOffset; 68 [image drawInRect:imageRect
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | hover_close_button.mm | 86 NSRect imageRect = NSZeroRect; 87 imageRect.size = [image size]; 91 - (NSHeight(imageRect) / 2)); 92 destRect.size = imageRect.size; 97 fromRect:imageRect 106 fromRect:imageRect 123 fromRect:imageRect 130 fromRect:imageRect
|
D | image_button_cell.mm | 87 NSRect imageRect; 88 imageRect.size = [image size]; 89 imageRect.origin.x = cellFrame.origin.x + 90 roundf((NSWidth(cellFrame) - NSWidth(imageRect)) / 2.0); 91 imageRect.origin.y = cellFrame.origin.y + 92 roundf((NSHeight(cellFrame) - NSHeight(imageRect)) / 2.0); 94 [image drawInRect:imageRect
|
D | gradient_button_cell.mm | 617 NSRect imageRect = NSZeroRect; 618 imageRect.size = [[self image] size]; 621 fromRect:imageRect 639 NSRect imageRect = NSZeroRect; 640 imageRect.size = [overlayImage_ size]; 642 fromRect:imageRect
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | down_arrow_popup_menu_cell.mm | 32 NSRect imageRect, titleRect; 34 cellFrame, &imageRect, &titleRect, [self imageSize].width, NSMaxXEdge); 35 [super drawWithFrame:imageRect inView:controlView];
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
D | SourceAlpha.cpp | 61 FloatRect imageRect(FloatPoint(), absolutePaintRect().size()); in applySoftware() local 63 filterContext->fillRect(imageRect, Color::black); in applySoftware()
|
D | FEColorMatrix.cpp | 155 IntRect imageRect(IntPoint(), absolutePaintRect().size()); in applySoftware() local 156 RefPtr<Uint8ClampedArray> pixelArray = resultImage->getUnmultipliedImageData(imageRect); in applySoftware() 176 …resultImage->putByteArray(Unmultiplied, pixelArray.get(), imageRect.size(), imageRect, IntPoint()); in applySoftware()
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
D | mosaic_mode.js | 595 var imageRect = tile.getImageRect(); 597 if (imageRect && !imageRect.intersects(renderableRect)) 608 var imageRect = tile.getImageRect(); 610 if (!tile.isLoading(loadMode) && !tile.isLoaded(loadMode) && imageRect && 611 imageRect.intersects(visibleRect)) { 621 var imageRect = tile.getImageRect(); 623 if (!tile.isLoading() && !tile.isLoaded() && imageRect && 624 imageRect.intersects(renderableRect)) { 638 Mosaic.prototype.transform = function(tileRect, imageRect, opt_instant) { argument 646 if (this.canZoom() && tileRect && imageRect) { [all …]
|
/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/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_button_cell.mm | 285 NSRect imageRect = NSZeroRect; 286 imageRect.size = [arrowImage_ size]; 289 NSWidth(cellFrame) - NSWidth(imageRect) - kHierarchyButtonXMargin; 290 CGFloat dY = (NSHeight(cellFrame) / 2.0) - (NSHeight(imageRect) / 2.0) + 292 NSRect drawRect = NSOffsetRect(imageRect, dX, dY); 294 fromRect:imageRect
|
/external/chromium_org/ui/message_center/cocoa/ |
D | settings_entry_view.mm | 79 NSRect imageRect = frame; 80 imageRect.origin.x += inset; 83 imageRect.origin.y += (NSHeight(frame) - kEntryIconSize) / 2; 84 imageRect.size = NSMakeSize(kEntryIconSize, kEntryIconSize); 85 [extraImage_ drawInRect:imageRect
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | PopupListBox.cpp | 507 IntRect imageRect = image->rect(); in paintRow() local 508 remainingWidth -= (imageRect.width() + labelToIconPadding); in paintRow() 509 imageRect.setX(rowRect.width() - rightPadding - imageRect.width()); in paintRow() 510 imageRect.setY(rowRect.y() + (rowRect.height() - imageRect.height()) / 2); in paintRow() 511 gc->drawImage(image.get(), imageRect); in paintRow()
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
D | image_view.js | 220 ImageView.prototype.paintDeviceRect = function(deviceRect, canvas, imageRect) { argument 230 imageRect = new Rect(imageRect.left * scaleX, imageRect.top * scaleY, 231 imageRect.width * scaleX, imageRect.height * scaleY); 233 this.screenImage_.getContext('2d'), canvas, deviceRect, imageRect);
|
D | commands.js | 371 Command.Crop = function(imageRect) { argument 372 Command.call(this, 'crop' + imageRect.toString()); 373 this.imageRect_ = imageRect;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | Cursor.cpp | 37 IntRect imageRect = image->rect(); in determineHotSpot() local 38 if (imageRect.contains(specifiedHotSpot)) in determineHotSpot() 44 if (imageHasIntrinsicHotSpot && imageRect.contains(intrinsicHotSpot)) in determineHotSpot()
|
/external/chromium_org/skia/ext/ |
D | skia_utils_ios.mm | 58 CGRect imageRect = CGRectMake(0.0, 0.0, size.width, size.height); 60 CGContextDrawImage(context, imageRect, image);
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | browser_action_button.mm | 298 const NSRect imageRect = 302 [actionImage drawInRect:imageRect 340 const NSRect imageRect = 344 [self.image drawInRect:imageRect
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DragController.cpp | 805 …ment* element, Image* image, const IntPoint& dragOrigin, const IntRect& imageRect, IntPoint& dragL… in dragImageForImage() argument 812 IntSize originalSize = imageRect.size(); in dragImageForImage() 813 origin = imageRect.location(); in dragImageForImage() 815 dragImage->fitToMaxSize(imageRect.size(), maxDragImageSize()); in dragImageForImage() 896 …dragImage = dragImageForImage(element, image, dragOrigin, hitTestResult.imageRect(), dragLocation); in startDrag()
|
/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/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | HitTestResult.h | 106 IntRect imageRect() const;
|
/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
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
D | NativeImageSkia.cpp | 195 SkRect imageRect = SkRect::MakeWH(imageSize.width(), imageSize.height()); in extractScaledImageFragment() local 199 scaleTransform.setRectToRect(imageRect, scaledImageRect, SkMatrix::kFill_ScaleToFit); in extractScaledImageFragment()
|