Home
last modified time | relevance | path

Searched refs:plugin_size_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/ppapi/examples/gles2_spinning_cube/
Dgles2_spinning_cube.cc47 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/
Dgles2.cc73 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/
Dinstance.cc626 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 …]
Dout_of_process_instance.cc401 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 …]
Dpaint_manager.cc135 return has_pending_resize_ ? pending_size_ : plugin_size_; in GetEffectiveSize()
175 plugin_size_ = pending_size_; in DoPaint()
Dpaint_manager.h191 pp::Size plugin_size_; variable
Dout_of_process_instance.h222 pp::Size plugin_size_; variable
Dinstance.h363 pp::Size plugin_size_; variable
/external/chromium_org/ppapi/examples/video_decode/
Dvideo_decode_dev.cc169 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 …]
Dvideo_decode.cc122 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/
Dvideo_decode.cc121 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/
Dpdfium_engine.cc694 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()
Dpdfium_engine.h487 pp::Size plugin_size_; variable