-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathMetadata.xml
More file actions
47 lines (43 loc) · 2.96 KB
/
Copy pathMetadata.xml
File metadata and controls
47 lines (43 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<metadata>
<!--
Force C# namespace casing to "UI" rather than the default title-cased "Ui".
Once these NuGets ship real types this is a permanent ABI decision, so we
apply it everywhere a `…ui…` package appears in
androidx.compose.ui:ui-graphics-android. Mirrors the casing decision in
androidx.compose.ui/ui-android/Transforms/Metadata.xml.
-->
<attr path="/api/package[@name='androidx.compose.ui.graphics']" name="managedName">AndroidX.Compose.UI.Graphics</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.colorspace']" name="managedName">AndroidX.Compose.UI.Graphics.Colorspace</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.drawscope']" name="managedName">AndroidX.Compose.UI.Graphics.Drawscope</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.internal']" name="managedName">AndroidX.Compose.UI.Graphics.Internal</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.layer']" name="managedName">AndroidX.Compose.UI.Graphics.Layer</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.layer.view']" name="managedName">AndroidX.Compose.UI.Graphics.Layer.View</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.painter']" name="managedName">AndroidX.Compose.UI.Graphics.Painter</attr>
<attr path="/api/package[@name='androidx.compose.ui.graphics.vector']" name="managedName">AndroidX.Compose.UI.Graphics.Vector</attr>
<!--
Experimental drop/inner-shadow package: its title-cased namespace
`AndroidX.Compose.UI.Graphics.Shadow` collides (CS0101) with the existing
`Shadow` class in androidx.compose.ui.graphics. Strip the experimental
package to keep the widely-used `Shadow` spec class.
-->
<remove-node path="/api/package[@name='androidx.compose.ui.graphics.shadow']" />
<!--
PathIterator: interface implementing java.util.Iterator whose auto-generated
Invoker can't satisfy Iterator.next() with an Object return (CS0738).
-->
<remove-node path="/api/package[@name='androidx.compose.ui.graphics']/interface[@name='PathIterator']" />
<!--
SolidColor(Color): the primary Kotlin constructor takes the @JvmInline
value class `Color`, so the binder strips the constructor even though the
JVM bytecode signature is the plain primitive `<init>(J)V`. Re-introduce it
via <add-node> so it binds as `public SolidColor(long value)`, matching how
the existing value-class-param members (getValue-0d7_KjU()J,
applyTo-Pq9zytI(JL…/Paint;F)V) already project their value-class params as
the underlying primitive. See dotnet/android-libraries#1470.
-->
<add-node path="/api/package[@name='androidx.compose.ui.graphics']/class[@name='SolidColor']">
<constructor deprecated="not deprecated" final="false" name="SolidColor" static="false" visibility="public" bridge="false" synthetic="false" jni-signature="(J)V">
<parameter name="value" type="long" jni-type="J" />
</constructor>
</add-node>
</metadata>