Lines Matching refs:startBounds
85 final Rect startBounds = new Rect(); in zoomImageFromThumb() local
88 thumbView.getGlobalVisibleRect(startBounds); in zoomImageFromThumb()
90 startBounds.offset(-globalOffset.x, -globalOffset.y); in zoomImageFromThumb()
94 > (float) startBounds.width() / startBounds.height()) { in zoomImageFromThumb()
95 startScale = (float) startBounds.height() / finalBounds.height(); in zoomImageFromThumb()
97 float deltaWidth = (startWidth - startBounds.width()) / 2; in zoomImageFromThumb()
98 startBounds.left -= deltaWidth; in zoomImageFromThumb()
99 startBounds.right += deltaWidth; in zoomImageFromThumb()
101 startScale = (float) startBounds.width() / finalBounds.width(); in zoomImageFromThumb()
103 float deltaHeight = (startHeight - startBounds.height()) / 2; in zoomImageFromThumb()
104 startBounds.top -= deltaHeight; in zoomImageFromThumb()
105 startBounds.bottom += deltaHeight; in zoomImageFromThumb()
118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( in zoomImageFromThumb()
119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds in zoomImageFromThumb()
152 .ofFloat(expandedImageView, View.X, startBounds.left)) in zoomImageFromThumb()
155 View.Y, startBounds.top)) in zoomImageFromThumb()