Home
last modified time | relevance | path

Searched refs:oldHeight (Results 1 – 10 of 10) 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/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DRoundedRectImageView.java114 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
115 super.onSizeChanged(width, height, oldWidth, oldHeight); in onSizeChanged()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHeightRecordTest.java582 Length oldHeight = Length.fromMeters(1.0); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() local
583 insertAndReadRecords(recordCount, oldVersion, oldHeight); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData()
598 Length oldHeight = Length.fromMeters(1.0); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() local
599 insertAndReadRecords(recordCount, version, oldHeight); in insertRecords_sameClientRecordIdAndSameVersion_readNewData()
613 Length oldHeight = Length.fromMeters(1.0); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() local
614 insertAndReadRecords(recordCount, oldVersion, oldHeight); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData()
621 assertThat(record.getHeight()).isEqualTo(oldHeight); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData()
/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.java694 int oldHeight = Integer.MIN_VALUE; in measureVertical() local
701 oldHeight = 0; in measureVertical()
713 if (oldHeight != Integer.MIN_VALUE) { in measureVertical()
714 lp.height = oldHeight; in measureVertical()
971 int oldHeight = lp.height; in forceUniformWidth() local
976 lp.height = oldHeight; in forceUniformWidth()
DDotsPageIndicator.java314 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
/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
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java212 int oldHeight = oldBottom - oldTop;
213 if (oldHeight == newHeight) {
216 logIfDebuggable("container height change from " + oldHeight + " to " + newHeight);