Searched refs:newHeight (Results 1 - 21 of 21) sorted by path

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp577 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight;
578 if (gVideoWidth != newWidth && gVideoHeight != newHeight) {
581 gVideoWidth, gVideoHeight, newWidth, newHeight);
583 gVideoHeight = newHeight;
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp390 uint32_t newHeight = video_def->nFrameHeight; local
391 if (newWidth != oldWidth || newHeight != oldHeight) {
396 mHeight = newHeight;
406 def->format.video.nFrameHeight = newHeight;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp99 int newHeight = availablePreviewSizes[i].height; local
100 if (newWidth >= previewWidth && newHeight >= previewHeight &&
102 newHeight <= MAX_INITIAL_PREVIEW_HEIGHT) {
105 availableVideoSizes[j].height == newHeight) {
107 previewHeight = 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/base/core/java/android/inputmethodservice/
H A DInputMethodService.java975 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT;
976 if (mIsInputViewShown && currentHeight != newHeight) {
978 + currentHeight + " -> " + newHeight);
980 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight);
H A DKeyboard.java626 final void resize(int newWidth, int newHeight) { argument
/frameworks/base/core/java/android/view/
H A DView.java16694 int newHeight = bottom - top;
16695 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
16710 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
16747 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
16748 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
16751 mOverlay.getOverlayView().setBottom(newHeight);
/frameworks/base/core/java/android/widget/
H A DImageView.java1026 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) +
1031 heightSize = resolveAdjustedSize(newHeight, mMaxHeight,
1035 if (newHeight <= heightSize) {
1036 heightSize = newHeight;
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp560 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local
563 || 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/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/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java187 float newHeight = clamp(target);
188 mScaler.setHeight(newHeight);
431 final float newHeight = clamp(rawHeight);
450 mScaler.setHeight(newHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java375 private void startQsSizeChangeAnimation(int oldHeight, final int newHeight) { argument
380 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight);
H A DPanelView.java314 final float newHeight = Math.max(0, h + mInitialOffsetOnTouch);
315 if (newHeight > mPeekHeight) {
326 setExpandedHeightInternal(newHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollAlgorithm.java214 float newHeight = state.height * state.scale;
216 float newNotificationEnd = newYTranslation + newHeight;
222 clipHeight = newHeight;
238 updateChildClippingAndBackground(state, newHeight, clipHeight,
239 newHeight - (previousNotificationStart - newYTranslation));
622 int newHeight = childHeight;
624 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset -
626 childViewState.height = newHeight;
628 childViewState.yTranslation = transitioningPositionStart + offset - newHeight
632 clampPositionToTopStackEnd(childViewState, newHeight);
[all...]
H A DStackScrollState.java142 int newHeight = state.height;
145 if (height != newHeight) {
146 view.setActualHeight(newHeight, false /* notifyListeners */);
/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/native/libs/gui/
H A DGLConsumer.cpp889 uint32_t newHeight = static_cast<uint32_t>(mCurrentCrop.height()); local
891 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
892 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
894 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
895 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
896 GLC_LOGV("too tall: newHeight = %d", newHeight);
910 } else if (newHeight < currentHeight) {
911 uint32_t dh = currentHeight - newHeight;
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp409 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument
417 mDisplaySurface->resizeBuffers(newWidth, newHeight);
426 LOG_FATAL_IF(mDisplayHeight != newHeight,
427 "Unable to set new height to %d", newHeight);
H A DDisplayDevice.h113 void setDisplaySize(const int newWidth, const int newHeight);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DListRowPresenter.java499 int newHeight = expanded ? getExpandedRowHeight() : getRowHeight();
500 vh.getGridView().setRowHeight(newHeight);

Completed in 656 milliseconds