Home
last modified time | relevance | path

Searched refs:oldWidth (Results 1 – 15 of 15) 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.cpp116 uint32_t oldWidth = getWidth(); in resize() local
127 setSize(oldWidth, oldHeight); in resize()
137 setSize(oldWidth, oldHeight); in resize()
/frameworks/base/core/java/android/widget/
DImageView.java432 final int oldWidth = mDrawableWidth; in setImageResource() local
441 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageResource()
470 final int oldWidth = mDrawableWidth; in setImageURI() local
475 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageURI()
506 final int oldWidth = mDrawableWidth; in setImageDrawable() local
511 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { in setImageDrawable()
DPopupWindow.java2155 final int oldWidth = p.width;
2174 || oldWidth != p.width || oldHeight != p.height;
DLinearLayout.java1414 int oldWidth = lp.width; in forceUniformHeight() local
1419 lp.width = oldWidth; in forceUniformHeight()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java1002 int oldWidth = Integer.MIN_VALUE; in measureHorizontal() local
1009 oldWidth = 0; in measureHorizontal()
1021 if (oldWidth != Integer.MIN_VALUE) { in measureHorizontal()
1022 lp.width = oldWidth; in measureHorizontal()
1321 int oldWidth = lp.width; in forceUniformHeight() local
1326 lp.width = oldWidth; in forceUniformHeight()
DScrollingTabContainerView.java126 final int oldWidth = getMeasuredWidth(); in onMeasure() local
130 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp413 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter() local
425 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java119 final int oldWidth = getMeasuredWidth(); in onMeasure() local
123 if (lockedExpanded && oldWidth != newWidth) { in onMeasure()
DViewPager.java1490 private void recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) {
1491 if (oldWidth > 0 && !mItems.isEmpty()) {
1493 final int oldWidthWithMargin = oldWidth - getPaddingLeft() - getPaddingRight()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp464 const uint32_t oldWidth = mWidth; in internalSetParameter() local
467 if (mWidth != oldWidth || mHeight != oldHeight) { in internalSetParameter()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java348 protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { in onSizeChanged() argument
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1640 private void recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) {
1641 if (oldWidth > 0 && !mItems.isEmpty()) {
1646 final int oldWidthWithMargin = oldWidth - getPaddingLeft() - getPaddingRight()
/frameworks/base/core/java/android/view/
DView.java12559 int oldWidth = mRight - mLeft; in setLeft() local
12565 sizeChange(mRight - mLeft, height, oldWidth, height); in setLeft()
12618 int oldWidth = mRight - mLeft; in setRight() local
12624 sizeChange(mRight - mLeft, height, oldWidth, height); in setRight()
17580 int oldWidth = mRight - mLeft; in setFrame() local
17584 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); in setFrame()
17599 sizeChange(newWidth, newHeight, oldWidth, oldHeight); in setFrame()
17636 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { in sizeChange() argument
17637 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in sizeChange()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java4660 final int oldWidth = oldTaskOverride.screenWidthDp; in catchConfigChangesFromUnset() local
4663 if ((oldWidth == undefinedWidth && newWidth != undefinedWidth) in catchConfigChangesFromUnset()
4664 || (oldWidth != undefinedWidth && newWidth == undefinedWidth)) { in catchConfigChangesFromUnset()