Home
last modified time | relevance | path

Searched refs:finalWidth (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt116 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/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp526 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/
DJpegEncoder.cpp524 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/
DScreenRotationAnimation.java402 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/
DNotificationOptimizedLinearLayout.java437 final int finalWidth = resolveSizeAndState(Math.max(maxWidth, getSuggestedMinimumWidth()), in measureVerticalOptimized() local
441 setMeasuredDimension(finalWidth, finalHeight); in measureVerticalOptimized()
/frameworks/base/core/java/android/widget/
DPopupWindow.java2291 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/
DMediaControlPanel.java895 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/
DSizeCompatTests.java4183 final int finalWidth = mActivity.getBounds().width();
4184 assertEquals(initialWidth, finalWidth);
4185 assertNotEquals(finalWidth, getExpectedSplitSize(dw));