Home
last modified time | relevance | path

Searched refs:specsGroup (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/responsive/
DHotseatSpecsProvider.kt37 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in getSpecsByAspectRatio() constant
38 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() constant
62 val spec = getSpecIgnoringDimensionType(availableSpace, specsGroup) in getCalculatedSpec()
63 check(spec != null) { "No available spec found within $availableSpace. $specsGroup" } in getCalculatedSpec()
DResponsiveSpecsProvider.kt54 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in <lambda>() constant
55 checkNotNull(specsGroup) { "No available spec with aspectRatio within $aspectRatio." } in <lambda>()
57 return specsGroup in <lambda>()
77 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant
78 val spec = specsGroup.getSpec(dimensionType, availableSpace) in <lambda>()
115 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant
116 val spec = specsGroup.getSpec(dimensionType, availableSpace) in <lambda>()
DResponsiveCellSpecsProvider.kt45 val specsGroup = groupOfSpecs.firstOrNull { aspectRatio <= it.aspectRatio } in <lambda>() constant
46 check(specsGroup != null) { "No available spec with aspectRatio within $aspectRatio." } in <lambda>()
48 return specsGroup in <lambda>()
52 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant
53 val spec = specsGroup.getSpec(DimensionType.HEIGHT, availableHeightSpace) in <lambda>()
62 val specsGroup = getSpecsByAspectRatio(aspectRatio) in <lambda>() constant
63 val spec = specsGroup.getSpec(DimensionType.HEIGHT, availableHeightSpace) in <lambda>()