Searched refs:newHeight (Results 1 - 16 of 16) sorted by relevance
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
H A D | ImfBaseTestCase.java | 125 int newHeight; 133 newHeight = rootView.getHeight(); 135 while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) { 136 newHeight = rootView.getHeight(); 139 return (Math.abs(origHeight - newHeight) >= IME_MIN_HEIGHT);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditor.java | 255 int newHeight = ((overlayCanvas.getWidth() * mOverlayBitmap.getHeight()) 258 top = (overlayCanvas.getHeight() - newHeight) / 2; 260 bottom = top + newHeight; 284 int newHeight = ((mOverlayBitmap.getWidth() * overlayCanvas.getHeight()) 288 top = (mOverlayBitmap.getHeight() - newHeight) / 2; 290 bottom = top + newHeight;
|
H A D | OverlayFrame.java | 367 int newHeight = ((overlayCanvas.getWidth() * overlayBitmap.getHeight()) 370 top = (overlayCanvas.getHeight() - newHeight) / 2; 372 bottom = top + newHeight; 396 int newHeight = ((overlayBitmap.getWidth() * overlayCanvas.getHeight()) 400 top = (overlayBitmap.getHeight() - newHeight) / 2; 402 bottom = top + newHeight;
|
H A D | MediaImageItem.java | 180 int newHeight = mScaledHeight; 189 while (tmp < newHeight) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsContainerView.java | 98 int newHeight = (int) ((numRows * cellHeight) + ((numRows - 1) * mCellGap)) + 100 setMeasuredDimension(width, newHeight);
|
H A D | PanelView.java | 488 int newHeight = getMeasuredHeight(); 489 if (newHeight != mFullHeight) { 490 mFullHeight = newHeight;
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 495 int newWidth, newHeight; 498 newHeight = newLongSize; 501 newHeight = newShortSize; 505 float sh = height/(float)newHeight; 513 outDm.heightPixels = newHeight;
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 707 int32_t newHeight = mCurrentCrop.height(); local 709 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 710 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 712 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 713 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 714 ST_LOGV("too tall: newHeight = %d", newHeight); 723 } else if (newHeight < mCurrentCrop.height()) { 724 int32_t dh = (newHeight - mCurrentCrop.height())/2;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 243 float newHeight = clamp(target); 244 mScaler.setHeight(newHeight); 246 setGlow(calculateGlow(target, newHeight)); 440 final float newHeight = clamp(rawHeight); 459 mScaler.setHeight(newHeight);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 800 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 802 if (newHeight <= heightSize) { 803 heightSize = newHeight;
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1124 int newHeight = Math.round(scale * height); 1129 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 934 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT; 935 if (mIsInputViewShown && currentHeight != newHeight) { 937 + currentHeight + " -> " + newHeight); 939 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight);
|
H A D | Keyboard.java | 613 final void resize(int newWidth, int newHeight) { argument
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 866 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local 869 || newHeight != code->lastWindowHeight) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 3221 int newHeight = Math.round(viewHeight * mZoomManager.getInvScale()); 3222 // Make the ratio more accurate than (newHeight / newWidth), since the 3234 newHeight = 0; 3240 if (newWidth != mLastWidthSent || newHeight != mLastHeightSent || force || 3244 data.mHeight = newHeight; 3255 mLastHeightSent = newHeight;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 14070 int newHeight = bottom - top; 14071 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 14094 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
|
Completed in 208 milliseconds