mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-27 06:57:59 +01:00
removing a redundant call
This commit is contained in:
parent
7dfafd7aa6
commit
6c019c8edc
2 changed files with 2 additions and 2 deletions
|
@ -808,7 +808,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||||
}
|
}
|
||||||
|
|
||||||
mRight = width * mSaveScale - width
|
mRight = width * mSaveScale - width
|
||||||
mBottom = video_surface.height * mSaveScale - height
|
mBottom = height * mSaveScale - height
|
||||||
if (0 <= width || 0 <= height) {
|
if (0 <= width || 0 <= height) {
|
||||||
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
||||||
if (scaleFactor < 1) {
|
if (scaleFactor < 1) {
|
||||||
|
|
|
@ -792,7 +792,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
||||||
}
|
}
|
||||||
|
|
||||||
mRight = width * mSaveScale - width
|
mRight = width * mSaveScale - width
|
||||||
mBottom = mTextureView.height * mSaveScale - height
|
mBottom = height * mSaveScale - height
|
||||||
if (0 <= width || 0 <= height) {
|
if (0 <= width || 0 <= height) {
|
||||||
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
||||||
if (scaleFactor < 1) {
|
if (scaleFactor < 1) {
|
||||||
|
|
Loading…
Reference in a new issue