HomeSort by relevance Sort by last modified time
    Searched full:rect (Results 101 - 125 of 5422) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/skia/src/animator/
SkDrawPoint.cpp 41 void SkDrawPoint::getBounds(SkRect* rect ) {
42 rect->fLeft = rect->fRight = fPoint.fX;
43 rect->fTop = rect->fBottom = fPoint.fY;
  /external/skia/src/animator/
SkDrawClip.cpp 21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
32 if (rect != NULL)
33 maker.fCanvas->clipRect(rect->fRect);
SkDrawPoint.cpp 41 void SkDrawPoint::getBounds(SkRect* rect ) {
42 rect->fLeft = rect->fRight = fPoint.fX;
43 rect->fTop = rect->fBottom = fPoint.fY;
  /frameworks/native/include/ui/
Rect.h 24 #include <android/rect.h>
28 class Rect : public ARect, public LightFlattenablePod<Rect>
36 inline Rect() {
39 inline Rect(int32_t w, int32_t h) {
45 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) {
52 inline Rect(const Point& lt, const Point& rb) {
70 // an empty rect has a zero width or height, or is invalid
85 inline Rect getBounds() const {
86 return Rect(right - left, bottom - top)
    [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/cpp/
rect.h 19 class Rect {
22 /// The default constructor. Creates a <code>Rect</code> in the upper-left
24 Rect() {
32 /// converting the <code>PP_Rect</code> to a <code>Rect</code>. This is an
35 /// @param[in] rect A <code>PP_Rect</code>.
36 Rect(const PP_Rect& rect) { // Implicit.
37 set_x(rect.point.x);
38 set_y(rect.point.y);
39 set_width(rect.size.width)
    [all...]
  /external/chromium_org/third_party/skia/include/gpu/
GrAARectRenderer.h 43 const SkRect& rect,
50 rect, combinedMatrix);
53 rect, combinedMatrix);
57 rect, combinedMatrix,
64 const SkRect& rect,
70 // First rect is outer; second rect is inner
90 const SkRect& rect,
97 const SkRect& rect,
102 const SkRect& rect,
    [all...]
  /external/skia/include/gpu/
GrAARectRenderer.h 43 const SkRect& rect,
50 rect, combinedMatrix);
53 rect, combinedMatrix);
57 rect, combinedMatrix,
64 const SkRect& rect,
70 // First rect is outer; second rect is inner
90 const SkRect& rect,
97 const SkRect& rect,
102 const SkRect& rect,
    [all...]
  /external/chromium_org/ui/gfx/
skia_util.cc 15 #include "ui/gfx/rect.h"
22 SkRect RectToSkRect(const Rect& rect) {
24 r.iset(rect.x(), rect.y(), rect.right(), rect.bottom());
28 SkIRect RectToSkIRect(const Rect& rect) {
29 return SkIRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height())
    [all...]
  /external/chromium/chrome/browser/automation/
testing_automation_provider_mac.mm 44 gfx::Rect* bounds) {
68 NSRect rect = [tab convertRectToBase:[tab bounds]];
71 rect.origin.y += rect.size.height;
74 rect.origin = [window convertBaseToScreen:rect.origin];
81 rect.origin.y = coord_sys_height - rect.origin.y;
82 *bounds = gfx::Rect(NSRectToCGRect(rect));
    [all...]
  /external/skia/tools/lua/
skia.lua 20 Sk.Rect = { left = 0, top = 0, right = 0, bottom = 0 }
21 Sk.Rect.__index = Sk.Rect
23 function Sk.Rect.new(l, t, r, b)
24 local rect
27 rect = { left = l, top = t, right = r, bottom = b }
30 rect = { right = l, bottom = t }
33 rect = {}
35 setmetatable(rect, Sk.Rect)
    [all...]
  /external/chromium/chrome/browser/ui/views/bubble/
border_contents.h 25 // Given the size of the contents and the rect to point at, returns the bounds
32 const gfx::Rect& position_relative_to, // In screen coordinates
36 gfx::Rect* contents_bounds, // Returned in window coordinates
37 gfx::Rect* window_bounds); // Returned in screen coordinates
42 // Returns the bounds for the monitor showing the specified |rect|.
44 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect);
59 const gfx::Rect& position_relative_to,
60 const gfx::Rect& monitor_bounds
    [all...]
  /external/chromium_org/content/browser/renderer_host/
gtk_window_utils.cc 15 #include "ui/gfx/rect.h"
23 // panels. Returns an empty rect on failure.
24 gfx::Rect GetWorkArea(Window window) {
33 return gfx::Rect();
37 return gfx::Rect();
41 return gfx::Rect();
43 return gfx::Rect(property[start_index], property[start_index + 1],
62 results.rect = WebKit::WebRect(x, y, width, height);
63 results.availableRect = results.rect;
78 results->rect = WebKit::WebRect(monitor_rect.x, monitor_rect.y
    [all...]
  /external/chromium_org/ui/native_theme/
native_theme_base.cc 20 #include "ui/gfx/rect.h"
162 const gfx::Rect& rect,
164 if (rect.IsEmpty())
170 PaintCheckbox(canvas, state, rect, extra.button);
173 PaintInnerSpinButton(canvas, state, rect, extra.inner_spin);
176 PaintMenuList(canvas, state, rect, extra.menu_list);
184 PaintMenuPopupBackground(canvas, rect.size(), extra.menu_background);
191 PaintMenuItemBackground(canvas, state, rect, extra.menu_list);
194 PaintProgressBar(canvas, state, rect, extra.progress_bar)
    [all...]
  /external/chromium_org/cc/resources/
picture_layer_tiling_unittest.cc 19 static gfx::Rect ViewportInLayerSpace(
25 return gfx::Rect();
69 void SetLiveRectAndVerifyTiles(gfx::Rect live_tiles_rect) {
82 gfx::Rect request_rect,
83 gfx::Rect expect_rect) {
87 // tiling is too high-res for a low-res destination rect.) This is an
99 gfx::Rect geometry = iter.geometry_rect();
104 // Sanity check that texture coords are within the texture rect.
114 // The entire rect must be filled by geometry from the tiling.
118 void VerifyTilesExactlyCoverRect(float rect_scale, gfx::Rect rect)
    [all...]
  /external/chromium_org/ppapi/examples/flash_topmost/
flash_topmost.cc 11 #include "ppapi/cpp/rect.h"
33 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) {
88 pp::Rect rect(size.width() / 8, size.height() / 4,
90 uint32_t fill_color = pp::flash::Flash::IsRectTopmost(this, rect) ?
98 for (int x = rect.x(); x < rect.x() + rect.width(); x++) {
99 *image.GetAddr32(pp::Point(x, rect.y())) = 0xff202020
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
nv50_transfer.c 10 struct nv50_m2mf_rect rect[2]; member in struct:nv50_transfer
16 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect,
24 rect->bo = mt->base.bo;
25 rect->domain = mt->base.domain;
26 rect->base = mt->level[l].offset;
27 rect->pitch = mt->level[l].pitch;
29 rect->width = w << mt->ms_x;
30 rect->height = h << mt->ms_y;
31 rect->x = x << mt->ms_x;
32 rect->y = y << mt->ms_y
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_transfer.c 10 struct nv50_m2mf_rect rect[2]; member in struct:nv50_transfer
16 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect,
24 rect->bo = mt->base.bo;
25 rect->domain = mt->base.domain;
26 rect->base = mt->level[l].offset;
27 rect->pitch = mt->level[l].pitch;
29 rect->width = w << mt->ms_x;
30 rect->height = h << mt->ms_y;
31 rect->x = x << mt->ms_x;
32 rect->y = y << mt->ms_y
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRect.java 3 import android.graphics.Rect;
10 @Implements(Rect.class)
12 @RealObject Rect realRect;
21 public void __constructor__(Rect otherRect) {
29 public void set(Rect rect) {
30 set(rect.left, rect.top, rect.right, rect.bottom)
    [all...]
  /external/chromium/chrome/browser/ui/views/frame/
popup_non_client_frame_view.cc 8 #include "ui/gfx/rect.h"
15 gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const {
16 return gfx::Rect(0, 0, width(), height());
27 gfx::Rect PopupNonClientFrameView::GetWindowBoundsForClientBounds(
28 const gfx::Rect& client_bounds) const {
49 gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip(
51 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
  /external/chromium_org/cc/layers/
content_layer_unittest.cc 20 explicit MockContentLayerClient(gfx::Rect opaque_layer_rect)
24 gfx::Rect clip,
31 gfx::Rect opaque_layer_rect_;
36 gfx::Rect content_rect(10, 10, 100, 100);
37 gfx::Rect opaque_rect_in_layer_space(5, 5, 20, 20);
38 gfx::Rect opaque_rect_in_content_space = gfx::ScaleToEnclosingRect(
48 gfx::Rect resulting_opaque_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,
shared_quad_state.h 10 #include "ui/gfx/rect.h"
28 gfx::Rect visible_content_rect,
29 gfx::Rect clip_rect,
38 // This rect lives in the content space for the quad's originating layer.
39 gfx::Rect visible_content_rect;
40 // This rect lives in the target content space.
41 gfx::Rect clip_rect;
stream_video_draw_quad.h 20 gfx::Rect rect,
21 gfx::Rect opaque_rect,
26 gfx::Rect rect,
27 gfx::Rect opaque_rect,
28 gfx::Rect visible_rect,

Completed in 1361 milliseconds

1 2 3 45 6 7 8 91011>>