Searched refs:mImageShowSize (Results 1 – 1 of 1) sorted by relevance
113 private Point mImageShowSize = new Point(); field in PrimaryImage557 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 …]