Searched refs:newWidth (Results 1 - 12 of 12) 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 | 490 int newWidth, newHeight; 492 newWidth = newShortSize; 495 newWidth = newLongSize; 499 float sw = width/(float)newWidth; 507 outDm.widthPixels = newWidth;
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 200 final int newWidth = Math.max(0, childWidth - delta); 201 mImposedTabWidths[i] = newWidth; 203 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
H A D | ImageView.java | 715 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 717 if (newWidth <= widthSize) { 718 widthSize = newWidth;
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 854 int newWidth = Math.round(scale * width); 856 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, bitmap.getConfig());
|
/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 | 118 final int newWidth = getMeasuredWidth(); 120 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 903 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 907 if (newWidth != code->lastWindowWidth
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 3005 int newWidth = Math.round(viewWidth * mZoomManager.getInvScale()); 3009 // Make the ratio more accurate than (newHeight / newWidth), since the 3020 if (newWidth > mLastWidthSent && mWrapContent) { 3027 if (newWidth != mLastWidthSent || newHeight != mLastHeightSent || force || 3030 data.mWidth = newWidth; 3041 mLastWidthSent = newWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 11339 int newWidth = right - left; 11341 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 11361 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
|
Completed in 316 milliseconds