Searched refs:newWidth (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditor.java262 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 DOverlayFrame.java374 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 DMediaImageItem.java179 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 DCompatibilityInfo.java490 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 DTabWidget.java200 final int newWidth = Math.max(0, childWidth - delta);
201 mImposedTabWidths[i] = newWidth;
203 extraWidth -= childWidth - newWidth; // delta may have been clamped
H A DImageView.java715 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) +
717 if (newWidth <= widthSize) {
718 widthSize = newWidth;
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java854 int newWidth = Math.round(scale * width);
856 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, bitmap.getConfig());
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java613 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 DScrollingTabContainerView.java118 final int newWidth = getMeasuredWidth();
120 if (lockedExpanded && oldWidth != newWidth) {
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp903 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local
907 if (newWidth != code->lastWindowWidth
/frameworks/base/core/java/android/webkit/
H A DWebView.java3005 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 DView.java11339 int newWidth = right - left;
11341 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
11361 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);

Completed in 316 milliseconds