Home
last modified time | relevance | path

Searched refs:getDefaultSize (Results 1 – 20 of 20) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DLegacySizeSpecSource.kt76 val maxWidth = Math.max(getDefaultSize(aspectRatio).width,
81 val maxHeight = Math.max(getDefaultSize(aspectRatio).height,
88 override fun getDefaultSize(aspectRatio: Float): Size {
131 minWidth = Math.min(getDefaultSize(aspectRatio).width.toFloat(),
135 minHeight = Math.min(getDefaultSize(aspectRatio).height.toFloat(),
H A DSizeSpecSource.kt27 fun getDefaultSize(aspectRatio: Float): Size regex
H A DPipBoundsAlgorithm.java259 size = mSizeSpecSource.getDefaultSize(aspectRatio); in transformBoundsToAspectRatio()
288 defaultSize = mSizeSpecSource.getDefaultSize(mDefaultAspectRatio); in getDefaultBounds()
H A DPhoneSizeSpecSource.kt125 override fun getDefaultSize(aspectRatio: Float): Size {
/aosp14/frameworks/base/core/java/android/widget/
H A DVideoView.java187 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure()
188 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); in onMeasure()
252 return getDefaultSize(desiredSize, measureSpec); in resolveAdjustedSize()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DMessagingLinearLayoutTest.java149 getDefaultSize(500, widthMeasureSpec), in onMeasure()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPhoneSizeSpecSourceTest.java183 (aspectRatio) -> mSizeSpecSource.getDefaultSize(aspectRatio)); in testGetDefaultSize()
/aosp14/frameworks/base/core/java/android/view/
H A DSurface.java437 public Point getDefaultSize() { in getDefaultSize() method in Surface
H A DSurfaceView.java492 : getDefaultSize(0, widthMeasureSpec); in onMeasure()
495 : getDefaultSize(0, heightMeasureSpec); in onMeasure()
H A DView.java27211 setMeasuredDimension(getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure()
27212 getDefaultSize(getSuggestedMinimumHeight(), heightMeasureSpec)); in onMeasure()
27326 public static int getDefaultSize(int size, int measureSpec) { in getDefaultSize() method in View
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java122 public static int getDefaultSize(Context context) { in getDefaultSize() method in UserIconDrawable
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithmTest.java143 final Size defaultSize = mSizeSpecSource.getDefaultSize(DEFAULT_ASPECT_RATIO); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DVirtualDisplayAdapter.java377 return mSurface.getDefaultSize(); in getDisplaySurfaceDefaultSizeLocked()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java167 final int iconSize = UserIconDrawable.getDefaultSize(context); in getUserIcon()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchHandler.java408 Size expandedSize = mSizeSpecSource.getDefaultSize(aspectRatio); in onMovementBoundsChanged()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java1373 setMeasuredDimension(getDefaultSize(0, widthMeasureSpec),
1374 getDefaultSize(0, heightMeasureSpec));
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt17408 HSPLandroid/view/View;->getDefaultSize(II)I
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt17472 HSPLandroid/view/View;->getDefaultSize(II)I
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt52132 method public static int getDefaultSize(int, int);