Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/animation/
DAnimUtils.java223 final int oldHeight = view.getHeight(); in changeDimensions() local
225 final int deltaHeight = newHeight - oldHeight; in changeDimensions()
234 view.getLayoutParams().height = (int) (value * deltaHeight + oldHeight); in changeDimensions()
/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/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java303 protected final void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
304 super.onSizeChanged(width, height, oldWidth, oldHeight); in onSizeChanged()
305 if (width != oldWidth || height != oldHeight) { in onSizeChanged()
/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