/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | EmbeddedContentContainer.java | 39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { in onSizeChanged() argument 40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in onSizeChanged() 42 mSizeChangeListener.onSizeChanged(newWidth, newHeight); in onSizeChanged()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | SurfaceTexture.cpp | 354 uint32_t newHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local 356 if (newWidth * bufferHeight > newHeight * bufferWidth) { in scaleDownCrop() 357 newWidth = newHeight * bufferWidth / bufferHeight; in scaleDownCrop() 359 } else if (newWidth * bufferHeight < newHeight * bufferWidth) { in scaleDownCrop() 360 newHeight = newWidth * bufferHeight / bufferWidth; in scaleDownCrop() 361 ALOGV("too tall: newHeight = %d", newHeight); in scaleDownCrop() 375 } else if (newHeight < currentHeight) { in scaleDownCrop() 376 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 129 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation() argument 131 final int h = flipped ? newWidth : newHeight; in transformToRotation() 132 final int w = flipped ? newHeight : newWidth; in transformToRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NeverExactlyLinearLayout.kt | 40 val newHeight = if (heightExactly) height else measuredHeight in onMeasure() constant 41 setMeasuredDimension(newWidth, newHeight) in onMeasure()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 527 int newWidth, newHeight; in computeCompatibleScaling() local 530 newHeight = newLongSize; in computeCompatibleScaling() 533 newHeight = newShortSize; in computeCompatibleScaling() 537 float sh = height/(float)newHeight; in computeCompatibleScaling() 545 outDm.heightPixels = newHeight; in computeCompatibleScaling()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 447 int newHeight = (int) (height * scale); in calculateOptimalSize() local 453 if (newHeight == 0) { in calculateOptimalSize() 454 newHeight = 1; in calculateOptimalSize() 457 return new Size(newWidth, newHeight); in calculateOptimalSize()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 752 uint32_t newHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local 754 if (newWidth * bufferHeight > newHeight * bufferWidth) { in scaleDownCrop() 755 newWidth = newHeight * bufferWidth / bufferHeight; in scaleDownCrop() 757 } else if (newWidth * bufferHeight < newHeight * bufferWidth) { in scaleDownCrop() 758 newHeight = newWidth * bufferHeight / bufferWidth; in scaleDownCrop() 759 ALOGV("too tall: newHeight = %d", newHeight); in scaleDownCrop() 773 } else if (newHeight < currentHeight) { in scaleDownCrop() 774 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 130 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure() local 141 boolean showView = newHeight <= targetHeight && !isTooSmall; in onMeasure() 151 totalHeight = newHeight; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 241 val newHeight = Math.min((child.collapsedHeight + expansionHeight).toInt(), in <lambda>() constant 243 child.actualHeight = newHeight in <lambda>() 244 expansionHeight = max(newHeight.toFloat(), expansionHeight) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ExpandableViewState.java | 142 int newHeight = this.height; in applyToView() local 145 if (height != newHeight) { in applyToView() 146 expandableView.setActualHeight(newHeight, false /* notifyListeners */); in applyToView()
|
D | NotificationChildrenContainer.java | 678 int newHeight = intrinsicHeight; 681 newHeight = Math.max((parentHeight - top), 0); 683 childState.hidden = newHeight == 0; 684 childState.height = newHeight;
|
D | StackScrollAlgorithm.java | 175 float newHeight = state.height; in updateClipping() local 176 float newNotificationEnd = newYTranslation + newHeight; in updateClipping()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 500 uint32_t newHeight = video_def->nFrameHeight; in internalSetParameter() local 504 if (newWidth > 32768 || newHeight > 32768 in internalSetParameter() 510 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter() 515 mHeight = newHeight; in internalSetParameter() 525 def->format.video.nFrameHeight = newHeight; in internalSetParameter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 60 val newHeight = value.height constant 61 if (newWidth != desiredMeasureWidth || newHeight != desiredMeasureHeight) { 63 desiredMeasureHeight = newHeight
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 200 float newHeight = clamp(target); in updateExpansion() local 201 mScaler.setHeight(newHeight); in updateExpansion() 457 final float newHeight = clamp(rawHeight); in onTouchEvent() local 476 mScaler.setHeight(newHeight); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 1289 float newHeight = Math.max(0, h + mInitialOffsetOnTouch); in onTouch() local 1290 if (newHeight > mPeekHeight) { in onTouch() 1303 newHeight = Math.max(newHeight, mMinExpandHeight); in onTouch() 1310 setExpandedHeightInternal(newHeight); in onTouch()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 729 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight; in recordScreen() local 730 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen() 733 gVideoWidth, gVideoHeight, newWidth, newHeight); in recordScreen() 735 gVideoHeight = newHeight; in recordScreen()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 174 void resizeSurface(int newWidth, int newHeight);
|
D | BootAnimation.cpp | 473 void BootAnimation::resizeSurface(int newWidth, int newHeight) { in resizeSurface() argument 475 if (newWidth == mWidth && newHeight == mHeight) { in resizeSurface() 478 SLOGV("Resizing the boot animation surface to %d %d", newWidth, newHeight); in resizeSurface() 483 const auto limitedSize = limitSurfaceSize(newWidth, newHeight); in resizeSurface()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 1204 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure() local 1209 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure() 1213 if (newHeight <= heightSize) { in onMeasure() 1214 heightSize = newHeight; in onMeasure()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordTests.java | 425 final int newHeight = stableRect.width() - 10; in ignoreRequestedOrientationInFreeformWindows() local 426 bounds.top = stableRect.top + (stableRect.height() - newHeight) / 2; in ignoreRequestedOrientationInFreeformWindows() 427 bounds.bottom = bounds.top + newHeight; in ignoreRequestedOrientationInFreeformWindows() 464 final int newHeight = stableRect.width() - 10; in ignoreRequestedOrientationInSplitWindows() local 465 bounds.top = stableRect.top + (stableRect.height() - newHeight) / 2; in ignoreRequestedOrientationInSplitWindows() 466 bounds.bottom = bounds.top + newHeight; in ignoreRequestedOrientationInSplitWindows()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 304 int newHeight = Math.round(scale * height); in scaleBitmapIfTooBig() local 309 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig); in scaleBitmapIfTooBig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricView.java | 308 final int newHeight = mIconView.getHeight() + 2 * (int) iconPadding in updateSize() local 310 mPanelController.updateForContentDimensions(mMediumWidth, newHeight, in updateSize()
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 590 int32_t newHeight = getWindowProp(code->nativeWindow.get(), in onSurfaceChanged_native() local 593 || newHeight != code->lastWindowHeight) { in onSurfaceChanged_native()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 295 int newHeight = 10000; in onMeasure() local 297 int excessHeight = newHeight - availableHeight; in onMeasure() 302 heightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight, MeasureSpec.EXACTLY); in onMeasure()
|