Searched refs:vheight (Results 1 – 2 of 2) sorted by relevance
1290 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() local1293 && (dheight < 0 || vheight == dheight); in configureBounds()1299 mDrawable.setBounds(0, 0, vwidth, vheight); in configureBounds()1320 Math.round((vheight - dheight) * 0.5f)); in configureBounds()1327 if (dwidth * vheight > vwidth * dheight) { in configureBounds()1328 scale = (float) vheight / (float) dheight; in configureBounds()1332 dy = (vheight - dheight * scale) * 0.5f; in configureBounds()1343 if (dwidth <= vwidth && dheight <= vheight) { in configureBounds()1347 (float) vheight / (float) dheight); in configureBounds()1351 dy = Math.round((vheight - dheight * scale) * 0.5f); in configureBounds()[all …]
809 final int vheight = getHeight(); in configureBounds() local812 (dheight < 0 || vheight == dheight); in configureBounds()840 final int vheight = mAllowCrop ? sCropSize : getHeight(); in generateMatrix() local843 (dheight < 0 || vheight == dheight); in generateMatrix()853 mTempDst.set(0, 0, vwidth, vheight); in generateMatrix()857 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2), in generateMatrix()859 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2)); in generateMatrix()874 final int vheight = mAllowCrop ? getCropSize() : getHeight(); in generateScale() local876 if (dwidth < vwidth && dheight < vheight && !mAllowCrop) { in generateScale()