Searched defs:rect (Results 401 - 425 of 1054) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/
H A Dlife.c159 struct PP_Rect rect; local
161 g_pView->GetRect(event->as_resource, &rect);
162 UpdateContext(rect.size.width, rect.size.height);
/external/chromium_org/pdf/
H A Dpaint_aggregator.cc14 // 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
71 // In case the scroll offset exceeds the width/height of the scroll rect
95 // Code invalidates damaged rect here, it pick it up from the list of paint
122 void PaintAggregator::InvalidateRect(const pp::Rect& rect) { argument
123 InvalidateRectInternal(rect, tru
170 pp::Rect rect = update_.paint_rects[i]; local
223 pp::Rect rect = rect_old; local
[all...]
/external/chromium_org/ppapi/cpp/private/
H A Dflash.cc18 #include "ppapi/cpp/rect.h"
219 bool Flash::IsRectTopmost(const InstanceHandle& instance, const Rect& rect) { argument
223 instance.pp_instance(), &rect.pp_rect()));
227 instance.pp_instance(), &rect.pp_rect()));
/external/chromium_org/ppapi/cpp/
H A Drect.h35 /// @param[in] rect A <code>PP_Rect</code>.
36 Rect(const PP_Rect& rect) { // Implicit. argument
37 set_x(rect.point.x);
38 set_y(rect.point.y);
39 set_width(rect.size.width);
40 set_height(rect.size.height);
221 /// <code>for (int32_t x = rect.x(); x < rect.right(); ++x) {}</code>
232 /// <code>for (int32_t y = rect.y(); y < rect
255 SetRect(const PP_Rect& rect) argument
418 FloatRect(const PP_FloatRect& rect) argument
640 SetRect(const PP_FloatRect& rect) argument
[all...]
/external/chromium_org/ppapi/examples/gamepad/
H A Dgamepad.cc19 #include "ppapi/cpp/rect.h"
56 pp::Rect rect = view.GetRect(); local
57 if (rect.size().width() == width_ &&
58 rect.size().height() == height_)
61 width_ = rect.size().width();
62 height_ = rect.size().height();
/external/chromium_org/ppapi/proxy/
H A Dcompositor_layer_resource.cc230 int32_t CompositorLayerResource::SetClipRect(const PP_Rect* rect) { argument
237 data_.common.clip_rect = rect ? *rect : PP_MakeRectFromXYWH(0, 0, 0, 0);
280 const PP_FloatRect* rect) {
287 if (!rect ||
288 rect->point.x < 0.0f ||
289 rect->point.y < 0.0f ||
290 rect->point.x + rect->size.width > source_size_.width ||
291 rect
279 SetSourceRect( const PP_FloatRect* rect) argument
[all...]
H A Dflash_resource.cc245 const PP_Rect* rect) {
247 PpapiHostMsg_Flash_IsRectTopmost(*rect));
244 IsRectTopmost(PP_Instance instance, const PP_Rect* rect) argument
/external/chromium_org/ppapi/tests/
H A Dtest_input_event.cc24 pp::Point GetCenter(const pp::Rect& rect) { argument
26 rect.x() + rect.width() / 2,
27 rect.y() + rect.height() / 2);
/external/chromium_org/ppapi/thunk/
H A Dppb_flash_thunk.cc108 PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) { argument
112 return enter.functions()->IsRectTopmost(instance, rect);
/external/chromium_org/printing/
H A Dpdf_metafile_cg_mac.cc16 #include "ui/gfx/rect.h"
176 const CGRect rect,
188 const bool dest_is_landscape = (rect.size.width > rect.size.height);
198 (params.shrink_to_fit && ((source_width > rect.size.width) ||
199 (source_height > rect.size.height))) ||
200 (params.stretch_to_fit && ((source_width < rect.size.width) &&
201 (source_height < rect.size.height)));
203 float x_scaling_factor = rect.size.width / source_width;
204 float y_scaling_factor = rect
174 RenderPage(unsigned int page_number, CGContextRef context, const CGRect rect, const MacRenderPageParams& params) const argument
[all...]
H A Dpdf_metafile_skia.cc22 #include "ui/gfx/rect.h"
163 const RECT* rect) const {
187 const CGRect rect,
194 return data_->pdf_cg_.RenderPage(page_number, context, rect, params);
185 RenderPage(unsigned int page_number, CGContextRef context, const CGRect rect, const MacRenderPageParams& params) const argument
/external/chromium_org/remoting/base/
H A Dutil.cc127 webrtc::DesktopRect rect = i.rect(); local
128 rect.Translate(-outer_rect.left(), -outer_rect.top());
137 rect.left(),
138 rect.top(),
139 rect.right(),
140 rect.bottom(),
169 webrtc::DesktopRect AlignRect(const webrtc::DesktopRect& rect) { argument
170 int x = RoundToTwosMultiple(rect.left());
171 int y = RoundToTwosMultiple(rect
177 ScaleRect(const webrtc::DesktopRect& rect, const webrtc::DesktopSize& in_size, const webrtc::DesktopSize& out_size) argument
[all...]
/external/chromium_org/remoting/client/
H A Dsoftware_video_renderer.cc63 webrtc::DesktopRect rect = i.rect(); variable
64 uint8* pixels = image_buffer + (rect.top() * image_stride) +
65 (rect.left() * kBytesPerPixel);
67 rect.width(), rect.height());
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_vpx.cc29 // Fills the rectangle |rect| with the given ARGB color |color| in |buffer|.
32 const webrtc::DesktopRect& rect,
34 uint32* ptr = reinterpret_cast<uint32*>(buffer + (rect.top() * stride) +
35 (rect.left() * VideoDecoder::kBytesPerPixel));
36 int width = rect.width();
37 for (int height = rect.height(); height > 0; --height) {
155 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_));
189 webrtc::DesktopRect rect = i.rect(); local
190 rect
30 FillRect(uint8* buffer, int stride, const webrtc::DesktopRect& rect, uint32 color) argument
269 webrtc::DesktopRect rect = i.rect(); local
306 webrtc::DesktopRect rect = i.rect(); local
[all...]
H A Dvideo_encoder_vpx.cc321 Rect* rect = packet->add_dirty_rects(); local
322 rect->set_x(r.rect().left());
323 rect->set_y(r.rect().top());
324 rect->set_width(r.rect().width());
325 rect->set_height(r.rect().height());
385 const webrtc::DesktopRect& rect local
413 const webrtc::DesktopRect& rect = r.rect(); local
427 const webrtc::DesktopRect& rect = r.rect(); local
453 const webrtc::DesktopRect& rect = r.rect(); local
[all...]
/external/chromium_org/remoting/host/
H A Ddisconnect_window_win.cc59 bool GetControlRect(HWND control, RECT* rect);
97 RECT rect = {0, 0, 0, 0}; local
101 if (!DrawText(dc, text.c_str(), -1, &rect, DT_CALCRECT | DT_SINGLELINE))
104 *width = rect.right;
212 RECT rect; local
213 GetClientRect(hwnd_, &rect);
217 RoundRect(hdc, rect.left, rect.top, rect.right - 1, rect
269 GetControlRect(HWND control, RECT* rect) argument
[all...]
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac.cc81 // i.e., you can't replace a clip rect, other than with a save/restore.
83 // If we ever get to need to change this, then we must replace the clip rect
182 SkIRect rect; local
183 rect.set(0, 0,
186 clip_region_ = SkRegion(rect);
H A Dbitmap_platform_device_win.cc182 SkIRect rect; local
183 rect.set(0, 0, bitmap_data.bmWidth, bitmap_data.bmHeight);
184 clip_region_ = SkRegion(rect);
H A Dpixel_ref_utils.cc33 void Add(SkPixelRef* pixel_ref, const SkRect& rect) { argument
39 position_pixel_ref.pixel_ref_rect = rect;
91 const SkRect& rect,
96 draw.fMatrix->mapRect(&mapped_rect, rect);
102 const SkRect& rect,
104 GatherPixelRefDevice::drawRect(draw, rect, paint);
107 const SkRRect& rect,
109 GatherPixelRefDevice::drawRect(draw, rect.rect(), paint);
336 void AddBitmap(const SkBitmap& bm, const SkRect& rect) { argument
[all...]
H A Dplatform_canvas_unittest.cc139 SkRect rect; local
140 rect.set(SkIntToScalar(x), SkIntToScalar(y),
142 canvas.clipRect(rect);
378 SkRect rect; local
379 rect.iset(kInnerX - 1, kInnerY - 1,
382 path.addRoundRect(rect, kRadius, kRadius);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DCaret.cpp145 // First compute a rect local to the renderer at the selection start.
176 IntRect CaretBase::absoluteBoundsForLocalRect(Node* node, const LayoutRect& rect) const
182 LayoutRect localRect(rect);
188 void CaretBase::repaintCaretForLocalRect(Node* node, const LayoutRect& rect) argument
196 LayoutRect inflatedRect = rect;
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasPathMethods.cpp306 void CanvasPathMethods::rect(float x, float y, float width, float height) function in class:WebCore::CanvasPathMethods
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorTraceEvents.cpp236 static void localToPageQuad(const RenderObject& renderer, const LayoutRect& rect, FloatQuad* quad) argument
240 FloatQuad absolute = renderer.localToAbsoluteQuad(FloatQuad(rect));
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
H A DScrollingConstraints.h34 // depends on the viewport rect (positions fixed and sticky), when scrolling and zooming.
91 void setViewportRectAtLastLayout(const FloatRect& rect) { m_viewportRectAtLastLayout = rect; } argument
155 void setAbsoluteContainingBlockRect(const FloatRect& rect) { m_absoluteContainingBlockRect = rect; } argument
158 void setAbsoluteStickyBoxRect(const FloatRect& rect) { m_absoluteStickyBoxRect = rect; } argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DHitTestResult.cpp90 // Only copy the NodeSet in case of rect hit test.
111 // Only copy the NodeSet in case of rect hit test.
401 bool HitTestResult::addNodeToRectBasedTestResult(Node* node, const HitTestRequest& request, const HitTestLocation& locationInContainer, const LayoutRect& rect) argument
403 // If it is not a rect-based hit test, this method has to be no-op.
417 bool regionFilled = rect.contains(locationInContainer.boundingBox());
421 bool HitTestResult::addNodeToRectBasedTestResult(Node* node, const HitTestRequest& request, const HitTestLocation& locationInContainer, const FloatRect& rect) argument
423 // If it is not a rect-based hit test, this method has to be no-op.
437 bool regionFilled = rect.contains(locationInContainer.boundingBox());

Completed in 1332 milliseconds

<<11121314151617181920>>