Searched defs:newHeight (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/crop/
H A DGeometryMathUtils.java155 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/UnifiedEmail/src/com/android/mail/browse/
H A DConversationViewHeader.java64 * @param newHeight the new height in px
66 void onConversationViewHeaderHeightChange(int newHeight); argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSecureConversationViewFragment.java216 public void onConversationViewHeaderHeightChange(int newHeight) { argument
H A DAbstractConversationViewFragment.java174 public abstract void onConversationViewHeaderHeightChange(int newHeight); argument
H A DConversationViewFragment.java882 public void onConversationViewHeaderHeightChange(int newHeight) { argument
883 final int h = mWebView.screenPxToWebPx(newHeight);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMathUtils.java204 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 DPhotoManager.java90 * @param newHeight The height of the canvas this request is drawing on.
93 protected boolean isSizeCompatible(int prevWidth, int prevHeight, int newWidth, int newHeight) { argument

Completed in 182 milliseconds