Lines Matching refs:sourceWidth
256 int sourceWidth = icon.getIntrinsicWidth();258 if (sourceWidth > 0 && sourceHeight > 0) {260 final float ratio = (float) sourceWidth / sourceHeight;261 if (sourceWidth > sourceHeight) {263 } else if (sourceHeight > sourceWidth) {