/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeUtils.kt | 116 val finalWidth: Int in maximumSizeMaintainingAspectRatio() constant 121 finalWidth = tempWidth in maximumSizeMaintainingAspectRatio() 123 finalWidth = targetWidth in maximumSizeMaintainingAspectRatio() 124 finalHeight = (finalWidth * aspectRatio).toInt() in maximumSizeMaintainingAspectRatio() 130 finalWidth = tempWidth in maximumSizeMaintainingAspectRatio() 132 finalWidth = targetWidth in maximumSizeMaintainingAspectRatio() 133 finalHeight = (finalWidth / aspectRatio).toInt() in maximumSizeMaintainingAspectRatio() 136 return Size(finalWidth, finalHeight) in maximumSizeMaintainingAspectRatio()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp | 526 int finalWidth; in compress() local 528 finalWidth = cropRight - cropLeft; in compress() 534 finalWidth = cropBottom - cropTop; in compress() 537 finalWidth = cropBottom - cropTop; in compress() 550 int y_row_length = (finalWidth + 16 + 63) & ~63; in compress() 551 int cb_row_length = (finalWidth / 2 + 16 + 63) & ~63; in compress() 552 int cr_row_length = (finalWidth / 2 + 16 + 63) & ~63; in compress() 564 return compress(finalWidth, finalHeight, yIter, cbIter, crIter, outBuf, outBufCapacity, flush, in compress()
|
/frameworks/ex/camera2/extensions/jni/ |
D | JpegEncoder.cpp | 524 int finalWidth; in compress() local 526 finalWidth = cropRight - cropLeft; in compress() 532 finalWidth = cropBottom - cropTop; in compress() 535 finalWidth = cropBottom - cropTop; in compress() 548 int y_row_length = (finalWidth + 16 + 63) & ~63; in compress() 549 int cb_row_length = (finalWidth / 2 + 16 + 63) & ~63; in compress() 550 int cr_row_length = (finalWidth / 2 + 16 + 63) & ~63; in compress() 562 return compress(finalWidth, finalHeight, yIter, cbIter, crIter, outBuf, outBufCapacity, flush, in compress()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 402 float animationScale, int finalWidth, int finalHeight, int exitAnim, int enterAnim) { in startAnimation() argument 458 mRotateExitAnimation.initialize(finalWidth, finalHeight, mOriginalWidth, mOriginalHeight); in startAnimation() 461 mRotateEnterAnimation.initialize(finalWidth, finalHeight, mOriginalWidth, mOriginalHeight); in startAnimation() 476 Rect outer = new Rect(-finalWidth, -finalHeight, in startAnimation() 477 finalWidth * 2, finalHeight * 2); in startAnimation() 478 Rect inner = new Rect(0, 0, finalWidth, finalHeight); in startAnimation() 499 float animationScale, int finalWidth, int finalHeight, int exitAnim, int enterAnim) { in dismiss() argument 506 finalWidth, finalHeight); in dismiss() 507 startAnimation(t, maxAnimationDuration, animationScale, finalWidth, finalHeight, in dismiss()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationOptimizedLinearLayout.java | 437 final int finalWidth = resolveSizeAndState(Math.max(maxWidth, getSuggestedMinimumWidth()), in measureVerticalOptimized() local 441 setMeasuredDimension(finalWidth, finalHeight); in measureVerticalOptimized()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 2291 final int finalWidth = mWidthMode < 0 ? mWidthMode : mLastWidth; in update() 2292 if (width != -1 && p.width != finalWidth) { in update() 2293 p.width = mLastWidth = finalWidth; in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 895 final int finalWidth = width; in bindArtworkAndColors() local 906 artwork = addGradientToPlayerAlbum(artworkIcon, mutableColorScheme, finalWidth, in bindArtworkAndColors() 949 scaleTransitionDrawableLayer(transitionDrawable, 0, finalWidth, in bindArtworkAndColors() 951 scaleTransitionDrawableLayer(transitionDrawable, 1, finalWidth, in bindArtworkAndColors()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 4183 final int finalWidth = mActivity.getBounds().width(); 4184 assertEquals(initialWidth, finalWidth); 4185 assertNotEquals(finalWidth, getExpectedSplitSize(dw));
|