Home | History | Annotate | Download | only in webkit

Lines Matching defs:zoom

32  * The ZoomManager is responsible for maintaining the WebView's current zoom
33 * level state. It is also responsible for managing the on-screen zoom controls
36 * Currently, there are two methods for animating the zoom of a WebView.
39 * length animation where the final zoom scale is known at startup. This type of
56 // Widgets responsible for the on-screen zoom functions of the WebView.
62 * default zoom scale.
84 * picture from webkit and use that width to enter into zoom overview mode.
89 * When in the zoom overview mode, the page's width is fully fit to the
93 * mode, but this value should only be modified by changes to the zoom
101 * These variables track the center point of the zoom and they are used to
102 * determine the point around which we should zoom. They are stored in view
128 * is important because the zoom may have potentially reflowed the text and
139 * The default zoom scale is the scale factor used when the user triggers a
140 * zoom in by double tapping on the WebView. The value is initially set
155 * The factor that is used to tweak the zoom scale on a double-tap,
166 // the current computed zoom scale and its inverse.
185 * The following member variables are only to be used for animating zoom. If
186 * mZoomScale is non-zero then we are in the middle of a zoom animation. The
229 * Initialize both the default and actual zoom scale to the given density.
246 * Update the default zoom scale using the given density. It will also reset
247 * the current min and max zoom scales to the default boundaries as well as
258 // Remember the current zoom density before it gets changed.
263 // adjust the scale if it falls outside the new zoom bounds
275 // Keeps max zoom scale when zoom density changes.
281 // Keeps min zoom scale when zoom density changes.
316 * Returns the zoom scale used for reading text on a double-tap.
389 return zoom(1.25f);
393 return zoom(0.8f);
396 // returns TRUE if zoom out succeeds and FALSE if no zoom changes.
397 private boolean zoom(float zoomMultiplier) {
411 * Initiates an animated zoom of the WebView.
433 // use mZoomPickerScale to see zoom preview first
447 * This method is called by the WebView's drawing code when a fixed length zoom
463 + "zoom animation when no zoom is in progress");
502 // We've reached the end of the zoom animation.
505 // Ensure that the zoom level is pushed to WebCore. This has not
545 // determine whether or not we are in the zoom overview mode
573 // If this is part of a zoom on a HW accelerated canvas, we
591 // zoom animation. But we want to update the WebKit at the
592 // end of the zoom animation. See comments in onScaleEnd().
613 * the screen. If the plugin is already maximized then zoom the user into
625 // User takes action, set initial zoom overview to false.
637 // remove the zoom control after double tap
641 * If the double tap was on a plugin then either zoom to maximize the
662 // In case first time reflow or in zoom overview mode, let reflow and zoom
721 // Re-calculate the zoom center so that the new scroll x will be
773 // currently only animating a multi-touch zoom and fixed length
862 // if scale is limited by any reason, don't zoom but do ask
904 // don't reflow when zoom in; when zoom out, do reflow if the
907 // force zoom after mPreviewZoomOnly is set to false so that the
911 // call invalidate() to draw without zoom filter
921 // reset zoom and anchor to the top left corner of the screen
931 // update mMinZoomScale if the minimum zoom scale is not fixed
959 // Remember the zoom overview state right after rotation since
985 // update the zoom buttons as the scale can be changed
1018 * Updates zoom values when Webkit produces a new picture. This method
1030 // the text wrap scale is the same as zoom overview scale.
1046 // Make sure the actual scale is no less than zoom overview scale.
1071 * Set up correct zoom overview width based on different settings.
1082 // ignored for zoom overview width update.
1087 // If not use wide viewport, use view width as the zoom overview width.
1098 * Updates zoom values after Webkit completes the initial page layout. It
1101 * zoom levels to the state they were when you left the page). This method
1157 // update the zoom buttons as the scale can be changed
1223 * The embedded zoom control intercepts touch events and automatically stays
1251 // Turn off initial zoom overview flag when a page is fully loaded.