Home
last modified time | relevance | path

Searched refs:scaleHeight (Results 1 – 1 of 1) sorted by relevance

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1415 float scaleHeight = scale * sHeight();
1419 vTranslate.y = Math.max(vTranslate.y, getHeight()/2 - scaleHeight);
1422 vTranslate.y = Math.max(vTranslate.y, getHeight() - scaleHeight);
1425 vTranslate.y = Math.max(vTranslate.y, -scaleHeight);
1439 maxTy = Math.max(0, (getHeight() - scaleHeight) * yPaddingRatio);
2404 float scaleHeight = scale * sHeight(); in getPanRemaining() local
2409 vTarget.bottom = Math.max(0, vTranslate.y - ((getHeight() / 2) - scaleHeight)); in getPanRemaining()
2414 vTarget.bottom = Math.max(0, vTranslate.y + scaleHeight); in getPanRemaining()
2419 vTarget.bottom = Math.max(0, (scaleHeight + vTranslate.y) - getHeight()); in getPanRemaining()