/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 359 int targetWidth, in transform() argument 365 int deltaX = source.getWidth() - targetWidth; in transform() 374 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() 383 deltaXHalf + Math.min(targetWidth, source.getWidth()), in transform() 385 int dstX = (targetWidth - src.width()) / 2; in transform() 390 targetWidth - dstX, in transform() 403 float viewAspect = (float) targetWidth / targetHeight; in transform() 413 float scale = targetWidth / bitmapWidthF; in transform() 434 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform() 441 targetWidth, in transform()
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
D | ColorCutQuantizer.java | 503 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument 505 if (targetWidth > currentWidth) { in modifyWordWidth() 508 newValue = value * ((1 << targetWidth) - 1) / ((1 << currentWidth) - 1); in modifyWordWidth() 511 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth() 513 return newValue & ((1 << targetWidth) - 1); in modifyWordWidth()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | AbstractMediaItemPresenter.java | 477 final int targetWidth = sTempRect.width(); in updateSelector() local 478 final float deltaWidth = lp.width - targetWidth; in updateSelector() 486 lp.width = targetWidth; in updateSelector() 501 lp.width = Math.round(targetWidth + deltaWidth * fractionToEnd); in updateSelector()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerHandleView.java | 113 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { in animateToTarget() argument 115 mCurrentWidth, targetWidth); in animateToTarget()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | ActionMenuItemView.java | 292 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() local 295 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure() 297 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 310 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() local 313 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure() 315 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 532 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleUpAnimation() argument 535 targetWidth, targetHeight, handler, listener, true); in makeThumbnailAspectScaleUpAnimation() 558 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument 561 targetWidth, targetHeight, handler, listener, false); in makeThumbnailAspectScaleDownAnimation() 565 int startX, int startY, int targetWidth, int targetHeight, in makeAspectScaledThumbnailAnimation() argument 576 opts.mWidth = targetWidth; in makeAspectScaledThumbnailAnimation()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 347 final int targetWidth = targetDrawable.getIntrinsicWidth(); in layout() local 352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout() 367 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); in layout() 372 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); in layout() 378 final int targetLeft = (parentWidth - targetWidth) / 2; in layout() 379 final int targetRight = (parentWidth + targetWidth) / 2; in layout()
|
D | FloatingToolbar.java | 728 final int targetWidth = mOverflowPanelSize.getWidth(); in openOverflow() local 738 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in openOverflow() 752 mOverflowPanel.setX(mContentContainer.getWidth() - targetWidth); in openOverflow() 770 overflowButtonStartX + targetWidth - mOverflowButton.getWidth() : in openOverflow() 771 overflowButtonStartX - targetWidth + mOverflowButton.getWidth(); in openOverflow() 806 final int targetWidth = mMainPanelSize.getWidth(); in closeOverflow() local 813 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in closeOverflow() 826 mMainPanel.setX(mContentContainer.getWidth() - targetWidth); in closeOverflow()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 105 float targetWidth = croppedDims[0] / (float)extDims[0]; in onProcess() local 107 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight); in onProcess()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 1167 final int targetWidth = target.getWidth(); in transitionPreviewLayout() local 1168 if (targetWidth > previewWidth) { in transitionPreviewLayout() 1169 target.setScaleX((float) previewWidth / targetWidth); in transitionPreviewLayout() 1178 if (showingWidth > targetWidth) { in transitionPreviewLayout() 1179 final float scale = (float) targetWidth / showingWidth; in transitionPreviewLayout()
|
D | ActionMenuView.java | 426 final int targetWidth = cellsUsed * cellSize; in measureChildForCells() local 427 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
|
D | GridLayout.java | 1110 int targetWidth = right - left; in onLayout() local 1118 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout() 1174 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 144 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuView.java | 429 final int targetWidth = cellsUsed * cellSize; in measureChildForCells() local 430 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 236 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 1010 int targetWidth = right - left; in onLayout() local 1018 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout() 1074 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1650 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument 1656 putDefaultNextAppTransitionCoordinates(startX, startY, targetWidth, targetHeight, in overridePendingAppTransitionAspectScaledThumb()
|
D | WindowManagerService.java | 3955 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument 3959 targetWidth, targetHeight, startedCallback, scaleUp); in overridePendingAppTransitionAspectScaledThumb()
|