/external/chromium_org/ui/base/cocoa/controls/ |
hover_image_menu_button.mm | 16 - (id)initWithFrame:(NSRect)frameRect 18 if ((self = [super initWithFrame:frameRect
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
avatar_label_button.mm | 37 - (id)initWithFrame:(NSRect)frameRect { 38 if ((self = [super initWithFrame:frameRect])) { 44 frameRect.size = NSMakeSize(frameRect.size.width + textSize.width, 45 frameRect.size.height + textSize.height); 46 [self setFrame:frameRect];
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
tab_contents_controller.mm | 20 - (void)tabContentsViewFrameWillChange:(NSRect)frameRect; 90 - (void)setFrame:(NSRect)frameRect { 91 [controller_ tabContentsViewFrameWillChange:frameRect]; 92 [super setFrame:frameRect]; 147 frameRect:contentsNativeViewFrame]; 169 - (void)tabContentsViewFrameWillChange:(NSRect)frameRect { 170 [delegate_ tabContentsViewFrameWillChange:self frameRect:frameRect]; 180 frameRect:[[self view] frame]];
|
tab_contents_controller.h | 23 frameRect:(NSRect)frameRect;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Widget.h | 55 int x() const { return frameRect().x(); } 56 int y() const { return frameRect().y(); } 57 int width() const { return frameRect().width(); } 58 int height() const { return frameRect().height(); } 59 IntSize size() const { return frameRect().size(); } 60 IntPoint location() const { return frameRect().location(); } 63 const IntRect& frameRect() const { return m_frame; }
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollbarThemeMacOverlayAPI.mm | 94 CGRect frameRect = scrollbar->frameRect(); 97 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(frameRect.size)]; 99 NSRect trackRect = NSMakeRect(0, 0, frameRect.size.width, frameRect.size.height); 120 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(scrollbar->frameRect().size())]; 182 return scrollbar->frameRect();
|
ScrollView.cpp | 189 return scrollbarInclusion == ExcludeScrollbars ? excludeScrollbars(frameRect().size()) : frameRect().size(); 446 IntRect oldRect(m_horizontalScrollbar->frameRect()); 452 if (!m_scrollbarsSuppressed && oldRect != m_horizontalScrollbar->frameRect()) 465 IntRect oldRect(m_verticalScrollbar->frameRect()); 471 if (!m_scrollbarsSuppressed && oldRect != m_verticalScrollbar->frameRect()) 699 if (m_horizontalScrollbar && m_horizontalScrollbar->shouldParticipateInHitTesting() && m_horizontalScrollbar->frameRect().contains(viewPoint)) 701 if (m_verticalScrollbar && m_verticalScrollbar->shouldParticipateInHitTesting() && m_verticalScrollbar->frameRect().contains(viewPoint)) 708 IntRect oldRect = frameRect(); 739 IntRect scrollbarRect = scrollbar->frameRect(); [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
background_gradient_view.mm | 18 - (id)initWithFrame:(NSRect)frameRect { 19 self = [super initWithFrame:frameRect];
|
info_bubble_view.mm | 14 - (id)initWithFrame:(NSRect)frameRect { 15 if ((self = [super initWithFrame:frameRect])) {
|
hover_button.mm | 9 - (id)initWithFrame:(NSRect)frameRect { 10 if ((self = [super initWithFrame:frameRect])) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMeter.cpp | 58 IntSize frameSize = RenderTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect())); 66 LayoutRect frame = frameRect();
|
FloatingObjects.cpp | 64 FloatingObject::FloatingObject(RenderBox* renderer, Type type, const LayoutRect& frameRect, bool shouldPaint, bool isDescendant) 67 , m_frameRect(frameRect) 90 return adoptPtr(new FloatingObject(renderer(), type(), LayoutRect(frameRect().location() - offset, frameRect().size()), shouldPaint, isDescendant)); 289 return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedY(), floatingObject->frameRect().pixelSnappedMaxY(), floatingObject); 290 return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedX(), floatingObject->frameRect().pixelSnappedMaxX(), floatingObject); 500 return String::format("%p (%dx%d %dx%d)", floatingObject, floatingObject->frameRect().pixelSnappedX(), floatingObject->frameRect().pixelSnappedY(), floatingObject->frameRect().pixelSnappedMaxX(), floatingObject->frameRect().pix (…) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
confirm_bubble_cocoa.mm | 163 NSRect frameRect = [self frame]; 168 CGFloat right = NSWidth(frameRect) - kButtonHEdgeMargin; 204 right = NSWidth(frameRect); 238 right = NSWidth(frameRect); 264 frameRect.size.height = bottom + height + kButtonVEdgeMargin; 265 frameRect.origin.x = (NSWidth(parentRect) - NSWidth(frameRect)) / 2; 266 frameRect.origin.y = NSHeight(parentRect) - NSHeight(frameRect); 267 [self setFrame:frameRect]; [all...] |
info_bubble_view.mm | 16 - (id)initWithFrame:(NSRect)frameRect { 17 if ((self = [super initWithFrame:frameRect])) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ViewFilter.java | 84 protected RectF getTargetRect(Rect frameRect, Rect bufferRect) { 87 float frameAR = (float)frameRect.width() / frameRect.height(); 131 protected void setupShader(ImageShader shader, Rect frameRect, Rect outputRect) { 132 shader.setTargetRect(getTargetRect(frameRect, outputRect));
|
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
PluginOcclusionSupport.cpp | 129 static void addTreeToOcclusions(const RenderObject* renderer, const IntRect& frameRect, Vector<IntRect>& occlusions) 133 if (renderer->isBox() && intersectsRect(renderer, frameRect)) 136 addTreeToOcclusions(child, frameRect, occlusions); 151 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions) 182 if (element->hasTagName(HTMLNames::iframeTag) && intersectsRect(iframeRenderer, frameRect)) { 199 addTreeToOcclusions(elements[i]->renderer(), frameRect, occlusions);
|
PluginOcclusionSupport.h | 30 void getPluginOcclusions(Element*, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions);
|
/external/chromium/chrome/browser/ui/cocoa/infobars/ |
infobar_gradient_view.mm | 22 - (id)initWithFrame:(NSRect)frameRect { 23 if ((self = [super initWithFrame:frameRect])) {
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
download_shelf_view.mm | 20 - (id)initWithFrame:(NSRect)frameRect { 21 if ((self = [super initWithFrame:frameRect])) {
|
/external/chromium_org/ui/base/cocoa/ |
hover_button.mm | 11 - (id)initWithFrame:(NSRect)frameRect { 12 if ((self = [super initWithFrame:frameRect])) {
|
/external/clang/test/CodeGenObjCXX/ |
property-objects.mm | 22 - (void)setFrame:(CGRect)frameRect; 38 - (void)setFrame:(CGRect)frameRect {}
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_toolbar_view.mm | 83 NSRect frameRect = 90 frameRect = NSInsetRect(frameRect, morph * 0.5, morph * 0.5); 92 [NSBezierPath bezierPathWithRoundedRect:frameRect
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
WEBPImageDecoder.cpp | 258 IntRect frameRect(animatedFrame.x_offset, animatedFrame.y_offset, animatedFrame.width, animatedFrame.height); 259 // Make sure the frameRect doesn't extend outside the buffer. 260 if (frameRect.maxX() > size().width()) 261 frameRect.setWidth(size().width() - animatedFrame.x_offset); 262 if (frameRect.maxY() > size().height()) 263 frameRect.setHeight(size().height() - animatedFrame.y_offset); 264 m_frameBufferCache[i].setOriginalFrameRect(frameRect); 395 const IntRect& frameRect = buffer.originalFrameRect(); 396 ASSERT_WITH_SECURITY_IMPLICATION(width == frameRect.width()); 397 ASSERT_WITH_SECURITY_IMPLICATION(decodedHeight <= frameRect.height()) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
ScrollbarGroup.cpp | 39 ScrollbarGroup::ScrollbarGroup(FrameView* frameView, const IntRect& frameRect) 41 , m_frameRect(frameRect) 134 void ScrollbarGroup::setFrameRect(const IntRect& frameRect) 136 m_frameRect = frameRect;
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
GIFImageDecoder.cpp | 307 IntRect frameRect = frameContext->frameRect(); 309 // Make sure the frameRect doesn't extend outside the buffer. 310 if (frameRect.maxX() > size().width()) 311 frameRect.setWidth(size().width() - frameRect.x()); 312 if (frameRect.maxY() > size().height()) 313 frameRect.setHeight(size().height() - frameRect.y()); 315 buffer.setOriginalFrameRect(frameRect); [all...] |