HomeSort by relevance Sort by last modified time
    Searched refs:rect (Results 226 - 250 of 1773) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/gfx/
quad_f.cc 13 void QuadF::operator=(const RectF& rect) {
14 p1_ = PointF(rect.x(), rect.y());
15 p2_ = PointF(rect.right(), rect.y());
16 p3_ = PointF(rect.right(), rect.bottom());
17 p4_ = PointF(rect.x(), rect.bottom());
canvas_skia.cc 15 #include "ui/gfx/rect.h"
117 void UpdateRenderText(const Rect& rect,
127 Rect display_rect = rect;
192 Rect rect(*width, INT_MAX);
194 ui::ElideRectangleText(adjusted_text, font, rect.width(), rect.height(),
197 UpdateRenderText(rect, base::string16(), font, flags, 0, render_text.get())
439 Rect rect = display_rect; local
    [all...]
  /external/chromium_org/content/renderer/
paint_aggregator.cc 15 // We attempt to maintain a scroll rect in the presence of invalidations that
16 // are contained within the scroll rect. If an invalidation crosses a scroll
17 // rect, then we just treat the scroll rect as an invalidation rect.
20 // scroll rect, we offset the invalidation rects to account for the fact that
27 // If the combined area of paint rects contained within the scroll rect grows
28 // too large, then we might as well just treat the scroll rect as a paint rect.
29 // This constant sets the max ratio of paint rect area to scroll rect area tha
    [all...]
  /external/chromium_org/ppapi/utility/graphics/
paint_aggregator.cc 14 // We attempt to maintain a scroll rect in the presence of invalidations that
15 // are contained within the scroll rect. If an invalidation crosses a scroll
16 // rect, then we just treat the scroll rect as an invalidation rect.
19 // scroll rect, we offset the invalidation rects to account for the fact that
36 Rect PaintAggregator::InternalPaintUpdate::GetScrollDamage() const {
40 Rect damaged_rect;
68 // In case the scroll offset exceeds the width/height of the scroll rect
72 Rect PaintAggregator::InternalPaintUpdate::GetPaintBounds() const
    [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...]
quadpaths.cpp 95 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1); local
101 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0);
106 canvas->translate(0, rect.height() + 40 * SK_Scalar1);
111 canvas->translate(rect.width() + 40 * SK_Scalar1, 0);
115 this->drawPath(path.fPath, canvas, color, rect,
124 canvas->drawRect(rect, rectPaint);
133 0, rect.height() + 12 * SK_Scalar1,
137 0, rect.height() + 24 * SK_Scalar1,
141 0, rect.height() + 36 * SK_Scalar1,
238 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1) local
    [all...]
  /external/chromium/chrome/browser/ui/
window_sizer_linux.cc 26 virtual gfx::Rect GetPrimaryMonitorWorkArea() const {
27 gfx::Rect rect; local
28 if (GetScreenWorkArea(&rect))
29 return rect.Intersect(GetPrimaryMonitorBounds());
35 virtual gfx::Rect GetPrimaryMonitorBounds() const {
37 GdkRectangle rect; local
38 gdk_screen_get_monitor_geometry(screen, 0, &rect);
39 return gfx::Rect(rect);
    [all...]
  /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;
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/third_party/WebKit/Source/core/accessibility/
AccessibilityListBoxOption.cpp 97 LayoutRect rect; local
99 return rect;
103 return rect;
107 return rect;
112 rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index);
114 return rect;
  /external/skia/src/images/
SkFlipPixelRef.cpp 65 static void copyRect(const SkBitmap& dst, const SkIRect& rect,
67 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift);
71 const size_t bytes = rect.width() << shift;
73 int height = rect.height();
107 copyRect(dst, iter.rect(), srcAddr, shift);
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailPhotoSetter.java 22 import android.graphics.Rect;
75 // rect is the bounds (in pixels) of the photo view in screen coordinates
76 final Rect rect = new Rect(); local
77 rect.left = (int) (pos[0] * appScale + 0.5f);
78 rect.top = (int) (pos[1] * appScale + 0.5f);
79 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
80 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);
87 photoUri, mPhotoBitmap, mPhotoBytes, rect, delta, mContactData.isUserProfile()
    [all...]
  /external/chromium_org/remoting/base/
util.cc 153 SkIRect rect(i.rect());
154 rect.offset(- outer_rect.left(), - outer_rect.top());
163 rect.left(),
164 rect.top(),
165 rect.right(),
166 rect.bottom(),
195 SkIRect AlignRect(const SkIRect& rect) {
196 int x = RoundToTwosMultiple(rect.left());
197 int y = RoundToTwosMultiple(rect.top())
    [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...]
  /external/chromium_org/content/renderer/pepper/
ppb_scrollbar_impl.cc 106 PP_Rect rect = location(); local
107 Invalidate(&rect);
134 PP_Bool PPB_Scrollbar_Impl::PaintInternal(const gfx::Rect& rect,
142 scrollbar_->paint(canvas, rect);
147 skia::MakeOpaque(canvas, rect.x(), rect.y(), rect.width(), rect.height());
210 const WebKit::WebRect& rect) {
    [all...]
  /external/chromium_org/ui/app_list/views/
page_switcher.cc 65 gfx::Rect rect(GetContentsBounds());
66 rect.ClampToCenteredSize(gfx::Size(button_width_, kButtonHeight));
69 path.addRoundRect(gfx::RectToSkRect(rect),
82 selected_width = selected_range_ * rect.width();
84 selected_width = -selected_range_ * rect.width();
85 selected_start_x = rect.right() - selected_width;
89 gfx::Rect selected_rect(rect);
177 gfx::Rect rect(GetContentsBounds())
    [all...]
  /external/qemu/android/skin/
file.c 67 background->rect.pos.x = x;
68 background->rect.pos.y = y;
69 background->rect.size.w = skin_image_w( background->image );
70 background->rect.size.h = skin_image_h( background->image );
89 display->rect.pos.x = aconfig_int(node, "x", 0);
90 display->rect.pos.y = aconfig_int(node, "y", 0);
91 display->rect.size.w = aconfig_int(node, "width", 0);
92 display->rect.size.h = aconfig_int(node, "height", 0);
96 display->valid = ( display->rect.size.w > 0 && display->rect.size.h > 0 )
    [all...]
  /cts/tests/src/android/widget/cts/
MyHorizontalScrollView.java 20 import android.graphics.Rect;
44 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) {
45 return super.computeScrollDeltaToGetChildRectOnScreen(rect);
MyScrollView.java 20 import android.graphics.Rect;
39 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) {
40 return super.computeScrollDeltaToGetChildRectOnScreen(rect);
  /external/chromium/chrome/browser/ui/gtk/
first_run_bubble.h 28 // Shows the first run bubble, pointing at |rect|.
31 const gfx::Rect& rect,
48 const gfx::Rect& rect,
  /external/chromium_org/ash/wm/
coordinate_conversion.cc 13 #include "ui/gfx/rect.h"
29 aura::RootWindow* GetRootWindowMatching(const gfx::Rect& rect) {
30 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect);
  /external/chromium_org/cc/quads/
content_draw_quad_base.h 21 gfx::Rect rect,
22 gfx::Rect opaque_rect,
29 gfx::Rect rect,
30 gfx::Rect opaque_rect,
31 gfx::Rect visible_rect,
io_surface_draw_quad.h 25 gfx::Rect rect,
26 gfx::Rect opaque_rect,
32 gfx::Rect rect,
33 gfx::Rect opaque_rect,
34 gfx::Rect visible_rect,
texture_draw_quad.h 20 gfx::Rect rect,
21 gfx::Rect opaque_rect,
31 gfx::Rect rect,
32 gfx::Rect opaque_rect,
33 gfx::Rect visible_rect,

Completed in 429 milliseconds

1 2 3 4 5 6 7 8 91011>>