/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/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/widget/ |
H A D | TabWidget.java | 202 final int newWidth = Math.max(0, childWidth - delta); 203 mImposedTabWidths[i] = newWidth; 205 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
H A D | ImageView.java | 1010 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 1015 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); 1018 if (newWidth <= widthSize) { 1019 widthSize = 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/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 409 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument 417 mDisplaySurface->resizeBuffers(newWidth, newHeight); 424 LOG_FATAL_IF(mDisplayWidth != newWidth, 425 "Unable to set new width to %d", newWidth);
|
H A D | DisplayDevice.h | 113 void setDisplaySize(const int newWidth, const int newHeight);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 888 uint32_t newWidth = static_cast<uint32_t>(mCurrentCrop.width()); local 891 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 892 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 893 GLC_LOGV("too wide: newWidth = %d", newWidth); 894 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 895 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 903 if (newWidth < currentWidth) { 904 uint32_t dw = currentWidth - newWidth;
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 576 uint32_t newWidth = needSwap ? kFallbackHeight : kFallbackWidth; 578 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { 581 gVideoWidth, gVideoHeight, newWidth, newHeight); 582 gVideoWidth = newWidth;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 626 final void resize(int newWidth, int newHeight) { argument 640 if (totalGap + totalWidth > newWidth) { 642 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; 651 mTotalWidth = newWidth;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ScrollingTabContainerView.java | 121 final int newWidth = getMeasuredWidth(); 123 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 558 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 562 if (newWidth != code->lastWindowWidth
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 344 int newWidth = Math.round(scale * width); 350 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ScrollingTabContainerView.java | 131 final int newWidth = getMeasuredWidth(); 133 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 625 final int newWidth = widthAvailable - horizontalMargin; 627 newWidth, MeasureSpec.EXACTLY); 628 if (measuredWidth != newWidth) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 98 int newWidth = availablePreviewSizes[i].width; local 100 if (newWidth >= previewWidth && newHeight >= previewHeight && 101 newWidth <= MAX_INITIAL_PREVIEW_WIDTH && 104 if (availableVideoSizes[j].width == newWidth && 106 previewWidth = newWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 16693 int newWidth = right - left; 16695 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 16710 sizeChange(newWidth, newHeight, oldWidth, oldHeight); 16747 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument 16748 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 16750 mOverlay.getOverlayView().setRight(newWidth);
|