Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DFolderSpecTest.kt131 val calculatedWorkspaceSpec = in parseInvalidFile_missingWidthBreakpoint_throwsError() constant
141 calculatedWorkspaceSpec in parseInvalidFile_missingWidthBreakpoint_throwsError()
160 val calculatedWorkspaceSpec = in parseInvalidFile_missingHeightBreakpoint_throwsError() constant
170 calculatedWorkspaceSpec in parseInvalidFile_missingHeightBreakpoint_throwsError()
189 val calculatedWorkspaceSpec = in retrievesCalculatedWidthSpec() constant
200 calculatedWorkspaceSpec in retrievesCalculatedWidthSpec()
208 assertThat(calculatedWidthSpec.cellSizePx).isEqualTo(calculatedWorkspaceSpec.cellSizePx) in retrievesCalculatedWidthSpec()
226 val calculatedWorkspaceSpec = in retrievesCalculatedWidthSpec_invalidCalculatedResponsiveSpecType_throwsError() constant
236 calculatedWorkspaceSpec in retrievesCalculatedWidthSpec_invalidCalculatedResponsiveSpecType_throwsError()
255 val calculatedWorkspaceSpec = in retrievesCalculatedHeightSpec() constant
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/responsive/
DResponsiveSpecsProvider.kt101 calculatedWorkspaceSpec: CalculatedResponsiveSpec in <lambda>()
103 check(calculatedWorkspaceSpec.spec.dimensionType == dimensionType) { in <lambda>()
109 check(calculatedWorkspaceSpec.isResponsiveSpecType(ResponsiveSpecType.Workspace)) { in <lambda>()
122 calculatedWorkspaceSpec in <lambda>()
DResponsiveSpec.kt212 calculatedWorkspaceSpec: CalculatedResponsiveSpec
223 calculatedWorkspaceSpec.startPaddingPx
226 spec.endPadding.getCalculatedValue(availableSpace, calculatedWorkspaceSpec.endPaddingPx)
227 gutterPx = spec.gutter.getCalculatedValue(availableSpace, calculatedWorkspaceSpec.gutterPx)
229 spec.cellSize.getCalculatedValue(availableSpace, calculatedWorkspaceSpec.cellSizePx)