Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/java/android/media/
DThumbnailUtils.java456 int targetWidth, in transform() argument
462 int deltaX = source.getWidth() - targetWidth; in transform()
471 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform()
480 deltaXHalf + Math.min(targetWidth, source.getWidth()), in transform()
482 int dstX = (targetWidth - src.width()) / 2; in transform()
487 targetWidth - dstX, in transform()
500 float viewAspect = (float) targetWidth / targetHeight; in transform()
510 float scale = targetWidth / bitmapWidthF; in transform()
531 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform()
538 targetWidth, in transform()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java525 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
527 if (targetWidth > currentWidth) { in modifyWordWidth()
529 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
532 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
534 return newValue & ((1 << targetWidth) - 1); in modifyWordWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerHandleView.java113 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { in animateToTarget() argument
115 mCurrentWidth, targetWidth); in animateToTarget()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java289 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() local
292 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
294 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimator.java185 int targetWidth = primary.sourceContainerBounds.width(); in onAnimationStart() local
198 targetWidth, progress); in onAnimationStart()
199 mParams.left = (int) ((targetWidth - newWidth) / 2.0f); in onAnimationStart()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java353 final int targetWidth = targetDrawable.getIntrinsicWidth(); in layout() local
358 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()
373 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); in layout()
378 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); in layout()
384 final int targetLeft = (parentWidth - targetWidth) / 2; in layout()
385 final int targetRight = (parentWidth + targetWidth) / 2; in layout()
DFloatingToolbar.java806 final int targetWidth = mOverflowPanelSize.getWidth(); in openOverflow() local
816 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in openOverflow()
830 mOverflowPanel.setX(mContentContainer.getWidth() - targetWidth); in openOverflow()
848 overflowButtonStartX + targetWidth - mOverflowButton.getWidth() : in openOverflow()
849 overflowButtonStartX - targetWidth + mOverflowButton.getWidth(); in openOverflow()
884 final int targetWidth = mMainPanelSize.getWidth(); in closeOverflow() local
891 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in closeOverflow()
904 mMainPanel.setX(mContentContainer.getWidth() - targetWidth); in closeOverflow()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCropFilter.java105 float targetWidth = croppedDims[0] / (float)extDims[0]; in onProcess() local
107 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight); in onProcess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java387 final int targetWidth = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED in onMeasure() local
466 && (lineCount == 2 || accumulatedMeasures.mMeasuredWidth > targetWidth); in onMeasure()
476 if (accumulatedMeasures.mMeasuredWidth > targetWidth) { in onMeasure()
478 while (accumulatedMeasures.mMeasuredWidth > targetWidth in onMeasure()
492 if (accumulatedMeasures.mMeasuredWidth > targetWidth) { in onMeasure()
/frameworks/base/core/java/android/app/
DActivityOptions.java637 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
640 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation()
644 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument
655 opts.mWidth = targetWidth; in makeAspectScaledThumbnailAnimation()
/frameworks/base/core/java/android/widget/
DFastScroller.java1181 final int targetWidth = target.getWidth(); in transitionPreviewLayout() local
1182 if (targetWidth > previewWidth) { in transitionPreviewLayout()
1183 target.setScaleX((float) previewWidth / targetWidth); in transitionPreviewLayout()
1192 if (showingWidth > targetWidth) { in transitionPreviewLayout()
1193 final float scale = (float) targetWidth / showingWidth; in transitionPreviewLayout()
DActionMenuView.java428 final int targetWidth = cellsUsed * cellSize; in measureChildForCells() local
429 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
DGridLayout.java1143 int targetWidth = right - left; in onLayout() local
1151 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1207 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java1193 int targetWidth = getTargetDimension(mWidth, sampleSize, size.getWidth()); in setTargetSampleSize() local
1195 this.setTargetSize(targetWidth, targetHeight); in setTargetSampleSize()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1885 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument
1891 putDefaultNextAppTransitionCoordinates(startX, startY, targetWidth, targetHeight, in overridePendingAppTransitionAspectScaledThumb()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt26187 Landroid/icu/impl/number/Padder;->targetWidth:I