Lines Matching full:scale
249 // Get the scale factor out of the matrix.
271 float scale = Math.min(widthScale, heightScale);
274 matrix.postScale(scale, scale);
277 (viewWidth - w * scale) / 2F,
278 (viewHeight - h * scale) / 2F);
292 // Sets the maximum zoom, which is a scale relative to the base matrix. It
307 protected void zoomTo(float scale, float centerX, float centerY) {
308 if (scale > mMaxZoom) {
309 scale = mMaxZoom;
313 float deltaScale = scale / oldScale;
320 protected void zoomTo(final float scale, final float centerX,
322 final float incrementPerMs = (scale - getScale()) / durationMs;
340 protected void zoomTo(float scale) {
344 zoomTo(scale, cx, cy);
347 protected void zoomToPoint(float scale, float pointX, float pointY) {
352 zoomTo(scale, cx, cy);