Home
last modified time | relevance | path

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

/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
DAnimUtils.java203 final int oldHeight = view.getHeight(); in changeDimensions() local
205 final int deltaHeight = newHeight - oldHeight; in changeDimensions()
213 view.getLayoutParams().height = (int) (value * deltaHeight + oldHeight); in changeDimensions()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { in scale() argument
205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { in scale()
208 return Math.min(newWidth / oldWidth, newHeight / oldHeight); in scale()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java693 int oldHeight = Integer.MIN_VALUE; in measureVertical() local
700 oldHeight = 0; in measureVertical()
712 if (oldHeight != Integer.MIN_VALUE) { in measureVertical()
713 lp.height = oldHeight; in measureVertical()
970 int oldHeight = lp.height; in forceUniformWidth() local
975 lp.height = oldHeight; in forceUniformWidth()
DDotsPageIndicator.java312 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument