Home
last modified time | relevance | path

Searched refs:destH (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()
326 mDecodeOpts.destH, mDecodeOpts.destH, mOpts.inSampleSize, in decode()
333 + " dstW/H=" + mDecodeOpts.destW + "/" + mDecodeOpts.destH); in decode()
556 public int destH; 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.java135 final int destH = destinationBounds.height(); 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.cpp329 int32_t destH = destRect.height(); in updateGeometry() local
336 destRect.bottom = destH; in updateGeometry()
359 float sy = destH / static_cast<float>(bufferHeight); in updateGeometry()