diff --git a/sample/src/main/java/com/google/android/horologist/screensizes/ScalingLazyColumnDecoder.kt b/sample/src/main/java/com/google/android/horologist/screensizes/ScalingLazyColumnDecoder.kt new file mode 100644 index 0000000000..82a6479be1 --- /dev/null +++ b/sample/src/main/java/com/google/android/horologist/screensizes/ScalingLazyColumnDecoder.kt @@ -0,0 +1,134 @@ +/* + * Copyright 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.android.horologist.screensizes + +import android.graphics.Paint +import androidx.compose.foundation.Canvas +import androidx.compose.foundation.background +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.runtime.Composable +import androidx.compose.runtime.remember +import androidx.compose.ui.Modifier +import androidx.compose.ui.geometry.Offset +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.drawscope.drawIntoCanvas +import androidx.compose.ui.graphics.nativeCanvas +import androidx.compose.ui.platform.LocalConfiguration +import androidx.wear.compose.material.PositionIndicator +import androidx.wear.compose.material.Scaffold +import androidx.wear.compose.material.Text +import androidx.wear.compose.material.TimeSource +import androidx.wear.compose.material.TimeText +import androidx.wear.compose.material.curvedText +import androidx.wear.compose.ui.tooling.preview.WearPreviewDevices +import com.google.android.horologist.compose.layout.ScalingLazyColumn +import com.google.android.horologist.compose.layout.ScalingLazyColumnDefaults +import com.google.android.horologist.compose.layout.ScalingLazyColumnState +import com.google.android.horologist.compose.material.Chip + +@Composable +fun ScalingLazyColumnDecoder(factory: ScalingLazyColumnState.Factory) { + val state = factory.create() + + Scaffold( + modifier = Modifier + .fillMaxSize() + .background(Color.Black), + positionIndicator = { + PositionIndicator(state.state) + }, + timeText = { + val size = LocalConfiguration.current.screenWidthDp + TimeText( + modifier = Modifier, // .scrollAway(state), + timeSource = FixedTimeSource, + startCurvedContent = { curvedText("${state.state.centerItemIndex}/${state.state.centerItemScrollOffset}") }, + endCurvedContent = { curvedText("${size}dp") }, + startLinearContent = { Text("${state.state.centerItemIndex}/${state.state.centerItemScrollOffset}") }, + endLinearContent = { Text("${size}dp") }, + ) + }, + ) { + ScalingLazyColumn(columnState = state) { + items(10) { + Chip(label = "Item $it", onClick = { /*TODO*/ }) + } + } + val paint = remember { + Paint().apply { + this.textSize = 16f + this.color = android.graphics.Color.WHITE + } + } + Canvas(modifier = Modifier.fillMaxSize()) { + drawLine( + Color.Red, + Offset(0f, size.height / 2f), + Offset(size.width, size.height / 2f), + ) + val minTransition = state.scalingParams.minTransitionArea * size.height + val maxTransition = state.scalingParams.maxTransitionArea * size.height + drawLine( + Color.Green, + Offset(0f, minTransition), + Offset(size.width, minTransition), + ) + drawLine( + Color.Green, + Offset(0f, maxTransition), + Offset(size.width, maxTransition), + ) + drawLine( + Color.Green, + Offset(0f, size.height - minTransition), + Offset(size.width, size.height - minTransition), + ) + drawLine( + Color.Green, + Offset(0f, size.height - maxTransition), + Offset(size.width, size.height - maxTransition), + ) + drawIntoCanvas { + it.nativeCanvas.drawText("Min Height " + state.scalingParams.minElementHeight, 30f, minTransition, paint) + it.nativeCanvas.drawText("Max Height " + state.scalingParams.maxElementHeight, 30f, maxTransition, paint) + } + } + } +} + +public object FixedTimeSource : TimeSource { + override val currentTime: String + @Composable get() = "10:10" +} + +@WearPreviewDevices +@Composable +fun Standard() { + ScalingLazyColumnDecoder(factory = ScalingLazyColumnDefaults.scalingLazyColumnDefaults()) +} + +@WearPreviewDevices +@Composable +fun BelowTimeText() { + ScalingLazyColumnDecoder(factory = ScalingLazyColumnDefaults.belowTimeText()) +} + +@WearPreviewDevices +@Composable +fun Responsive() { + ScalingLazyColumnDecoder(factory = ScalingLazyColumnDefaults.responsive()) +} diff --git a/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScalingLazyColumnDefaultsTest.kt b/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScalingLazyColumnDefaultsTest.kt new file mode 100644 index 0000000000..603f63bfc1 --- /dev/null +++ b/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScalingLazyColumnDefaultsTest.kt @@ -0,0 +1,40 @@ +/* + * Copyright 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.android.horologist.screensizes + +import androidx.compose.runtime.Composable +import com.google.android.horologist.compose.tools.Device +import org.junit.Test + +class ScalingLazyColumnDefaultsTest(device: Device) : + ScreenSizeTest(device = device, showTimeText = false) { + + @Composable + override fun Content() { + Standard() + } + + @Test + fun responsive() { + runTest { Responsive() } + } + + @Test + fun belowTimeText() { + runTest { BelowTimeText() } + } + } diff --git a/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScreenSizeTest.kt b/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScreenSizeTest.kt index 8cb6fc91d9..db60ae41f1 100644 --- a/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScreenSizeTest.kt +++ b/sample/src/test/kotlin/com/google/android/horologist/screensizes/ScreenSizeTest.kt @@ -53,6 +53,10 @@ abstract class ScreenSizeTest( @Test fun screenshot() { + runTest { Content() } + } + + fun runTest(content: @Composable () -> Unit) { val shadowDisplay = Shadows.shadowOf(ShadowDisplay.getDefaultDisplay()) shadowDisplay.setDensity(device.density) shadowDisplay.setHeight(device.screenSizePx) @@ -66,9 +70,8 @@ abstract class ScreenSizeTest( typography = MaterialTheme.typography.copy { this.copy(fontWeight = if (device.boldText) FontWeight.Bold else FontWeight.Medium) }, - ) { - Content() - } + content = content, + ) } } diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[0]_mobvoiticwatchpro5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[0]_mobvoiticwatchpro5.png new file mode 100644 index 0000000000..329653d4ab --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[0]_mobvoiticwatchpro5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50dff8fb93e9265334c7d6a69709413f7dfb2174bc8bf7f60ed35a124db5aa2a +size 33235 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[1]_samsunggalaxywatch5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[1]_samsunggalaxywatch5.png new file mode 100644 index 0000000000..3706397049 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[1]_samsunggalaxywatch5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b15978ec306ca2429c33ef36ca7bf12e75e057682c0196030e8aac1cc5a7edd +size 28922 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[2]_samsunggalaxywatch6large.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[2]_samsunggalaxywatch6large.png new file mode 100644 index 0000000000..16e1e8c1d6 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[2]_samsunggalaxywatch6large.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe6cd6bd294efe15d1bed6418f7fccd82a5a072dd266c85efae1595840f8dbd +size 33674 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[3]_googlepixelwatch.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[3]_googlepixelwatch.png new file mode 100644 index 0000000000..8191f02d25 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[3]_googlepixelwatch.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53d440034349c9969d06f0068e22719050f52ec4944782ca639ba06cc7524760 +size 28300 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[4]_genericsmallround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[4]_genericsmallround.png new file mode 100644 index 0000000000..8191f02d25 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[4]_genericsmallround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53d440034349c9969d06f0068e22719050f52ec4944782ca639ba06cc7524760 +size 28300 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[5]_genericlargeround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[5]_genericlargeround.png new file mode 100644 index 0000000000..c6949d429e --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[5]_genericlargeround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a71cb5cab9b620d24739422ded6e1958cf2892a8a5ac85c62cc0b8d45d200c3b +size 32459 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[6]_smalldevicebigfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[6]_smalldevicebigfonts.png new file mode 100644 index 0000000000..e2416190d8 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[6]_smalldevicebigfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98d1aa1ec1c60674f3f1fa279eeb73f2983dd249574b82f690c2024df7e25393 +size 31172 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[7]_largedevicesmallfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[7]_largedevicesmallfonts.png new file mode 100644 index 0000000000..8887ee32f4 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_belowTimeText[7]_largedevicesmallfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d77c6bf77564c4ba66f571515256e79281d27ca972f9a9f4e53b288ca92ebc73 +size 32526 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[0]_mobvoiticwatchpro5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[0]_mobvoiticwatchpro5.png new file mode 100644 index 0000000000..3b0294f794 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[0]_mobvoiticwatchpro5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ed0eaa52de122f76732429d600f38eec84eb340c6cb5a4a74fbc9d66d5b7788 +size 35873 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[1]_samsunggalaxywatch5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[1]_samsunggalaxywatch5.png new file mode 100644 index 0000000000..35d941720e --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[1]_samsunggalaxywatch5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86152de524cc89fa54d10d8527bfe870381fd02acc1fa37aec38af63f3e321ea +size 28831 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[2]_samsunggalaxywatch6large.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[2]_samsunggalaxywatch6large.png new file mode 100644 index 0000000000..05ecafab0a --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[2]_samsunggalaxywatch6large.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90817d47f6c4e5f7e2ae657cc9adf030af452ec5f2dd6befee72788794cc4efd +size 34820 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[3]_googlepixelwatch.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[3]_googlepixelwatch.png new file mode 100644 index 0000000000..79c8f0ffdb --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[3]_googlepixelwatch.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aa13aa2e6f870338ac8ffd0bc89e482960fa788a7897c3251273a52c06f6713 +size 28335 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[4]_genericsmallround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[4]_genericsmallround.png new file mode 100644 index 0000000000..79c8f0ffdb --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[4]_genericsmallround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aa13aa2e6f870338ac8ffd0bc89e482960fa788a7897c3251273a52c06f6713 +size 28335 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[5]_genericlargeround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[5]_genericlargeround.png new file mode 100644 index 0000000000..54c4079641 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[5]_genericlargeround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b10b3237f803ef5d99eadd74a9cdba26f0fb08337efe4bf06d46ed8a8c8bed81 +size 34724 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[6]_smalldevicebigfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[6]_smalldevicebigfonts.png new file mode 100644 index 0000000000..ec86178aa0 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[6]_smalldevicebigfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e0a71e20875b01a8ad02f852e3093c82547a9e71cdb0fa1726ec7ce8728432c +size 31394 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[7]_largedevicesmallfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[7]_largedevicesmallfonts.png new file mode 100644 index 0000000000..76dfe8c5ba --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_responsive[7]_largedevicesmallfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8897f32a38f139010a8167168d552933dd6af39f7e15fc3c09b06e70ae083e56 +size 34908 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[0]_mobvoiticwatchpro5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[0]_mobvoiticwatchpro5.png new file mode 100644 index 0000000000..c9238fef92 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[0]_mobvoiticwatchpro5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95e71ee9d2d6af6d509cf15eae2fe5c37f77b46dc6dbadcf005887000cd8c118 +size 32620 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[1]_samsunggalaxywatch5.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[1]_samsunggalaxywatch5.png new file mode 100644 index 0000000000..085ead1538 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[1]_samsunggalaxywatch5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c6da299e1133543a3c02d20e002ffcda0aaadb439bffe301be7b0756354fd00 +size 31100 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[2]_samsunggalaxywatch6large.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[2]_samsunggalaxywatch6large.png new file mode 100644 index 0000000000..2b0058255f --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[2]_samsunggalaxywatch6large.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:354705f33db05b8ca4ffbee609b50b95a648bc4d0c95d3671d6a93a8e8a5bf73 +size 33053 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[3]_googlepixelwatch.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[3]_googlepixelwatch.png new file mode 100644 index 0000000000..0126602fa4 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[3]_googlepixelwatch.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40caa4e79ba177a6526c10f43d591918c37c39ad04a5c8ba79c11ae339f3ba9f +size 31067 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[4]_genericsmallround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[4]_genericsmallround.png new file mode 100644 index 0000000000..0126602fa4 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[4]_genericsmallround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40caa4e79ba177a6526c10f43d591918c37c39ad04a5c8ba79c11ae339f3ba9f +size 31067 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[5]_genericlargeround.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[5]_genericlargeround.png new file mode 100644 index 0000000000..2b078cdff6 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[5]_genericlargeround.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b36866f8cb9a84b0875b21683924a2aa4bba9497984bbbe58eea4528359af430 +size 31986 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[6]_smalldevicebigfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[6]_smalldevicebigfonts.png new file mode 100644 index 0000000000..020e5c59bd --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[6]_smalldevicebigfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bbec8e73d978c6638f15a6aa5fed888f0c7cdc9a019bb955be7e24cf0ff7c3b +size 33991 diff --git a/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[7]_largedevicesmallfonts.png b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[7]_largedevicesmallfonts.png new file mode 100644 index 0000000000..5c86b135b1 --- /dev/null +++ b/sample/src/test/snapshots/images/com.google.android.horologist.screensizes_ScalingLazyColumnDefaultsTest_screenshot[7]_largedevicesmallfonts.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cf95f999abeed1acf1fea705ac4158f1128b064c5c7fa7a7535b8679fc24b05 +size 31397