/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/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.cpp | 366 uint32_t newHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local 368 if (newWidth * bufferHeight > newHeight * bufferWidth) { in scaleDownCrop() 369 newWidth = newHeight * bufferWidth / bufferHeight; in scaleDownCrop() 371 } else if (newWidth * bufferHeight < newHeight * bufferWidth) { in scaleDownCrop() 372 newHeight = newWidth * bufferHeight / bufferWidth; in scaleDownCrop() 373 ALOGV("too tall: newHeight = %d", newHeight); in scaleDownCrop() 387 } else if (newHeight < currentHeight) { in scaleDownCrop() 388 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/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/packages/SystemUI/src/com/android/systemui/ |
D | HardwareUiLayout.java | 167 int newHeight = mList.getMeasuredHeight(); in onMeasure() local 168 if (newHeight != mOldHeight) { in onMeasure() 169 animateChild(mOldHeight, newHeight); in onMeasure() 408 private void animateChild(int oldHeight, int newHeight) { in animateChild() argument 423 int toTop = fromTop - ((newHeight - oldHeight) / 2); in animateChild() 424 int toBottom = fromBottom + ((newHeight - oldHeight) / 2); in animateChild()
|
D | ExpandHelper.java | 197 float newHeight = clamp(target); in updateExpansion() local 198 mScaler.setHeight(newHeight); in updateExpansion() 447 final float newHeight = clamp(rawHeight); in onTouchEvent() local 466 mScaler.setHeight(newHeight); in onTouchEvent()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 439 int newHeight = (int) (height * scale); in calculateOptimalSize() local 445 if (newHeight == 0) { in calculateOptimalSize() 446 newHeight = 1; in calculateOptimalSize() 449 return new Size(newWidth, newHeight); in calculateOptimalSize()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 753 uint32_t newHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local 755 if (newWidth * bufferHeight > newHeight * bufferWidth) { in scaleDownCrop() 756 newWidth = newHeight * bufferWidth / bufferHeight; in scaleDownCrop() 758 } else if (newWidth * bufferHeight < newHeight * bufferWidth) { in scaleDownCrop() 759 newHeight = newWidth * bufferHeight / bufferWidth; in scaleDownCrop() 760 ALOGV("too tall: newHeight = %d", newHeight); in scaleDownCrop() 774 } else if (newHeight < currentHeight) { in scaleDownCrop() 775 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure() local 124 if (newHeight <= targetHeight && !isTooSmall) { in onMeasure() 125 totalHeight = newHeight; in onMeasure()
|
D | FloatingToolbar.java | 1074 final int newHeight = calculateOverflowHeight(maxItemSize); in updateOverflowHeight() local 1075 if (mOverflowPanelSize.getHeight() != newHeight) { in updateOverflowHeight() 1076 mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight); in updateOverflowHeight() 1082 final int deltaHeight = mOverflowPanelSize.getHeight() - newHeight; in updateOverflowHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 238 val newHeight = Math.min((child.collapsedHeight + expansionHeight).toInt(), in <lambda>() constant 240 child.actualHeight = newHeight in <lambda>() 241 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 | 643 int newHeight = intrinsicHeight; 646 newHeight = Math.max((parentHeight - top), 0); 648 childState.hidden = newHeight == 0; 649 childState.height = newHeight;
|
D | StackScrollAlgorithm.java | 172 float newHeight = state.height; in updateClipping() local 173 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/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 198 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { in setDisplaySize() argument 199 mCompositionDisplay->setBounds(ui::Size(newWidth, newHeight)); in setDisplaySize()
|
D | DisplayDevice.h | 95 void setDisplaySize(const int newWidth, const int newHeight);
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 639 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight; in recordScreen() local 640 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen() 643 gVideoWidth, gVideoHeight, newWidth, newHeight); in recordScreen() 645 gVideoHeight = newHeight; in recordScreen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 374 float newHeight = Math.max(0, h + mInitialOffsetOnTouch); in onTouchEvent() local 375 if (newHeight > mPeekHeight) { in onTouchEvent() 388 newHeight = Math.max(newHeight, mMinExpandHeight); in onTouchEvent() 395 setExpandedHeightInternal(newHeight); in onTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 590 int newHeight) { in updateDraggedBounds() argument 598 top = bottom - newHeight; in updateDraggedBounds() 600 bottom = top + newHeight; in updateDraggedBounds()
|
/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/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/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/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1363 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT; in onConfigureWindow() local 1364 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow() 1367 + "window: " + currentHeight + " -> " + newHeight); in onConfigureWindow() 1370 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight); in onConfigureWindow()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 3727 int newHeight = Math.min(prevHeight + yDiff, mDirectShareMaxHeight); 3728 newHeight = Math.max(newHeight, mDirectShareMinHeight); 3729 yDiff = newHeight - prevHeight; 3746 int heightSpec = MeasureSpec.makeMeasureSpec(newHeight, 3759 mDirectShareCurrHeight = newHeight;
|