Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DThumbnailUtils.java359 int targetHeight, in transform() argument
365 int deltaY = source.getHeight() - targetHeight; in transform()
373 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform()
383 deltaYHalf + Math.min(targetHeight, source.getHeight())); in transform()
385 int dstY = (targetHeight - src.height()) / 2; in transform()
390 targetHeight - dstY); in transform()
402 float viewAspect = (float) targetWidth / targetHeight; in transform()
405 float scale = targetHeight / bitmapHeightF; in transform()
434 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
441 targetHeight); in transform()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFullscreenBlur.java53 static int targetHeight; field in FullscreenBlur
59 targetHeight = h/8; in createRenderTargets()
61 Type renderType = b.setX(targetWidth).setY(targetHeight).create(); in createRenderTargets()
69 renderType = b.setX(targetWidth).setY(targetHeight).create(); in createRenderTargets()
143 addOffsets(quad, 1.0f / (float)targetHeight); in addBlurPasses()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java533 float targetHeight = mSmallSize; in finishExpanding() local
537 targetHeight = (force || currentHeight > mSmallSize) ? mNaturalHeight : mSmallSize; in finishExpanding()
539 targetHeight = (force || currentHeight < mNaturalHeight) ? mSmallSize : mNaturalHeight; in finishExpanding()
544 mCallback.setUserExpandedChild(mResizedView, targetHeight == mNaturalHeight); in finishExpanding()
546 if (targetHeight != currentHeight) { in finishExpanding()
547 mScaleAnimation.setFloatValues(targetHeight); in finishExpanding()
557 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding()
569 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight); in finishExpanding()
/frameworks/base/core/java/android/app/
DActivityOptions.java397 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleUpAnimation() argument
400 targetWidth, targetHeight, handler, listener, true); in makeThumbnailAspectScaleUpAnimation()
423 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
426 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation()
430 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument
442 opts.mHeight = targetHeight; in makeAspectScaledThumbnailAnimation()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCropFilter.java107 float targetHeight = croppedDims[1] / (float)extDims[1]; in onProcess() local
108 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight); in onProcess()
/frameworks/base/core/java/com/android/internal/widget/
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()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl97 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java225 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java907 private ValueAnimator createHeightAnimator(float targetHeight) { in createHeightAnimator() argument
908 ValueAnimator animator = ValueAnimator.ofFloat(mExpandedHeight, targetHeight); in createHeightAnimator()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1008 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument
1018 mNextAppTransitionStartHeight = targetHeight; in overridePendingAppTransitionAspectScaledThumb()
DWindowManagerService.java4122 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
4126 startY, targetWidth, targetHeight, startedCallback, scaleUp); in overridePendingAppTransitionAspectScaledThumb()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1009 int targetHeight = bottom - top; in onLayout() local
1017 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
/frameworks/base/core/java/android/widget/
DGridLayout.java1120 int targetHeight = bottom - top; in onLayout() local
1128 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()