Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/inline/
DInlinePresentationSpec.java42 private final Size mMaxSize; field in InlinePresentationSpec
104 this.mMaxSize = maxSize; in InlinePresentationSpec()
106 NonNull.class, null, mMaxSize); in InlinePresentationSpec()
127 return mMaxSize; in getMaxSize()
155 "maxSize = " + mMaxSize + ", " + in toString()
174 && java.util.Objects.equals(mMaxSize, that.mMaxSize) in equals()
186 _hash = 31 * _hash + java.util.Objects.hashCode(mMaxSize); in hashCode()
198 dest.writeSize(mMaxSize); in writeToParcel()
220 this.mMaxSize = maxSize; in InlinePresentationSpec()
222 NonNull.class, null, mMaxSize); in InlinePresentationSpec()
[all …]
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java68 private final int mMaxSize; field in IconNormalizer
90 mMaxSize = iconBitmapSize * 2; in IconNormalizer()
91 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in IconNormalizer()
93 mPixels = new byte[mMaxSize * mMaxSize]; in IconNormalizer()
94 mLeftBorder = new float[mMaxSize]; in IconNormalizer()
95 mRightBorder = new float[mMaxSize]; in IconNormalizer()
205 int index = y * mMaxSize; in isTransparentBitmap()
207 int rowSizeDiff = mMaxSize - mBounds.right; in isTransparentBitmap()
243 mAdaptiveIconScale = normalizeAdaptiveIcon(d, mMaxSize, mAdaptiveIconBounds); in getScale()
253 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale()
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DWireBuffer.java25 int mMaxSize; field in WireBuffer
32 mMaxSize = size; in WireBuffer()
33 mBuffer = new byte[mMaxSize]; in WireBuffer()
41 if (mSize + need >= mMaxSize) { in resize()
42 mMaxSize = Math.max(mMaxSize * 2, mSize + need); in resize()
43 mBuffer = Arrays.copyOf(mBuffer, mMaxSize); in resize()
52 return mMaxSize; in getMax_size()
95 if (expectedSize >= mMaxSize) { in reset()
/frameworks/base/services/core/java/com/android/server/am/
DFgsTempAllowList.java49 private int mMaxSize = DEFAULT_MAX_SIZE; field in FgsTempAllowList
65 mMaxSize = DEFAULT_MAX_SIZE; in FgsTempAllowList()
67 mMaxSize = maxSize; in FgsTempAllowList()
87 if (size > mMaxSize) { in add()
89 + mMaxSize); in add()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DLruSet.h39 const size_t mMaxSize; variable
56 explicit LruSet(size_t maxSize) : mMaxSize(maxSize) {} in LruSet()
85 if (mMaxSize == 0) return; in add()
89 } else if (mAccessOrder.size() >= mMaxSize) { in add()
DHeatMap.h141 const size_t mMaxSize; variable
152 explicit HeatMap(size_t maxSize) : mMaxSize(maxSize) { in HeatMap()
194 if (mMap.size() == mMaxSize && mMap.count(key) == 0) { in add()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java172 mMaxSize = iconBitmapSize * 2; in SimpleIconFactory()
173 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in SimpleIconFactory()
175 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory()
176 mLeftBorder = new float[mMaxSize]; in SimpleIconFactory()
177 mRightBorder = new float[mMaxSize]; in SimpleIconFactory()
467 private final int mMaxSize; field in SimpleIconFactory
500 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale()
501 height = height <= 0 || height > mMaxSize ? mMaxSize : height; in getScale()
502 } else if (width > mMaxSize || height > mMaxSize) { in getScale()
504 width = mMaxSize * width / max; in getScale()
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DFixedSizeQueue.java44 private final int mMaxSize; field in FixedSizeQueue
49 mMaxSize = maxSize; in FixedSizeQueue()
61 if (size() == mMaxSize) { in add()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java79 private final Point mMaxSize = new Point(); field in PipResizeGestureHandler
143 mContext.getDisplay().getRealSize(mMaxSize); in init()
357 mDownSecondPoint, mLastPoint, mLastSecondPoint, mMinSize, mMaxSize, in onPinchResize()
416 if (mLastResizeBounds.width() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.x
417 || mLastResizeBounds.height() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.y) {
418 resizeRectAboutCenter(mLastResizeBounds, mMaxSize.x, mMaxSize.y);
493 mMaxSize.set(maxX, maxY);
528 pw.println(innerPrefix + "mMaxSize=" + mMaxSize);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java82 private final Point mMaxSize = new Point(); field in PipResizeGestureHandler
155 mContext.getDisplay().getRealSize(mMaxSize); in init()
366 mDownSecondPoint, mLastPoint, mLastSecondPoint, mMinSize, mMaxSize, in onPinchResize()
429 if (mLastResizeBounds.width() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.x
430 || mLastResizeBounds.height() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.y) {
431 resizeRectAboutCenter(mLastResizeBounds, mMaxSize.x, mMaxSize.y);
491 mMaxSize.set(maxX, maxY); in updateMaxSize()
585 pw.println(innerPrefix + "mMaxSize=" + mMaxSize); in dump()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsState.java81 private final Point mMaxSize = new Point(); field in PipBoundsState
158 mBoundsScale = Math.min((float) mBounds.width() / mMaxSize.x, 1.0f); in updateBoundsScale()
237 mMaxSize.set(maxSize.getWidth(), maxSize.getHeight()); in updateMinMaxSize()
242 mMaxSize.set(width, height); in setMaxSize()
251 return mMaxSize; in getMaxSize()
680 pw.println(innerPrefix + "mMaxSize=" + mMaxSize); in dump()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp56 mMaxSize(maxSize), in FramebufferSurface()
169 return limitSizeInternal(size, mMaxSize); in limitSize()
DFramebufferSurface.h76 const ui::Size mMaxSize; variable
/frameworks/libs/modules-utils/java/com/android/internal/util/
DStateMachine.java582 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
602 mMaxSize = maxSize; in setSize()
644 if (nextIndex >= mMaxSize) { in get()
645 nextIndex -= mMaxSize; in get()
669 if (mLogRecVector.size() < mMaxSize) { in add()
674 if (mOldestIndex >= mMaxSize) { in add()
1523 return smh.mLogRecords.mMaxSize; in getLogRecMaxSize()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp129 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
144 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
213 uint32_t getMaxWidth() const { return mMaxSize->width; } in getMaxWidth()
214 uint32_t getMaxHeight() const { return mMaxSize->height; } in getMaxHeight()
219 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftMpeg4Dec::IntfImpl
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp581 if (mMaxSize == 0) { in configureConsumerQueueLocked()
588 mMaxSize, 1); in configureConsumerQueueLocked()
594 mMaxSize, mId); in configureConsumerQueueLocked()
723 uint32_t width = (mMaxSize == 0) ? getWidth() : mMaxSize; in configureConsumerQueueLocked()
724 uint32_t height = (mMaxSize == 0) ? getHeight() : 1; in configureConsumerQueueLocked()
1287 auto actualJpegSize = android::camera2::JpegProcessor::findJpegSize((uint8_t*)mapped, mMaxSize); in dumpImageToDisk()
1289 actualJpegSize = mMaxSize; in dumpImageToDisk()
DCamera3Stream.h490 const size_t mMaxSize; variable
DCamera3IOStreamBase.cpp91 lines << fmt::sprintf(" Max size: %zu\n", mMaxSize); in dump()
DCamera3InputStream.cpp234 assert(mMaxSize == 0); in configureQueueLocked()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp104 addParameter(DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
121 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
244 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftAomDec::IntfImpl
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp167 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
182 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
322 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftVpxDec::IntfImpl
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp95 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
110 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
288 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftMpeg2Dec::IntfImpl
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp104 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
119 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
296 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftHevcDec::IntfImpl
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp89 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
128 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
305 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftAvcDec::IntfImpl
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp139 addParameter(DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
154 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
430 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftDav1dDec::IntfImpl

12