Home
last modified time | relevance | path

Searched refs:newHeight (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DImfBaseTestCase.java125 int newHeight; in destructiveCheckImeUp() local
133 newHeight = rootView.getHeight(); in destructiveCheckImeUp()
135 …while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTi… in destructiveCheckImeUp()
136 newHeight = rootView.getHeight(); in destructiveCheckImeUp()
139 return (Math.abs(origHeight - newHeight) >= IME_MIN_HEIGHT); in destructiveCheckImeUp()
/frameworks/base/media/java/android/media/videoeditor/
DVideoEditor.java255 int newHeight = ((overlayCanvas.getWidth() * mOverlayBitmap.getHeight()) in renderOverlay() local
258 top = (overlayCanvas.getHeight() - newHeight) / 2; in renderOverlay()
260 bottom = top + newHeight; in renderOverlay()
284 int newHeight = ((mOverlayBitmap.getWidth() * overlayCanvas.getHeight()) in renderOverlay() local
288 top = (mOverlayBitmap.getHeight() - newHeight) / 2; in renderOverlay()
290 bottom = top + newHeight; in renderOverlay()
DOverlayFrame.java367 int newHeight = ((overlayCanvas.getWidth() * overlayBitmap.getHeight()) in generateOverlayWithRenderingMode() local
370 top = (overlayCanvas.getHeight() - newHeight) / 2; in generateOverlayWithRenderingMode()
372 bottom = top + newHeight; in generateOverlayWithRenderingMode()
396 int newHeight = ((overlayBitmap.getWidth() * overlayCanvas.getHeight()) in generateOverlayWithRenderingMode() local
400 top = (overlayBitmap.getHeight() - newHeight) / 2; in generateOverlayWithRenderingMode()
402 bottom = top + newHeight; in generateOverlayWithRenderingMode()
DMediaImageItem.java180 int newHeight = mScaledHeight; in MediaImageItem() local
189 while (tmp < newHeight) { in MediaImageItem()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java495 int newWidth, newHeight; in computeCompatibleScaling() local
498 newHeight = newLongSize; in computeCompatibleScaling()
501 newHeight = newShortSize; in computeCompatibleScaling()
505 float sh = height/(float)newHeight; in computeCompatibleScaling()
513 outDm.heightPixels = newHeight; in computeCompatibleScaling()
/frameworks/native/libs/gui/
DGLConsumer.cpp726 int32_t newHeight = mCurrentCrop.height(); in getCurrentCrop() local
728 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { in getCurrentCrop()
729 newWidth = newHeight * mDefaultWidth / mDefaultHeight; in getCurrentCrop()
731 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { in getCurrentCrop()
732 newHeight = newWidth * mDefaultHeight / mDefaultWidth; in getCurrentCrop()
733 ST_LOGV("too tall: newHeight = %d", newHeight); in getCurrentCrop()
742 } else if (newHeight < mCurrentCrop.height()) { in getCurrentCrop()
743 int32_t dh = (newHeight - mCurrentCrop.height())/2; in getCurrentCrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettingsContainerView.java98 int newHeight = (int) ((numRows * cellHeight) + ((numRows - 1) * mCellGap)) + in onMeasure() local
100 setMeasuredDimension(width, newHeight); in onMeasure()
DPanelView.java515 int newHeight = getMeasuredHeight();
516 if (newHeight != mFullHeight) {
517 mFullHeight = newHeight;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java243 float newHeight = clamp(target); in updateExpansion() local
244 mScaler.setHeight(newHeight); in updateExpansion()
246 setGlow(calculateGlow(target, newHeight)); in updateExpansion()
440 final float newHeight = clamp(rawHeight); in onTouchEvent() local
459 mScaler.setHeight(newHeight); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DImageView.java833 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure() local
838 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure()
842 if (newHeight <= heightSize) { in onMeasure()
843 heightSize = newHeight; in onMeasure()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp509 int32_t newHeight = getWindowProp(code->nativeWindow.get(), in onSurfaceChanged_native() local
512 || newHeight != code->lastWindowHeight) { in onSurfaceChanged_native()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java941 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT; in onConfigureWindow() local
942 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow()
944 + currentHeight + " -> " + newHeight); in onConfigureWindow()
946 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight); in onConfigureWindow()
DKeyboard.java613 final void resize(int newWidth, int newHeight) { in resize() argument
/frameworks/base/docs/html/training/gestures/
Dscale.jd382 float newHeight = lastSpanY / spanY * mCurrentViewport.height();
397 - newHeight * (mContentRect.bottom - focusY)
402 mCurrentViewport.bottom = mCurrentViewport.top + newHeight;
Dscroll.jd321 float newHeight = (1f - mZoomer.getCurrZoom()) *
331 mZoomFocalPoint.y - newHeight * pointWithinViewportY,
333 mZoomFocalPoint.y + newHeight * (1 - pointWithinViewportY));
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1561 int newHeight = Math.round(scale * height); in scaleBitmapIfTooBig() local
1566 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig); in scaleBitmapIfTooBig()
/frameworks/base/core/java/android/view/
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) {
14400 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
14403 mOverlay.getOverlayView().setBottom(newHeight);
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java3258 int newHeight = Math.round(viewHeight * mZoomManager.getInvScale()); in sendViewSizeZoom() local
3271 newHeight = 0; in sendViewSizeZoom()
3277 if (newWidth != mLastWidthSent || newHeight != mLastHeightSent || force || in sendViewSizeZoom()
3281 data.mHeight = newHeight; in sendViewSizeZoom()
3292 mLastHeightSent = newHeight; in sendViewSizeZoom()