Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1186 + windowLayout.widthFraction + ", " + windowLayout.height + "|" in dump()
1382 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() argument
1385 this.widthFraction = widthFraction; in WindowLayout()
1396 widthFraction = source.readFloat(); in WindowLayout()
1418 public final float widthFraction; field in ActivityInfo.WindowLayout
1480 return width >= 0 || height >= 0 || widthFraction >= 0 || heightFraction >= 0; in hasSpecifiedSize()
1486 dest.writeFloat(widthFraction); in writeToParcel()
DPackageParser.java4744 float widthFraction = -1f; in parseLayout() local
4750 widthFraction = sw.getFraction( in parseLayout()
4779 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction, in parseLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipSnapAlgorithm.java66 final float widthFraction = (float) (tmpBounds.left - movementBounds.left) / in getSnapFraction() local
71 return widthFraction; in getSnapFraction()
75 return 2f + (1f - widthFraction); in getSnapFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java774 float widthFraction = (inverseFraction - (1.0f - HORIZONTAL_ANIMATION_START)) in updateAppearRect() local
776 widthFraction = Math.min(1.0f, Math.max(0.0f, widthFraction)); in updateAppearRect()
777 widthFraction = mCurrentAppearInterpolator.getInterpolation(widthFraction); in updateAppearRect()
782 float width = MathUtils.lerp(startWidthFraction, 1.0f, 1.0f - widthFraction) in updateAppearRect()
787 left = MathUtils.lerp(mHeadsUpLocation, 0, 1.0f - widthFraction); in updateAppearRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt334 val widthFraction = if (range > 0) { in onDown() constant
341 padL + availableWidth * (1 - widthFraction) in onDown()
343 padL + availableWidth * widthFraction in onDown()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedActivityUtils.java465 float widthFraction = -1f; in parseLayout() local
470 widthFraction = sw.getFraction(R.styleable.AndroidManifestLayout_defaultWidth, 1, 1, in parseLayout()
488 return input.success(new ActivityInfo.WindowLayout(width, widthFraction, height, in parseLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java444 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in getLayoutBounds()
445 width = (int) (width * windowLayout.widthFraction); in getLayoutBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java1399 private WindowLayoutBuilder setWidthFraction(float widthFraction) { in setWidthFraction() argument
1400 mWidthFraction = widthFraction; in setWidthFraction()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt11435 field public final float widthFraction;