Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DLegacySizeSpecSource.kt76 val maxWidth = Math.max(getDefaultSize(aspectRatio).width, in getMaxSize()
81 val maxHeight = Math.max(getDefaultSize(aspectRatio).height, in getMaxSize()
88 override fun getDefaultSize(aspectRatio: Float): Size { in getDefaultSize() method in com.android.wm.shell.common.pip.LegacySizeSpecSource
131 minWidth = Math.min(getDefaultSize(aspectRatio).width.toFloat(), in getMinSize()
135 minHeight = Math.min(getDefaultSize(aspectRatio).height.toFloat(), in getMinSize()
DSizeSpecSource.kt27 fun getDefaultSize(aspectRatio: Float): Size in getMaxSize() method
DPipBoundsAlgorithm.java286 size = mSizeSpecSource.getDefaultSize(aspectRatio); in transformBoundsToAspectRatio()
315 defaultSize = mSizeSpecSource.getDefaultSize(mDefaultAspectRatio); in getDefaultBounds()
DPhoneSizeSpecSource.kt175 override fun getDefaultSize(aspectRatio: Float): Size { in getDefaultSize() method in com.android.wm.shell.common.pip.PhoneSizeSpecSource
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java76 getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure()
77 getDefaultSize(getSuggestedMinimumHeight(), heightMeasureSpec)); in onMeasure()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPhoneSizeSpecSourceTest.java205 (aspectRatio) -> mSizeSpecSource.getDefaultSize(aspectRatio)); in testGetDefaultSize_nonSquareDisplay()
226 (aspectRatio) -> mSizeSpecSource.getDefaultSize(aspectRatio)); in testGetDefaultSize_squareDisplay()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java149 getDefaultSize(500, widthMeasureSpec), in onMeasure()
/frameworks/base/core/java/android/widget/
DVideoView.java187 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure()
188 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); in onMeasure()
252 return getDefaultSize(desiredSize, measureSpec); in resolveAdjustedSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java122 public static int getDefaultSize(Context context) { in getDefaultSize() method in UserIconDrawable
/frameworks/base/core/java/android/view/
DSurface.java510 public Point getDefaultSize() { in getDefaultSize() method in Surface
DSurfaceView.java540 : getDefaultSize(0, widthMeasureSpec); in onMeasure()
543 : getDefaultSize(0, heightMeasureSpec); in onMeasure()
DView.java28192 setMeasuredDimension(getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure()
28193 getDefaultSize(getSuggestedMinimumHeight(), heightMeasureSpec)); in onMeasure()
28307 public static int getDefaultSize(int size, int measureSpec) { in getDefaultSize() method
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java143 final Size defaultSize = mSizeSpecSource.getDefaultSize(DEFAULT_ASPECT_RATIO); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java371 final Point surfaceSize = mSurface.getDefaultSize(); in getDisplaySurfaceDefaultSizeLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java175 final int iconSize = UserIconDrawable.getDefaultSize(context); in getUserIcon()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java411 Size expandedSize = mSizeSpecSource.getDefaultSize(aspectRatio); in onMovementBoundsChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchHandler.java420 Size expandedSize = mSizeSpecSource.getDefaultSize(aspectRatio); in onMovementBoundsChanged()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1373 setMeasuredDimension(getDefaultSize(0, widthMeasureSpec),
1374 getDefaultSize(0, heightMeasureSpec));
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt17127 HSPLandroid/view/View;->getDefaultSize(II)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33383 method public static int getDefaultSize(int, int);
/frameworks/base/config/
Dboot-image-profile.txt17191 HSPLandroid/view/View;->getDefaultSize(II)I
/frameworks/base/core/api/
Dcurrent.txt52639 method public static int getDefaultSize(int, int);