Home
last modified time | relevance | path

Searched refs:viewport_ (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/resources/pdf/
Dpdf.js53 this.viewport_ = new Viewport(window,
114 this.viewport_.fitToWidth.bind(this.viewport_));
116 this.viewport_.fitToPage.bind(this.viewport_));
118 this.viewport_.zoomIn.bind(this.viewport_));
120 this.viewport_.zoomOut.bind(this.viewport_));
136 var position = this.viewport_.position;
143 if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) {
144 this.viewport_.goToPage(this.viewport_.getMostVisiblePage() - 1);
154 if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) {
155 this.viewport_.goToPage(this.viewport_.getMostVisiblePage() + 1);
[all …]
/external/chromium_org/ash/wm/
Dworkspace_controller.cc42 : viewport_(viewport), in WorkspaceController()
47 viewport_, ::wm::ANIMATE_NONE); in WorkspaceController()
49 viewport_->SetLayoutManager(layout_manager_); in WorkspaceController()
50 viewport_->AddPreTargetHandler(event_handler_.get()); in WorkspaceController()
51 viewport_->AddPostTargetHandler(event_handler_.get()); in WorkspaceController()
55 viewport_->SetLayoutManager(NULL); in ~WorkspaceController()
56 viewport_->RemovePreTargetHandler(event_handler_.get()); in ~WorkspaceController()
57 viewport_->RemovePostTargetHandler(event_handler_.get()); in ~WorkspaceController()
64 viewport_->GetRootWindow())->GetWindowForFullscreenMode(); in GetWindowState()
78 viewport_->GetRootWindow(), kWindowContainerIds[idx]); in GetWindowState()
[all …]
Dworkspace_controller.h49 aura::Window* viewport_; variable
/external/chromium-trace/trace-viewer/src/tracing/
Dtimeline_track_view.js78 this.viewport_ = new Viewport(this);
82 new tracing.tracks.DrawingContainer(this.viewport_);
86 this.rulerTrack_ = new tracing.tracks.RulerTrack(this.viewport_);
90 new tracing.tracks.DrawingContainer(this.viewport_);
95 this.viewport_.modelTrackContainer = this.modelTrackContainer_;
97 this.modelTrack_ = new tracing.tracks.TraceModelTrack(this.viewport_);
171 this.viewport_.detach();
175 return this.viewport_;
204 this.viewport_.setWhenPossible(this.setInitialViewport_.bind(this));
230 this.viewport_.xSetWorldBounds(min - boost,
[all …]
Dtimeline_viewport.js357 this.viewport_ = vp;
369 this.viewport_.dispatchChangeEvent();
374 this.viewport_.dispatchChangeEvent();
/external/chromium_org/mojo/examples/compositor_app/
Dcompositor_app.cc27 ConnectTo("mojo:mojo_native_viewport_service", &viewport_); in Initialize()
28 viewport_.set_client(this); in Initialize()
30 viewport_->Create(Rect::From(gfx::Rect(10, 10, 800, 600))); in Initialize()
31 viewport_->Show(); in Initialize()
34 viewport_->CreateGLES2Context( in Initialize()
57 NativeViewportPtr viewport_; member in mojo::examples::SampleApp
/external/chromium-trace/trace-viewer/src/ui/
Drect_view.js24 this.viewport_ = undefined;
29 this.viewport_ = viewport;
39 if (this.viewport_ === undefined || this.rect_ === undefined)
42 var devicePixelsPerLayoutPixel = 1 / this.viewport_.devicePixelRatio;
49 this.viewport_.getWorldToDevicePixelsTransform());
52 this.viewport_.getWorldToDevicePixelsTransform());
Dquad_view.js72 this.viewport_ = undefined;
90 return this.viewport_;
94 if (this.viewport_)
95 this.viewport_.removeEventListener('change', this.onViewportChanged_);
96 this.viewport_ = viewport;
97 if (this.viewport_)
98 this.viewport_.addEventListener('change', this.onViewportChanged_);
118 this.viewport_ = this.viewport_ ||
125 this.viewport_;
150 var resizedCanvas = this.viewport_.updateBoxSize(this.canvas_);
[all …]
Dquad_stack.js40 this.viewport_ = undefined;
46 this.viewport_ = new ui.QuadViewViewport(unpaddedWorldRect);
48 this.viewport_.addEventListener('change', function() {
49 this.worldViewportRectView_.viewport = this.viewport_;
59 this.worldViewportRectView_.viewport = this.viewport_;
82 return this.viewport_;
133 curQuadView.viewport = that.viewport_;
/external/chromium_org/mojo/examples/sample_app/
Dsample_app.cc30 ConnectTo("mojo:mojo_native_viewport_service", &viewport_); in Initialize()
31 viewport_.set_client(this); in Initialize()
38 viewport_->Create(rect.Pass()); in Initialize()
39 viewport_->Show(); in Initialize()
42 viewport_->CreateGLES2Context(Get(&command_buffer)); in Initialize()
72 NativeViewportPtr viewport_; member in mojo::examples::SampleApp
/external/chromium_org/mojo/examples/pepper_container_app/
Dpepper_container_app.cc37 ConnectTo("mojo:mojo_native_viewport_service", &viewport_); in Initialize()
38 viewport_.set_client(this); in Initialize()
45 viewport_->Create(rect.Pass()); in Initialize()
46 viewport_->Show(); in Initialize()
89 viewport_->CreateGLES2Context(Get(&command_buffer)); in CreateGLES2Context()
96 NativeViewportPtr viewport_; member in mojo::examples::PepperContainerApp
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dimage_view.js17 this.viewport_ = viewport;
120 this.viewport_.getCacheGeneration()) {
121 this.displayedViewportGeneration_ = this.viewport_.getCacheGeneration();
133 this.paintDeviceRect(this.viewport_.getDeviceClipped(),
134 this.contentCanvas_, this.viewport_.getImageClipped());
147 if (this.viewport_.isClipped() &&
148 this.viewport_.getScreenClipped().inside(x, y))
163 return this.viewport_.createOffsetSetter(x, y);
222 var deviceBounds = this.viewport_.getDeviceClipped();
227 var bounds = this.viewport_.getImageBounds();
[all …]
Dimage_transform.js96 var screenClipped = this.viewport_.getScreenClipped();
98 var screenCrop = this.viewport_.imageToScreenRect(this.cropRect_.getRect());
218 this.viewport_ = viewport;
316 var R = this.viewport_.screenToImageSize(
369 this.viewport_.screenToImageX(x), this.viewport_.screenToImageY(y));
384 x = this.viewport_.screenToImageX(x);
385 y = this.viewport_.screenToImageY(y);
387 var clipRect = this.viewport_.getImageClipped();
460 self.viewport_.screenToImageX(x) + mouseBiasX,
467 self.viewport_.screenToImageY(y) + mouseBiasY,
[all …]
Dimage_editor.js34 this.viewport_ = viewport;
35 this.viewport_.sizeByFrame(this.container_);
38 this.viewport_.addRepaintCallback(this.buffer_.draw.bind(this.buffer_));
248 ImageEditor.prototype.getViewport = function() { return this.viewport_ };
288 ImageEditor.Mode.prototype.getViewport = function() { return this.viewport_ };
316 this.viewport_ = editor.getViewport();
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
Dimage_view.js17 this.viewport_ = viewport;
120 this.viewport_.getCacheGeneration()) {
121 this.displayedViewportGeneration_ = this.viewport_.getCacheGeneration();
133 this.paintDeviceRect(this.viewport_.getDeviceClipped(),
134 this.contentCanvas_, this.viewport_.getImageClipped());
147 if (this.viewport_.isClipped() &&
148 this.viewport_.getScreenClipped().inside(x, y))
163 return this.viewport_.createOffsetSetter(x, y);
222 var deviceBounds = this.viewport_.getDeviceClipped();
227 var bounds = this.viewport_.getImageBounds();
[all …]
Dimage_transform.js96 var screenClipped = this.viewport_.getScreenClipped();
98 var screenCrop = this.viewport_.imageToScreenRect(this.cropRect_.getRect());
218 this.viewport_ = viewport;
316 var R = this.viewport_.screenToImageSize(
369 this.viewport_.screenToImageX(x), this.viewport_.screenToImageY(y));
384 x = this.viewport_.screenToImageX(x);
385 y = this.viewport_.screenToImageY(y);
387 var clipRect = this.viewport_.getImageClipped();
460 self.viewport_.screenToImageX(x) + mouseBiasX,
467 self.viewport_.screenToImageY(y) + mouseBiasY,
[all …]
Dimage_editor.js34 this.viewport_ = viewport;
35 this.viewport_.sizeByFrame(this.container_);
38 this.viewport_.addRepaintCallback(this.buffer_.draw.bind(this.buffer_));
248 ImageEditor.prototype.getViewport = function() { return this.viewport_ };
288 ImageEditor.Mode.prototype.getViewport = function() { return this.viewport_ };
316 this.viewport_ = editor.getViewport();
/external/chromium_org/android_webview/browser/
Dhardware_renderer.cc131 output_surface_->SetDrawConstraints(viewport_, clip_); in DidBeginMainFrame()
200 draw_info->is_layer, transform, gfx::Rect(viewport_)); in DrawGL()
209 viewport_.SetSize(draw_info->width, draw_info->height); in DrawGL()
210 layer_tree_host_->SetViewportSize(viewport_); in DrawGL()
Dscoped_app_gl_state_restore.cc134 GLint viewport_[4]; member in android_webview::internal::ScopedAppGLStateRestoreImpl
205 glGetIntegerv(GL_VIEWPORT, viewport_); in ScopedAppGLStateRestoreImpl()
388 glViewport(viewport_[0], viewport_[1], viewport_[2], viewport_[3]); in ~ScopedAppGLStateRestoreImpl()
Dhardware_renderer.h76 gfx::Size viewport_; variable
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp351 explicit RenderState (const ViewportState& viewport_) in RenderState()
354 , viewport (viewport_) in RenderState()
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Dtrack.js35 this.viewport_ = viewport;
41 return this.viewport_;
/external/chromium_org/ui/file_manager/gallery/js/
Dslide_mode.js216 this.viewport_ = new Viewport();
220 this.viewport_,
224 this.viewport_,
385 return this.viewport_.getScreenClipped();
912 this.viewport_.sizeByFrameAndFit(this.container_);
913 this.viewport_.repaint();
/external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/
Dslide_mode.js216 this.viewport_ = new Viewport();
220 this.viewport_,
224 this.viewport_,
385 return this.viewport_.getScreenClipped();
912 this.viewport_.sizeByFrameAndFit(this.container_);
913 this.viewport_.repaint();
/external/chromium-trace/trace-viewer/src/tcmalloc/
Dtcmalloc_snapshot_view.js156 trackView.viewport_.dispatchChangeEvent();

12