Searched refs:zoom_ (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/resources/pdf/
H A Dviewport.js43 this.zoom_ = 1;
123 return this.documentNeedsScrollbars_(this.zoom_);
133 this.documentDimensions_.width * this.zoom_ + 'px';
135 this.documentDimensions_.height * this.zoom_ + 'px';
182 var needsScrollbars = this.documentNeedsScrollbars_(this.zoom_);
195 return this.zoom_;
223 var oldZoom = this.zoom_;
224 this.zoom_ = newZoom;
299 var firstVisiblePage = this.getPageAtY_(this.position.y / this.zoom_);
302 x: this.position.x / this.zoom_,
[all...]
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dviewport.js60 this.zoom_ = 1;
130 this.zoom_ = adjustedZoom;
139 return this.zoom_;
149 if (zoom > this.zoom_)
162 if (zoom < this.zoom_)
173 return this.zoom_ !== 1;
379 this.zoom_ = 1;
399 zoomedWidht = ~~(this.imageBounds_.width * this.scale_ * this.zoom_);
400 zoomedHeight = ~~(this.imageBounds_.height * this.scale_ * this.zoom_);
404 zoomedWidht = ~~(this.imageBounds_.height * scale * this.zoom_);
[all...]
/external/chromium_org/pdf/
H A Dinstance.cc275 zoom_(1.0),
529 if (engine_->GetPageRect(page).bottom() * zoom_ <=
539 if (engine_->GetPageRect(page).y() * zoom_ >= v_scrollbar_->GetValue())
648 OnGeometryChanged(zoom_, old_device_scale);
721 OnGeometryChanged(zoom_, device_scale_);
1078 return static_cast<int>(ceil(document_size_.width() * zoom_ * device_scale_));
1083 zoom_ *
1104 OnGeometryChanged(zoom_, device_scale_);
1191 ScrollToY(position * zoom_ * device_scale_);
1290 ZoomChanged(zoom_);
[all...]
H A Dout_of_process_instance.cc231 zoom_(1.0),
535 OnGeometryChanged(zoom_, old_device_scale);
738 return static_cast<int>(ceil(document_size_.width() * zoom_ * device_scale_));
743 ceil(document_size_.height() * zoom_ * device_scale_));
781 OnGeometryChanged(zoom_, device_scale_);
1243 if (zoom_ != old_zoom || device_scale_ != old_device_scale)
1244 engine_->ZoomUpdated(zoom_ * device_scale_);
1303 double old_zoom = zoom_;
1304 zoom_ = scale;
1368 int max_x = document_size_.width() * zoom_
[all...]
H A Dout_of_process_instance.h232 double zoom_; // Current zoom factor. member in class:chrome_pdf::OutOfProcessInstance
H A Dinstance.h373 double zoom_; // Current zoom factor. member in class:chrome_pdf::Instance
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dactive_indicator.js41 this.zoom_ = 1;
861 return (Math.round(x * this.zoom_) + 0.1) / this.zoom_;
875 var zoomedX = Math.round(x * this.zoom_);
876 var zoomedRight = Math.round((x + width) * this.zoom_);
878 return (zoomedWidth + 0.1) / this.zoom_;
995 this.zoom_ = newZoom;
/external/chromium_org/ui/compositor/
H A Dlayer.cc74 zoom_(1),
98 zoom_(1),
348 zoom_ = zoom;
389 if (zoom_ != 1)
390 filters.Append(cc::FilterOperation::CreateZoomFilter(zoom_, zoom_inset_));
H A Dlayer.h469 float zoom_; member in class:ui::Layer
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dtimeline_graph_view.js239 zoom_: function(ratio) {
272 this.zoom_(Math.pow(MOUSE_WHEEL_ZOOM_RATE,
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromePageScript.js1149 cvox.TableShifter.prototype.makeMoreGranular=function(){cvox.TableShifter.superClass_.makeMoreGranular.call(this);this.currentWalker_=this.columnWalker_};cvox.TableShifter.create=function(a){a=cvox.DomUtil.getAncestors(a.start.node);return cvox.DomPredicates.tablePredicate(a)&&!cvox.DomPredicates.captionPredicate(a)?new cvox.TableShifter:null};cvox.ActiveIndicator=function(){this.lastMoveTime_=0;this.zoom_=1;this.updateIndicatorTimeoutId_=this.lastClientRects_=this.lastSyncTarget_=this.container_=null;this.blurred_=!1;window.addEventListener("focus",goog.bind(function(){this.blurred_=!1;this.container_&&this.container_.classList.remove("cvox_indicator_window_not_focused")},this),!1);window.addEventListener("blur",goog.bind(function(){this.blurred_=!0;this.container_&&this.container_.classList.add("cvox_indicator_window_not_focused")},this),
1168 cvox.ActiveIndicator.prototype.createDiv_=function(a,b,c){var d=document.createElement("div");d.className=b;c?a.insertBefore(d,c):a.appendChild(d);return d};cvox.ActiveIndicator.prototype.fixZoom_=function(a){return(Math.round(a*this.zoom_)+.1)/this.zoom_};cvox.ActiveIndicator.prototype.fixZoomSum_=function(a,b){var c=Math.round(a*this.zoom_),d=Math.round((a+b)*this.zoom_),c=d-c;return(c+.1)/this.zoom_};
1172 var b=5E3/a.clientHeight,b=Math.round(500*b)/500;.1<b&&10>b&&(this.zoom_=b);a.parentNode.removeChild(a)}};cvox.NavigationHistory=function(){this.reset_()};cvox.NavigationHistory.MAX_HISTORY_LEN_=30;cvox.NavigationHistory.prototype.reset_=function(){var a=document.body;this.history_=[a];this.arrivedValid_=!0};cvox.NavigationHistory.prototype.update=function(a){var b=this.history_[0];a&&a!=b&&this.history_.unshift(a);this.history_.length>cvox.NavigationHistory.MAX_HISTORY_LEN_&&this.history_.pop();this.arrivedValid_=this.isValidNode_(a)};

Completed in 301 milliseconds