Home
last modified time | relevance | path

Searched refs:mTargetSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp74 mTargetSize = swapWidthHeight() ? SkISize { mDecodeSize.height(), mDecodeSize.width() } in ImageDecoder()
137 mTargetSize = targetSize; in setTargetSize()
153 const auto& size = mTargetSize; in setCropRect()
191 if (requires_matrix_scaling(swapWidthHeight(), mDecodeSize, mTargetSize)) { in setUnpremultipliedRequired()
210 SkISize size = mCropRect ? mCropRect->size() : mTargetSize; in getOutputInfo()
402 if (requires_matrix_scaling(swapWidthHeight(), mDecodeSize, mTargetSize)) { in decode()
419 const bool scale = mDecodeSize != mTargetSize; in decode()
428 int targetWidth = mTargetSize.width(); in decode()
429 int targetHeight = mTargetSize.height(); in decode()
525 const bool isScaled = width() != mTargetSize.width() || height() != mTargetSize.height(); in extractGainmap()
[all …]
DImageDecoder.h108 SkISize mTargetSize; variable
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java48 private final int mTargetSize; field in UnrefedPooledCache
68 mTargetSize = targetSize - nonPooledSize; in UnrefedPooledCache()
141 if (unrefSize > mTargetSize) { in poll()
147 if (unrefSize <= mTargetSize) { in poll()
150 + (mTargetSize-unrefSize)); in poll()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipDismissTargetHandler.java76 private int mTargetSize; field in PipDismissTargetHandler
201 mTargetSize = res.getDimensionPixelSize(R.dimen.dismiss_circle_size); in updateMagneticTargetSize()
214 mMagneticTarget.setMagneticFieldRadiusPx((int) (mMagneticFieldRadiusPercent * mTargetSize in setMagneticFieldRadiusPercent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipDismissTargetHandler.java76 private int mTargetSize; field in PipDismissTargetHandler
201 mTargetSize = res.getDimensionPixelSize(R.dimen.dismiss_circle_size); in updateMagneticTargetSize()
214 mMagneticTarget.setMagneticFieldRadiusPx((int) (mMagneticFieldRadiusPercent * mTargetSize in setMagneticFieldRadiusPercent()