Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Updates 20250210 surfacing remaining Compose APIs #1094

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions published-namespaces.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,14 @@ AndroidX.Compose.Material3.Internal
AndroidX.Compose.Material3.PullToRefresh
AndroidX.Compose.Material3.Tokens
AndroidX.Compose.Material3.WindowSizeClass
AndroidX.Compose.UI.Geometry
AndroidX.Compose.UI.Graphics
AndroidX.Compose.UI.Graphics.Colorspace
AndroidX.Compose.UI.Graphics.Drawscope
AndroidX.Compose.UI.Graphics.Internal
AndroidX.Compose.UI.Graphics.Layer
AndroidX.Compose.UI.Graphics.Painter
AndroidX.Compose.UI.Graphics.Vector
AndroidX.Concurrent.Futures
AndroidX.ConstraintLayout.Core
AndroidX.ConstraintLayout.Core.Dsl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<metadata>
<remove-node path="/api/package" />

<attr
path="/api/package[@name='androidx.compose.foundation.lazy.layout']/class[@name='LazyLayoutPinnedItemList']/method[@name='getSize' and count(parameter)=0]"
name="propertyName"
></attr>

<attr
path="/api/package[@name='androidx.compose.foundation.shape']/class[@name='RoundedCornerShapeKt']/method[@name='RoundedCornerShape-0680j_4' and count(parameter)=1 and parameter[1][@type='float']]"
name="manageddName"
>
RoundedCornerShape2
</attr>


</metadata>
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
<metadata>
<!--
running on clean build, this will fail with:

./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Shape.CornerSizeKt.cs(82,78): error CS0111: Type 'CornerSizeKt' already defines a member called 'CornerSize' with the same parameter types [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Add(Object?)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Add(int, Object?)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.AddAll(int, ICollection)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.AddAll(ICollection)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.ContainsAll(ICollection)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0738: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Get(int)'. 'LazyLayoutPinnedItemList.Get(int)' cannot implement 'IList.Get(int)' because it does not have the matching return type of 'Object'. [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0738: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Remove(int)'. 'LazyLayoutPinnedItemList.Remove(int)' cannot implement 'IList.Remove(int)' because it does not have the matching return type of 'Object'. [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.RemoveAll(ICollection)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.RetainAll(ICollection)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Set(int, Object?)' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0535: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.Size()' [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]
./generated/androidx.compose.foundation.foundation-android/obj/Release/net6.0-android/generated/src/AndroidX.Compose.Foundation.Lazy.Layout.LazyLayoutPinnedItemList.cs(10,83): error CS0738: 'LazyLayoutPinnedItemList' does not implement interface member 'IList.SubList(int, int)'. 'LazyLayoutPinnedItemList.SubList(int, int)' cannot implement 'IList.SubList(int, int)' because it does not have the matching return type of 'IList'. [./generated/androidx.compose.foundation.foundation-android/androidx.compose.foundation.foundation-android.csproj::TargetFramework=net6.0-android]

afterwards running:

dotnet build ./generated/androidx.compose.foundation.foundation-layout-android/androidx.compose.foundation.foundation-layout-android.csproj

is green?!??!!?!
-->

<remove-node path="/api/package" />

<attr
path="/api/package[@name='androidx.compose.foundation.layout']/class[@name='PaddingValues.Absolute']/method[@name='calculateBottomPadding-D9Ej5fM' and count(parameter)=0]"
name="managedName"
>
CalculateBottomPadding
</attr>
<attr
path="/api/package[@name='androidx.compose.foundation.layout']/class[@name='PaddingValues.Absolute']/method[@name='calculateTopPadding-D9Ej5fM' and count(parameter)=0]"
name="managedName"
>
CalculateTopPadding
</attr>
s

</metadata>
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<metadata>
<!--
<remove-node path="/api/package" />

-->

<!--
<attr
path="/api/package[@name='androidx.compose.foundation.layout']/class[@name='PaddingValues.Absolute']/method[@name='calculateBottomPadding-D9Ej5fM' and count(parameter)=0]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<metadata>
<!--
<remove-node path="/api/package" />
-->
<!--
<attr
path="/api/package[@name='androidx.compose.foundation.shape']/class[@name='RoundedCornerShapeKt']/method[@name='RoundedCornerShape-0680j_4' and count(parameter)=1 and parameter[1][@type='float']]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<metadata>
<remove-node path="/api/package" />

<!--
<attr
path="/api/package[@name='androidx.compose.ui.geometry']/class[@name='RectKt']/method[@name='Rect-tz77jQw' and count(parameter)=2 and parameter[1][@type='long'] and parameter[2][@type='long']]"
name="managedName"
>
Rect2
RectOffestAndSize
</attr>
-->

</metadata>
11 changes: 0 additions & 11 deletions source/androidx.compose.ui/ui-geometry/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
<metadata>
<remove-node path="/api/package" />

<!--
<attr
path="/api/package[@name='androidx.compose.ui.geometry']/class[@name='RectKt']/method[@name='Rect-tz77jQw' and count(parameter)=2 and parameter[1][@type='long'] and parameter[2][@type='long']]"
name="managedName"
>
RectFromOffsetAndSize
</attr>
-->

</metadata>
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
<metadata>
<remove-node path="/api/package" />

<!--
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-0xMU5do' and count(parameter)=1 and parameter[1][@type='float']]"
name="managedName"
>
ToSp
</attr>
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-kPz2Gy4' and count(parameter)=1 and parameter[1][@type='float']]"
name="managedName"
path="/api/package[@name='androidx.compose.ui.graphics']/interface[@name='PathIterator']/method[@name='next' and count(parameter)=0]"
name="managedReturn"
>
ToSp1
Java.Lang.Object
</attr>
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-kPz2Gy4' and count(parameter)=1 and parameter[1][@type='int']]"
name="managedName"
>
ToSp
</attr>
-->

</metadata>
22 changes: 0 additions & 22 deletions source/androidx.compose.ui/ui-graphics/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
<metadata>
<remove-node path="/api/package" />

<!--
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-0xMU5do' and count(parameter)=1 and parameter[1][@type='float']]"
name="managedName"
>
ToSp
</attr>
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-kPz2Gy4' and count(parameter)=1 and parameter[1][@type='float']]"
name="managedName"
>
ToSp1
</attr>
<attr
path="/api/package[@name='androidx.compose.ui.graphics.drawscope']/class[@name='CanvasDrawScope']/method[@name='toSp-kPz2Gy4' and count(parameter)=1 and parameter[1][@type='int']]"
name="managedName"
>
ToSp
</attr>
-->

</metadata>
2 changes: 2 additions & 0 deletions source/androidx.compose.ui/ui-text/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<metadata>
<!--
<remove-node path="/api/package" />
-->
<!--
<attr
path="/api/package[@name='androidx.compose.ui.text.intl']/class[@name='LocaleList']/method[@name='add' and count(parameter)=1 and parameter[1][@type='androidx.compose.ui.text.intl.Locale']]/parameter[1]"
Expand Down
Loading