/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/ |
D | MediaDataUtils.java | 105 float targetHeight = (float) target.second; in getScaleFactor() local 107 if (width == 0 || height == 0 || targetWidth == 0 || targetHeight == 0) { in getScaleFactor() 111 if ((width / height) > (targetWidth / targetHeight)) { in getScaleFactor() 113 return targetHeight / height; in getScaleFactor()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeUtils.kt | 113 val targetHeight = targetArea.height in maximumSizeMaintainingAspectRatio() constant 118 val tempWidth = (targetHeight / aspectRatio).toInt() in maximumSizeMaintainingAspectRatio() 120 finalHeight = targetHeight in maximumSizeMaintainingAspectRatio() 127 val tempWidth = (targetHeight * aspectRatio).toInt() in maximumSizeMaintainingAspectRatio() 129 finalHeight = targetHeight in maximumSizeMaintainingAspectRatio()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 473 int targetHeight, in transform() argument 479 int deltaY = source.getHeight() - targetHeight; in transform() 487 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() 497 deltaYHalf + Math.min(targetHeight, source.getHeight())); in transform() 499 int dstY = (targetHeight - src.height()) / 2; in transform() 504 targetHeight - dstY); in transform() 516 float viewAspect = (float) targetWidth / targetHeight; in transform() 519 float scale = targetHeight / bitmapHeightF; in transform() 548 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform() 555 targetHeight); in transform()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | GainmapDecodeTest.kt | 90 val targetHeight = (size.height * .33).toInt() in decode() constant 91 decoder.setTargetSize(targetWidth, targetHeight) in decode() 92 val dimen = minOf(targetWidth, targetHeight) in decode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 617 float targetHeight = nowExpanded ? naturalHeight : mSmallSize; in finishExpanding() local 618 if (targetHeight != currentHeight && mEnabled && allowAnimation) { in finishExpanding() 619 mScaleAnimation.setFloatValues(targetHeight); in finishExpanding() 649 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding() 652 if (targetHeight != currentHeight) { in finishExpanding() 653 mScaler.setHeight(targetHeight); in finishExpanding() 669 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight); in finishExpanding()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 82 int targetHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 85 targetHeight = Integer.MAX_VALUE; in onMeasure() 118 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure() 156 boolean showView = newHeight <= targetHeight && !isTooSmall; in onMeasure()
|
D | SlidingTab.java | 351 final int targetHeight = targetDrawable.getIntrinsicHeight(); in layout() local 362 final int targetTop = (parentHeight - targetHeight) / 2; in layout() 363 final int targetBottom = targetTop + targetHeight; in layout() 383 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout() 388 target.layout(targetLeft, top, targetRight, top + targetHeight); in layout() 393 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); in layout()
|
D | LocalImageResolver.java | 228 final int targetHeight = size.getHeight() * maxWidth / size.getWidth(); in resolveImage() local 229 decoder.setTargetSize(maxWidth, targetHeight); in resolveImage()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 69 int targetHeight = parent.getResources() in getLargeClockRegion() local 73 int top = parent.getHeight() / 2 - targetHeight / 2 in getLargeClockRegion() 79 top + targetHeight); in getLargeClockRegion() 84 int targetHeight = parent.getResources() in getSmallClockRegion() local 91 parent.getTop() + targetHeight); in getSmallClockRegion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | BouncerSwipeTouchHandler.java | 372 final float targetHeight = viewHeight * expansion; in flingToExpansion() local 376 mFlingAnimationUtilsClosing.apply(animator, currentHeight, targetHeight, velocity, in flingToExpansion() 381 animator, currentHeight, targetHeight, velocity, viewHeight); in flingToExpansion()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerHandleView.java | 144 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { in animateToTarget() argument 148 mCurrentHeight, targetHeight); in animateToTarget()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 106 float targetHeight = croppedDims[1] / (float)extDims[1]; in onProcess() local 107 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight); in onProcess()
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 429 int targetHeight = mTargetSize.height(); in decode() local 431 outputMatrix.preConcat(SkEncodedOriginToMatrix(origin, targetWidth, targetHeight)); in decode() 433 std::swap(targetWidth, targetHeight); in decode() 438 float scaleY = (float) targetHeight / mDecodeSize.height(); in decode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/ |
D | ImageLoader.kt | 495 val targetHeight = (imgSize.height * scale).toInt() in <lambda>() constant 497 Log.d(TAG, "Configured image size to $targetWidth x $targetHeight") in <lambda>() 500 decoder.setTargetSize(targetWidth, targetHeight) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManager.kt | 291 val targetHeight = (height * scale).toInt() in Size() constant 293 return Size(targetWidth, targetHeight) in Size()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CrossTaskBackAnimation.java | 220 float targetHeight = mStartTaskRect.height() * MIN_WINDOW_SCALE; 225 float height = mapRange(progress, mClosingStartRect.height(), targetHeight);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarAnimationHelper.java | 371 float targetHeight = bbev.getHeight() * EXPANDED_VIEW_IN_TARGET_SCALE; in animateIntoTarget() local 372 mTmpLocation[1] += (int) (targetHeight / 2f); in animateIntoTarget()
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 252 jint targetWidth, jint targetHeight, jobject jsubset, in ImageDecoder_nDecodeBitmap() argument 259 if (!decoder->setTargetSize(targetWidth, targetHeight)) { in ImageDecoder_nDecodeBitmap()
|
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/ |
D | LocalFloatingToolbarPopup.java | 574 final int targetHeight = mOverflowPanelSize.getHeight(); in openOverflow() local 604 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in openOverflow() 675 final int targetHeight = mMainPanelSize.getHeight(); in closeOverflow() local 681 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in closeOverflow()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/ |
D | ColumnVolumeSliders.kt | 219 targetHeight = { (it * SHRINK_FRACTION).toInt() }, in exitTransition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/ |
D | MediaControlViewBinder.kt | 502 targetHeight: Int in <lambda>() 508 MediaDataUtils.getScaleFactor(Pair(width, height), Pair(targetWidth, targetHeight)) in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 964 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument 967 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation() 972 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument 984 opts.mHeight = targetHeight; in makeAspectScaledThumbnailAnimation()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/ |
D | FooterActions.kt | 109 targetHeight = { 0 }, in <lambda>()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1245 int targetHeight = getTargetDimension(mHeight, sampleSize, size.getHeight()); in setTargetSampleSize() local 1246 this.setTargetSize(targetWidth, targetHeight); in setTargetSampleSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelViewController.java | 2703 float targetHeight = mQsController.getMinExpansionHeight() + qsExpansionFraction in onHeightUpdated() local 2706 mQsController.setExpansionHeight(targetHeight); in onHeightUpdated() 4180 private ValueAnimator createHeightAnimator(float targetHeight) { 4181 return createHeightAnimator(targetHeight, 0.0f /* performOvershoot */); 4190 private ValueAnimator createHeightAnimator(float targetHeight, float overshootAmount) { 4192 ValueAnimator animator = ValueAnimator.ofFloat(mExpandedHeight, targetHeight); 4198 || (targetHeight == 0.0f && startExpansion != 0)) {
|