Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java113 private Point mImageShowSize = new Point(); field in MasterImage
557 if (mImageShowSize.x != w || mImageShowSize.y != h) { in setImageShowSize()
558 mImageShowSize.set(w, h); in setImageShowSize()
575 || mImageShowSize.x == 0 in computeImageToScreen()
576 || mImageShowSize.y == 0) { in computeImageToScreen()
590 mImageShowSize.x, mImageShowSize.y); in computeImageToScreen()
596 scale = mImageShowSize.x / size.width(); in computeImageToScreen()
598 scale = mImageShowSize.y / size.height(); in computeImageToScreen()
600 translateX = (mImageShowSize.x - (size.width() * scale)) / 2.0f; in computeImageToScreen()
601 translateY = (mImageShowSize.y - (size.height() * scale)) / 2.0f; in computeImageToScreen()
[all …]