Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipSizeSpecHandler.java65 Size getDefaultSize(float aspectRatio); in getDefaultSize() method
158 public Size getDefaultSize(float aspectRatio) { in getDefaultSize() method in PipSizeSpecHandler.SizeSpecLargeScreenOptimizedImpl
270 maxWidth = (int) Math.max(getDefaultSize(aspectRatio).getWidth(), in getMaxSize()
274 maxHeight = (int) Math.max(getDefaultSize(aspectRatio).getHeight(), in getMaxSize()
283 public Size getDefaultSize(float aspectRatio) { in getDefaultSize() method in PipSizeSpecHandler.SizeSpecDefaultImpl
332 minWidth = (int) Math.min(getDefaultSize(aspectRatio).getWidth(), in getMinSize()
336 minHeight = (int) Math.min(getDefaultSize(aspectRatio).getHeight(), in getMinSize()
472 public Size getDefaultSize(float aspectRatio) { in getDefaultSize() method in PipSizeSpecHandler
473 return mSizeSpecSourceImpl.getDefaultSize(aspectRatio); in getDefaultSize()
DPipTouchHandler.java413 Size expandedSize = mPipSizeSpecHandler.getDefaultSize(aspectRatio); in onMovementBoundsChanged()
/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/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java232 size = mPipSizeSpecHandler.getDefaultSize(aspectRatio); in transformBoundsToAspectRatio()
261 defaultSize = mPipSizeSpecHandler.getDefaultSize(mDefaultAspectRatio); in getDefaultBounds()
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipSizeSpecHandlerTest.java181 (aspectRatio) -> mPipSizeSpecHandler.getDefaultSize(aspectRatio)); in testGetDefaultSize()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java129 final Size defaultSize = mPipSizeSpecHandler.getDefaultSize(DEFAULT_ASPECT_RATIO); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
/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.java424 public Point getDefaultSize() { in getDefaultSize() method in Surface
DSurfaceView.java434 : getDefaultSize(0, widthMeasureSpec); in onMeasure()
437 : getDefaultSize(0, heightMeasureSpec); in onMeasure()
DView.java26574 setMeasuredDimension(getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure()
26575 getDefaultSize(getSuggestedMinimumHeight(), heightMeasureSpec)); in onMeasure()
26689 public static int getDefaultSize(int size, int measureSpec) { in getDefaultSize() method in View
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java336 return mSurface.getDefaultSize(); in getDisplaySurfaceDefaultSizeLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java158 final int iconSize = UserIconDrawable.getDefaultSize(context); in getUserIcon()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1373 setMeasuredDimension(getDefaultSize(0, widthMeasureSpec),
1374 getDefaultSize(0, heightMeasureSpec));
/frameworks/base/boot/
Dboot-image-profile.txt17091 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.txt17154 HSPLandroid/view/View;->getDefaultSize(II)I
/frameworks/base/core/api/
Dcurrent.txt49651 method public static int getDefaultSize(int, int);