/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | EmbeddedContentContainer.java | 39 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/ |
D | LayoutTest.java | 132 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/ |
D | NotificationHeaderView.java | 176 final int oldWidth = targetView.getMeasuredWidth(); in shrinkViewForOverflow() local 177 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow() 179 int newSize = Math.max(minimumWidth, oldWidth - overFlow); in shrinkViewForOverflow() 182 overFlow -= oldWidth - newSize; in shrinkViewForOverflow()
|
D | View.java | 17375 int oldWidth = mRight - mLeft; 17381 sizeChange(mRight - mLeft, height, oldWidth, height); 17431 int oldWidth = mRight - mLeft; 17437 sizeChange(mRight - mLeft, height, oldWidth, height); 22965 int oldWidth = mRight - mLeft; in setFrame() local 22969 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); in setFrame() 22984 sizeChange(newWidth, newHeight, oldWidth, oldHeight); in setFrame() 23031 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { in sizeChange() argument 23032 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in sizeChange() 23050 } else if (oldWidth <= 0 || oldHeight <= 0) { in sizeChange()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 495 final int oldWidth = mDrawableWidth; 504 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { 554 final int oldWidth = mDrawableWidth; 559 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { 591 final int oldWidth = mDrawableWidth; 596 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) {
|
D | PopupWindow.java | 2405 final int oldWidth = p.width; 2424 || oldWidth != p.width || oldHeight != p.height;
|
D | LinearLayout.java | 1502 int oldWidth = lp.width; in forceUniformHeight() local 1507 lp.width = oldWidth; in forceUniformHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 702 int oldWidth = button.getMeasuredWidth(); in squeezeButtonToTextWidth() local 706 oldWidth += mSingleToDoubleLineButtonWidthIncrease; in squeezeButtonToTextWidth() 720 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth() 725 return oldWidth - newWidth; in squeezeButtonToTextWidth()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollingTabContainerView.java | 120 final int oldWidth = getMeasuredWidth(); in onMeasure() local 124 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
|
D | ViewPager.java | 1471 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/ |
D | SoftMPEG2.cpp | 507 const uint32_t oldWidth = mWidth; in internalSetParameter() local 510 if (mWidth != oldWidth || mHeight != oldHeight) { in internalSetParameter()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 497 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter() local 510 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 2519 constexpr int oldWidth = 0; in TEST_F() local 2535 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F() 2545 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F() 2564 constexpr int oldWidth = 0; in TEST_F() local 2580 .WillOnce(DoAll(SetArgPointee<1>(oldWidth), Return(0))); in TEST_F() 2590 display.mutableDrawingDisplayState().width = oldWidth; in TEST_F() 2592 display.mutableCurrentDisplayState().width = oldWidth; in TEST_F() 2598 EXPECT_CALL(*displaySurface, resizeBuffers(oldWidth, newHeight)).Times(1); in TEST_F()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 4181 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { 4182 super.onSizeChanged(width, height, oldWidth, oldHeight);
|