Home
last modified time | relevance | path

Searched refs:mMaxSize (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java135 mMaxSize = iconBitmapSize * 2; in SimpleIconFactory()
136 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in SimpleIconFactory()
138 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory()
139 mLeftBorder = new float[mMaxSize]; in SimpleIconFactory()
140 mRightBorder = new float[mMaxSize]; in SimpleIconFactory()
389 private final int mMaxSize; field in SimpleIconFactory
422 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale()
423 height = height <= 0 || height > mMaxSize ? mMaxSize : height; in getScale()
424 } else if (width > mMaxSize || height > mMaxSize) { in getScale()
426 width = mMaxSize * width / max; in getScale()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java38 private final int mMaxSize; field in ScanDetailCache
55 mMaxSize = maxSize; in ScanDetailCache()
62 if (mMap.size() >= mMaxSize) { in put()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java581 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
601 mMaxSize = maxSize; in setSize()
643 if (nextIndex >= mMaxSize) { in get()
644 nextIndex -= mMaxSize; in get()
668 if (mLogRecVector.size() < mMaxSize) { in add()
673 if (mOldestIndex >= mMaxSize) { in add()
1523 return smh.mLogRecords.mMaxSize; in getLogRecMaxSize()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp132 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
160 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
233 uint32_t getMaxWidth() const { return mMaxSize->width; } in getMaxWidth()
234 uint32_t getMaxHeight() const { return mMaxSize->height; } in getMaxHeight()
239 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftMpeg4Dec::IntfImpl
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp415 if (mMaxSize == 0) { in configureConsumerQueueLocked()
422 mMaxSize, 1); in configureConsumerQueueLocked()
428 mMaxSize, mId); in configureConsumerQueueLocked()
DCamera3Stream.h461 const size_t mMaxSize; variable
DCamera3IOStreamBase.cpp82 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
DCamera3InputStream.cpp225 assert(mMaxSize == 0); in configureQueueLocked()
DCamera3Stream.cpp56 mMaxSize(maxSize), in Camera3Stream()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp101 addParameter(DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
118 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
241 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftAomDec::IntfImpl
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp158 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
173 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
294 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftVpxDec::IntfImpl
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp79 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
118 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
295 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftAvcDec::IntfImpl
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp98 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
113 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
289 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftHevcDec::IntfImpl
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp85 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
100 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
277 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftMpeg2Dec::IntfImpl