Lines Matching defs:scale

34     // Zoom scale is applied after the transform that fits the image screen,
69 // The zoom scale
244 * @return The scale
276 float scale = Math.min(widthScale, heightScale);
277 matrix.postScale(scale, scale);
278 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F);
303 * Sets the maximum zoom, which is a scale relative to the base matrix. It
321 * Sets the maximum zoom, which is a scale relative to the base matrix. It
335 * Ensure the scale factor is within limits
337 * @param scale The scale factor
341 private float correctedZoomScale(float scale) {
342 float result = scale;
353 * Zoom to the specified scale factor
355 * @param scale The scale factor
359 public void zoomTo(float scale, float centerX, float centerY) {
360 float correctedScale = correctedZoomScale(scale);
371 * Zoom to the specified scale factor
373 * @param scale The scale factor
375 public void zoomTo(float scale) {
379 zoomTo(scale, cx, cy);
383 * Zoom to the specified scale factor and center point
385 * @param scale The scale factor
389 public void zoomToPoint(float scale, float pointX, float pointY) {
394 zoomTo(scale, cx, cy);
398 * Zoom to the specified scale factor and point
400 * @param scale The scale factor
404 public void zoomToOffset(float scale, float pointX, float pointY) {
406 float correctedScale = correctedZoomScale(scale);
418 * Zoom in by a preset scale rate
425 * Zoom in by the specified scale rate
427 * @param rate The scale rate
440 * Zoom out by a preset scale rate
447 * Zoom out by the specified scale rate
449 * @param rate The scale rate