Home
last modified time | relevance | path

Searched refs:oldWidth (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.cpp649 constexpr int oldWidth = 0; in TEST_F() local
667 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
677 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
696 constexpr int oldWidth = 0; in TEST_F() local
712 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
722 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
724 display.mutableCurrentDisplayState().width = oldWidth; in TEST_F()
730 EXPECT_CALL(*displaySurface, resizeBuffers(ui::Size(oldWidth, newHeight))).Times(1); in TEST_F()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/
DSliceAndroidView.kt80 val oldWidth = oldRight - oldLeft in onLayoutChange() constant
81 if (oldWidth != newWidth) { in onLayoutChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsActivityTest.kt129 val oldWidth = configuration.screenWidthDp in swapHeightWidth() constant
130 configuration.screenHeightDp = oldWidth 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/core/java/android/view/
DNotificationTopLineView.java426 final int oldWidth = targetView.getMeasuredWidth(); in adjust() local
427 if (oldWidth <= minimumWidth) { in adjust()
431 int newSize = Math.max(minimumWidth, oldWidth - mOverflow); in adjust()
441 mOverflow -= oldWidth - newSize; in adjust()
DView.java19653 int oldWidth = mRight - mLeft; in setLeft() local
19659 sizeChange(mRight - mLeft, height, oldWidth, height); in setLeft()
19709 int oldWidth = mRight - mLeft; in setRight() local
19715 sizeChange(mRight - mLeft, height, oldWidth, height); in setRight()
25498 int oldWidth = mRight - mLeft; 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()
/frameworks/base/core/java/android/widget/
DImageView.java500 final int oldWidth = mDrawableWidth;
509 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
559 final int oldWidth = mDrawableWidth;
564 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
596 final int oldWidth = mDrawableWidth;
601 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
DPopupWindow.java2419 final int oldWidth = p.width;
2438 || oldWidth != p.width || oldHeight != p.height;
DLinearLayout.java1558 int oldWidth = lp.width; in forceUniformHeight() local
1563 lp.width = oldWidth; in forceUniformHeight()
/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/core/tests/coretests/src/android/text/
DLayoutTest.java152 int oldWidth = layout.getWidth(); in testIncreaseWidthTo() local
154 layout.increaseWidthTo(oldWidth); in testIncreaseWidthTo()
155 assertEquals(oldWidth, layout.getWidth()); in testIncreaseWidthTo()
158 layout.increaseWidthTo(oldWidth - 1); in testIncreaseWidthTo()
163 layout.increaseWidthTo(oldWidth + 1); in testIncreaseWidthTo()
164 assertEquals(oldWidth + 1, layout.getWidth()); in testIncreaseWidthTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java603 int oldWidth = button.getMeasuredWidth(); in squeezeButtonToTextWidth() local
618 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth()
623 return oldWidth - newWidth; in squeezeButtonToTextWidth()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java121 final int oldWidth = getMeasuredWidth(); in onMeasure() local
125 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
DViewPager.java1471 private void recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) {
1472 if (oldWidth > 0 && !mItems.isEmpty()) {
1474 final int oldWidthWithMargin = oldWidth - getPaddingLeft() - getPaddingRight()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp507 const uint32_t oldWidth = mWidth; in internalSetParameter() local
510 if (mWidth != oldWidth || mHeight != oldHeight) { in internalSetParameter()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp497 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter() local
510 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()