Home
last modified time | relevance | path

Searched refs:oldHeight (Results 1 – 17 of 17) 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/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_DisplayTransactionCommitTest.cpp650 constexpr int oldHeight = 10; in TEST_F() local
669 .WillOnce(DoAll(SetArgPointee<1>(oldHeight), Return(0))); in TEST_F()
678 display.mutableDrawingDisplayState().height = oldHeight; in TEST_F()
680 display.mutableCurrentDisplayState().height = oldHeight; in TEST_F()
685 EXPECT_CALL(*displaySurface, resizeBuffers(ui::Size(newWidth, oldHeight))).Times(1); in TEST_F()
697 constexpr int oldHeight = 10; in TEST_F() local
714 .WillOnce(DoAll(SetArgPointee<1>(oldHeight), Return(0))); in TEST_F()
723 display.mutableDrawingDisplayState().height = oldHeight; in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsActivityTest.kt128 val oldHeight = configuration.screenHeightDp in swapHeightWidth() constant
131 configuration.screenWidthDp = oldHeight in swapHeightWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManager.kt158 val (oldWidth, oldHeight) = displayedState.drawableSize in <lambda>() constant
161 if (oldWidth != newWidth || oldHeight != newHeight) { in <lambda>()
165 "$oldWidth X $oldHeight with Drawable $newWidth X $newHeight." in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusViewController.java137 int oldHeight = oldBottom - oldTop;
138 int diff = v.getHeight() - oldHeight;
210 int oldHeight = oldBottom - oldTop; in onInit() local
211 if (v.getHeight() == oldHeight) return; in onInit()
/frameworks/base/core/java/android/widget/
DImageView.java501 final int oldHeight = mDrawableHeight;
509 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
560 final int oldHeight = mDrawableHeight;
564 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
597 final int oldHeight = mDrawableHeight;
601 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
DPopupWindow.java2420 final int oldHeight = p.height;
2438 || oldWidth != p.width || oldHeight != p.height;
DLinearLayout.java1116 int oldHeight = lp.height; in forceUniformWidth() local
1121 lp.height = oldHeight; in forceUniformWidth()
DListView.java2861 int oldHeight = child.getHeight(); in measureAndAdjustDown() local
2863 if (child.getMeasuredHeight() != oldHeight) { in measureAndAdjustDown()
2868 final int heightDelta = child.getMeasuredHeight() - oldHeight; in measureAndAdjustDown()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DBitmapTransitionView.kt80 override fun onSizeChanged(width: Int, height: Int, oldWidth: Int, oldHeight: Int) { in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertDialogLayout.java236 final int oldHeight = lp.height; in forceUniformWidth() local
241 lp.height = oldHeight; in forceUniformWidth()
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java237 final int oldHeight = lp.height; in forceUniformWidth() local
242 lp.height = oldHeight; in forceUniformWidth()
/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/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp498 uint32_t oldHeight = def->format.video.nFrameHeight; in internalSetParameter() local
510 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java858 private void startSizeChangeAnimation(int oldHeight, final int newHeight) { in startSizeChangeAnimation() argument
860 oldHeight = (int) mSizeChangeAnimator.getAnimatedValue(); in startSizeChangeAnimation()
863 mSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight); in startSizeChangeAnimation()
2186 final int oldHeight = oldBottom - oldTop; in onFragmentViewCreated() local
2187 if (height != oldHeight) { in onFragmentViewCreated()
DNotificationPanelViewController.java1331 int oldHeight = oldBottom - oldTop; in updateStatusViewController() local
1332 if (v.getHeight() != oldHeight) { in updateStatusViewController()
/frameworks/base/core/java/android/view/
DView.java19529 int oldHeight = mBottom - mTop; in setTop() local
19534 sizeChange(width, mBottom - mTop, width, oldHeight); in setTop()
19594 int oldHeight = mBottom - mTop; in setBottom() local
19599 sizeChange(width, mBottom - mTop, width, oldHeight); in setBottom()
25499 int oldHeight = mBottom - mTop; in setFrame() local
25502 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); in setFrame()
25517 sizeChange(newWidth, newHeight, oldWidth, oldHeight); in setFrame()
25564 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { in sizeChange() argument
25589 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in sizeChange()
25607 } else if (oldWidth <= 0 || oldHeight <= 0) { in sizeChange()