Home
last modified time | relevance | path

Searched refs:ResourceViewModel (Results 1 – 11 of 11) sorted by relevance

/packages/apps/AvatarPicker/src/tests/ui/java/com/android/avatarpicker/tests/ui/
DIllustrationsFakeUseCase.kt23 import com.android.avatarpicker.ui.details.items.ResourceViewModel
28 ResourceViewModel(PHOTO_PICKER,
31 ResourceViewModel(CAMERA,
35 ResourceViewModel(ILLUSTRATION, R.drawable.light_blue,
37 ResourceViewModel(ILLUSTRATION, R.drawable.light_yellow,
39 ResourceViewModel(ILLUSTRATION, R.drawable.white,
DDefaultIconsFakeUseCase.kt23 import com.android.avatarpicker.ui.details.items.ResourceViewModel
28 ResourceViewModel(PHOTO_PICKER,
31 ResourceViewModel(CAMERA,
46 private fun defaultViewModel(color: Int): ResourceViewModel =
47 ResourceViewModel(DEFAULT_ICON, R.drawable.ic_account_circle_filled,
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/domain/
DUtils.kt28 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>()
44 ResourceViewModel(entityType, drawableId, descriptionId, colorInt) in <lambda>()
80 fun ResourceViewModel.toIntent(context: Context): Intent { in toIntent() method
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/
DMediaIcon.kt27 import com.android.avatarpicker.ui.details.items.ResourceViewModel
30 fun MediaIcon(model: ResourceViewModel, select: () -> Unit) { in MediaIcon()
DCameraIcon.kt27 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>()
32 fun CameraIcon(viewModel: ResourceViewModel, resultHandler: ResultHandler) { in <lambda>()
DPhotoPickerIcon.kt30 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>()
36 viewModel: ResourceViewModel, resultHandler: ResultHandler in <lambda>()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DResultHandlerImpl.kt26 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>()
79 is ResourceViewModel -> result.toIntent(context) in <lambda>()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DResourceViewModel.kt21 class ResourceViewModel( class
DDrawableWithDescription.kt27 viewModel: ResourceViewModel, select: () -> Unit in DrawableWithDescription()
DColoredIconWithDescription.kt29 viewModel: ResourceViewModel, select: () -> Unit in ColoredIconWithDescription()
DItemViewComposerImpl.kt34 is ResourceViewModel -> when (viewModel.typeId) { in ItemView()