/frameworks/base/core/java/android/widget/inline/ |
D | InlinePresentationSpec.java | 42 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/ |
D | IconNormalizer.java | 68 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/ |
D | FgsTempAllowList.java | 49 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/ |
D | SimpleIconFactory.java | 159 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/ |
D | FixedSizeQueue.java | 44 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/ |
D | PipResizeGestureHandler.java | 86 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/ |
D | Camera3OutputStream.cpp | 494 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()
|
D | Camera3IOStreamBase.cpp | 84 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
|
D | Camera3Stream.h | 483 const size_t mMaxSize; variable
|
D | Camera3InputStream.cpp | 233 assert(mMaxSize == 0); in configureQueueLocked()
|
D | Camera3Stream.cpp | 59 mMaxSize(maxSize), in Camera3Stream()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 64 mMaxSize(maxSize), in FramebufferSurface() 183 return limitSizeInternal(size, mMaxSize); in limitSize()
|
D | FramebufferSurface.h | 82 const ui::Size mMaxSize; variable
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipBoundsState.java | 68 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/ |
D | StateMachine.java | 582 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/ |
D | C2SoftMpeg4Dec.cpp | 129 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/ |
D | C2SoftAomDec.cpp | 104 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/ |
D | C2SoftGav1Dec.cpp | 106 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/ |
D | C2SoftVpxDec.cpp | 158 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/ |
D | C2SoftAvcDec.cpp | 86 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/ |
D | C2SoftHevcDec.cpp | 100 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/ |
D | C2SoftMpeg2Dec.cpp | 92 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
|