Searched refs:oldHeight (Results 1 – 4 of 4) sorted by relevance
203 final int oldHeight = view.getHeight(); in changeDimensions() local205 final int deltaHeight = newHeight - oldHeight; in changeDimensions()213 view.getLayoutParams().height = (int) (value * deltaHeight + oldHeight); in changeDimensions()
204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { in scale() argument205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { in scale()208 return Math.min(newWidth / oldWidth, newHeight / oldHeight); in scale()
693 int oldHeight = Integer.MIN_VALUE; in measureVertical() local700 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() local975 lp.height = oldHeight; in forceUniformWidth()
312 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument