/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ScrollingTabContainerView.java | 129 final int newWidth = getMeasuredWidth(); 131 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 622 final int newWidth = widthAvailable - horizontalMargin; 624 newWidth, MeasureSpec.EXACTLY); 625 if (measuredWidth != newWidth) {
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 875 int32_t newWidth = mCurrentCrop.width(); local 878 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 879 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 880 ST_LOGV("too wide: newWidth = %d", newWidth); 881 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 882 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 887 if (newWidth < mCurrentCrop.width()) { 888 int32_t dw = (newWidth - mCurrentCrop.width())/2;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 403 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument 411 mDisplaySurface->resizeBuffers(newWidth, newHeight); 418 LOG_FATAL_IF(mDisplayWidth != newWidth, 419 "Unable to set new width to %d", newWidth);
|
H A D | DisplayDevice.h | 113 void setDisplaySize(const int newWidth, const int newHeight);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | EmbeddedContentContainer.java | 39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument 40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 42 mSizeChangeListener.onSizeChanged(newWidth, newHeight);
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 351 int newWidth = Math.round(scale * width); 357 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 494 int newWidth, newHeight; 496 newWidth = newShortSize; 499 newWidth = newLongSize; 503 float sw = width/(float)newWidth; 511 outDm.widthPixels = newWidth;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 613 final void resize(int newWidth, int newHeight) { argument 627 if (totalGap + totalWidth > newWidth) { 629 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; 638 mTotalWidth = newWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 15734 int newWidth = right - left; 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) { argument 15786 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 15788 mOverlay.getOverlayView().setRight(newWidth);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 942 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 947 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); 950 if (newWidth <= widthSize) { 951 widthSize = newWidth;
|
H A D | TabWidget.java | 201 final int newWidth = Math.max(0, childWidth - delta); 202 mImposedTabWidths[i] = newWidth; 204 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ScrollingTabContainerView.java | 122 final int newWidth = getMeasuredWidth(); 124 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 525 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 529 if (newWidth != code->lastWindowWidth
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 573 uint32_t newWidth = needSwap ? kFallbackHeight : kFallbackWidth; 575 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { 578 gVideoWidth, gVideoHeight, newWidth, newHeight); 579 gVideoWidth = newWidth;
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 389 uint32_t newWidth = video_def->nFrameWidth; local 391 if (newWidth != oldWidth || newHeight != oldHeight) { 395 mWidth = newWidth; 405 def->format.video.nFrameWidth = newWidth;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 84 int newWidth = availablePreviewSizes[i].width; local 86 if (newWidth >= previewWidth && newHeight >= previewHeight && 87 newWidth <= MAX_INITIAL_PREVIEW_WIDTH && 90 if (availableVideoSizes[j].width == newWidth && 92 previewWidth = newWidth;
|