Home | History | Annotate | Download | only in ui

Lines Matching refs:mCurrentScale

252             b.mCurrentScale = b.mScaleMin;
326 b.mCurrentScale = getMinimalScale(b);
329 b.mCurrentScale *= ratio;
353 b.mCurrentScale = Math.max(r.width() / (float) b.mImageW,
449 b.mCurrentScale = b.mToScale;
481 float tempX = (tapX - mPlatform.mCurrentX) / b.mCurrentScale;
482 float tempY = (tapY - b.mCurrentY) / b.mCurrentScale;
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f);
507 mFocusY = (int) ((focusY - b.mCurrentY) / b.mCurrentScale + 0.5f);
583 calculateStableBound(b.mCurrentScale);
612 startAnimation(x, y, b.mCurrentScale, ANIM_KIND_SCROLL);
647 startAnimation(x, b.mCurrentY, b.mCurrentScale, ANIM_KIND_SCROLL);
655 b.doAnimation(y, b.mCurrentScale, ANIM_KIND_SCROLL);
664 if (viewWiderThanScaledImage(b.mCurrentScale) &&
665 viewTallerThanScaledImage(b.mCurrentScale)) {
688 return startAnimation(targetX, targetY, b.mCurrentScale, ANIM_KIND_FLING);
708 targetX, b.mCurrentY, b.mCurrentScale, ANIM_KIND_FLING_X);
739 if (b.doAnimation(targetY, b.mCurrentScale, ANIM_KIND_DELETE)) {
829 return (int) (b.mImageW * b.mCurrentScale + 0.5f);
834 return (int) (b.mImageH * b.mCurrentScale + 0.5f);
945 b.mCurrentScale = b.mScaleMin;
963 b.mCurrentScale = b.mScaleMin;
1189 return isAlmostEqual(b.mCurrentScale, b.mScaleMin);
1210 return b.mCurrentScale;
1216 calculateStableBound(b.mCurrentScale);
1360 ? b.mCurrentScale : b.mToScale;
1455 float scale = Utils.clamp(b.mCurrentScale, scaleMin, scaleMax);
1472 float scaleDiff = b.mCurrentScale - scale;
1554 calculateStableBound(b.mCurrentScale);
1612 public float mCurrentScale, mFromScale, mToScale;
1635 scale = Utils.clamp(mCurrentScale, scaleMin, scaleMax);
1644 float scaleDiff = mCurrentScale - scale;
1654 if (mCurrentY != y || mCurrentScale != scale) {
1663 if (mCurrentY == targetY && mCurrentScale == targetScale
1671 mFromScale = mCurrentScale;
1698 calculateStableBound(mCurrentScale);
1718 mCurrentScale = mToScale;
1722 mCurrentScale = mFromScale + progress * (mToScale - mFromScale);
1725 mCurrentScale *= f;
1728 return (mCurrentY == mToY && mCurrentScale == mToScale);