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.java515 int newHeight = getMeasuredHeight();
516 if (newHeight != mFullHeight) {
517 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 DGLConsumer.cpp726 int32_t newHeight = mCurrentCrop.height(); local
728 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
729 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
731 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
732 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
733 ST_LOGV("too tall: newHeight = %d", newHeight);
742 } else if (newHeight < mCurrentCrop.height()) {
743 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.java833 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) +
838 heightSize = resolveAdjustedSize(newHeight, mMaxHeight,
842 if (newHeight <= heightSize) {
843 heightSize = newHeight;
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp509 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local
512 || newHeight != code->lastWindowHeight) {
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java941 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT;
942 if (mIsInputViewShown && currentHeight != newHeight) {
944 + currentHeight + " -> " + newHeight);
946 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight);
H A DKeyboard.java613 final void resize(int newWidth, int newHeight) { argument
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java1561 int newHeight = Math.round(scale * height);
1566 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java3258 int newHeight = Math.round(viewHeight * mZoomManager.getInvScale());
3259 // Make the ratio more accurate than (newHeight / newWidth), since the
3271 newHeight = 0;
3277 if (newWidth != mLastWidthSent || newHeight != mLastHeightSent || force ||
3281 data.mHeight = newHeight;
3292 mLastHeightSent = newHeight;
/frameworks/base/core/java/android/view/
H A DView.java14351 int newHeight = bottom - top;
14352 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
14375 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
14399 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
14400 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
14403 mOverlay.getOverlayView().setBottom(newHeight);

Completed in 447 milliseconds