/external/chromium_org/ui/views/bubble/ |
bubble_frame_view_unittest.cc | 25 monitor_bounds_(gfx::Rect(0, 0, 1000, 1000)) { 31 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) OVERRIDE { 36 gfx::Rect monitor_bounds_; 58 gfx::Rect window_bounds; 66 gfx::Rect(100, 100, 50, 50), // |anchor_rect| 77 gfx::Rect(100, 100, 50, 50), // |anchor_rect| 88 gfx::Rect(100, 100, 50, 50), // |anchor_rect| 99 gfx::Rect(100, 100, 50, 50), // |anchor_rect [all...] |
/external/chromium/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.h | 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 46 virtual gfx::Rect GetWindowBoundsForClientBounds( 47 const gfx::Rect& client_bounds) const OVERRIDE; 88 gfx::Rect IconBounds() const; 103 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 105 // The layout rect of the title, if visible. 106 gfx::Rect title_bounds_; 121 gfx::Rect client_view_bounds_;
|
/external/chromium_org/apps/ |
shell_window_geometry_cache_unittest.cc | 41 const gfx::Rect& bounds, 42 const gfx::Rect& screen_bounds, 63 const gfx::Rect& bounds, 64 const gfx::Rect& screen_bounds, 109 gfx::Rect(4, 5, 31, 43), 110 gfx::Rect(0, 0, 1600, 900), 119 gfx::Rect(4, 5, 31, 43), 120 gfx::Rect(0, 0, 1600, 900), 129 gfx::Rect bounds(4, 5, 31, 43); 130 gfx::Rect screen_bounds(0, 0, 1600, 900) [all...] |
/external/chromium_org/ash/ |
screen_ash_unittest.cc | 33 NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100)); 36 NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); 72 NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); 90 NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100)); 93 NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); 99 primary->GetNativeView(), gfx::Rect(10, 10, 100, 100)).ToString()); 103 secondary->GetNativeView(), gfx::Rect(620, 20, 100, 100)).ToString()); 108 primary->GetNativeView(), gfx::Rect(30, 30, 100, 100)).ToString()); 112 secondary->GetNativeView(), gfx::Rect(40, 40, 100, 100)).ToString());
|
/external/chromium_org/ash/wm/gestures/ |
system_pinch_handler.cc | 19 #include "ui/gfx/rect.h" 75 gfx::Rect bounds = 113 gfx::Rect SystemPinchHandler::GetPhantomWindowScreenBounds( 125 const gfx::Rect* restore = GetRestoreBoundsInScreen(window); 133 gfx::Rect rect = GetMinimizeAnimationTargetBoundsInScreen(target_); local 134 if (!rect.IsEmpty()) 135 rect.Inset(-8, -8); 137 return rect;
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.h | 32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 41 virtual gfx::Rect GetWindowBoundsForClientBounds( 42 const gfx::Rect& client_bounds) const OVERRIDE; 82 gfx::Rect IconBounds() const; 97 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 99 // The layout rect of the title, if visible. 100 gfx::Rect title_bounds_; 109 gfx::Rect client_view_bounds_;
|
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_backing_store.cc | 8 #include "ui/gfx/rect.h" 35 const gfx::Rect& bitmap_rect, 36 const std::vector<gfx::Rect>& copy_rects, 41 gfx::Rect pixel_bitmap_rect = gfx::ToFlooredRectDeprecated( 61 const gfx::Rect& pixel_copy_rect = gfx::ToEnclosingRect( 80 const gfx::Rect& clip_rect, 82 gfx::Rect pixel_rect = gfx::ToEnclosingRect( 91 SkIRect rect = SkIRect::MakeXYWH(x, y, w, h); local 92 bitmap_.scrollRect(&rect, pixel_delta.x(), pixel_delta.y());
|
/external/chromium_org/remoting/host/setup/win/ |
host_configurer_window.cc | 68 RECT rect; local 69 if (!GetWindowRect(&rect)) { 83 RECT area_rect; 89 RECT owner_rect = area_rect; 101 LONG width = rect.right - rect.left; 102 LONG height = rect.bottom - rect.top;
|
/external/chromium_org/remoting/host/ |
verify_config_window_win.cc | 60 RECT rect; local 61 if (!GetWindowRect(&rect)) { 75 RECT area_rect; 81 RECT owner_rect = area_rect; 93 LONG width = rect.right - rect.left; 94 LONG height = rect.bottom - rect.top;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAnimatedRect.cpp | 37 parseRect(string, animatedType->rect()); 53 resetFromBaseValue<SVGAnimatedRect>(animatedTypes, type, &SVGAnimatedType::rect); 71 to->rect() += from->rect(); 79 const SVGRect& fromRect = m_animationElement->animationMode() == ToAnimation ? animated->rect() : from->rect(); 80 const SVGRect& toRect = to->rect(); 81 const SVGRect& toAtEndOfDurationRect = toAtEndOfDuration->rect(); 82 SVGRect& animatedRect = animated->rect();
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 89 SkRect rect; local 91 rect.iset(devClipBounds.fLeft, devClipBounds.fTop, 93 target->drawSimpleRect(rect, NULL); 96 rect.iset(devClipBounds.fLeft, devPathBounds.fTop, 98 target->drawSimpleRect(rect, NULL); 101 rect.iset(devPathBounds.fRight, devPathBounds.fTop, 103 target->drawSimpleRect(rect, NULL); 106 rect.iset(devClipBounds.fLeft, devPathBounds.fBottom, 108 target->drawSimpleRect(rect, NULL);
|
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 22 return new TestScreen(gfx::Rect(0, 0, 800, 600)); 27 return new TestScreen(gfx::Rect(RootWindowHost::GetNativeScreenSize())); 42 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 55 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 56 gfx::Rect new_bounds = gfx::ToNearestRect( 97 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { 129 gfx::Display TestScreen::GetDisplayMatching(const gfx::Rect& match_rect) const { 143 TestScreen::TestScreen(const gfx::Rect& screen_bounds)
|
/external/chromium_org/ui/gfx/ |
display.h | 11 #include "ui/gfx/rect.h" 32 Display(int64 id, const Rect& bounds); 49 const Rect& bounds() const { return bounds_; } 50 void set_bounds(const Rect& bounds) { bounds_ = bounds; } 53 const Rect& work_area() const { return work_area_; } 54 void set_work_area(const Rect& work_area) { work_area_ = work_area; } 78 const gfx::Rect& bounds_in_pixel); 108 Rect bounds_; 109 Rect work_area_;
|
screen_mac.mm | 16 gfx::Rect ConvertCoordinateSystem(NSRect ns_rect) { 21 gfx::Rect rect(NSRectToCGRect(ns_rect)); 22 rect.set_y(primary_screen_height - rect.y() - rect.height()); 23 return rect; 26 NSScreen* GetMatchingScreen(const gfx::Rect& match_rect) { 33 gfx::Rect monitor_area = ConvertCoordinateSystem([screen frame]); 34 gfx::Rect intersection = gfx::IntersectRects(monitor_area, match_rect) [all...] |
/external/chromium_org/ui/message_center/views/ |
toast_contents_view.h | 13 #include "ui/gfx/rect.h" 53 void SetBoundsInstantly(gfx::Rect new_bounds); 54 void SetBoundsWithAnimation(gfx::Rect new_bounds); 59 gfx::Rect bounds() { return gfx::Rect(origin_, preferred_size_); } 89 gfx::Rect GetClosedToastBounds(gfx::Rect bounds); 105 gfx::Rect animated_bounds_start_; 106 gfx::Rect animated_bounds_end_;
|
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 89 SkRect rect; local 91 rect.iset(devClipBounds.fLeft, devClipBounds.fTop, 93 target->drawSimpleRect(rect, NULL); 96 rect.iset(devClipBounds.fLeft, devPathBounds.fTop, 98 target->drawSimpleRect(rect, NULL); 101 rect.iset(devPathBounds.fRight, devPathBounds.fTop, 103 target->drawSimpleRect(rect, NULL); 106 rect.iset(devClipBounds.fLeft, devPathBounds.fBottom, 108 target->drawSimpleRect(rect, NULL);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents.cc | 30 const gfx::Rect& position_relative_to, 34 gfx::Rect* contents_bounds, 35 gfx::Rect* window_bounds) { 51 gfx::Rect monitor_bounds = GetMonitorBounds(position_relative_to); 68 *contents_bounds = gfx::Rect(gfx::Point(), window_bounds->size()); 75 gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) { 78 return monitor_provider->GetMonitorWorkAreaMatching(rect); 83 const gfx::Rect& position_relative_to [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
textinput_test_helper.cc | 50 gfx::Rect TextInputTestHelper::GetCaretRect() const { 54 gfx::Rect TextInputTestHelper::GetCompositionHead() const { 145 const gfx::Rect& expected_caret_rect, 146 const gfx::Rect& expected_composition_head) { 166 gfx::Rect* rect) { 167 DCHECK(rect); 180 *rect = gfx::Rect(x, y, width, height); 193 gfx::Rect rect [all...] |
/external/chromium_org/chrome_frame/infobars/internal/ |
infobar_window.cc | 94 void InfobarWindow::ReserveSpace(RECT* rect) { 95 DCHECK(rect); 97 if (rect == NULL || host_ == NULL) 100 current_width_ = rect->right - rect->left; 103 RECT infobar_rect = *rect; 107 infobar_rect.bottom = rect->top + current_height_; 108 rect->top = std::min(rect->bottom, infobar_rect.bottom) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderScrollbarTheme.cpp | 95 IntRect RenderScrollbarTheme::constrainTrackRectToTrackPieces(ScrollbarThemeClient* scrollbar, const IntRect& rect) 97 IntRect backRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(BackTrackPart, rect); 98 IntRect forwardRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(ForwardTrackPart, rect); 99 IntRect result = rect; 121 void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) 123 toRenderScrollbar(scrollbar)->paintPart(context, TrackBGPart, rect); 126 void RenderScrollbarTheme::paintTrackPiece(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) 128 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); 131 void RenderScrollbarTheme::paintButton(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) 133 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); [all...] |
/external/chromium_org/ui/views/layout/ |
box_layout_unittest.cc | 41 EXPECT_EQ(gfx::Rect(0, 0, 10, 20), v1->bounds()); 42 EXPECT_EQ(gfx::Rect(10, 0, 10, 20), v2->bounds()); 54 EXPECT_EQ(gfx::Rect(0, 0, 20, 10), v1->bounds()); 55 EXPECT_EQ(gfx::Rect(0, 10, 20, 10), v2->bounds()); 67 EXPECT_EQ(gfx::Rect(7, 7, 10, 86), v1->bounds()); 68 EXPECT_EQ(gfx::Rect(25, 7, 10, 86), v2->bounds()); 79 EXPECT_EQ(gfx::Rect(0, 0, 10, 10), v1->bounds()); 80 EXPECT_EQ(gfx::Rect(0, 0, 0, 0), v2->bounds()); 89 EXPECT_EQ(gfx::Rect(0, 0, 0, 0), childView->bounds()); 102 EXPECT_EQ(gfx::Rect(10, 10, 10, 10), v2->bounds()) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 21 import android.graphics.Rect; 49 private Rect mContent = new Rect(); 106 final Rect parentRect = new Rect(); 107 final Rect childRect = new Rect(); 129 final Rect parentRect = new Rect(mContent); 130 final Rect childRect = new Rect() [all...] |
/external/opencv/cv/src/ |
mycvHaarDetectObjects.cpp | 61 rect[CV_HAAR_FEATURE_MAX]; member in struct:MyCvHidHaarFeature 218 if( classifier->haar_feature[l].rect[k].r.width ) 220 CvRect r = classifier->haar_feature[l].rect[k].r; 304 if( fabs(feature->rect[2].weight) < DBL_EPSILON || 305 feature->rect[2].r.width == 0 || 306 feature->rect[2].r.height == 0 ) 307 memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) ); 349 int rect_count = 2 + (classifier->haar_feature->rect[2].r.width != 0); 358 ipp_features[k] = classifier->haar_feature->rect[l].r 1254 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local 1269 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local 1449 CvRect* rect = (CvRect*)cvGetSeqElem( seq, i ); local [all...] |
/external/chromium_org/chrome/common/ |
badge_util.cc | 15 #include "ui/gfx/rect.h" 143 const gfx::Rect& bounds, 190 gfx::Rect rect(rect_x, rect_y, rect_width, rect_height); 196 canvas->DrawRoundRect(rect, 2, rect_paint); 207 canvas->DrawImageInt(*gradient_left, rect.x(), rect.y()); 209 rect.x() + gradient_left->width(), 210 rect.y(), 211 rect.width() - gradient_left->width() - gradient_right->width() [all...] |
/external/skia/gm/ |
linepaths.cpp | 94 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1); local 100 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); 105 canvas->translate(0, rect.height() + 40 * SK_Scalar1); 110 canvas->translate(rect.width() + 40 * SK_Scalar1, 0); 114 this->drawPath(path.fPath, canvas, color, rect, 123 canvas->drawRect(rect, rectPaint); 132 0, rect.height() + 12 * SK_Scalar1, 136 0, rect.height() + 24 * SK_Scalar1, 140 0, rect.height() + 36 * SK_Scalar1, 236 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1) local [all...] |