/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/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 590 float targetHeight = nowExpanded ? naturalHeight : mSmallSize; in finishExpanding() local 591 if (targetHeight != currentHeight && mEnabled && allowAnimation) { in finishExpanding() 592 mScaleAnimation.setFloatValues(targetHeight); in finishExpanding() 619 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding() 622 if (targetHeight != currentHeight) { in finishExpanding() 623 mScaler.setHeight(targetHeight); in finishExpanding() 636 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight); in finishExpanding()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 72 int targetHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 75 targetHeight = Integer.MAX_VALUE; in onMeasure() 104 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure() 142 boolean showView = newHeight <= targetHeight && !isTooSmall; in onMeasure()
|
D | LocalImageResolver.java | 73 final int targetHeight = size.getHeight() * maxWidth / size.getWidth(); in resolveImage() local 74 decoder.setTargetSize(maxWidth, targetHeight); in resolveImage()
|
D | SlidingTab.java | 354 final int targetHeight = targetDrawable.getIntrinsicHeight(); in layout() local 365 final int targetTop = (parentHeight - targetHeight) / 2; in layout() 366 final int targetBottom = targetTop + targetHeight; in layout() 386 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout() 391 target.layout(targetLeft, top, targetRight, top + targetHeight); in layout() 396 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); in layout()
|
D | FloatingToolbar.java | 815 final int targetHeight = mOverflowPanelSize.getHeight(); in openOverflow() local 845 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in openOverflow() 917 final int targetHeight = mMainPanelSize.getHeight(); in closeOverflow() local 923 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in closeOverflow()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerHandleView.java | 115 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { in animateToTarget() argument 119 mCurrentHeight, targetHeight); in animateToTarget()
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 411 int targetHeight = mTargetSize.height(); in decode() local 413 outputMatrix.preConcat(SkEncodedOriginToMatrix(origin, targetWidth, targetHeight)); in decode() 415 std::swap(targetWidth, targetHeight); in decode() 420 float scaleY = (float) targetHeight / mDecodeSize.height(); in decode()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 1023 private ValueAnimator createHeightAnimator(float targetHeight) { in createHeightAnimator() argument 1024 return createHeightAnimator(targetHeight, 0.0f /* performOvershoot */); in createHeightAnimator() 1033 private ValueAnimator createHeightAnimator(float targetHeight, float overshootAmount) { in createHeightAnimator() argument 1035 ValueAnimator animator = ValueAnimator.ofFloat(mExpandedHeight, targetHeight); in createHeightAnimator() 1040 || (targetHeight == 0.0f && startExpansion != 0)) { in createHeightAnimator()
|
D | NotificationPanelViewController.java | 2834 targetHeight = in onHeightUpdated() local 2836 setQsExpansion(targetHeight); in onHeightUpdated()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 794 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument 797 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation() 801 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument 813 opts.mHeight = targetHeight; in makeAspectScaledThumbnailAnimation()
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 240 jint targetWidth, jint targetHeight, jobject jsubset, in ImageDecoder_nDecodeBitmap() argument 246 if (!decoder->setTargetSize(targetWidth, targetHeight)) { in ImageDecoder_nDecodeBitmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1212 int targetHeight = getTargetDimension(mHeight, sampleSize, size.getHeight()); in setTargetSampleSize() local 1213 this.setTargetSize(targetWidth, targetHeight); in setTargetSampleSize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1250 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument 1257 putDefaultNextAppTransitionCoordinates(startX, startY, targetWidth, targetHeight, in overridePendingAppTransitionAspectScaledThumb()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 1150 int targetHeight = bottom - top; in onLayout() local 1158 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
|