Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1840 + windowLayout.widthFraction + ", " + windowLayout.height + "|" in dump()
2047 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() argument
2049 this(width, widthFraction, height, heightFraction, gravity, minWidth, minHeight, in WindowLayout()
2054 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() argument
2057 this.widthFraction = widthFraction; in WindowLayout()
2069 widthFraction = source.readFloat(); in WindowLayout()
2091 public final float widthFraction; field in ActivityInfo.WindowLayout
2155 return width >= 0 || height >= 0 || widthFraction >= 0 || heightFraction >= 0; in hasSpecifiedSize()
2161 dest.writeFloat(widthFraction); in writeToParcel()
DPackageParser.java4796 float widthFraction = -1f;
4802 widthFraction = sw.getFraction(
4831 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
DSeekBarViewModel.kt437 val widthFraction = in onDown() constant
446 padL + availableWidth * (1 - widthFraction) in onDown()
448 padL + availableWidth * widthFraction in onDown()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedActivityTest.kt68 ActivityInfo.WindowLayout::widthFraction, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedActivityUtils.java550 float widthFraction = -1f; in parseActivityWindowLayout() local
555 widthFraction = sw.getFraction(R.styleable.AndroidManifestLayout_defaultWidth, 1, 1, in parseActivityWindowLayout()
577 widthFraction, height, heightFraction, gravity, minWidth, minHeight, in parseActivityWindowLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java612 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in getLayoutBounds()
613 width = (int) (width * windowLayout.widthFraction); in getLayoutBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java1962 private WindowLayoutBuilder setWidthFraction(float widthFraction) { in setWidthFraction() argument
1963 mWidthFraction = widthFraction; in setWidthFraction()
/frameworks/base/core/api/
Dcurrent.txt11105 field public final float widthFraction;