Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 25 of 47) sorted by relevance

12

/tv/tv-material/src/main/java/androidx/tv/material3/
DChip.kt30 import androidx.compose.foundation.shape.RoundedCornerShape in <lambda>()
86 shape: ClickableChipShape = AssistChipDefaults.shape(), in <lambda>()
103 shape = shape, in <lambda>()
163 shape: SelectableChipShape = FilterChipDefaults.shape(), in FilterChip()
182 shape = shape, in FilterChip()
241 shape: SelectableChipShape = InputChipDefaults.shape(hasAvatar = avatar != null), in InputChip()
260 shape = shape, in InputChip()
311 shape: ClickableChipShape = SuggestionChipDefaults.shape(), in SuggestionChip()
328 shape = shape, in SuggestionChip()
352 shape: ClickableChipShape, in ClickableChip()
[all …]
DSurfaceBorder.kt33 shape: Shape, in tvSurfaceBorder()
38 shape = shape, in tvSurfaceBorder()
43 properties["shape"] = shape in tvSurfaceBorder()
51 private val shape: Shape, constant in androidx.tv.material3.SurfaceBorderElement
57 shape = shape, in create()
64 newShape = shape, in update()
74 var result = shape.hashCode() in hashCode()
81 return shape == otherTyped.shape && border == otherTyped.border in equals()
86 private var shape: Shape, variable in androidx.tv.material3.SurfaceBorderNode
97 shape = newShape in reactToUpdates()
[all …]
DCard.kt30 import androidx.compose.foundation.shape.RoundedCornerShape
77 shape: CardShape = CardDefaults.shape(), in Card()
89 shape = shape.toClickableSurfaceShape(), in Card()
149 shape: CardShape = CardDefaults.shape(),
162 shape = shape,
226 shape: CardShape = CardDefaults.shape(),
239 shape = shape,
311 shape: CardShape = CardDefaults.shape(),
324 shape = shape,
396 fun shape( method
[all …]
DSurfaceGlow.kt37 shape: Shape, in tvSurfaceGlow()
46 shape = shape, in tvSurfaceGlow()
52 properties["shape"] = shape in tvSurfaceGlow()
60 private val shape: Shape, constant in androidx.tv.material3.SurfaceGlowElement
67 shape = shape, in create()
75 newShape = shape, in update()
86 var result = shape.hashCode() in hashCode()
94 return shape == otherTyped.shape && in equals()
101 private var shape: Shape, variable in androidx.tv.material3.SurfaceGlowNode
116 shape = newShape in reactToUpdates()
[all …]
DIconButtonDefaults.kt22 import androidx.compose.foundation.shape.CircleShape
59 fun shape( in shape() method
60 shape: Shape = ContainerShape, in shape()
61 focusedShape: Shape = shape, in shape()
62 pressedShape: Shape = shape, in shape()
63 disabledShape: Shape = shape, in shape()
67 shape = shape, in shape()
161 shape = ContainerShape in shape()
209 fun shape( in shape() method
210 shape: Shape = ContainerShape, in shape()
[all …]
DSurfaceShapeOutlineCache.kt27 private var shape: Shape, variable in androidx.tv.material3.SurfaceShapeOutlineCache
39 shape: Shape, in updatedOutline()
44 if (outline == null || hasUpdates(shape, size, layoutDirection, density)) { in updatedOutline()
45 syncUpdates(shape, size, layoutDirection, density) in updatedOutline()
53 shape.createOutline(size = size, layoutDirection = layoutDirection, density = density) in createNewOutline()
57 shape: Shape, in syncUpdates()
62 this.shape = shape in syncUpdates()
69 shape: Shape, in hasUpdates()
74 if (shape != this.shape) return true in hasUpdates()
DButtonDefaults.kt23 import androidx.compose.foundation.shape.CircleShape
74 fun shape( in shape() method
75 shape: Shape = ContainerShape, in shape()
76 focusedShape: Shape = shape, in shape()
77 pressedShape: Shape = shape, in shape()
78 disabledShape: Shape = shape, in shape()
82 shape = shape, in shape()
176 shape = ContainerShape in shape()
239 fun shape( in shape() method
240 shape: Shape = ContainerShape, in shape()
[all …]
DBorder.kt39 val shape: Shape = ShapeTokens.BorderDefaultShape constant in androidx.tv.material3.Border
49 if (shape != other.shape) return false in equals()
57 result = 31 * result + shape.hashCode() in hashCode()
62 return "Border(border=$border, inset=$inset, shape=$shape)" in toString()
65 fun copy(border: BorderStroke? = null, inset: Dp? = null, shape: Shape? = null): Border = in copy()
69 shape = shape ?: this.shape in copy()
81 shape = RectangleShape in copy()
DSurfaceDefaults.kt32 val shape: Shape constant
70 fun shape( in colors() method
71 shape: Shape = MaterialTheme.shapes.medium, in colors()
72 focusedShape: Shape = shape, in colors()
73 pressedShape: Shape = shape, in colors()
74 disabledShape: Shape = shape, in colors()
78 shape = shape, in colors()
171 shape = ShapeDefaults.Small in colors()
213 fun shape( method
214 shape: Shape = MaterialTheme.shapes.medium,
[all …]
DSurface.kt60 shape: Shape = SurfaceDefaults.shape, in Surface()
81 .ifElse(API_28_OR_ABOVE, Modifier.tvSurfaceGlow(shape, glow)) in Surface()
82 .ifElse(border != Border.None, Modifier.tvSurfaceBorder(shape, border)) in Surface()
83 .background(backgroundColorByState, shape) in Surface()
84 .clip(shape), in Surface()
128 shape: ClickableSurfaceShape = ClickableSurfaceDefaults.shape(), in Surface()
151 shape = in Surface()
152 shape.currentShape( in Surface()
228 shape: SelectableSurfaceShape = SelectableSurfaceDefaults.shape(), in Surface()
253 shape = in Surface()
[all …]
DButton.kt83 shape: ButtonShape = ButtonDefaults.shape(), in Button()
98 shape = shape, in Button()
155 shape: ButtonShape = OutlinedButtonDefaults.shape(), in OutlinedButton()
170 shape = shape, in OutlinedButton()
188 shape: ButtonShape, in ButtonImpl()
203 shape = shape.toClickableSurfaceShape(), in ButtonImpl()
DListItemDefaults.kt23 import androidx.compose.foundation.shape.RoundedCornerShape
94 fun shape( method
95 shape: Shape = ListItemShape,
96 focusedShape: Shape = shape,
97 pressedShape: Shape = shape,
98 selectedShape: Shape = shape,
99 disabledShape: Shape = shape,
100 focusedSelectedShape: Shape = shape,
102 pressedSelectedShape: Shape = shape
105 shape = shape,
DWideButtonDefaults.kt29 import androidx.compose.foundation.shape.RoundedCornerShape
90 fun shape( method
91 shape: Shape = ContainerShape,
92 focusedShape: Shape = shape,
93 pressedShape: Shape = shape,
94 disabledShape: Shape = shape,
98 shape = shape,
178 shape = ContainerShape
DIconButton.kt71 shape: ButtonShape = IconButtonDefaults.shape(), in IconButton()
83 shape = shape.toClickableSurfaceShape(), in IconButton()
137 shape: ButtonShape = OutlinedIconButtonDefaults.shape(), in OutlinedIconButton()
151 shape = shape.toClickableSurfaceShape(), in OutlinedIconButton()
DNavigationDrawerItemDefaults.kt30 import androidx.compose.foundation.shape.RoundedCornerShape
132 fun shape( method
133 shape: Shape = RoundedCornerShape(50),
134 focusedShape: Shape = shape,
135 pressedShape: Shape = shape,
136 selectedShape: Shape = shape,
137 disabledShape: Shape = shape,
138 focusedSelectedShape: Shape = shape,
140 pressedSelectedShape: Shape = shape
143 shape = shape,
DListItem.kt90 shape: ListItemShape = ListItemDefaults.shape(), in ListItem()
110 shape = shape, in ListItem()
182 shape: ListItemShape = ListItemDefaults.shape(), in DenseListItem()
202 shape = shape, in DenseListItem()
271 shape: ListItemShape, in BaseListItem()
292 shape = shape.toSelectableSurfaceShape(), in BaseListItem()
407 shape = shape,
DWideButton.kt90 shape: ButtonShape = WideButtonDefaults.shape(),
103 shape = shape,
162 shape: ButtonShape = WideButtonDefaults.shape(),
175 shape = shape,
225 shape: ButtonShape, in WideButtonImpl()
248 shape = shape.toClickableSurfaceShape(), in WideButtonImpl()
DNavigationDrawerItem.kt75 shape: NavigationDrawerItemShape = NavigationDrawerItemDefaults.shape(), in <lambda>()
156 shape = shape.toToggleableListItemShape(), in <lambda>()
167 ListItemDefaults.shape(
168 shape = shape,
DChipStyles.kt30 internal val shape: Shape, constant in androidx.tv.material3.ClickableChipShape
42 if (shape != other.shape) return false in equals()
52 var result = shape.hashCode() in hashCode()
62 return "ClickableChipShape(shape=$shape, focusedShape=$focusedShape, " + in toString()
69 shape = shape, in toClickableSurfaceShape()
82 internal val shape: Shape, in toClickableSurfaceShape() constant in androidx.tv.material3.SelectableChipShape
99 if (shape != other.shape) return false in toClickableSurfaceShape()
114 var result = shape.hashCode() in toClickableSurfaceShape()
129 return "SelectableChipShape(shape=$shape, focusedShape=$focusedShape, " + in toClickableSurfaceShape()
140 shape = shape, in toClickableSurfaceShape()
DButtonStyles.kt29 internal val shape: Shape, constant in androidx.tv.material3.ButtonShape
41 if (shape != other.shape) return false in equals()
51 var result = shape.hashCode() in hashCode()
61 return "ButtonShape(shape=$shape, focusedShape=$focusedShape, pressedShape=$pressedShape," + in toString()
292 shape = shape,
/tv/tv-material/samples/src/main/java/androidx/tv/material3/samples/
DCardSamples.kt30 import androidx.compose.foundation.shape.CircleShape
31 import androidx.compose.foundation.shape.RoundedCornerShape
55 shape = RoundedCornerShape(5), in HorizontalImageAspectRatioCardSample()
78 shape = RoundedCornerShape(5), in VerticalImageAspectRatioCardSample()
100 shape = in SquareImageAspectRatioCardSample()
101 CardDefaults.shape( in SquareImageAspectRatioCardSample()
102 shape = CircleShape, in SquareImageAspectRatioCardSample()
/tv/tv-material/api/
Drestricted_current.txt8 method public androidx.compose.foundation.shape.RoundedCornerShape getContainerShape();
12 … public androidx.tv.material3.ClickableChipShape shape(optional androidx.compose.ui.graphics.Shape…
14 property public androidx.compose.foundation.shape.RoundedCornerShape ContainerShape;
20 …tion.BorderStroke border, optional float inset, optional androidx.compose.ui.graphics.Shape shape);
21 …, optional androidx.compose.ui.unit.Dp? inset, optional androidx.compose.ui.graphics.Shape? shape);
27 property public androidx.compose.ui.graphics.Shape shape;
51 …method public androidx.tv.material3.ButtonShape shape(optional androidx.compose.ui.graphics.Shape
63 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
64 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
105 …method public androidx.tv.material3.CardShape shape(optional androidx.compose.ui.graphics.Shape sh…
[all …]
Drestricted_1.0.0-beta01.txt8 method public androidx.compose.foundation.shape.RoundedCornerShape getContainerShape();
12 … public androidx.tv.material3.ClickableChipShape shape(optional androidx.compose.ui.graphics.Shape…
14 property public final androidx.compose.foundation.shape.RoundedCornerShape ContainerShape;
20 …tion.BorderStroke border, optional float inset, optional androidx.compose.ui.graphics.Shape shape);
21 …, optional androidx.compose.ui.unit.Dp? inset, optional androidx.compose.ui.graphics.Shape? shape);
27 property public final androidx.compose.ui.graphics.Shape shape;
51 …method public androidx.tv.material3.ButtonShape shape(optional androidx.compose.ui.graphics.Shape
63 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
64 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
105 …method public androidx.tv.material3.CardShape shape(optional androidx.compose.ui.graphics.Shape sh…
[all …]
Dcurrent.txt8 method public androidx.compose.foundation.shape.RoundedCornerShape getContainerShape();
12 … public androidx.tv.material3.ClickableChipShape shape(optional androidx.compose.ui.graphics.Shape…
14 property public androidx.compose.foundation.shape.RoundedCornerShape ContainerShape;
20 …tion.BorderStroke border, optional float inset, optional androidx.compose.ui.graphics.Shape shape);
21 …, optional androidx.compose.ui.unit.Dp? inset, optional androidx.compose.ui.graphics.Shape? shape);
27 property public androidx.compose.ui.graphics.Shape shape;
51 …method public androidx.tv.material3.ButtonShape shape(optional androidx.compose.ui.graphics.Shape
63 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
64 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
105 …method public androidx.tv.material3.CardShape shape(optional androidx.compose.ui.graphics.Shape sh…
[all …]
D1.0.0-beta01.txt8 method public androidx.compose.foundation.shape.RoundedCornerShape getContainerShape();
12 … public androidx.tv.material3.ClickableChipShape shape(optional androidx.compose.ui.graphics.Shape…
14 property public final androidx.compose.foundation.shape.RoundedCornerShape ContainerShape;
20 …tion.BorderStroke border, optional float inset, optional androidx.compose.ui.graphics.Shape shape);
21 …, optional androidx.compose.ui.unit.Dp? inset, optional androidx.compose.ui.graphics.Shape? shape);
27 property public final androidx.compose.ui.graphics.Shape shape;
51 …method public androidx.tv.material3.ButtonShape shape(optional androidx.compose.ui.graphics.Shape
63 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
64 ….tv.material3.ButtonGlow glow, optional androidx.tv.material3.ButtonShape shape, optional androidx…
105 …method public androidx.tv.material3.CardShape shape(optional androidx.compose.ui.graphics.Shape sh…
[all …]

12