This site requires javascript.
Android Code Search
file:androidx/wear/protolayout/testing/filters.kt function:hasWidth
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
wear/protolayout/protolayout-testing/src/main/java/androidx/wear/protolayout/testing/
filters.kt
content_copy
Preview
163:
164:
165:
/** Returns a [LayoutElementMatcher] which checks whether the element has the given width value. */
public
fun
hasWidth
(width: ContainerDimension): LayoutElementMatcher =
LayoutElementMatcher(
"Element has width =
$
width
"
) { element ->
191:
192:
193:
/** Returns a [LayoutElementMatcher] which checks whether the element has the given width value. */
public
fun
hasWidth
(width: ProportionalDimensionProp): LayoutElementMatcher =
LayoutElementMatcher(
"Element has width =
$
width
"
) { element ->
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main