Searched defs:newWidth (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DEmbeddedContentContainer.java39 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 DSoftVideoDecoderOMXComponent.cpp486 uint32_t newWidth = video_def->nFrameWidth; local
491 if (newWidth > 32768 || newHeight > 32768
496 if (newWidth != oldWidth || newHeight != oldHeight) {
500 mWidth = newWidth;
510 def->format.video.nFrameWidth = newWidth;
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java554 * @param newWidth The new dragged width.
557 void updateDraggedBounds(int left, int top, int right, int bottom, int newWidth, argument
561 left = right - newWidth;
563 right = left + newWidth;
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp499 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument
507 mDisplaySurface->resizeBuffers(newWidth, newHeight);
514 LOG_FATAL_IF(mDisplayWidth != newWidth,
515 "Unable to set new width to %d", newWidth);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java626 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 Dandroid_app_NativeActivity.cpp576 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local
580 if (newWidth != code->lastWindowWidth
/frameworks/native/libs/gui/
H A DGLConsumer.cpp949 uint32_t newWidth = static_cast<uint32_t>(mCurrentCrop.width()); local
952 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
953 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
954 GLC_LOGV("too wide: newWidth = %d", newWidth);
955 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
956 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
964 if (newWidth < currentWidth) {
965 uint32_t dw = currentWidth - newWidth;
/frameworks/support/wear/src/android/support/wear/widget/
H A DCircledImageView.java657 public void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
658 if (newWidth != oldWidth || newHeight != oldHeight) {
662 newWidth - getPaddingRight(),
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp99 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 DView.java19663 int newWidth = right - left;
19665 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
19680 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
19718 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
19719 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
19721 mOverlay.getOverlayView().setRight(newWidth);

Completed in 627 milliseconds