Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/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/core/java/android/content/pm/
DActivityInfo.java2091 + windowLayout.widthFraction + ", " + windowLayout.height + "|"
2310 public WindowLayout(int width, float widthFraction, int height, float heightFraction,
2312 this(width, widthFraction, height, heightFraction, gravity, minWidth, minHeight,
2317 public WindowLayout(int width, float widthFraction, int height, float heightFraction,
2320 this.widthFraction = widthFraction;
2332 widthFraction = source.readFloat();
2354 public final float widthFraction;
2418 return width >= 0 || height >= 0 || widthFraction >= 0 || heightFraction >= 0;
2424 dest.writeFloat(widthFraction);
DPackageParser.java4796 float widthFraction = -1f;
4802 widthFraction = sw.getFraction(
4831 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction,
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsUtil.java224 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in calculateLayoutBounds()
225 width = (int) (defaultWidth * windowLayout.widthFraction); in calculateLayoutBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsModifierTestsBase.java176 WindowLayoutBuilder setWidthFraction(float widthFraction) { in setWidthFraction() argument
177 mWidthFraction = widthFraction; in setWidthFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt482 val widthFraction = in onDown() constant
491 padL + availableWidth * (1 - widthFraction) in onDown()
493 padL + availableWidth * widthFraction in onDown()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedActivityTest.kt70 ActivityInfo.WindowLayout::widthFraction, in <lambda>()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivityUtils.java579 float widthFraction = -1f; in parseActivityWindowLayout() local
584 widthFraction = sw.getFraction(R.styleable.AndroidManifestLayout_defaultWidth, 1, 1, in parseActivityWindowLayout()
606 widthFraction, height, heightFraction, gravity, minWidth, minHeight, in parseActivityWindowLayout()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt12136 field public final float widthFraction;