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

1 2 3 4 5 6 7 891011>>

  /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...]
  /external/chromium_org/skia/ext/
platform_device_mac.cc 122 SkRect rect; local
123 rect.setEmpty();
124 CGContextClipToRect(context, gfx::SkRectToCGRect(rect));
127 // unwanted. Inverse-transform the rect before sending it to CG. This only
135 SkRect rect; local
136 rect.set(region.getBounds());
137 t.mapRect(&rect);
139 rect.round(&irect);
skia_utils_win.cc 22 COMPILE_ASSERT(SK_OFFSETOF(RECT, left) == SK_OFFSETOF(SkIRect, fLeft), o1);
23 COMPILE_ASSERT(SK_OFFSETOF(RECT, top) == SK_OFFSETOF(SkIRect, fTop), o2);
24 COMPILE_ASSERT(SK_OFFSETOF(RECT, right) == SK_OFFSETOF(SkIRect, fRight), o3);
25 COMPILE_ASSERT(SK_OFFSETOF(RECT, bottom) == SK_OFFSETOF(SkIRect, fBottom), o4);
26 COMPILE_ASSERT(sizeof(RECT().left) == sizeof(SkIRect().fLeft), o5);
27 COMPILE_ASSERT(sizeof(RECT().top) == sizeof(SkIRect().fTop), o6);
28 COMPILE_ASSERT(sizeof(RECT().right) == sizeof(SkIRect().fRight), o7);
29 COMPILE_ASSERT(sizeof(RECT().bottom) == sizeof(SkIRect().fBottom), o8);
30 COMPILE_ASSERT(sizeof(RECT) == sizeof(SkIRect), o9);
41 SkRect RECTToSkRect(const RECT& rect)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-gdi/
graw_gdi.c 71 RECT rect; local
97 SetRect(&rect, 0, 0, width, height);
98 AdjustWindowRectEx(&rect, style, FALSE, 0);
106 rect.right - rect.left,
107 rect.bottom - rect.top,
  /external/mesa3d/src/gallium/targets/graw-gdi/
graw_gdi.c 71 RECT rect; local
97 SetRect(&rect, 0, 0, width, height);
98 AdjustWindowRectEx(&rect, style, FALSE, 0);
106 rect.right - rect.left,
107 rect.bottom - rect.top,
  /external/skia/gm/
emptypath.cpp 76 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1); local
85 canvas->translate(0, rect.height() + 40 * SK_Scalar1);
88 canvas->translate(rect.width() + 40 * SK_Scalar1, 0);
95 this->drawEmpty(canvas, color, rect,
103 canvas->drawRect(rect, rectPaint);
112 0, rect.height() + 15 * SK_Scalar1,
116 0, rect.height() + 28 * SK_Scalar1,
megalooper.cpp 80 // Just draw a blurred rect at each of the four corners of a square (centered at x,y).
103 SkRect rect = { -kHalfSquareSize, -kHalfSquareSize, kHalfSquareSize, kHalfSquareSize }; local
104 rect.offset(gBlurOffsets[i]);
105 rect.offset(x, y);
106 canvas->drawRect(rect, paint);
122 // (so each blurred rect is centered at one of the corners of the original).
123 // For each blur a large outer clip is centered around the blurred rect
124 // while a difference clip stays at the location of the original rect.
125 // Each blurred rect is drawn with a draw looper where the original (non-
126 // blurred rect) is offset to reside outside of the large outer clip (s
145 SkRect rect = { -kHalfSquareSize, -kHalfSquareSize, kHalfSquareSize, kHalfSquareSize }; local
186 SkRect rect = { -kHalfSquareSize, -kHalfSquareSize, kHalfSquareSize, kHalfSquareSize }; local
    [all...]
  /external/chromium_org/chrome/browser/android/
chrome_web_contents_delegate_android.cc 20 #include "ui/gfx/rect.h"
35 const gfx::RectF& rect) {
38 rect.x(),
39 rect.y(),
40 rect.right(),
41 rect.bottom()));
46 const gfx::Rect& rect) {
50 static_cast<int>(rect.x()),
51 static_cast<int>(rect.y())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
HitTestLocation.cpp 149 bool HitTestLocation::intersectsRect(const RectType& rect) const
151 // FIXME: When the hit test is not rect based we should use rect.contains(m_point).
154 // First check if rect even intersects our bounding box.
155 if (!rect.intersects(m_boundingBox))
158 // If the transformed rect is rectilinear the bounding box intersection was accurate.
162 // If rect fully contains our bounding box, we are also sure of an intersection.
163 if (rect.contains(m_boundingBox))
167 return m_transformedRect.intersectsRect(rect);
170 bool HitTestLocation::intersects(const LayoutRect& rect) cons
    [all...]
  /frameworks/base/cmds/wm/src/com/android/commands/wm/
Wm.java 23 import android.graphics.Rect;
173 Rect rect = new Rect(); local
176 rect.set(0, 0, 0, 0);
185 rect.left = Integer.parseInt(matcher.group(1));
186 rect.top = Integer.parseInt(matcher.group(2));
187 rect.right = Integer.parseInt(matcher.group(3));
188 rect.bottom = Integer.parseInt(matcher.group(4));
192 mWm.setOverscan(Display.DEFAULT_DISPLAY, rect.left, rect.top, rect.right, rect.bottom)
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
DynamicDrawableSpanTest.java 23 import android.graphics.Rect;
51 Rect rect = dynamicDrawableSpan.getDrawable().getBounds(); local
52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm));
54 assertEquals(-rect.bottom, fm.ascent);
58 assertEquals(-rect.bottom, fm.top);
60 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null));
  /external/chromium_org/ash/wm/
