Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 31) sorted by relevance

12

/glance/glance/src/main/java/androidx/glance/
DGlanceModifier.kt37 fun <R> foldIn(initial: R, operation: (R, Element) -> R): R in <lambda>()
48 fun <R> foldOut(initial: R, operation: (Element, R) -> R): R in <lambda>()
51 fun any(predicate: (Element) -> Boolean): Boolean in <lambda>()
57 fun all(predicate: (Element) -> Boolean): Boolean in <lambda>()
69 interface Element : GlanceModifier { in <lambda>() interface
70 override fun <R> foldIn(initial: R, operation: (R, Element) -> R): R = in <lambda>()
73 override fun <R> foldOut(initial: R, operation: (Element, R) -> R): R = in <lambda>()
76 override fun any(predicate: (Element) -> Boolean): Boolean = predicate(this) in <lambda>()
78 override fun all(predicate: (Element) -> Boolean): Boolean = predicate(this) in <lambda>()
89 override fun <R> foldIn(initial: R, operation: (R, Element) -> R): R = initial in <lambda>()
[all …]
DVisibility.kt32 data class VisibilityModifier(val visibility: Visibility) : GlanceModifier.Element
DUtils.kt52 T : GlanceModifier.Element = in removeModifiersOfType()
/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/curved/
DGlanceCurvedModifier.kt44 public fun <R> foldIn(initial: R, operation: (R, Element) -> R): R in <lambda>()
55 public fun <R> foldOut(initial: R, operation: (Element, R) -> R): R in <lambda>()
60 public fun any(predicate: (Element) -> Boolean): Boolean in <lambda>()
66 public fun all(predicate: (Element) -> Boolean): Boolean in <lambda>()
78 public interface Element : GlanceCurvedModifier { in <lambda>() interface
79 override fun <R> foldIn(initial: R, operation: (R, Element) -> R): R = in <lambda>()
82 override fun <R> foldOut(initial: R, operation: (Element, R) -> R): R = in <lambda>()
85 override fun any(predicate: (Element) -> Boolean): Boolean = predicate(this) in <lambda>()
87 override fun all(predicate: (Element) -> Boolean): Boolean = predicate(this) in <lambda>()
98 override fun <R> foldIn(initial: R, operation: (R, Element) -> R): R = initial in <lambda>()
[all …]
/glance/glance/src/test/kotlin/androidx/glance/
DCombinedGlanceModifierTest.kt26 if (m is Element) lst + m.value else lst in <lambda>()
36 if (m is Element) lst + m.value else lst in <lambda>()
44 assertThat(testModifier.any { it == Element(1) }).isTrue() in <lambda>()
45 assertThat(testModifier.any { it == Element(2) }).isTrue() in <lambda>()
46 assertThat(testModifier.any { it == Element(3) }).isTrue() in <lambda>()
47 assertThat(testModifier.any { it == Element(5) }).isFalse() in <lambda>()
52 assertThat(testModifier.all { it is Element && it.value < 10 }).isTrue() in <lambda>()
53 assertThat(testModifier.all { it is Element && it.value > 2 }).isFalse() in <lambda>()
69 private data class Element(val value: Int) : GlanceModifier.Element dataClass
71 private fun GlanceModifier.element(value: Int) = this.then(Element(value))
/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/
DAppWidgetModifiers.kt29 internal data class ClipToOutlineModifier(val clip: Boolean) : GlanceModifier.Element
39 data class EnabledModifier(val enabled: Boolean) : GlanceModifier.Element
DAppWidgetBackground.kt40 internal object AppWidgetBackgroundModifier : GlanceModifier.Element
DAlignmentModifier.kt22 internal class AlignmentModifier(val alignment: Alignment) : GlanceModifier.Element
DCornerRadius.kt25 internal data class CornerRadiusModifier(val radius: Dimension) : GlanceModifier.Element
/glance/glance-wear-tiles/api/
Drestricted_current.txt105 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
106 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
107 …? super R,? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? extends R> oper…
108 …Function2<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? super R,? exten…
142 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
143 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
144 …? super R,? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? extends R> oper…
145 …Function2<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? super R,? exten…
151 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
152 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
[all …]
Dcurrent.txt105 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
106 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
107 …? super R,? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? extends R> oper…
108 …Function2<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? super R,? exten…
142 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
143 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
144 …? super R,? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? extends R> oper…
145 …Function2<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,? super R,? exten…
151 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
152 …Function1<? super androidx.glance.wear.tiles.curved.GlanceCurvedModifier.Element,java.lang.Boolean…
[all …]
/glance/glance/src/main/java/androidx/glance/layout/
DSizeModifiers.kt27 class WidthModifier(val width: Dimension) : GlanceModifier.Element
48 class HeightModifier(val height: Dimension) : GlanceModifier.Element
/glance/glance/src/main/java/androidx/glance/semantics/
DSemanticsModifier.kt22 data class SemanticsModifier(val configuration: SemanticsConfiguration) : GlanceModifier.Element
/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/
DBorder.kt49 ) : GlanceModifier.Element in border()
/glance/glance/api/
Drestricted_1.0.0-beta01.txt38 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
39 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
40 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
41 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
64 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
65 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
66 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
67 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
73 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
74 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
Drestricted_1.0.0-beta02.txt39 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
40 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
42 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
68 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
69 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
71 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
77 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
78 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
D1.0.0-beta02.txt39 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
40 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
42 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
68 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
69 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
71 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
77 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
78 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
D1.0.0-beta01.txt38 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
39 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
40 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
41 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
64 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
65 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
66 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
67 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
73 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
74 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
Drestricted_1.1.0-beta02.txt40 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
43 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
69 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
72 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
78 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
79 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
D1.1.0-beta01.txt40 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
43 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
69 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
72 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
78 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
79 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
Dcurrent.txt41 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
43 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
44 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
70 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
72 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
73 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
79 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
80 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
D1.1.0-beta02.txt40 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
43 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
69 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
72 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
78 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
79 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
Drestricted_current.txt41 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
43 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
44 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
70 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
72 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
73 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
79 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
80 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
Drestricted_1.1.0-beta01.txt40 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
41 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
42 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
43 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
69 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
70 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
71 …jvm.functions.Function2<? super R,? super androidx.glance.GlanceModifier.Element,? extends R> oper…
72 …l, kotlin.jvm.functions.Function2<? super androidx.glance.GlanceModifier.Element,? super R,? exten…
78 …ll(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
79 …ny(kotlin.jvm.functions.Function1<? super androidx.glance.GlanceModifier.Element,java.lang.Boolean…
[all …]
/glance/glance/src/main/java/androidx/glance/action/
DAction.kt115 GlanceModifier.Element { in GlanceModifier()

12