Searched refs:newWidth (Results 1 - 13 of 13) sorted by relevance
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditor.java | 262 int newWidth = ((overlayCanvas.getHeight() * mOverlayBitmap.getWidth()) 264 left = (overlayCanvas.getWidth() - newWidth) / 2; 266 right = left + newWidth; 292 int newWidth = ((mOverlayBitmap.getHeight() * overlayCanvas.getWidth()) 294 left = (mOverlayBitmap.getWidth() - newWidth) / 2; 296 right = left + newWidth;
|
H A D | OverlayFrame.java | 374 int newWidth = ((overlayCanvas.getHeight() * overlayBitmap.getWidth()) 376 left = (overlayCanvas.getWidth() - newWidth) / 2; 378 right = left + newWidth; 404 int newWidth = ((overlayBitmap.getHeight() * overlayCanvas.getWidth()) 406 left = (overlayBitmap.getWidth() - newWidth) / 2; 408 right = left + newWidth;
|
H A D | MediaImageItem.java | 179 int newWidth = mScaledWidth; 184 final int [] framingBuffer = new int[newWidth]; 191 tmp, newWidth, 1); 193 intBuffer.put(framingBuffer, 0, newWidth);
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 495 int newWidth, newHeight; 497 newWidth = newShortSize; 500 newWidth = newLongSize; 504 float sw = width/(float)newWidth; 512 outDm.widthPixels = newWidth;
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 198 final int newWidth = Math.max(0, childWidth - delta); 199 mImposedTabWidths[i] = newWidth; 201 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
H A D | ImageView.java | 790 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 792 if (newWidth <= widthSize) { 793 widthSize = newWidth;
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 706 int32_t newWidth = mCurrentCrop.width(); local 709 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 710 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 711 ST_LOGV("too wide: newWidth = %d", newWidth); 712 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 713 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 718 if (newWidth < mCurrentCrop.width()) { 719 int32_t dw = (newWidth - mCurrentCrop.width())/2;
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1123 int newWidth = Math.round(scale * width); 1129 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/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/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 | 864 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 868 if (newWidth != code->lastWindowWidth
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 3218 int newWidth = Math.round(viewWidth * mZoomManager.getInvScale()); 3222 // Make the ratio more accurate than (newHeight / newWidth), since the 3233 if (newWidth > mLastWidthSent && mWrapContent) { 3240 if (newWidth != mLastWidthSent || newHeight != mLastHeightSent || force || 3243 data.mWidth = newWidth; 3254 mLastWidthSent = newWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 14069 int newWidth = right - left; 14071 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 14094 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
|
Completed in 1523 milliseconds