/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 358 int targetWidth, in transform() argument 364 int deltaX = source.getWidth() - targetWidth; in transform() 373 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() 382 deltaXHalf + Math.min(targetWidth, source.getWidth()), in transform() 384 int dstX = (targetWidth - src.width()) / 2; in transform() 389 targetWidth - dstX, in transform() 402 float viewAspect = (float) targetWidth / targetHeight; in transform() 412 float scale = targetWidth / bitmapWidthF; in transform() 433 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform() 440 targetWidth, in transform()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | FullscreenBlur.java | 52 static int targetWidth; field in FullscreenBlur 58 targetWidth = w/8; in createRenderTargets() 61 Type renderType = b.setX(targetWidth).setY(targetHeight).create(); in createRenderTargets() 69 renderType = b.setX(targetWidth).setY(targetHeight).create(); in createRenderTargets() 134 addOffsets(quad, 1.0f / (float)targetWidth); in addBlurPasses()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 397 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 441 opts.mWidth = targetWidth; in makeAspectScaledThumbnailAnimation()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 298 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() local 301 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure() 303 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuItemView.java | 281 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() local 284 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure() 286 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 106 float targetWidth = croppedDims[0] / (float)extDims[0]; in onProcess() local 108 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight); in onProcess()
|
/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()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 97 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 1118 final int targetWidth = target.getWidth(); in transitionPreviewLayout() local 1119 if (targetWidth > previewWidth) { in transitionPreviewLayout() 1120 target.setScaleX((float) previewWidth / targetWidth); in transitionPreviewLayout() 1129 if (showingWidth > targetWidth) { in transitionPreviewLayout() 1130 final float scale = (float) targetWidth / showingWidth; in transitionPreviewLayout()
|
D | ActionMenuView.java | 418 final int targetWidth = cellsUsed * cellSize; in measureChildForCells() local 419 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
|
D | GridLayout.java | 1119 int targetWidth = right - left; in onLayout() local 1127 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout() 1183 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 225 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuView.java | 428 final int targetWidth = cellsUsed * cellSize; in measureChildForCells() local 429 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1008 int targetWidth, int targetHeight, IRemoteCallback startedCallback, boolean scaleUp) { in overridePendingAppTransitionAspectScaledThumb() argument 1017 mNextAppTransitionStartWidth = targetWidth; in overridePendingAppTransitionAspectScaledThumb()
|
D | WindowManagerService.java | 4122 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/ |
D | GridLayout.java | 1008 int targetWidth = right - left; in onLayout() local 1016 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout() 1072 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
|