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()
1034 int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() local1037 (dheight < 0 || vheight == dheight); in configureBounds()1043 mDrawable.setBounds(0, 0, vwidth, vheight); in configureBounds()1064 (int) ((vheight - dheight) * 0.5f + 0.5f)); in configureBounds()1071 if (dwidth * vheight > vwidth * dheight) { in configureBounds()1072 scale = (float) vheight / (float) dheight; in configureBounds()1076 dy = (vheight - dheight * scale) * 0.5f; in configureBounds()1087 if (dwidth <= vwidth && dheight <= vheight) { in configureBounds()1091 (float) vheight / (float) dheight); in configureBounds()1095 dy = (int) ((vheight - dheight * scale) * 0.5f + 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()