Home
last modified time | relevance | path

Searched refs:iconHeight (Results 1 – 1 of 1) sorted by relevance

/development/samples/Home/src/com/example/android/home/
DHome.java631 final int iconHeight = icon.getIntrinsicHeight(); in getView() local
639 if (width > 0 && height > 0 && (width < iconWidth || height < iconHeight)) { in getView()
640 final float ratio = (float) iconWidth / iconHeight; in getView()
642 if (iconWidth > iconHeight) { in getView()
644 } else if (iconHeight > iconWidth) { in getView()