Home
last modified time | relevance | path

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

/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/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/base/core/java/com/android/internal/app/
DSimpleIconFactory.java159 mMaxSize = iconBitmapSize * 2; in SimpleIconFactory()
160 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in SimpleIconFactory()
162 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory()
163 mLeftBorder = new float[mMaxSize]; in SimpleIconFactory()
164 mRightBorder = new float[mMaxSize]; in SimpleIconFactory()
454 private final int mMaxSize; field in SimpleIconFactory
487 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale()
488 height = height <= 0 || height > mMaxSize ? mMaxSize : height; in getScale()
489 } else if (width > mMaxSize || height > mMaxSize) { in getScale()
491 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.java86 private final Point mMaxSize = new Point(); field in PipResizeGestureHandler
143 mContext.getDisplay().getRealSize(mMaxSize); in init()
448 mDownSecondPoint, mLastPoint, mLastSecondPoint, mMinSize, mMaxSize, in onPinchResize()
493 mMinSize.y, mMaxSize, true, in onDragCornerResize()
525 if (mLastResizeBounds.width() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.x in finishResize()
526 || mLastResizeBounds.height() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.y) { in finishResize()
527 resizeRectAboutCenter(mLastResizeBounds, mMaxSize.x, mMaxSize.y); in finishResize()
590 mMaxSize.set(maxX, maxY);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp494 if (mMaxSize == 0) { in configureConsumerQueueLocked()
501 mMaxSize, 1); in configureConsumerQueueLocked()
507 mMaxSize, mId); in configureConsumerQueueLocked()
580 uint32_t width = (mMaxSize == 0) ? getWidth() : mMaxSize; in configureConsumerQueueLocked()
581 uint32_t height = (mMaxSize == 0) ? getHeight() : 1; in configureConsumerQueueLocked()
1114 auto actualJpegSize = android::camera2::JpegProcessor::findJpegSize((uint8_t*)mapped, mMaxSize); in dumpImageToDisk()
1116 actualJpegSize = mMaxSize; in dumpImageToDisk()
DCamera3IOStreamBase.cpp84 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
DCamera3Stream.h483 const size_t mMaxSize; variable
DCamera3InputStream.cpp233 assert(mMaxSize == 0); in configureQueueLocked()
DCamera3Stream.cpp59 mMaxSize(maxSize), in Camera3Stream()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp64 mMaxSize(maxSize), in FramebufferSurface()
183 return limitSizeInternal(size, mMaxSize); in limitSize()
DFramebufferSurface.h82 const ui::Size mMaxSize; variable
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsState.java68 private final Point mMaxSize = new Point(); field in PipBoundsState
168 mMaxSize.set(width, height); in setMaxSize()
177 return mMaxSize; in getMaxSize()
/frameworks/base/core/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()
1524 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/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/gav1/
DC2SoftGav1Dec.cpp106 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
121 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
252 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftGav1Dec::IntfImpl
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp158 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
173 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
295 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftVpxDec::IntfImpl
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp86 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
125 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
302 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftAvcDec::IntfImpl
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp100 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
115 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
291 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftHevcDec::IntfImpl
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp92 DefineParam(mMaxSize, C2_PARAMKEY_MAX_PICTURE_SIZE) in IntfImpl()
107 .calculatedAs(MaxInputSizeSetter, mMaxSize) in IntfImpl()
285 std::shared_ptr<C2StreamMaxPictureSizeTuning::output> mMaxSize; member in android::C2SoftMpeg2Dec::IntfImpl