/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/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 649 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/ |
D | SliceAndroidView.kt | 80 val oldWidth = oldRight - oldLeft in onLayoutChange() constant 81 if (oldWidth != newWidth) { in onLayoutChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlsActivityTest.kt | 129 val oldWidth = configuration.screenWidthDp in swapHeightWidth() constant 130 configuration.screenHeightDp = oldWidth in swapHeightWidth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManager.kt | 158 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/ |
D | NotificationTopLineView.java | 426 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()
|
D | View.java | 19653 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/ |
D | ImageView.java | 500 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) {
|
D | PopupWindow.java | 2419 final int oldWidth = p.width; 2438 || oldWidth != p.width || oldHeight != p.height;
|
D | LinearLayout.java | 1558 int oldWidth = lp.width; in forceUniformHeight() local 1563 lp.width = oldWidth; in forceUniformHeight()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapTransitionView.kt | 80 override fun onSizeChanged(width: Int, height: Int, oldWidth: Int, oldHeight: Int) { in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 152 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/ |
D | SmartReplyView.java | 603 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/ |
D | ScrollingTabContainerView.java | 121 final int oldWidth = getMeasuredWidth(); in onMeasure() local 125 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()
|