/external/chromium_org/cc/test/ |
fake_content_layer_client.h | 15 #include "ui/gfx/rect.h" 31 gfx::Rect rect, 37 void add_draw_rect(const gfx::RectF& rect, const SkPaint& paint) { 38 draw_rects_.push_back(std::make_pair(rect, paint));
|
fake_picture_layer_tiling_client.cc | 19 recorded_region_ = Region(gfx::Rect(size)); 37 gfx::Rect rect) { 43 rect, 44 gfx::Rect(),
|
render_pass_test_common.cc | 33 gfx::Rect rect(0, 0, 100, 100); 34 gfx::Rect opaque_rect(10, 10, 80, 80); 81 rect.size(), 82 rect, local 83 rect, local 90 rect, 97 rect, 105 rect, 116 rect, [all...] |
/external/chromium_org/chrome/browser/speech/ |
speech_recognition_bubble_browsertest.cc | 11 #include "ui/gfx/rect.h" 26 gfx::Rect element_rect(100, 100, 100, 100); 34 gfx::Rect element_rect(100, 100, 100, 100); 43 gfx::Rect element_rect(100, 100, 100, 100); 53 gfx::Rect element_rect(100, 100, 100, 100);
|
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/ |
wrench_menu_button_cell.mm | 15 // Inset the rect to match the appearance of the layout of interface builder. 16 // The bounding rect of buttons is actually larger than the display rect shown 20 // Stroking the rect gives a weak stroke. Filling and insetting gives a 35 // rect with that color produces the desired effect.
|
/external/chromium_org/chrome/browser/ui/gtk/ |
first_run_bubble.h | 21 // Shows the first run bubble, pointing at |rect|, transient for the toplevel 23 static void Show(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect); 29 FirstRunBubble(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect);
|
/external/chromium_org/content/browser/renderer_host/ |
backing_store_aura.h | 44 const gfx::Rect& bitmap_rect, 45 const std::vector<gfx::Rect>& copy_rects, 49 virtual bool CopyFromBackingStore(const gfx::Rect& rect, 52 const gfx::Rect& clip_rect,
|
backing_store_win.h | 31 const gfx::Rect& bitmap_rect, 32 const std::vector<gfx::Rect>& copy_rects, 36 virtual bool CopyFromBackingStore(const gfx::Rect& rect, 39 const gfx::Rect& clip_rect,
|
test_backing_store.h | 23 const gfx::Rect& bitmap_rect, 24 const std::vector<gfx::Rect>& copy_rects, 28 virtual bool CopyFromBackingStore(const gfx::Rect& rect, 31 const gfx::Rect& clip_rect,
|
/external/chromium_org/content/common/ |
webplugin_geometry.h | 12 #include "ui/gfx/rect.h" 36 gfx::Rect window_rect; 37 // Clip rect (include) and cutouts (excludes), relative to 39 gfx::Rect clip_rect; 40 std::vector<gfx::Rect> cutout_rects;
|
/external/chromium_org/content/renderer/pepper/ |
ppb_widget_impl.h | 15 class Rect; 34 virtual PP_Bool Paint(const PP_Rect* rect, PP_Resource ) OVERRIDE; 40 // Notifies the plugin instance that the given rect needs to be repainted. 46 virtual PP_Bool PaintInternal(const gfx::Rect& rect,
|
/external/chromium_org/printing/ |
pdf_render_settings.h | 11 #include "ui/gfx/rect.h" 16 // gfx::Rect - render area 19 typedef Tuple3<gfx::Rect, int, bool> PdfRenderSettingsBase; 24 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) 28 const gfx::Rect& area() const { return a; }
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_ext_pbuffer.c | 81 RECT rect; local 160 rect.left = 0; 161 rect.top = 0; 162 rect.right = rect.left + iWidth; 163 rect.bottom = rect.top + iHeight; 175 AdjustWindowRectEx(&rect, dwStyle, FALSE, dwExStyle); 183 rect.right - rect.left, /* width * [all...] |
/external/chromium_org/ui/views/ |
focus_border.cc | 8 #include "ui/gfx/rect.h" 24 gfx::Rect rect(view.GetLocalBounds()); 25 rect.Inset(left_inset_, top_inset_, right_inset_, bottom_inset_); 26 canvas->DrawFocusRect(rect);
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_ext_pbuffer.c | 81 RECT rect; local 160 rect.left = 0; 161 rect.top = 0; 162 rect.right = rect.left + iWidth; 163 rect.bottom = rect.top + iHeight; 175 AdjustWindowRectEx(&rect, dwStyle, FALSE, dwExStyle); 183 rect.right - rect.left, /* width * [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControlsChromium.cpp | 63 static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) 65 context->drawImage(image, rect); 69 static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 82 return paintMediaButton(paintInfo.context, rect, soundDisabled); 85 return paintMediaButton(paintInfo.context, rect, soundLevel0); 88 return paintMediaButton(paintInfo.context, rect, soundLevel1); 91 return paintMediaButton(paintInfo.context, rect, soundLevel2); 93 return paintMediaButton(paintInfo.context, rect, soundLevel3); 96 static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 107 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled) [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_pixeltest_masks.cc | 28 gfx::Rect rect, 36 while (!rect.IsEmpty()) { 37 rect.Inset(3, 3, 2, 2); 39 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()), 41 rect.Inset(3, 3, 2, 2); 48 gfx::Rect(200, 200), SK_ColorWHITE) [all...] |
layer_tree_host_pixeltest_readback.cc | 72 gfx::Rect copy_subrect_; 77 gfx::Rect(200, 200), SK_ColorWHITE); 80 gfx::Rect(200, 200), SK_ColorGREEN); 91 gfx::Rect(200, 200), SK_ColorWHITE); 94 gfx::Rect(200, 200), SK_ColorGREEN); 105 gfx::Rect(200, 200), SK_ColorWHITE); 108 gfx::Rect(200, 200), SK_ColorGREEN); 119 gfx::Rect(200, 200), SK_ColorWHITE); 122 gfx::Rect(200, 200), SK_ColorGREEN); 134 gfx::Rect(200, 200), SK_ColorWHITE) [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_win.cc | 29 #include "ui/gfx/rect.h" 75 void SetCheckerboardShader(SkPaint* paint, const RECT& align_rect) { 124 RECT InsetRect(const RECT* rect, int size) { 125 gfx::Rect result(*rect); 283 const gfx::Rect& rect, 285 if (rect.IsEmpty() [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObject.java | 20 import android.graphics.Rect; 196 Rect srcRect = getVisibleBounds(); 197 Rect dstRect = destObj.getVisibleBounds(); 216 Rect srcRect = getVisibleBounds(); 239 Rect rect = getVisibleBounds(); local 240 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 242 return getInteractionController().swipe(rect.centerX(), 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT 267 Rect rect = getVisibleBounds(); local 295 Rect rect = getVisibleBounds(); local 322 Rect rect = getVisibleBounds(); local 394 Rect rect = getVisibleBounds(node); local 434 Rect rect = getVisibleBounds(node); local 452 Rect rect = getVisibleBounds(node); local 469 Rect rect = getVisibleBounds(node); local 486 Rect rect = getVisibleBounds(node); local 503 Rect rect = getVisibleBounds(node); local 520 Rect rect = getVisibleBounds(node); local 625 Rect rect = getVisibleBounds(node); local 930 Rect rect = getVisibleBounds(node); local 968 Rect rect = getVisibleBounds(node); local [all...] |
/frameworks/uiautomator/core/com/android/uiautomator/core/ |
UiObject.java | 20 import android.graphics.Rect; 196 Rect srcRect = getVisibleBounds(); 197 Rect dstRect = destObj.getVisibleBounds(); 216 Rect srcRect = getVisibleBounds(); 239 Rect rect = getVisibleBounds(); local 240 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 242 return getInteractionController().swipe(rect.centerX(), 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT 267 Rect rect = getVisibleBounds(); local 295 Rect rect = getVisibleBounds(); local 322 Rect rect = getVisibleBounds(); local 394 Rect rect = getVisibleBounds(node); local 434 Rect rect = getVisibleBounds(node); local 452 Rect rect = getVisibleBounds(node); local 469 Rect rect = getVisibleBounds(node); local 486 Rect rect = getVisibleBounds(node); local 503 Rect rect = getVisibleBounds(node); local 520 Rect rect = getVisibleBounds(node); local 625 Rect rect = getVisibleBounds(node); local 930 Rect rect = getVisibleBounds(node); local 968 Rect rect = getVisibleBounds(node); local [all...] |
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents_unittest.cc | 14 void set_monitor_bounds(const gfx::Rect& bounds) { 21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) { 26 gfx::Rect monitor_bounds_; 38 gfx::Rect contents_bounds; 39 gfx::Rect window_bounds; 40 border_contents.set_monitor_bounds(gfx::Rect(0, 0, 1000, 1000)); 42 gfx::Rect(100, 100, 50, 50), // |position_relative_to| 59 gfx::Rect(100, 100, 50, 50), // |position_relative_to [all...] |
/external/skia/tests/ |
RegionTest.cpp | 12 static void Union(SkRegion* rgn, const SkIRect& rect) { 13 rgn->op(rect, SkRegion::kUnion_Op); 16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 63 // These test SkRegion::contains(Rect) and SkRegion::contains(Region) 136 SkIRect r = iter.rect(); 245 SkIRect rect[N]; local [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
window_positioner_unittest.cc | 105 window_->SetBounds(gfx::Rect(16, 32, 640, 320)); 107 popup_->SetBounds(gfx::Rect(16, 32, 128, 256)); 154 const gfx::Rect work_area = 161 gfx::Rect popup_position(0, 0, 200, 200); 163 gfx::Rect cascade_1 = window_positioner()->GetPopupPosition(popup_position); 164 EXPECT_EQ(gfx::Rect(work_area.x() + grid_size_, work_area.y() + grid_size_, 168 gfx::Rect cascade_2 = window_positioner()->GetPopupPosition(popup_position); 169 EXPECT_EQ(gfx::Rect(work_area.x() + 2 * grid_size_, 175 window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width() - 1, 182 gfx::Rect cascade_3 = window_positioner()->GetPopupPosition(popup_position) [all...] |
/external/chromium_org/cc/quads/ |
texture_draw_quad.cc | 30 gfx::Rect rect, gfx::Rect opaque_rect, 37 gfx::Rect visible_rect = rect; 40 DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect, 55 gfx::Rect rect, gfx::Rect opaque_rect, 56 gfx::Rect visible_rect, bool needs_blending [all...] |