partial_screenshot_view_unittest.cc 22 const gfx::Rect& rect) OVERRIDE {
23 rect_ = rect;
31 const gfx::Rect& rect() const { return rect_; }; function in class:ash::FakeScreenshotDelegate
35 gfx::Rect rect_;
77 EXPECT_EQ("100,100 100x100", delegate_->rect().ToString());
100 EXPECT_EQ("100,100 100x100", delegate_->rect().ToString());
  /external/chromium_org/cc/quads/
yuv_video_draw_quad.cc 25 gfx::Rect rect,
26 gfx::Rect opaque_rect,
32 gfx::Rect visible_rect = rect;
34 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect,
44 gfx::Rect rect,
45 gfx::Rect opaque_rect,
46 gfx::Rect visible_rect
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrRenderTarget.cpp 73 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) {
75 if (NULL != rect) {
76 fResolveRect.join(*rect);
86 void GrRenderTarget::overrideResolveRect(const SkIRect rect) {
87 fResolveRect = rect;
  /external/chromium_org/ui/app_list/views/
search_result_view.cc 138 gfx::Rect rect(GetContentsBounds());
139 if (rect.IsEmpty())
142 gfx::Rect icon_bounds(rect);
144 icon_bounds.Inset(kIconPadding, (rect.height() - kIconDimension) / 2);
145 icon_bounds.Intersect(rect);
149 (rect.right() - kActionButtonRightMargin - icon_bounds.right()) / 2;
153 gfx::Rect actions_bounds(rect);
    [all...]
  /external/opencv/cv/src/
cvcamshift.cpp 73 comp->rect = windowIn;
138 comp->rect = cur_rect;
184 comp.rect = windowIn;
191 windowIn = comp.rect;
267 comp.rect.width = MIN( t0, (mat->width - _xc) * 2 );
273 comp.rect.height = MIN( t0, (mat->height - _yc) * 2 );
275 comp.rect.x = MAX( 0, _xc - comp.rect.width / 2 );
276 comp.rect.y = MAX( 0, _yc - comp.rect.height / 2 )
    [all...]
  /external/skia/src/gpu/
GrRenderTarget.cpp 73 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) {
75 if (NULL != rect) {
76 fResolveRect.join(*rect);
86 void GrRenderTarget::overrideResolveRect(const SkIRect rect) {
87 fResolveRect = rect;
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 158 const Rect lockBounds(width, height);
163 status_t GraphicBuffer::lock(uint32_t usage, const Rect& rect, void** vaddr)
165 if (rect.left < 0 || rect.right > this->width ||
166 rect.top < 0 || rect.bottom > this->height) {
168 rect.left, rect.top, rect.right, rect.bottom,
    [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...]
  /frameworks/base/core/jni/
android_view_TextureView.cpp 23 #include <ui/Rect.h>
91 Rect* inOutDirtyBounds) {
139 Rect rect; local
141 rect.left = GET_INT(dirtyRect, gRectClassInfo.left);
142 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
143 rect.right = GET_INT(dirtyRect, gRectClassInfo.right);
144 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
146 rect.set(Rect(0x3FFF, 0x3FFF))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 194 Rectangle rect = mImage.getBounds(); local
197 if (mFitToCanvas && rect.width > 0 && rect.height > 0) {
198 double sx = (double) client.width / (double) rect.width;
199 double sy = (double) client.height / (double) rect.height;
205 0, 0, rect.width, rect.height,
206 0, 0, client.width, (int)(rect.height * sx));
207 drawBorder(gc, 0, 0, client.width, (int)(rect.height * sx));
211 0, 0, rect.width, rect.height
    [all...]
  /external/chromium_org/cc/output/
renderer_pixeltest.cc 26 gfx::Rect rect) {
28 const gfx::Rect output_rect = rect;
29 const gfx::RectF damage_rect = rect;
37 gfx::Rect rect,
40 const gfx::Rect output_rect = rect;
41 const gfx::RectF damage_rect = rect;
    [all...]
  /external/qemu/hw/
goldfish_fb.c 262 * Return 0 if there was no change, otherwise, populate '*rect'
276 FbUpdateRect* rect)
283 rect->xmin = rect->ymin = INT_MAX;
284 rect->xmax = rect->ymax = INT_MIN;
429 if (xx1 < rect->xmin) rect->xmin = xx1;
430 if (xx2 > rect->xmax) rect->xmax = xx2
488 FbUpdateRect rect; local
    [all...]
  /external/chromium_org/content/browser/aura/
reflector_impl.cc 107 void ReflectorImpl::OnPostSubBuffer(gfx::Rect rect) {
109 gl_helper_->CopyTextureSubImage(texture_id_, rect);
115 rect));
136 mirroring_layer_->SetBounds(gfx::Rect(size));
147 gfx::Rect rect) {
152 int y = size.height() - rect.y() - rect.height();
153 gfx::Rect new_rect(rect.x(), y, rect.width(), rect.height())
    [all...]
  /external/chromium_org/ui/gfx/
canvas.cc 15 #include "ui/gfx/rect.h"
113 void Canvas::DrawDashedRect(const gfx::Rect& rect, SkColor color) {
116 // of the focus rect (this may mean that opposing edges of the rect may
152 DrawRect(gfx::Rect(rect.x(), rect.y(), rect.width(), 1), paint);
153 DrawRect(gfx::Rect(rect.x(), rect.y() + rect.height() - 1, rect.width(), 1)
    [all...]

Completed in 798 milliseconds

1 2 3 4 5 6 7 891011>>