Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/animation/
DAnimUtils.java222 final int oldHeight = view.getHeight(); in changeDimensions() local
224 final int deltaHeight = newHeight - oldHeight; in changeDimensions()
233 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.java252 protected final void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
253 super.onSizeChanged(width, height, oldWidth, oldHeight); in onSizeChanged()
254 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.java314 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java314 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DMultiSelectListPreferenceFragment.java85 int oldHeight = recyclerView.getPaddingTop(); in onViewCreated()
87 recyclerView.scrollBy(0, oldHeight - newHeight); in onViewCreated()
DListPreferenceFragment.java84 int oldHeight = carUiRecyclerView.getPaddingTop(); in onViewCreated()
86 carUiRecyclerView.scrollBy(0, oldHeight - newHeight); in onViewCreated()
DPreferenceFragment.java97 int oldHeight = recyclerView.getPaddingTop(); in onViewCreated()
99 recyclerView.scrollBy(0, oldHeight - newHeight); in onViewCreated()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DRecordButton.java75 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument