Home
last modified time | relevance | path

Searched refs:oldWidth (Results 1 – 13 of 13) 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/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/view/
DNotificationHeaderView.java182 final int oldWidth = targetView.getMeasuredWidth(); in shrinkViewForOverflow() local
183 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow()
185 int newSize = Math.max(minimumWidth, oldWidth - overFlow); in shrinkViewForOverflow()
188 overFlow -= oldWidth - newSize; in shrinkViewForOverflow()
/frameworks/base/core/java/android/widget/
DImageView.java493 final int oldWidth = mDrawableWidth;
502 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
552 final int oldWidth = mDrawableWidth;
557 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
589 final int oldWidth = mDrawableWidth;
594 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
DPopupWindow.java2406 final int oldWidth = p.width;
2425 || 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.java697 int oldWidth = button.getMeasuredWidth(); in squeezeButtonToTextWidth() local
701 oldWidth += mSingleToDoubleLineButtonWidthIncrease; in squeezeButtonToTextWidth()
715 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth()
720 return oldWidth - newWidth; in squeezeButtonToTextWidth()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java120 final int oldWidth = getMeasuredWidth(); in onMeasure() local
124 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/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2127 constexpr int oldWidth = 0; in TEST_F() local
2143 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
2153 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
2172 constexpr int oldWidth = 0; in TEST_F() local
2188 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F()
2198 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F()
2200 display.mutableCurrentDisplayState().width = oldWidth; in TEST_F()
2206 EXPECT_CALL(*displaySurface, resizeBuffers(oldWidth, newHeight)).Times(1); in TEST_F()
/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()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3707 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) {
3708 super.onSizeChanged(width, height, oldWidth, oldHeight);