/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/ |
H A D | life.c | 159 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 D | 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 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 D | flash.cc | 18 #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 D | rect.h | 35 /// @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 D | gamepad.cc | 19 #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 D | compositor_layer_resource.cc | 230 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 D | flash_resource.cc | 245 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 D | test_input_event.cc | 24 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 D | ppb_flash_thunk.cc | 108 PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) { argument 112 return enter.functions()->IsRectTopmost(instance, rect);
|
/external/chromium_org/printing/ |
H A D | pdf_metafile_cg_mac.cc | 16 #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 D | pdf_metafile_skia.cc | 22 #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 D | util.cc | 127 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 D | software_video_renderer.cc | 63 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 D | video_decoder_vpx.cc | 29 // 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 D | video_encoder_vpx.cc | 321 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 D | disconnect_window_win.cc | 59 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 D | bitmap_platform_device_mac.cc | 81 // 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 D | bitmap_platform_device_win.cc | 182 SkIRect rect; local 183 rect.set(0, 0, bitmap_data.bmWidth, bitmap_data.bmHeight); 184 clip_region_ = SkRegion(rect);
|
H A D | pixel_ref_utils.cc | 33 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 D | platform_canvas_unittest.cc | 139 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 D | Caret.cpp | 145 // 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 D | CanvasPathMethods.cpp | 306 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 D | InspectorTraceEvents.cpp | 236 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 D | ScrollingConstraints.h | 34 // 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 D | HitTestResult.cpp | 90 // 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());
|