Home | History | Annotate | Download | only in imageshow

Lines Matching defs:SCALE

115         SCALE,
426 canvas.scale(maskScale, maskScale);
440 canvas.scale(finalScale, finalScale, centerX, centerY);
456 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY);
458 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY);
460 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY);
462 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY);
466 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY);
468 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY);
470 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY);
472 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY);
493 float scale = GeometryMathUtils.scale(imageWidth, imageHeight,
496 float w = imageWidth * scale;
497 float h = imageHeight * scale;
620 if (mInteractionMode == InteractionMode.SCALE) {
624 // If we were scaling, the scale will stop but we will
744 float scale = 1.0f;
748 scale = MasterImage.getImage().getMaxScaleFactor();
750 if (scale != MasterImage.getImage().getScaleFactor()) {
756 scale
763 if (scale != 1.0f) {
770 constrainTranslation(translation, scale);
810 private void constrainTranslation(Point translation, float scale) {
812 if (scale <= 1) {
830 float tx = screenPos.right - translation.x * scale;
831 translation.x = (int) ((getWidth() - mShadowMargin - tx) / scale);
834 float tx = screenPos.left - translation.x * scale;
835 translation.x = (int) ((mShadowMargin - tx) / scale);
839 float tx = screenPos.right - translation.x * scale;
841 translation.x = (int) ((getWidth() - mShadowMargin - tx - dx) / scale);
846 float ty = screenPos.bottom - translation.y * scale;
847 translation.y = (int) ((getHeight() - mShadowMargin - ty) / scale);
850 float ty = screenPos.top - translation.y * scale;
851 translation.y = (int) ((mShadowMargin - ty) / scale);
855 float ty = screenPos.bottom - translation.y * scale;
857 translation.y = (int) ((getHeight() - mShadowMargin - ty - dy) / scale);
957 mInteractionMode = InteractionMode.SCALE;