Searched defs:newWidth (Results 1 - 8 of 8) sorted by relevance
/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/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 415 uint32_t newWidth = video_def->nFrameWidth; local 420 if (newWidth > 32768 || newHeight > 32768 425 if (newWidth != oldWidth || newHeight != oldHeight) { 429 mWidth = newWidth; 439 def->format.video.nFrameWidth = newWidth;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 469 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument 477 mDisplaySurface->resizeBuffers(newWidth, newHeight); 484 LOG_FATAL_IF(mDisplayWidth != newWidth, 485 "Unable to set new width to %d", 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/jni/ |
H A D | android_app_NativeActivity.cpp | 560 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 564 if (newWidth != code->lastWindowWidth
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 930 uint32_t newWidth = static_cast<uint32_t>(mCurrentCrop.width()); local 933 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 934 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 935 GLC_LOGV("too wide: newWidth = %d", newWidth); 936 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 937 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 945 if (newWidth < currentWidth) { 946 uint32_t dw = currentWidth - newWidth;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 99 int newWidth = availablePreviewSizes[i].width; local 101 if (newWidth >= previewWidth && newHeight >= previewHeight && 102 newWidth <= MAX_INITIAL_PREVIEW_WIDTH && 105 if (availableVideoSizes[j].width == newWidth && 107 previewWidth = newWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 17582 int newWidth = right - left; 17584 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 17599 sizeChange(newWidth, newHeight, oldWidth, oldHeight); 17636 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument 17637 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 17639 mOverlay.getOverlayView().setRight(newWidth);
|
Completed in 297 milliseconds