Searched refs:widthSpecs (Results 1 – 11 of 11) sorted by relevance
32 widthSpecs: List<T>,35 val widthSpecs: List<T> constant40 this.widthSpecs = widthSpecs.sortedBy { it.maxAvailableSize } in <lambda>()54 widthSpecs.firstOrNull { availableSize <= it.maxAvailableSize } in getSpec()72 val widthSpecsString = widthSpecs.joinToString(", ") { printSpec(it) } in toString()88 val (widthSpecs, heightSpecs) = in create() constant91 return ResponsiveSpecGroup(aspectRatio, widthSpecs, heightSpecs) in create()
42 check(group.widthSpecs.isNotEmpty() && group.heightSpecs.isNotEmpty()) { in <lambda>()
47 val specWidth = specsGroup.widthSpecs.firstOrNull { availableSize <= it.maxAvailableSize } in getSpecIgnoringDimensionType()
33 check(group.widthSpecs.isEmpty() && group.heightSpecs.isNotEmpty()) { in <lambda>()
71 assertThat(specs.widthSpecs.size).isEqualTo(0) in parseValidFile()101 assertThat(specs.widthSpecs.size).isEqualTo(expectedWidthSpecs.size) in parseValidLandscapeFile()102 assertThat(specs.widthSpecs[0]).isEqualTo(expectedWidthSpecs[0]) in parseValidLandscapeFile()103 assertThat(specs.widthSpecs[1]).isEqualTo(expectedWidthSpecs[1]) in parseValidLandscapeFile()
59 assertThat(specs.widthSpecs.size).isEqualTo(2) in validate_matchWidthWorkspace()60 assertThat(specs.widthSpecs[0].cellSize.matchWorkspace).isEqualTo(true) in validate_matchWidthWorkspace()61 assertThat(specs.widthSpecs[1].cellSize.matchWorkspace).isEqualTo(false) in validate_matchWidthWorkspace()
82 assertThat(specs.widthSpecs.size).isEqualTo(1) in parseValidFile()83 assertThat(specs.widthSpecs[0].toString()) in parseValidFile()
137 assertThat(specs.widthSpecs.size).isEqualTo(1) in parseValidFile()138 assertThat(specs.widthSpecs[0].toString()) in parseValidFile()
73 assertThat(portraitSpecs.widthSpecs.size).isEqualTo(0) in parseValidFile()92 assertThat(landscapeSpecs.widthSpecs.size).isEqualTo(0) in parseValidFile()
84 assertThat(specs.widthSpecs.size).isEqualTo(widthSpecsExpected.size) in parseValidFile()85 assertThat(specs.widthSpecs[0]).isEqualTo(widthSpecsExpected[0]) in parseValidFile()86 assertThat(specs.widthSpecs[1]).isEqualTo(widthSpecsExpected[1]) in parseValidFile()
162 assertThat(specs.widthSpecs.size).isEqualTo(expectedWidthSpecs.size) in <lambda>()163 specs.widthSpecs.forEachIndexed { index, responsiveSpec -> in <lambda>()