Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/widget/inline/
H A 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()
174 && java.util.Objects.equals(mMaxSize, that.mMaxSize) in equals()
198 dest.writeSize(mMaxSize); in writeToParcel()
220 this.mMaxSize = maxSize; in InlinePresentationSpec()
222 NonNull.class, null, mMaxSize); in InlinePresentationSpec()
252 private @NonNull Size mMaxSize; field in InlinePresentationSpec.Builder
271 mMaxSize = maxSize; in Builder()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A 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 …]
/aosp14/frameworks/base/services/core/java/com/android/server/textclassifier/
H A DFixedSizeQueue.java44 private final int mMaxSize; field in FixedSizeQueue
49 mMaxSize = maxSize; in FixedSizeQueue()
61 if (size() == mMaxSize) { in add()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandler.java88 private final Point mMaxSize = new Point(); field in PipResizeGestureHandler
155 mContext.getDisplay().getRealSize(mMaxSize); in init()
465 mDownSecondPoint, mLastPoint, mLastSecondPoint, mMinSize, mMaxSize, in onPinchResize()
510 mMinSize.y, mMaxSize, true, in onDragCornerResize()
577 if (mLastResizeBounds.width() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.x
578 || mLastResizeBounds.height() >= PINCH_RESIZE_AUTO_MAX_RATIO * mMaxSize.y) {
579 resizeRectAboutCenter(mLastResizeBounds, mMaxSize.x, mMaxSize.y);
648 mMaxSize.set(maxX, maxY);
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipBoundsState.java81 private final Point mMaxSize = new Point(); field in PipBoundsState
209 mMaxSize.set(width, height); in setMaxSize()
218 return mMaxSize; in getMaxSize()