Searched refs:vheight (Results 1 – 3 of 3) sorted by relevance
135 int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() local144 vheight -= 2 * (mFrameWidth - 1); in configureBounds()146 dheight = vheight; in configureBounds()157 (float) vheight / (float) dheight); in configureBounds()160 dy = (int) ((vheight - dheight * scale) * 0.5f + 0.5f); in configureBounds()
1102 int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() local1105 (dheight < 0 || vheight == dheight); in configureBounds()1111 mDrawable.setBounds(0, 0, vwidth, vheight); in configureBounds()1132 Math.round((vheight - dheight) * 0.5f)); in configureBounds()1139 if (dwidth * vheight > vwidth * dheight) { in configureBounds()1140 scale = (float) vheight / (float) dheight; in configureBounds()1144 dy = (vheight - dheight * scale) * 0.5f; in configureBounds()1155 if (dwidth <= vwidth && dheight <= vheight) { in configureBounds()1159 (float) vheight / (float) dheight); in configureBounds()1163 dy = Math.round((vheight - dheight * scale) * 0.5f); in configureBounds()[all …]
838 final int vheight = getHeight(); in configureBounds() local841 (dheight < 0 || vheight == dheight); in configureBounds()869 final int vheight = mAllowCrop ? sCropSize : getHeight(); in generateMatrix() local872 (dheight < 0 || vheight == dheight); in generateMatrix()882 mTempDst.set(0, 0, vwidth, vheight); in generateMatrix()886 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2), in generateMatrix()888 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2)); in generateMatrix()903 final int vheight = mAllowCrop ? getCropSize() : getHeight(); in generateScale() local905 if (dwidth < vwidth && dheight < vheight && !mAllowCrop) { in generateScale()