Searched refs:startBounds (Results 1 – 3 of 3) sorted by relevance
85 final Rect startBounds = new Rect(); in zoomImageFromThumb() local88 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()[all …]
121 final Rect startBounds = new Rect(); in zoomImageFromThumb() local129 thumbView.getGlobalVisibleRect(startBounds); in zoomImageFromThumb()131 startBounds.offset(-globalOffset.x, -globalOffset.y); in zoomImageFromThumb()139 > (float) startBounds.width() / startBounds.height()) { in zoomImageFromThumb()141 startScale = (float) startBounds.height() / finalBounds.height(); in zoomImageFromThumb()143 float deltaWidth = (startWidth - startBounds.width()) / 2; in zoomImageFromThumb()144 startBounds.left -= deltaWidth; in zoomImageFromThumb()145 startBounds.right += deltaWidth; in zoomImageFromThumb()148 startScale = (float) startBounds.width() / finalBounds.width(); in zoomImageFromThumb()150 float deltaHeight = (startHeight - startBounds.height()) / 2; in zoomImageFromThumb()[all …]
231 Rect startBounds = listViewItemBounds.get(itemId); in addRow()232 bitmapDrawable.setBounds(startBounds); in addRow()234 int childHeight = startBounds.bottom - startBounds.top + getDividerHeight(); in addRow()235 Rect endBounds = new Rect(startBounds); in addRow()239 "bounds", sBoundsEvaluator, startBounds, endBounds); in addRow()