/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
D | gles2_spinning_cube.cc | 47 pp::Size plugin_size_; member in __anon3de7781c0111::DemoInstance 78 plugin_size_ = position.size(); in DidChangeView() 93 assert(plugin_size_.width() && plugin_size_.height()); in InitGL() 96 context_->ResizeBuffers(plugin_size_.width(), plugin_size_.height()); in InitGL() 108 PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), in InitGL() 109 PP_GRAPHICS3DATTRIB_HEIGHT, plugin_size_.height(), in InitGL() 117 cube_.Init(plugin_size_.width(), plugin_size_.height()); in InitGL()
|
/external/chromium_org/ppapi/examples/gles2/ |
D | gles2.cc | 73 pp::Size plugin_size_; member in __anon4e396b560111::GLES2DemoInstance 105 plugin_size_ = position.size(); in DidChangeView() 124 assert(plugin_size_.width() && plugin_size_.height()); in InitGL() 127 context_->ResizeBuffers(plugin_size_.width(), plugin_size_.height()); in InitGL() 139 PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), in InitGL() 140 PP_GRAPHICS3DATTRIB_HEIGHT, plugin_size_.height(), in InitGL()
|
/external/chromium_org/pdf/ |
D | instance.cc | 626 if (view_device_size == plugin_size_ && device_scale == device_scale_) in DidChangeView() 632 plugin_size_ = view_device_size; in DidChangeView() 638 plugin_size_, in DidChangeView() 641 DCHECK(plugin_size_.IsEmpty()); in DidChangeView() 709 plugin_size_.width() - page_indicator_.rect().width() - in ScrollbarValueChanged() 711 page_indicator_.GetYPosition(value, doc_height, plugin_size_.height())); in ScrollbarValueChanged() 794 DCHECK(plugin_size_.IsEmpty()); in OnPaint() 799 pp::Rect rect = pp::Rect(pp::Point(), plugin_size_); in OnPaint() 812 paint_rects[i].Intersect(pp::Rect(pp::Point(), plugin_size_)); in OnPaint() 845 top_center.set_x(plugin_size_.width() / 2); in OnPaint() [all …]
|
D | out_of_process_instance.cc | 401 paint_manager_.InvalidateRect(pp::Rect(pp::Point(), plugin_size_)); in HandleMessage() 512 if (view_device_size != plugin_size_ || device_scale != device_scale_) { in DidChangeView() 515 plugin_size_ = view_device_size; in DidChangeView() 521 plugin_size_); in DidChangeView() 531 DCHECK(plugin_size_.IsEmpty()); in DidChangeView() 625 DCHECK(plugin_size_.IsEmpty()); in OnPaint() 644 paint_rects[i].Intersect(pp::Rect(pp::Point(), plugin_size_)); in OnPaint() 717 int right_width = abs(plugin_size_.width() - available_area_.right()); in CalculateBackgroundParts() 718 int bottom = std::min(available_area_.bottom(), plugin_size_.height()); in CalculateBackgroundParts() 732 0, bottom, plugin_size_.width(), plugin_size_.height() - bottom); in CalculateBackgroundParts() [all …]
|
D | paint_manager.cc | 135 return has_pending_resize_ ? pending_size_ : plugin_size_; in GetEffectiveSize() 175 plugin_size_ = pending_size_; in DoPaint()
|
D | paint_manager.h | 191 pp::Size plugin_size_; variable
|
D | out_of_process_instance.h | 222 pp::Size plugin_size_; variable
|
D | instance.h | 363 pp::Size plugin_size_; variable
|
/external/chromium_org/ppapi/examples/video_decode/ |
D | video_decode_dev.cc | 169 pp::Size plugin_size_; member in __anon372c10ce0111::VideoDecodeDemoInstance 261 if (plugin_size_.width()) { in DidChangeView() 262 assert(position.size() == plugin_size_); in DidChangeView() 265 plugin_size_ = position.size(); in DidChangeView() 428 x = plugin_size_.width() / kNumDecoders; in PictureReady() 429 y = plugin_size_.height() / kNumDecoders; in PictureReady() 449 plugin_size_.width() / kNumDecoders, in PictureReady() 450 plugin_size_.height() / kNumDecoders); in PictureReady() 484 assert(plugin_size_.width() && plugin_size_.height()); in InitGL() 497 PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), in InitGL() [all …]
|
D | video_decode.cc | 122 pp::Size plugin_size_; member in __anondb7eb8b00111::MyInstance 411 if (plugin_size_.width()) { in DidChangeView() 412 assert(position.size() == plugin_size_); in DidChangeView() 415 plugin_size_ = position.size(); in DidChangeView() 469 int half_width = plugin_size_.width() / 2; in PaintNextPicture() 470 int half_height = plugin_size_.height() / 2; in PaintNextPicture() 549 assert(plugin_size_.width() && plugin_size_.height()); in InitGL() 562 PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), in InitGL() 563 PP_GRAPHICS3DATTRIB_HEIGHT, plugin_size_.height(), in InitGL()
|
/external/chromium_org/native_client_sdk/src/examples/api/video_decode/ |
D | video_decode.cc | 121 pp::Size plugin_size_; member in __anona6a8c5dc0111::MyInstance 410 if (plugin_size_.width()) { in DidChangeView() 411 assert(position.size() == plugin_size_); in DidChangeView() 414 plugin_size_ = position.size(); in DidChangeView() 468 int half_width = plugin_size_.width() / 2; in PaintNextPicture() 469 int half_height = plugin_size_.height() / 2; in PaintNextPicture() 548 assert(plugin_size_.width() && plugin_size_.height()); in InitGL() 561 PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), in InitGL() 562 PP_GRAPHICS3DATTRIB_HEIGHT, plugin_size_.height(), in InitGL()
|
/external/chromium_org/pdf/pdfium/ |
D | pdfium_engine.cc | 694 plugin_size_ = size; in PluginSizeUpdated() 1904 client_->Invalidate(pp::Rect(plugin_size_)); in InvalidateAllPages() 2294 pp::Rect visible_rect(plugin_size_); in CalculateVisiblePages() 2646 rv.set_width(static_cast<int>(ceil(plugin_size_.width() / current_zoom_))); in GetVisibleRect() 2647 rv.set_height(static_cast<int>(ceil(plugin_size_.height() / current_zoom_))); in GetVisibleRect() 2947 DCHECK(plugin_size_.IsEmpty()); in GetRegion() 2958 !pp::Rect(page_offset_, plugin_size_).Contains(offset_location)) { in GetRegion()
|
D | pdfium_engine.h | 487 pp::Size plugin_size_; variable
|