Home | History | Annotate | Download | only in launcher2

Lines Matching refs:sourceHeight

74         int sourceHeight = icon.getHeight();
75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
79 (sourceHeight - textureHeight) / 2,
81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
116 int sourceHeight = icon.getIntrinsicHeight();
117 if (sourceWidth > 0 && sourceHeight > 0) {
119 if (width < sourceWidth || height < sourceHeight) {
121 final float ratio = (float) sourceWidth / sourceHeight;
122 if (sourceWidth > sourceHeight) {
124 } else if (sourceHeight > sourceWidth) {
127 } else if (sourceWidth < width && sourceHeight < height) {
130 height = sourceHeight;