/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 574 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight; 575 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { 578 gVideoWidth, gVideoHeight, newWidth, newHeight); 580 gVideoHeight = newHeight;
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 390 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 D | Parameters.cpp | 85 int newHeight = availablePreviewSizes[i].height; local 86 if (newWidth >= previewWidth && newHeight >= previewHeight && 88 newHeight <= MAX_INITIAL_PREVIEW_HEIGHT) { 91 availableVideoSizes[j].height == newHeight) { 93 previewHeight = newHeight;
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 494 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 D | InputMethodService.java | 960 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT; 961 if (mIsInputViewShown && currentHeight != newHeight) { 963 + currentHeight + " -> " + newHeight); 965 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight);
|
H A D | Keyboard.java | 613 final void resize(int newWidth, int newHeight) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 15735 int newHeight = bottom - top; 15736 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 15751 sizeChange(newWidth, newHeight, oldWidth, oldHeight); 15785 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument 15786 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 15789 mOverlay.getOverlayView().setBottom(newHeight);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 958 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 963 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, 967 if (newHeight <= heightSize) { 968 heightSize = newHeight;
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 527 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local 530 || newHeight != code->lastWindowHeight) {
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 352 int newHeight = Math.round(scale * height); 357 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | EmbeddedContentContainer.java | 39 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 D | ExpandHelper.java | 199 float newHeight = clamp(target); 200 mScaler.setHeight(newHeight); 438 final float newHeight = clamp(rawHeight); 455 mScaler.setHeight(newHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 332 private void startQsSizeChangeAnimation(int oldHeight, final int newHeight) { argument 337 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight);
|
H A D | PanelView.java | 304 final float newHeight = Math.max(0, h + mInitialOffsetOnTouch); 305 if (newHeight > mPeekHeight) { 315 setExpandedHeightInternal(newHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 199 float newHeight = state.height * state.scale; 201 float newNotificationEnd = newYTranslation + newHeight; 207 clipHeight = newHeight; 223 updateChildClippingAndBackground(state, newHeight, clipHeight, 224 newHeight - (previousNotificationStart - newYTranslation)); 502 int newHeight = childHeight; 504 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset - 506 childViewState.height = newHeight; 508 childViewState.yTranslation = transitioningPositionStart + offset - newHeight 512 clampPositionToTopStackEnd(childViewState, newHeight); [all...] |
H A D | StackScrollState.java | 107 int newHeight = state.height; 149 if (height != newHeight) { 150 child.setActualHeight(newHeight, false /* notifyListeners */); 171 updateChildClip(child, newHeight, state.topOverLap);
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
H A D | ImfBaseTestCase.java | 125 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 D | GLConsumer.cpp | 876 int32_t newHeight = mCurrentCrop.height(); local 878 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 879 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 881 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 882 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 883 ST_LOGV("too tall: newHeight = %d", newHeight); 892 } else if (newHeight < mCurrentCrop.height()) { 893 int32_t dh = (newHeight - mCurrentCrop.height())/2;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 403 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { argument 411 mDisplaySurface->resizeBuffers(newWidth, newHeight); 420 LOG_FATAL_IF(mDisplayHeight != newHeight, 421 "Unable to set new height to %d", newHeight);
|
H A D | DisplayDevice.h | 113 void setDisplaySize(const int newWidth, const int newHeight);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ListRowPresenter.java | 421 int newHeight = expanded ? getExpandedRowHeight() : getRowHeight(); 422 vh.getGridView().setRowHeight(newHeight);
|