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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DEmbeddedContentContainer.java39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
42 mSizeChangeListener.onSizeChanged(newWidth, newHeight);
/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/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollAlgorithm.java153 float newHeight = state.height;
154 float newNotificationEnd = newYTranslation + newHeight;
473 float newHeight = bottomStackStart - childViewState.yTranslation;
474 if (newHeight < minHeight) {
475 newHeight = minHeight;
478 childViewState.height = (int) newHeight;
502 int newHeight = childHeight;
504 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset -
507 childViewState.height = newHeight;
509 childViewState.yTranslation = transitioningPositionStart + offset - newHeight
[all...]
H A DStackScrollState.java140 int newHeight = state.height;
143 if (height != newHeight) {
144 view.setActualHeight(newHeight, false /* notifyListeners */);
H A DNotificationChildrenContainer.java537 int newHeight = intrinsicHeight;
540 newHeight = Math.max((parentHeight - top), 0);
542 childState.hidden = newHeight == 0;
543 childState.height = newHeight;
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
139 if (newHeight <= targetHeight) {
140 totalHeight = newHeight;
H A DFloatingToolbar.java996 final int newHeight = calculateOverflowHeight(maxItemSize);
997 if (mOverflowPanelSize.getHeight() != newHeight) {
998 mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight);
1004 final int deltaHeight = mOverflowPanelSize.getHeight() - newHeight;
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java494 int newWidth, newHeight;
497 newHeight = newLongSize;
500 newHeight = newShortSize;
504 float sh = height/(float)newHeight;
512 outDm.heightPixels = newHeight;
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp480 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument
488 mDisplaySurface->resizeBuffers(newWidth, newHeight);
497 LOG_FATAL_IF(mDisplayHeight != newHeight,
498 "Unable to set new height to %d", newHeight);
H A DDisplayDevice.h127 void setDisplaySize(const int newWidth, const int newHeight);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp932 uint32_t newHeight = static_cast<uint32_t>(mCurrentCrop.height()); local
934 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
935 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
937 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
938 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
939 GLC_LOGV("too tall: newHeight = %d", newHeight);
953 } else if (newHeight < currentHeight) {
954 uint32_t dh = currentHeight - newHeight;
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp490 uint32_t newHeight = video_def->nFrameHeight; local
494 if (newWidth > 32768 || newHeight > 32768
499 if (newWidth != oldWidth || newHeight != oldHeight) {
504 mHeight = newHeight;
514 def->format.video.nFrameHeight = newHeight;
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp574 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight;
575 if (gVideoWidth != newWidth && gVideoHeight != newHeight) {
578 gVideoWidth, gVideoHeight, newWidth, newHeight);
580 gVideoHeight = newHeight;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java190 float newHeight = clamp(target);
191 mScaler.setHeight(newHeight);
438 final float newHeight = clamp(rawHeight);
457 mScaler.setHeight(newHeight);
/frameworks/base/core/java/android/widget/
H A DImageView.java1096 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) +
1101 heightSize = resolveAdjustedSize(newHeight, mMaxHeight,
1105 if (newHeight <= heightSize) {
1106 heightSize = newHeight;
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp562 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local
565 || newHeight != code->lastWindowHeight) {
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java345 int newHeight = Math.round(scale * height);
350 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DListRowPresenter.java635 int newHeight = expanded ? getExpandedRowHeight() : getRowHeight();
636 vh.getGridView().setRowHeight(newHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java322 final float newHeight = Math.max(0, h + mInitialOffsetOnTouch);
323 if (newHeight > mPeekHeight) {
334 setExpandedHeightInternal(newHeight);
H A DNotificationPanelView.java346 private void startQsSizeChangeAnimation(int oldHeight, final int newHeight) { argument
351 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1088 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT;
1089 if (mIsInputViewShown && currentHeight != newHeight) {
1091 + currentHeight + " -> " + newHeight);
1093 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight);
H A DKeyboard.java626 final void resize(int newWidth, int newHeight) { argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp100 int newHeight = availablePreviewSizes[i].height; local
101 if (newWidth >= previewWidth && newHeight >= previewHeight &&
103 newHeight <= MAX_INITIAL_PREVIEW_HEIGHT) {
106 availableVideoSizes[j].height == newHeight) {
108 previewHeight = newHeight;
/frameworks/base/core/java/android/view/
H A DView.java17710 int newHeight = bottom - top;
17711 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
17726 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
17763 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
17764 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
17767 mOverlay.getOverlayView().setBottom(newHeight);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java4703 final int newHeight = taskConfig.screenHeightDp;
4705 if ((oldHeight == undefinedHeight && newHeight != undefinedHeight)
4706 || (oldHeight != undefinedHeight && newHeight == undefinedHeight)) {

Completed in 1254 milliseconds