Home
last modified time | relevance | path

Searched refs:oldWidth (Results 1 – 11 of 11) 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/libs/hwui/
DLayer.cpp134 uint32_t oldWidth = getWidth(); in resize() local
145 setSize(oldWidth, oldHeight); in resize()
155 setSize(oldWidth, oldHeight); in resize()
/frameworks/base/core/java/android/widget/
DImageView.java391 final int oldWidth = mDrawableWidth; in setImageResource() local
400 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageResource()
426 final int oldWidth = mDrawableWidth; in setImageURI() local
431 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageURI()
448 final int oldWidth = mDrawableWidth; in setImageDrawable() local
453 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageDrawable()
DLinearLayout.java1068 int oldWidth = Integer.MIN_VALUE; in measureHorizontal() local
1075 oldWidth = 0; in measureHorizontal()
1087 if (oldWidth != Integer.MIN_VALUE) { in measureHorizontal()
1088 lp.width = oldWidth; in measureHorizontal()
1386 int oldWidth = lp.width; in forceUniformHeight() local
1391 lp.width = oldWidth; in forceUniformHeight()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java1004 int oldWidth = Integer.MIN_VALUE; in measureHorizontal() local
1011 oldWidth = 0; in measureHorizontal()
1023 if (oldWidth != Integer.MIN_VALUE) { in measureHorizontal()
1024 lp.width = oldWidth; in measureHorizontal()
1323 int oldWidth = lp.width; in forceUniformHeight() local
1328 lp.width = oldWidth; in forceUniformHeight()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp387 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter() local
391 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java120 final int oldWidth = getMeasuredWidth(); in onMeasure() local
124 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp472 const uint32_t oldWidth = mWidth; in internalSetParameter() local
475 if (mWidth != oldWidth || mHeight != oldHeight) { in internalSetParameter()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java127 final int oldWidth = getMeasuredWidth(); in onMeasure() local
131 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1472 private void recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) {
1473 if (oldWidth > 0 && !mItems.isEmpty()) {
1475 final int oldWidthWithMargin = oldWidth - getPaddingLeft() - getPaddingRight()
/frameworks/base/core/java/android/view/
DView.java10800 int oldWidth = mRight - mLeft;
10806 sizeChange(mRight - mLeft, height, oldWidth, height);
10856 int oldWidth = mRight - mLeft;
10862 sizeChange(mRight - mLeft, height, oldWidth, height);
15732 int oldWidth = mRight - mLeft;
15736 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
15751 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
15785 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) {
15786 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);