Skip to content

Commit 6cbc7c1

Browse files
committed
🤖 Apply Spotless formatting
1 parent 1d233d9 commit 6cbc7c1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎ai-catalog/samples/imagen-editing/src/main/java/com/android/ai/samples/imagenediting/data/ImagenEditingDataSource.kt‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ import com.google.firebase.ai.type.ImagenEditMode
2525
import com.google.firebase.ai.type.ImagenEditingConfig
2626
import com.google.firebase.ai.type.ImagenGenerationConfig
2727
import com.google.firebase.ai.type.ImagenImageFormat
28-
import com.google.firebase.ai.type.ImagenMaskReference
2928
import com.google.firebase.ai.type.ImagenRawImage
3029
import com.google.firebase.ai.type.ImagenRawMask
31-
import com.google.firebase.ai.type.ImagenStyleReference
3230
import com.google.firebase.ai.type.PublicPreviewAPI
3331
import com.google.firebase.ai.type.toImagenInlineImage
3432
import javax.inject.Inject
@@ -135,11 +133,7 @@ class ImagenEditingDataSource @Inject constructor() {
135133
* @return The outpainted bitmap image.
136134
*/
137135
@OptIn(PublicPreviewAPI::class)
138-
suspend fun outpaintImage(
139-
sourceImage: Bitmap,
140-
targetDimensions: Dimensions,
141-
prompt: String = "",
142-
): Bitmap {
136+
suspend fun outpaintImage(sourceImage: Bitmap, targetDimensions: Dimensions, prompt: String = ""): Bitmap {
143137
val imageResponse = editingModel.outpaintImage(
144138
image = sourceImage.toImagenInlineImage(),
145139
newDimensions = targetDimensions,

0 commit comments

Comments
 (0)