Density scope for Arrangements
Relnote: "Density is now receiver scope for Arrangement interfaces."
Bug: 173548447
Test: built and ran
Change-Id: I18aadb928b615b64ddd6ac41fb630e2ece470f08
diff --git a/compose/foundation/foundation-layout/api/restricted_current.txt b/compose/foundation/foundation-layout/api/restricted_current.txt
index 3ca8988..6015628 100644
--- a/compose/foundation/foundation-layout/api/restricted_current.txt
+++ b/compose/foundation/foundation-layout/api/restricted_current.txt
@@ -55,7 +55,7 @@
}
@androidx.compose.runtime.Immutable public static interface Arrangement.Horizontal {
- method public void arrange(int totalSize, int[] size, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.unit.Density density, int[] outPosition);
+ method public void arrange(androidx.compose.ui.unit.Density, int totalSize, int[] sizes, androidx.compose.ui.unit.LayoutDirection layoutDirection, int[] outPositions);
method public default float getSpacing-D9Ej5fM();
property public default float spacing;
}
@@ -65,7 +65,7 @@
}
@androidx.compose.runtime.Immutable public static interface Arrangement.Vertical {
- method public void arrange(int totalSize, int[] size, androidx.compose.ui.unit.Density density, int[] outPosition);
+ method public void arrange(androidx.compose.ui.unit.Density, int totalSize, int[] sizes, int[] outPositions);
method public default float getSpacing-D9Ej5fM();
property public default float spacing;
}