Searched defs:newWidth (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | GeometryMathUtils.java | 155 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { argument 156 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { 159 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { argument 205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { 208 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
H A D | PhotoManager.java | 89 * @param newWidth The width of the canvas this request is drawing on. 93 protected boolean isSizeCompatible(int prevWidth, int prevHeight, int newWidth, int newHeight) { argument
|
Completed in 101 milliseconds