HomeSort by relevance Sort by last modified time
    Searched refs:sourceHeight (Results 1 - 3 of 3) sorted by null

  /frameworks/policies/base/phone/com/android/internal/policy/impl/
IconUtilities.java 125 int sourceHeight = icon.getIntrinsicHeight();
129 if (width < sourceWidth || height < sourceHeight) {
131 final float ratio = (float) sourceWidth / sourceHeight;
132 if (sourceWidth > sourceHeight) {
134 } else if (sourceHeight > sourceWidth) {
137 } else if (sourceWidth < width && sourceHeight < height) {
140 height = sourceHeight;
  /packages/apps/Gallery3D/src/com/cooliris/media/
AdaptiveBackgroundTexture.java 93 int sourceHeight = source.getHeight();
97 float fitY = (float) sourceHeight / (float) destHeight;
108 cropY = (sourceHeight - cropHeight) / 2;
113 cropHeight = sourceHeight;
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 122 int sourceHeight = icon.getIntrinsicHeight();
126 if (width < sourceWidth || height < sourceHeight) {
128 final float ratio = (float) sourceWidth / sourceHeight;
129 if (sourceWidth > sourceHeight) {
131 } else if (sourceHeight > sourceWidth) {
134 } else if (sourceWidth < width && sourceHeight < height) {
137 height = sourceHeight;

Completed in 290 milliseconds