Searched refs:gutterPx (Results 1 – 5 of 5) sorted by relevance
198 var gutterPx: Int = 0 variable in com.android.launcher3.responsive.CalculatedResponsiveSpec227 gutterPx = spec.gutter.getCalculatedValue(availableSpace, calculatedWorkspaceSpec.gutterPx)243 gutterPx = spec.gutter.getCalculatedValue(availableSpace)253 val usedSpace = startPaddingPx + endPaddingPx + (gutterPx * gutters) + (cellSizePx * cells) in isResponsiveSpecType()258 gutterPx = spec.gutter.getRemainderSpaceValue(remainderSpace, gutterPx, gutters) in isResponsiveSpecType()267 result = 31 * result + gutterPx.hashCode() in hashCode()279 gutterPx == other.gutterPx && in equals()287 "endPaddingPx=$endPaddingPx, gutterPx=$gutterPx, cellSizePx=$cellSizePx, " + in toString()
67 assertThat(widthSpec.gutterPx).isEqualTo(42) in normalPhone_returnsThirdBreakpointSpec()74 assertThat(heightSpec.gutterPx).isEqualTo(42) in normalPhone_returnsThirdBreakpointSpec()110 assertThat(widthSpec.gutterPx).isEqualTo(54) in smallPhone_returnsFirstBreakpointSpec()117 assertThat(heightSpec.gutterPx).isEqualTo(54) in smallPhone_returnsFirstBreakpointSpec()152 assertThat(widthSpec.gutterPx).isEqualTo(54) in smallPhone_returnsFirstBreakpointSpec_unsortedFile()159 assertThat(heightSpec.gutterPx).isEqualTo(54) in smallPhone_returnsFirstBreakpointSpec_unsortedFile()
81 assertThat(gutterPx).isEqualTo(widthSpec.gutterPx) in normalPhone_copiesFromWorkspace()98 assertThat(gutterPx).isEqualTo(heightSpec.gutterPx) in normalPhone_copiesFromWorkspace()
85 assertThat(gutterPx).isEqualTo(16.dpToPx()) in validate_matchWidthWorkspace()111 assertThat(gutterPx).isEqualTo(16.dpToPx()) in validate_matchWidthWorkspace()159 assertThat(gutterPx).isEqualTo(16.dpToPx()) in validate_matchHeightWorkspace()
207 assertThat(calculatedWidthSpec.gutterPx).isEqualTo(16.dpToPx()) in retrievesCalculatedWidthSpec()273 assertThat(calculatedHeightSpec.gutterPx).isEqualTo(16.dpToPx()) in retrievesCalculatedHeightSpec()