Searched refs:newHeight (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java125 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 DVideoEditor.java255 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 DOverlayFrame.java367 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 DMediaImageItem.java180 int newHeight = mScaledHeight;
189 while (tmp < newHeight) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsContainerView.java98 int newHeight = (int) ((numRows * cellHeight) + ((numRows - 1) * mCellGap)) +
100 setMeasuredDimension(width, newHeight);
H A DPanelView.java488 int newHeight = getMeasuredHeight();
489 if (newHeight != mFullHeight) {
490 mFullHeight = newHeight;
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java495 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 DSurfaceTexture.cpp707 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 DExpandHelper.java243 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 DImageView.java800 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) +
802 if (newHeight <= heightSize) {
803 heightSize = newHeight;
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java1124 int newHeight = Math.round(scale * height);
1129 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java934 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 DKeyboard.java613 final void resize(int newWidth, int newHeight) { argument
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp866 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local
869 || newHeight != code->lastWindowHeight) {
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java3221 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 DView.java14070 int newHeight = bottom - top;
14071 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
14094 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);

Completed in 208 milliseconds