File tree Expand file tree Collapse file tree 25 files changed +0
-383
lines changed
app/src/main/java/com/android/developers/androidify/navigation
network/src/main/java/com/android/developers/androidify
theme/src/main/java/com/android/developers/androidify/theme
util/src/main/java/com/android/developers/androidify/util
data/src/main/java/com/android/developers/androidify/data
creation/src/main/java/com/android/developers/androidify/creation
home/src/main/java/com/android/developers/androidify/home
results/src/main/java/com/android/developers/androidify/results Expand file tree Collapse file tree 25 files changed +0
-383
lines changed Original file line number Diff line number Diff line change @@ -34,22 +34,6 @@ import kotlinx.serialization.encoding.decodeStructure
34
34
import kotlinx.serialization.encoding.encodeStructure
35
35
import kotlinx.serialization.serializer
36
36
37
- /*
38
- * Copyright 2025 The Android Open Source Project
39
- *
40
- * Licensed under the Apache License, Version 2.0 (the "License");
41
- * you may not use this file except in compliance with the License.
42
- * You may obtain a copy of the License at
43
- *
44
- * http://www.apache.org/licenses/LICENSE-2.0
45
- *
46
- * Unless required by applicable law or agreed to in writing, software
47
- * distributed under the License is distributed on an "AS IS" BASIS,
48
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49
- * See the License for the specific language governing permissions and
50
- * limitations under the License.
51
- */
52
-
53
37
@Composable
54
38
fun <T : Any > rememberMutableStateListOf (vararg elements : T ): SnapshotStateList <Any > {
55
39
return rememberSaveable(saver = snapshotStateListSaver(serializableListSaver())) {
Original file line number Diff line number Diff line change @@ -45,21 +45,6 @@ import com.android.developers.androidify.home.AboutScreen
45
45
import com.android.developers.androidify.home.HomeScreen
46
46
import com.android.developers.androidify.theme.transitions.ColorSplashTransitionScreen
47
47
48
- /*
49
- * Copyright 2025 The Android Open Source Project
50
- *
51
- * Licensed under the Apache License, Version 2.0 (the "License");
52
- * you may not use this file except in compliance with the License.
53
- * You may obtain a copy of the License at
54
- *
55
- * http://www.apache.org/licenses/LICENSE-2.0
56
- *
57
- * Unless required by applicable law or agreed to in writing, software
58
- * distributed under the License is distributed on an "AS IS" BASIS,
59
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60
- * See the License for the specific language governing permissions and
61
- * limitations under the License.
62
- */
63
48
@ExperimentalMaterial3ExpressiveApi
64
49
@Composable
65
50
fun MainNavigation () {
Original file line number Diff line number Diff line change @@ -20,21 +20,6 @@ package com.android.developers.androidify.navigation
20
20
import kotlinx.serialization.ExperimentalSerializationApi
21
21
import kotlinx.serialization.Serializable
22
22
23
- /*
24
- * Copyright 2025 The Android Open Source Project
25
- *
26
- * Licensed under the Apache License, Version 2.0 (the "License");
27
- * you may not use this file except in compliance with the License.
28
- * You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing, software
33
- * distributed under the License is distributed on an "AS IS" BASIS,
34
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35
- * See the License for the specific language governing permissions and
36
- * limitations under the License.
37
- */
38
23
interface NavigationRoute
39
24
40
25
@Serializable
Original file line number Diff line number Diff line change @@ -20,21 +20,6 @@ import com.google.firebase.remoteconfig.remoteConfig
20
20
import javax.inject.Inject
21
21
import javax.inject.Singleton
22
22
23
- /*
24
- * Copyright 2025 The Android Open Source Project
25
- *
26
- * Licensed under the Apache License, Version 2.0 (the "License");
27
- * you may not use this file except in compliance with the License.
28
- * You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing, software
33
- * distributed under the License is distributed on an "AS IS" BASIS,
34
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35
- * See the License for the specific language governing permissions and
36
- * limitations under the License.
37
- */
38
23
interface RemoteConfigDataSource {
39
24
fun isAppInactive (): Boolean
40
25
fun textModelName (): String
Original file line number Diff line number Diff line change @@ -37,21 +37,6 @@ import java.util.concurrent.TimeUnit
37
37
import javax.inject.Inject
38
38
import javax.inject.Singleton
39
39
40
- /*
41
- * Copyright 2025 The Android Open Source Project
42
- *
43
- * Licensed under the Apache License, Version 2.0 (the "License");
44
- * you may not use this file except in compliance with the License.
45
- * You may obtain a copy of the License at
46
- *
47
- * http://www.apache.org/licenses/LICENSE-2.0
48
- *
49
- * Unless required by applicable law or agreed to in writing, software
50
- * distributed under the License is distributed on an "AS IS" BASIS,
51
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52
- * See the License for the specific language governing permissions and
53
- * limitations under the License.
54
- */
55
40
@Module
56
41
@InstallIn(SingletonComponent ::class )
57
42
internal class NetworkModule @Inject constructor() {
Original file line number Diff line number Diff line change @@ -44,22 +44,6 @@ import kotlinx.serialization.json.jsonPrimitive
44
44
import javax.inject.Inject
45
45
import javax.inject.Singleton
46
46
47
- /*
48
- * Copyright 2025 The Android Open Source Project
49
- *
50
- * Licensed under the Apache License, Version 2.0 (the "License");
51
- * you may not use this file except in compliance with the License.
52
- * You may obtain a copy of the License at
53
- *
54
- * http://www.apache.org/licenses/LICENSE-2.0
55
- *
56
- * Unless required by applicable law or agreed to in writing, software
57
- * distributed under the License is distributed on an "AS IS" BASIS,
58
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
59
- * See the License for the specific language governing permissions and
60
- * limitations under the License.
61
- */
62
-
63
47
interface FirebaseAiDataSource {
64
48
suspend fun validatePromptHasEnoughInformation (inputPrompt : String ): ValidatedDescription
65
49
suspend fun validateImageHasEnoughInformation (image : Bitmap ): ValidatedImage
Original file line number Diff line number Diff line change @@ -23,21 +23,6 @@ import androidx.compose.material3.MotionScheme
23
23
import androidx.compose.runtime.Composable
24
24
import androidx.compose.ui.geometry.Rect
25
25
26
- /*
27
- * Copyright 2022 The Android Open Source Project
28
- *
29
- * Licensed under the Apache License, Version 2.0 (the "License");
30
- * you may not use this file except in compliance with the License.
31
- * You may obtain a copy of the License at
32
- *
33
- * http://www.apache.org/licenses/LICENSE-2.0
34
- *
35
- * Unless required by applicable law or agreed to in writing, software
36
- * distributed under the License is distributed on an "AS IS" BASIS,
37
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38
- * See the License for the specific language governing permissions and
39
- * limitations under the License.
40
- */
41
26
@OptIn(
42
27
ExperimentalMaterial3ExpressiveApi ::class ,
43
28
ExperimentalSharedTransitionApi ::class ,
Original file line number Diff line number Diff line change @@ -66,21 +66,6 @@ import androidx.navigation3.ui.LocalNavAnimatedContentScope
66
66
import com.android.developers.androidify.util.skipToLookaheadPlacement
67
67
import kotlin.math.max
68
68
69
- /*
70
- * Copyright 2025 The Android Open Source Project
71
- *
72
- * Licensed under the Apache License, Version 2.0 (the "License");
73
- * you may not use this file except in compliance with the License.
74
- * You may obtain a copy of the License at
75
- *
76
- * http://www.apache.org/licenses/LICENSE-2.0
77
- *
78
- * Unless required by applicable law or agreed to in writing, software
79
- * distributed under the License is distributed on an "AS IS" BASIS,
80
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81
- * See the License for the specific language governing permissions and
82
- * limitations under the License.
83
- */
84
69
sealed interface SharedElementKey {
85
70
object CameraButtonToFullScreenCamera : SharedElementKey
86
71
object CaptureImageToDetails : SharedElementKey
Original file line number Diff line number Diff line change @@ -46,21 +46,6 @@ import com.android.developers.androidify.util.backgroundRepeatX
46
46
import com.android.developers.androidify.util.dpToPx
47
47
import com.android.developers.androidify.util.isAtLeastMedium
48
48
49
- /*
50
- * Copyright 2025 The Android Open Source Project
51
- *
52
- * Licensed under the Apache License, Version 2.0 (the "License");
53
- * you may not use this file except in compliance with the License.
54
- * You may obtain a copy of the License at
55
- *
56
- * http://www.apache.org/licenses/LICENSE-2.0
57
- *
58
- * Unless required by applicable law or agreed to in writing, software
59
- * distributed under the License is distributed on an "AS IS" BASIS,
60
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
61
- * See the License for the specific language governing permissions and
62
- * limitations under the License.
63
- */
64
49
@Composable
65
50
fun SquiggleBackground (
66
51
modifier : Modifier = Modifier ,
Original file line number Diff line number Diff line change @@ -22,22 +22,6 @@ import androidx.compose.ui.tooling.preview.Devices.PIXEL_FOLD
22
22
import androidx.compose.ui.tooling.preview.Devices.PIXEL_TABLET
23
23
import androidx.compose.ui.tooling.preview.Preview
24
24
25
- /*
26
- * Copyright 2025 The Android Open Source Project
27
- *
28
- * Licensed under the Apache License, Version 2.0 (the "License");
29
- * you may not use this file except in compliance with the License.
30
- * You may obtain a copy of the License at
31
- *
32
- * http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software
35
- * distributed under the License is distributed on an "AS IS" BASIS,
36
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37
- * See the License for the specific language governing permissions and
38
- * limitations under the License.
39
- */
40
-
41
25
@Preview(device = PIXEL_7_PRO , name = " Phone preview" )
42
26
annotation class PhonePreview
43
27
You can’t perform that action at this time.
0 commit comments