Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DThumbnailUtils.java360 int targetHeight, in transform() argument
366 int deltaY = source.getHeight() - targetHeight; in transform()
374 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform()
384 deltaYHalf + Math.min(targetHeight, source.getHeight())); in transform()
386 int dstY = (targetHeight - src.height()) / 2; in transform()
391 targetHeight - dstY); in transform()
403 float viewAspect = (float) targetWidth / targetHeight; in transform()
406 float scale = targetHeight / bitmapHeightF; in transform()
435 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
442 targetHeight); in transform()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java87 int targetHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
90 targetHeight = Integer.MAX_VALUE; in onMeasure()
95 || getMeasuredHeight() != targetHeight in onMeasure()
116 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure()
145 if (newHeight <= targetHeight && !measuredTooSmall) { in onMeasure()
184 targetHeight - child.getMeasuredHeight(), lp.height); in onMeasure()
DSlidingTab.java348 final int targetHeight = targetDrawable.getIntrinsicHeight(); in layout() local
359 final int targetTop = (parentHeight - targetHeight) / 2; in layout()
360 final int targetBottom = targetTop + targetHeight; in layout()
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
385 target.layout(targetLeft, top, targetRight, top + targetHeight); in layout()
390 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); in layout()
DFloatingToolbar.java762 final int targetHeight = mOverflowPanelSize.getHeight(); in openOverflow() local
792 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in openOverflow()
864 final int targetHeight = mMainPanelSize.getHeight(); in closeOverflow() local
870 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in closeOverflow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java570 float targetHeight = nowExpanded ? naturalHeight : mSmallSize; in finishExpanding() local
571 if (targetHeight != currentHeight && mEnabled) { in finishExpanding()
572 mScaleAnimation.setFloatValues(targetHeight); in finishExpanding()
599 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding()
602 if (targetHeight != currentHeight) { in finishExpanding()
603 mScaler.setHeight(targetHeight); in finishExpanding()
616 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight); in finishExpanding()
/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/support/samples/SupportLeanbackShowcase/libs/
Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/ ...
/frameworks/base/core/java/android/app/
DActivityOptions.java559 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
562 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation()
566 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument
578 opts.mHeight = targetHeight; in makeAspectScaledThumbnailAnimation()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl103 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java221 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java1139 private ValueAnimator createHeightAnimator(float targetHeight) { in createHeightAnimator() argument
1140 ValueAnimator animator = ValueAnimator.ofFloat(mExpandedHeight, targetHeight); in createHeightAnimator()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java708 private void animateLayoutHeight(final View view, int targetHeight) { in animateLayoutHeight() argument
710 final int endValue = targetHeight; in animateLayoutHeight()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1751 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument
1757 putDefaultNextAppTransitionCoordinates(startX, startY, targetWidth, targetHeight, in overridePendingAppTransitionAspectScaledThumb()
DWindowManagerService.java2705 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
2709 targetWidth, targetHeight, startedCallback, scaleUp); in overridePendingAppTransitionAspectScaledThumb()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1017 int targetHeight = bottom - top; in onLayout() local
1025 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
/frameworks/base/core/java/android/widget/
DGridLayout.java1121 int targetHeight = bottom - top; in onLayout() local
1129 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()