Home
last modified time | relevance | path

Searched refs:destW (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java236 .min((float) srcW / mDecodeOpts.destW, (float) srcH / mDecodeOpts.destH); in decode()
265 Bitmap.createBitmap(mDecodeOpts.destW, mDecodeOpts.destH, in decode()
325 BitmapUtils.calculateCroppedSrcRect(srcW, srcH, mDecodeOpts.destW, in decode()
333 + " dstW/H=" + mDecodeOpts.destW + "/" + mDecodeOpts.destH); in decode()
552 public int destW; field in DecodeTask.DecodeOptions
574 public DecodeOptions(final int destW, final int destH) { in DecodeOptions() argument
575 this(destW, destH, 0.5f, 0.5f, STRATEGY_ROUND_NEAREST); in DecodeOptions()
587 public DecodeOptions(final int destW, final int destH, in DecodeOptions() argument
589 this(destW, destH, 0.5f, verticalCenter, sampleSizeStrategy); in DecodeOptions()
604 public DecodeOptions(final int destW, final int destH, final float horizontalCenter, in DecodeOptions() argument
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java134 final int destW = destinationBounds.width(); in rotateAndScaleWithCrop() local
138 final float scale = srcW <= srcH ? (float) destW / srcW : (float) destH / srcH; in rotateAndScaleWithCrop()
140 crop.set(0, 0, destW, destH); in rotateAndScaleWithCrop()
/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp328 int32_t destW = destRect.width(); in updateGeometry() local
332 destRect.right = destW; in updateGeometry()
358 float sx = destW / static_cast<float>(bufferWidth); in updateGeometry()