/external/chromium_org/ash/magnifier/ |
magnification_controller.h | 12 #include "ui/gfx/rect.h" 45 // Ensures that the given point/rect is inside the magnification window. If 46 // not, the controller moves the window to contain the given point/rect. 47 virtual void EnsureRectIsVisible(const gfx::Rect& rect, bool animate) = 0;
|
/external/chromium_org/ash/system/tray/ |
actionable_view.cc | 25 void ActionableView::DrawBorder(gfx::Canvas* canvas, const gfx::Rect& bounds) { 26 gfx::Rect rect = bounds; local 27 rect.Inset(1, 1, 3, 3); 28 canvas->DrawRect(rect, kFocusBorderColor);
|
/external/chromium_org/cc/output/ |
copy_output_request.h | 11 #include "ui/gfx/rect.h" 52 // area is given, then the intersection of this rect (in layer space) with 54 void set_area(gfx::Rect area) { 59 gfx::Rect area() const { return area_; } 80 gfx::Rect area_;
|
/external/chromium_org/chrome/browser/ui/views/ |
validation_message_bubble_view.cc | 19 ValidationMessageBubbleImpl(const gfx::Rect& anchor_in_screen, 30 const gfx::Rect& anchor_in_root_view) OVERRIDE { 49 const gfx::Rect& anchor_in_screen, 64 const gfx::Rect& anchor_in_root_view, 67 const gfx::Rect anchor_in_screen = anchor_in_root_view
|
/external/chromium_org/content/renderer/pepper/ |
ppb_scrollbar_impl.h | 17 #include "ui/gfx/rect.h" 47 virtual PP_Bool PaintInternal(const gfx::Rect& rect, 57 const WebKit::WebRect& rect) OVERRIDE; 64 gfx::Rect dirty_;
|
/external/chromium_org/printing/ |
printed_page_unittest.cc | 12 gfx::Rect page_content; 18 gfx::Rect(0, 0, 400, 1100), 31 gfx::Rect(0, 0, 400, 1100), 44 gfx::Rect(0, 0, 400, 1100), 57 gfx::Rect(0, 0, 400, 1100),
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/cg/ |
IntRectCG.cpp | 38 IntRect enclosingIntRect(const CGRect& rect) 40 int l = static_cast<int>(floorf(rect.origin.x)); 41 int t = static_cast<int>(floorf(rect.origin.y)); 42 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect))); 43 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/ |
IntRectMac.mm | 38 IntRect enclosingIntRect(const NSRect& rect) 40 int l = static_cast<int>(floorf(rect.origin.x)); 41 int t = static_cast<int>(floorf(rect.origin.y)); 42 int r = static_cast<int>(ceilf(NSMaxX(rect))); 43 int b = static_cast<int>(ceilf(NSMaxY(rect)));
|
/external/chromium_org/tools/traceline/svgui/ |
traceline.css | 46 svg|rect.thread { 52 svg|rect.event { 56 svg|rect.eventwaiting { 60 svg|rect.event:hover, svg|rect.eventwaiting:hover {
|
/external/chromium_org/ui/aura/test/ |
test_screen.h | 14 class Rect; 43 const gfx::Rect& old_bounds, 44 const gfx::Rect& new_bounds) OVERRIDE; 57 const gfx::Rect& match_rect) const OVERRIDE; 63 explicit TestScreen(const gfx::Rect& screen_bounds);
|
/external/chromium_org/ui/base/win/ |
dpi.h | 9 #include "ui/gfx/rect.h" 35 UI_EXPORT gfx::Rect ScreenToDIPRect(const gfx::Rect& pixel_bounds); 37 UI_EXPORT gfx::Rect DIPToScreenRect(const gfx::Rect& dip_bounds);
|
/external/chromium_org/ui/compositor/ |
dip_util.cc | 15 #include "ui/gfx/rect.h" 43 gfx::Rect ConvertRectToDIP(const Layer* layer, 44 const gfx::Rect& rect_in_pixel) { 61 gfx::Rect ConvertRectToPixel(const Layer* layer, 62 const gfx::Rect& rect_in_dip) {
|
/external/chromium_org/ui/gfx/ |
screen_android.cc | 30 const gfx::Rect bounds_in_pixels = 31 gfx::Rect( 34 const gfx::Rect bounds_in_dip = 35 gfx::Rect(gfx::ToCeiledSize(gfx::ScaleSize( 56 const gfx::Rect& match_rect) const OVERRIDE {
|
rect_base.h | 89 // A rect is less than another rect if its origin is less than 90 // the other rect's origin. If the origins are equal, then the 91 // shortest rect is less than the other. If the origin and the 92 // height are equal, then the narrowest rect is less than. 108 bool Contains(const Class& rect) const; 112 bool Intersects(const Class& rect) const; 115 void Intersect(const Class& rect); 119 void Union(const Class& rect); 121 // Computes the rectangle resulting from subtracting |rect| from |*this| [all...] |
/external/chromium_org/webkit/child/ |
webthemeengine_impl_mac.cc | 34 const WebRect& rect, 40 trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AssetsAtlasActivity.java | 24 import android.graphics.Rect; 56 final Rect src = new Rect(0, 0, mBitmap.getWidth() / 2, mBitmap.getHeight() / 2); 57 final Rect dst = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
|
/external/chromium/webkit/glue/ |
webthemeengine_impl_win.cc | 21 static RECT WebRectToRECT(const WebRect& rect) { 22 RECT result; 23 result.left = rect.x; 24 result.top = rect.y; 25 result.right = rect.x + rect.width; 26 result.bottom = rect.y + rect.height; 359 const WebRect& rect) { [all...] |
/external/chromium_org/cc/resources/ |
picture_pile_impl.cc | 74 gfx::Rect canvas_rect, 82 gfx::Rect canvas_rect, 89 gfx::Rect canvas_rect, 98 // draw an opaque rect the size of the layer. If it is not, then we must 101 // Clearing is about ~4x faster than drawing a rect even if the content 111 gfx::Rect content_rect(gfx::ToCeiledSize(total_content_size)); 112 gfx::Rect deflated_content_rect = content_rect; 116 // rasterization; this rect represents the content rect that is fully 124 gfx::Rect inflated_content_rect = content_rect [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
detached_panel_browsertest.cc | 22 gfx::Rect bounds(300, 200, 250, 200); 64 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); 81 CreateInactiveDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); 103 CreateInactiveDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); 122 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); 155 gfx::Rect initial_bounds(50, 50, 700, 500); 161 gfx::Rect primary_display_area(0, 0, 500, 300); 162 gfx::Rect primary_work_area(0, 0, 500, 280); 166 gfx::Rect bounds = panel->GetBounds(); 181 gfx::Rect primary_display_area(0, 0, 400, 600) [all...] |
stacked_panel_browsertest.cc | 25 gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); 27 gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); 29 gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 110); 65 gfx::Rect panel1_expected_bounds(panel1_initial_bounds); 67 gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), 72 gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), 119 gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150) [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestThemeEngineMac.mm | 114 const WebRect& rect, 119 paintHIThemeScrollbarThumb(canvas, state, size, rect, scrollbarInfo); 121 paintNSScrollerScrollbarThumb(canvas, state, size, rect, scrollbarInfo); 130 const WebRect& rect, 136 trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height); 159 const WebRect& rect, 163 NSScroller* scroller = [[NSScroller alloc] initWithFrame:NSMakeRect(rect.x, rect.y, rect.width, rect.height)] [all...] |
/external/chromium_org/remoting/host/ |
disconnect_window_win.cc | 59 bool GetControlRect(HWND control, RECT* rect); 95 RECT rect = {0, 0, 0, 0}; local 99 if (!DrawText(dc, text.c_str(), -1, &rect, DT_CALCRECT | DT_SINGLELINE)) 102 *width = rect.right; 210 RECT rect; local 211 GetClientRect(hwnd_, &rect); 215 RoundRect(hdc, rect.left, rect.top, rect.right - 1, rect.bottom - 1 [all...] |
/external/chromium_org/cc/layers/ |
tiled_layer_unittest.cc | 33 TestOcclusionTracker() : OcclusionTracker(gfx::Rect(0, 0, 1000, 1000), true) { 216 layer->InvalidateContentRect(gfx::Rect(0, 0, 100, 200)); 217 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); 259 layer->InvalidateContentRect(gfx::Rect(0, 0, 50, 50)); 261 occluded.SetOcclusion(gfx::Rect(0, 0, 50, 50)); 309 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); 330 layer->draw_properties().visible_content_rect = gfx::Rect(200, 200, 100, 100); 366 // visible rect should be extruded only along the dominant axis. 371 // We should push all tiles that touch the extruded visible rect. 372 gfx::Rect pushed_visible_tiles[6] = [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumSkia.cpp | 218 // Move the rect into partRenderer's coords. 294 bool RenderThemeChromiumSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 296 return RenderMediaControlsChromium::paintMediaControlsPart(MediaSlider, object, paintInfo, rect); 299 bool RenderThemeChromiumSkia::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 301 return RenderMediaControlsChromium::paintMediaControlsPart(MediaVolumeSlider, object, paintInfo, rect); 309 bool RenderThemeChromiumSkia::paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 311 return RenderMediaControlsChromium::paintMediaControlsPart(MediaSliderThumb, object, paintInfo, rect); 319 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 321 return RenderMediaControlsChromium::paintMediaControlsPart(MediaVolumeSliderThumb, object, paintInfo, rect); 324 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
PaintAggregator.cpp | 41 // We attempt to maintain a scroll rect in the presence of invalidations that 42 // are contained within the scroll rect. If an invalidation crosses a scroll 43 // rect, then we just treat the scroll rect as an invalidation rect. 46 // scroll rect, we offset the invalidation rects to account for the fact that 53 // If the combined area of paint rects contained within the scroll rect grows 54 // too large, then we might as well just treat the scroll rect as a paint rect. 55 // This constant sets the max ratio of paint rect area to scroll rect area tha [all...] |