Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import androidx.navigation3.ui.LocalNavAnimatedContentScope
import com.android.developers.androidify.customize.watchface.WatchFaceModalSheet
import com.android.developers.androidify.results.PermissionRationaleDialog
import com.android.developers.androidify.results.R
import com.android.developers.androidify.results.shareImage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import androidx.compose.ui.Modifier
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.android.developers.androidify.RemoteConfigDataSource
import com.android.developers.androidify.customize.watchface.WatchFaceSelectionState
import com.android.developers.androidify.data.ImageGenerationRepository
import com.android.developers.androidify.util.LocalFileProvider
import com.android.developers.androidify.watchface.WatchFaceAsset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import androidx.annotation.DrawableRes
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.Color
import com.android.developers.androidify.customize.watchface.WatchFaceSelectionState
import com.android.developers.androidify.wear.common.ConnectedWatch
import com.android.developers.androidify.wear.common.WatchFaceInstallationStatus

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import android.content.Intent
import androidx.compose.foundation.layout.Arrangement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -115,12 +115,12 @@ private fun InstallWatchFacePanelPreview() {
@Composable
fun WatchFacesRow(
watchFaces: List<WatchFaceAsset>,
modifier: Modifier = Modifier,
selectedWatchFace: WatchFaceAsset? = null,
onWatchFaceSelect: (WatchFaceAsset) -> Unit = {},
modifier: Modifier = Modifier,
) {
LazyRow(
modifier = Modifier,
modifier = modifier,
horizontalArrangement = Arrangement.spacedBy(8.dp),
contentPadding = PaddingValues(horizontal = 8.dp),
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.ContentTransform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.BorderStroke
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
Expand All @@ -31,7 +31,6 @@ import androidx.compose.ui.graphics.ColorMatrix
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.unit.dp
import coil3.compose.AsyncImage
import com.android.developers.androidify.watchface.R
import com.android.developers.androidify.watchface.WatchFaceAsset

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.developers.androidify.customize
package com.android.developers.androidify.customize.watchface

import com.android.developers.androidify.watchface.WatchFaceAsset

Expand Down