Add missing param tags.
These tags in particular were triggering a (new?) :docs-tip-of-tree:docs warning
when desktop source sets are included.
Change-Id: Ib42366856b2499dd532da204b8c6e172b5cdaab3
diff --git a/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/DesktopMenu.desktop.kt b/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/DesktopMenu.desktop.kt
index 2ff7188..4da69f2 100644
--- a/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/DesktopMenu.desktop.kt
+++ b/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/DesktopMenu.desktop.kt
@@ -69,7 +69,10 @@
* @param expanded Whether the menu is currently open and visible to the user
* @param onDismissRequest Called when the user requests to dismiss the menu, such as by
* tapping outside the menu's bounds
+ * @param focusable Whether the dropdown can capture focus
+ * @param modifier Modifier for the menu
* @param offset [DpOffset] to be added to the position of the menu
+ * @param content content lambda
*/
@Suppress("ModifierParameter")
@Composable
diff --git a/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt b/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt
index 79ef583..9dd8132 100644
--- a/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt
+++ b/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt
@@ -328,6 +328,7 @@
* @param top Top bound of the clip region
* @param right Right bound of the clip region
* @param bottom Bottom bound of the clip region
+ * @param clipOp Clipping operation to conduct on the given bounds, defaults to [ClipOp.Intersect]
*/
fun clipRect(
left: Float,
@@ -477,6 +478,7 @@
* @param startAngle Starting angle of the arc relative to 3 o'clock
* @param sweepAngle Sweep angle in degrees clockwise
* @param useCenter Flag indicating whether or not to include the center of the oval in the
+ * @param paint Paint used to draw the arc.
* arc, and close it if it is being stroked. This will draw a wedge.
*/
fun drawArc(
diff --git a/compose/ui/ui-graphics/src/desktopMain/kotlin/androidx/compose/ui/graphics/DesktopImageConverters.desktop.kt b/compose/ui/ui-graphics/src/desktopMain/kotlin/androidx/compose/ui/graphics/DesktopImageConverters.desktop.kt
index ef0fb76..b03678a6 100644
--- a/compose/ui/ui-graphics/src/desktopMain/kotlin/androidx/compose/ui/graphics/DesktopImageConverters.desktop.kt
+++ b/compose/ui/ui-graphics/src/desktopMain/kotlin/androidx/compose/ui/graphics/DesktopImageConverters.desktop.kt
@@ -83,6 +83,8 @@
* [density] also will be used to rasterize the default image, which can be used by some implementations
* (Tray icon on macOs, disabled icon for menu items)
*
+ * @param density density will be used to convert [dp] units
+ * @param layoutDirection direction for layout when drawing
* @param size the size of the [Image]
*/
@Deprecated(
@@ -106,6 +108,8 @@
* they don't use absolute '.dp' values to draw, they use values which are relative
* to their viewport.
*
+ * @param density density will be used to convert [dp] units when drawing
+ * @param layoutDirection direction for layout when drawing
* @param size the size of the [Image]
*/
fun Painter.toAwtImage(
diff --git a/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteractionsProvider.kt b/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteractionsProvider.kt
index a729e09..32a03fe 100644
--- a/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteractionsProvider.kt
+++ b/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteractionsProvider.kt
@@ -34,6 +34,7 @@
*
* For usage patterns and semantics concepts see [SemanticsNodeInteraction]
*
+ * @param matcher Matcher used for filtering
* @param useUnmergedTree Find within merged composables like Buttons.
* @see onAllNodes to work with multiple elements
*/
@@ -50,6 +51,7 @@
*
* For usage patterns and semantics concepts see [SemanticsNodeInteraction]
*
+ * @param matcher Matcher used for filtering.
* @param useUnmergedTree Find within merged composables like Buttons.
* @see onNode
*/
diff --git a/compose/ui/ui-text/src/skikoMain/kotlin/androidx/compose/ui/text/platform/PlatformFont.skiko.kt b/compose/ui/ui-text/src/skikoMain/kotlin/androidx/compose/ui/text/platform/PlatformFont.skiko.kt
index da5b016..c8a98c8 100644
--- a/compose/ui/ui-text/src/skikoMain/kotlin/androidx/compose/ui/text/platform/PlatformFont.skiko.kt
+++ b/compose/ui/ui-text/src/skikoMain/kotlin/androidx/compose/ui/text/platform/PlatformFont.skiko.kt
@@ -112,6 +112,7 @@
* Returns a Compose [Typeface] from Skia [SkTypeface].
*
* @param typeface Android Typeface instance
+ * @param alias a shorter name that is used as an alternative to the full font name
*/
fun Typeface(typeface: SkTypeface, alias: String? = null): Typeface {
return SkiaBackedTypeface(alias, typeface)