Searched refs:specsGroup (Results 1 – 3 of 3) sorted by relevance
37 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in getSpecsByAspectRatio() constant38 check(specsGroup != null) { "No available spec with aspectRatio within $aspectRatio." } in getSpecsByAspectRatio()40 return specsGroup in getSpecsByAspectRatio()45 specsGroup: ResponsiveSpecGroup<HotseatSpec> in getSpecIgnoringDimensionType()47 val specWidth = specsGroup.widthSpecs.firstOrNull { availableSize <= it.maxAvailableSize } in getSpecIgnoringDimensionType()48 val specHeight = specsGroup.heightSpecs.firstOrNull { availableSize <= it.maxAvailableSize } in getSpecIgnoringDimensionType()57 val specsGroup = getSpecsByAspectRatio(aspectRatio) in getCalculatedSpec() constant62 val spec = getSpecIgnoringDimensionType(availableSpace, specsGroup) in getCalculatedSpec()63 check(spec != null) { "No available spec found within $availableSpace. $specsGroup" } in getCalculatedSpec()
54 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in <lambda>() constant55 checkNotNull(specsGroup) { "No available spec with aspectRatio within $aspectRatio." } in <lambda>()57 return specsGroup in <lambda>()77 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant78 val spec = specsGroup.getSpec(dimensionType, availableSpace) in <lambda>()115 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant116 val spec = specsGroup.getSpec(dimensionType, availableSpace) in <lambda>()
45 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in <lambda>() constant46 check(specsGroup != null) { "No available spec with aspectRatio within $aspectRatio." } in <lambda>()48 return specsGroup in <lambda>()52 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant53 val spec = specsGroup.getSpec(DimensionType.HEIGHT, availableHeightSpace) in <lambda>()62 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant63 val spec = specsGroup.getSpec(DimensionType.HEIGHT, availableHeightSpace) in <lambda>()