Home
last modified time | relevance | path

Searched refs:oldWidth (Results 1 – 14 of 14) 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_HandleTransactionLockedTest.cpp638 constexpr int oldWidth = 0; in TEST_F() local
654 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
664 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
683 constexpr int oldWidth = 0; in TEST_F() local
699 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
709 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
711 display.mutableCurrentDisplayState().width = oldWidth; in TEST_F()
717 EXPECT_CALL(*displaySurface, resizeBuffers(ui::Size(oldWidth, newHeight))).Times(1); in TEST_F()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java423 final int oldWidth = targetView.getMeasuredWidth(); in adjust() local
424 if (oldWidth <= minimumWidth) { in adjust()
428 int newSize = Math.max(minimumWidth, oldWidth - mOverflow); in adjust()
438 mOverflow -= oldWidth - newSize; in adjust()
DView.java17638 int oldWidth = mRight - mLeft; in setLeft() local
17644 sizeChange(mRight - mLeft, height, oldWidth, height); in setLeft()
17694 int oldWidth = mRight - mLeft; in setRight() local
17700 sizeChange(mRight - mLeft, height, oldWidth, height); in setRight()
23264 int oldWidth = mRight - mLeft; in setFrame() local
23268 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); in setFrame()
23283 sizeChange(newWidth, newHeight, oldWidth, oldHeight); in setFrame()
23330 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { in sizeChange() argument
23331 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in sizeChange()
23349 } else if (oldWidth <= 0 || oldHeight <= 0) { in sizeChange()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java132 int oldWidth = layout.getWidth(); in testIncreaseWidthTo() local
134 layout.increaseWidthTo(oldWidth); in testIncreaseWidthTo()
135 assertEquals(oldWidth, layout.getWidth()); in testIncreaseWidthTo()
138 layout.increaseWidthTo(oldWidth - 1); in testIncreaseWidthTo()
143 layout.increaseWidthTo(oldWidth + 1); in testIncreaseWidthTo()
144 assertEquals(oldWidth + 1, layout.getWidth()); in testIncreaseWidthTo()
/frameworks/base/core/java/android/widget/
DImageView.java499 final int oldWidth = mDrawableWidth;
508 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
558 final int oldWidth = mDrawableWidth;
563 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
595 final int oldWidth = mDrawableWidth;
600 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
DPopupWindow.java2405 final int oldWidth = p.width;
2424 || oldWidth != p.width || oldHeight != p.height;
DLinearLayout.java1502 int oldWidth = lp.width; in forceUniformHeight() local
1507 lp.width = oldWidth; in forceUniformHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java518 int oldWidth = button.getMeasuredWidth(); in squeezeButtonToTextWidth() local
530 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth()
535 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/omx/
DSoftVideoDecoderOMXComponent.cpp497 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter() local
510 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
/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/base/core/java/com/android/internal/app/
DChooserActivity.java4203 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) {
4204 super.onSizeChanged(width, height, oldWidth, oldHeight);