mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-18 13:00:36 +01:00
removing a redundant call
This commit is contained in:
parent
7dfafd7aa6
commit
6c019c8edc
@ -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…
x
Reference in New Issue
Block a user