Home
last modified time | relevance | path

Searched refs:widthFraction (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java1909 + windowLayout.widthFraction + ", " + windowLayout.height + "|" in dump()
2121 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() argument
2123 this(width, widthFraction, height, heightFraction, gravity, minWidth, minHeight, in WindowLayout()
2128 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() argument
2131 this.widthFraction = widthFraction; in WindowLayout()
2143 widthFraction = source.readFloat(); in WindowLayout()
2165 public final float widthFraction; field in ActivityInfo.WindowLayout
2229 return width >= 0 || height >= 0 || widthFraction >= 0 || heightFraction >= 0; in hasSpecifiedSize()
2235 dest.writeFloat(widthFraction); in writeToParcel()
H A DPackageParser.java4796 float widthFraction = -1f;
4802 widthFraction = sw.getFraction(
4831 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction,
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipSnapAlgorithm.java61 final float widthFraction = (float) (tmpBounds.left - movementBounds.left) in getSnapFraction() local
66 return widthFraction; in getSnapFraction()
70 return 2f + (1f - widthFraction); in getSnapFraction()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
H A DSeekBarViewModel.kt471 val widthFraction = regex
480 padL + availableWidth * (1 - widthFraction)
482 padL + availableWidth * widthFraction
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
H A DParsedActivityTest.kt69 ActivityInfo.WindowLayout::widthFraction,
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedActivityUtils.java572 float widthFraction = -1f; in parseActivityWindowLayout() local
577 widthFraction = sw.getFraction(R.styleable.AndroidManifestLayout_defaultWidth, 1, 1, in parseActivityWindowLayout()
599 widthFraction, height, heightFraction, gravity, minWidth, minHeight, in parseActivityWindowLayout()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskLaunchParamsModifier.java629 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in getLayoutBounds()
630 width = (int) (width * windowLayout.widthFraction); in getLayoutBounds()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskLaunchParamsModifierTests.java2074 private WindowLayoutBuilder setWidthFraction(float widthFraction) { in setWidthFraction() argument
2075 mWidthFraction = widthFraction; in setWidthFraction()
/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/core/api/
H A Dcurrent.txt11752 field public final float widthFraction;