Home
last modified time | relevance | path

Searched refs:minAspectRatio (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedActivityImpl.java87 private float minAspectRatio = ParsingUtils.NOT_SET; field in ParsedActivityImpl
118 this.minAspectRatio = other.minAspectRatio; in ParsedActivityImpl()
187 alias.minAspectRatio = target.getMinAspectRatio(); in makeAlias()
224 public ParsedActivityImpl setMinAspectRatio(int resizeMode, float minAspectRatio) { in setMinAspectRatio() argument
231 if (minAspectRatio < 1.0f && minAspectRatio != 0) { in setMinAspectRatio()
236 this.minAspectRatio = minAspectRatio; in setMinAspectRatio()
305 dest.writeValue(this.minAspectRatio); in writeToParcel()
343 this.minAspectRatio = (Float) in.readValue(Float.class.getClassLoader()); in ParsedActivityImpl()
404 float minAspectRatio, in ParsedActivityImpl() argument
428 this.minAspectRatio = minAspectRatio; in ParsedActivityImpl()
[all …]
DComponentMutateUtils.java36 float minAspectRatio) { in setMinAspectRatio() argument
37 ((ParsedActivityImpl) activity).setMinAspectRatio(resizeMode, minAspectRatio); in setMinAspectRatio()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsUtil.java106 final float minAspectRatio = activityRecord.getMinAspectRatio(); in getDefaultFreeformSize() local
112 if (minAspectRatio >= 1 && aspectRatio < minAspectRatio) { in getDefaultFreeformSize()
116 adjHeight = (int) (adjWidth / minAspectRatio + 0.5f); in getDefaultFreeformSize()
119 adjWidth = (int) (adjHeight / minAspectRatio + 0.5f); in getDefaultFreeformSize()
DActivityClientController.java911 final float minAspectRatio = mContext.getResources().getFloat( in ensureValidPictureInPictureActivityParams() local
921 minAspectRatio, maxAspectRatio)); in ensureValidPictureInPictureActivityParams()
930 minAspectRatio, maxAspectRatio)); in ensureValidPictureInPictureActivityParams()
DActivityRecord.java1262 final float minAspectRatio = getMinAspectRatio(); in dump() local
1263 if (minAspectRatio != 0) { in dump()
1264 pw.println(prefix + "minAspectRatio=" + minAspectRatio); in dump()
1266 if (minAspectRatio != info.getManifestMinAspectRatio()) { in dump()
8848 final float minAspectRatio = getMinAspectRatio(); in isInSizeCompatModeForBounds() local
8849 if (minAspectRatio > 0) { in isInSizeCompatModeForBounds()
8855 if (containerAspectRatio <= minAspectRatio) { in isInSizeCompatModeForBounds()
9079 final float minAspectRatio = getMinAspectRatio();
9082 || (maxAspectRatio < 1 && minAspectRatio < 1 && desiredAspectRatio < 1)
9101 } else if (minAspectRatio >= 1 && desiredAspectRatio < minAspectRatio) {
[all …]
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1686 public void setMinAspectRatio(@FloatRange(from = 0f) float minAspectRatio) { in setMinAspectRatio()
1687 this.mMinAspectRatio = minAspectRatio >= 0f ? minAspectRatio : 0f; in setMinAspectRatio()
1850 final float minAspectRatio = getMinAspectRatio(); in dump() local
1851 if (minAspectRatio != 0) { in dump()
1852 pw.println(prefix + "minAspectRatio=" + minAspectRatio); in dump()
DPackageParser.java3658 ai.minAspectRatio = sa.getFloat(R.styleable.AndroidManifestApplication_minAspectRatio, 0); in parseBaseApplication()
4760 final float minAspectRatio = owner.applicationInfo.minAspectRatio;
4766 activity.setMinAspectRatio(minAspectRatio);
8160 private void setMinAspectRatio(float minAspectRatio) { in setMinAspectRatio() argument
8167 if (minAspectRatio < 1.0f && minAspectRatio != 0) { in setMinAspectRatio()
8172 info.setMinAspectRatio(minAspectRatio); in setMinAspectRatio()
DApplicationInfo.java910 public float minAspectRatio; field in ApplicationInfo
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageImpl.java382 private float minAspectRatio; field in ParsingPackageImpl
1110 appInfo.minAspectRatio = minAspectRatio;
1308 dest.writeFloat(this.minAspectRatio);
1457 this.minAspectRatio = in.readFloat();
2062 return minAspectRatio;
2589 minAspectRatio = value;
DParsingPackage.java138 ParsingPackage setMinAspectRatio(float minAspectRatio); in setMinAspectRatio() argument
DParsingPackageUtils.java2798 final float minAspectRatio = pkg.getMinAspectRatio();
2806 minAspectRatio);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java1084 ActivityBuilder setMinAspectRatio(float minAspectRatio) { in setMinAspectRatio() argument
1085 mMinAspectRatio = minAspectRatio; in setMinAspectRatio()
/frameworks/base/core/api/
Dcurrent.txt1043 field public static final int minAspectRatio = 16844187; // 0x101059b