Home
last modified time | relevance | path

Searched refs:targetHeight (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/java/android/media/
DThumbnailUtils.java472 int targetHeight, in transform() argument
478 int deltaY = source.getHeight() - targetHeight; in transform()
486 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform()
496 deltaYHalf + Math.min(targetHeight, source.getHeight())); in transform()
498 int dstY = (targetHeight - src.height()) / 2; in transform()
503 targetHeight - dstY); in transform()
515 float viewAspect = (float) targetWidth / targetHeight; in transform()
518 float scale = targetHeight / bitmapHeightF; in transform()
547 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
554 targetHeight); in transform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java590 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/
DMessagingLinearLayout.java71 int targetHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
74 targetHeight = Integer.MAX_VALUE; in onMeasure()
103 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure()
141 boolean showView = newHeight <= targetHeight && !isTooSmall; in onMeasure()
DSlidingTab.java354 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()
DFloatingToolbar.java807 final int targetHeight = mOverflowPanelSize.getHeight(); in openOverflow() local
837 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in openOverflow()
909 final int targetHeight = mMainPanelSize.getHeight(); in closeOverflow() local
915 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in closeOverflow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerHandleView.java113 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { in animateToTarget() argument
117 mCurrentHeight, targetHeight); in animateToTarget()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCropFilter.java106 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/
DPanelViewController.java628 protected boolean shouldExpandToTopOfClearAll(float targetHeight) { in shouldExpandToTopOfClearAll() argument
630 && mExpandedHeight < targetHeight in shouldExpandToTopOfClearAll()
974 private ValueAnimator createHeightAnimator(float targetHeight) { in createHeightAnimator() argument
975 ValueAnimator animator = ValueAnimator.ofFloat(mExpandedHeight, targetHeight); in createHeightAnimator()
DNotificationPanelViewController.java2030 targetHeight = in onHeightUpdated() local
2032 setQsExpansion(targetHeight); in onHeightUpdated()
2414 protected boolean shouldExpandToTopOfClearAll(float targetHeight) { in shouldExpandToTopOfClearAll() argument
2415 boolean perform = super.shouldExpandToTopOfClearAll(targetHeight); in shouldExpandToTopOfClearAll()
2421 float fraction = mNotificationStackScroller.calculateAppearFraction(targetHeight); in shouldExpandToTopOfClearAll()
/frameworks/base/core/java/android/app/
DActivityOptions.java708 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
711 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation()
715 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument
727 opts.mHeight = targetHeight; in makeAspectScaledThumbnailAnimation()
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp237 jint targetWidth, jint targetHeight, jobject jsubset, in ImageDecoder_nDecodeBitmap() argument
243 if (!decoder->setTargetSize(targetWidth, targetHeight)) { in ImageDecoder_nDecodeBitmap()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java1206 int targetHeight = getTargetDimension(mHeight, sampleSize, size.getHeight()); in setTargetSampleSize() local
1207 this.setTargetSize(targetWidth, targetHeight); in setTargetSampleSize()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1862 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument
1868 putDefaultNextAppTransitionCoordinates(startX, startY, targetWidth, targetHeight, in overridePendingAppTransitionAspectScaledThumb()
/frameworks/base/core/java/android/widget/
DGridLayout.java1144 int targetHeight = bottom - top; in onLayout() local
1152 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()