Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DEmbeddedContentContainer.java39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { in onSizeChanged() argument
40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in onSizeChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java319 private void animateChild(int oldHeight, int newHeight) { in animateChild() argument
334 int toTop = fromTop - ((newHeight - oldHeight) / 2); in animateChild()
335 int toBottom = fromBottom + ((newHeight - oldHeight) / 2); in animateChild()
/frameworks/base/core/java/android/widget/
DImageView.java472 final int oldHeight = mDrawableHeight;
480 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
530 final int oldHeight = mDrawableHeight;
534 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
566 final int oldHeight = mDrawableHeight;
570 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
DPopupWindow.java2260 final int oldHeight = p.height;
2278 || oldWidth != p.width || oldHeight != p.height;
DLinearLayout.java1063 int oldHeight = lp.height; in forceUniformWidth() local
1068 lp.height = oldHeight; in forceUniformWidth()
DListView.java2845 int oldHeight = child.getHeight(); in measureAndAdjustDown() local
2847 if (child.getMeasuredHeight() != oldHeight) { in measureAndAdjustDown()
2852 final int heightDelta = child.getMeasuredHeight() - oldHeight; in measureAndAdjustDown()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAlertDialogLayout.java227 final int oldHeight = lp.height; in forceUniformWidth() local
232 lp.height = oldHeight; in forceUniformWidth()
DLinearLayoutCompat.java646 int oldHeight = Integer.MIN_VALUE; in measureVertical() local
653 oldHeight = 0; in measureVertical()
665 if (oldHeight != Integer.MIN_VALUE) { in measureVertical()
666 lp.height = oldHeight; in measureVertical()
905 int oldHeight = lp.height; in forceUniformWidth() local
910 lp.height = oldHeight; in forceUniformWidth()
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java235 final int oldHeight = lp.height; in forceUniformWidth() local
240 lp.height = oldHeight; in forceUniformWidth()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1704 constexpr int oldHeight = 10; in TEST_F() local
1722 display.mutableDrawingDisplayState().height = oldHeight; in TEST_F()
1724 display.mutableCurrentDisplayState().height = oldHeight; in TEST_F()
1730 EXPECT_CALL(*displaySurface, resizeBuffers(newWidth, oldHeight)).Times(1); in TEST_F()
1733 EXPECT_CALL(*renderSurface, queryHeight()).WillOnce(Return(oldHeight)); in TEST_F()
1745 constexpr int oldHeight = 10; in TEST_F() local
1763 display.mutableDrawingDisplayState().height = oldHeight; in TEST_F()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp498 uint32_t oldHeight = def->format.video.nFrameHeight; in internalSetParameter() local
509 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircledImageView.java652 public void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { in onSizeChanged() argument
653 if (newWidth != oldWidth || newHeight != oldHeight) { in onSizeChanged()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp508 const uint32_t oldHeight = mHeight; in internalSetParameter() local
510 if (mWidth != oldWidth || mHeight != oldHeight) { in internalSetParameter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java461 private void startQsSizeChangeAnimation(int oldHeight, final int newHeight) { in startQsSizeChangeAnimation() argument
463 oldHeight = (int) mQsSizeChangeAnimator.getAnimatedValue(); in startQsSizeChangeAnimation()
466 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight); in startQsSizeChangeAnimation()
2674 final int oldHeight = oldBottom - oldTop;
2675 if (height != oldHeight) {
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPagingIndicator.java395 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteControllerDialog.java617 int oldHeight = getLayoutHeight(mMediaMainControlLayout); in updateLayoutHeightInternal() local
624 setLayoutHeight(mMediaMainControlLayout, oldHeight); in updateLayoutHeightInternal()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteControllerDialog.java610 int oldHeight = getLayoutHeight(mMediaMainControlLayout); in updateLayoutHeightInternal() local
617 setLayoutHeight(mMediaMainControlLayout, oldHeight); in updateLayoutHeightInternal()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1361 final int oldHeight = holder.row.getLayoutParams().height; in bindViewHolder() local
1363 if (holder.row.getLayoutParams().height != oldHeight) { in bindViewHolder()
/frameworks/base/core/java/android/view/
DView.java15182 int oldHeight = mBottom - mTop; in setTop() local
15187 sizeChange(width, mBottom - mTop, width, oldHeight); in setTop()
15251 int oldHeight = mBottom - mTop; in setBottom() local
15256 sizeChange(width, mBottom - mTop, width, oldHeight); in setBottom()
20791 int oldHeight = mBottom - mTop; in setFrame() local
20794 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); in setFrame()
20809 sizeChange(newWidth, newHeight, oldWidth, oldHeight); in setFrame()
20847 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { in sizeChange() argument
20848 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in sizeChange()
20866 } else if (oldWidth <= 0 || oldHeight <= 0) { in sizeChange()