Searched refs:newWidth (Results 1 - 15 of 15) 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 | 494 int newWidth, newHeight; 496 newWidth = newShortSize; 499 newWidth = newLongSize; 503 float sw = width/(float)newWidth; 511 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 | 829 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 834 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); 837 if (newWidth <= widthSize) { 838 widthSize = newWidth;
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 917 int32_t newWidth = mCurrentCrop.width(); local 920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 921 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 922 ST_LOGV("too wide: newWidth = %d", newWidth); 923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 924 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 929 if (newWidth < mCurrentCrop.width()) { 930 int32_t dw = (newWidth - mCurrentCrop.width())/2;
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 469 uint32_t newWidth = needSwap ? kFallbackHeight : kFallbackWidth; 471 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { 474 gVideoWidth, gVideoHeight, newWidth, newHeight); 475 gVideoWidth = newWidth;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ScrollingTabContainerView.java | 114 final int newWidth = getMeasuredWidth(); 116 if (lockedExpanded && oldWidth != newWidth) {
|
/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 | 123 final int newWidth = getMeasuredWidth(); 125 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 511 int32_t newWidth = getWindowProp(code->nativeWindow.get(), local 515 if (newWidth != code->lastWindowWidth
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 611 final int newWidth = widthSize - horizontalMargin; 613 newWidth, MeasureSpec.EXACTLY); 614 if (measuredWidth != newWidth) {
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1688 int newWidth = Math.round(scale * width); 1694 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 14880 int newWidth = right - left; 14882 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 14905 sizeChange(newWidth, newHeight, oldWidth, oldHeight); 14931 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument 14932 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 14934 mOverlay.getOverlayView().setRight(newWidth);
|
Completed in 488 milliseconds