Home
last modified time | relevance | path

Searched refs:resultHandler (Results 1 – 12 of 12) sorted by relevance

/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/
DPhotoPickerIcon.kt36 viewModel: ResourceViewModel, resultHandler: ResultHandler in <lambda>()
41 resultHandler.onSelect(UriTypedItem(viewModel.typeId, it)) in <lambda>()
42 } ?: resultHandler.unselect() in <lambda>()
45 val tempFile = resultHandler.getTempFile() in <lambda>()
46 val contentUri: Uri = resultHandler.getContentUri() in <lambda>()
62 resultHandler.onError(exc) in <lambda>()
66 } ?: resultHandler.unselect() in <lambda>()
69 resultHandler.onLoading() in <lambda>()
DCameraIcon.kt32 fun CameraIcon(viewModel: ResourceViewModel, resultHandler: ResultHandler) { in <lambda>()
34 …uri?.let { resultHandler.onSelect(UriTypedItem(viewModel.typeId, it)) } ?: resultHandler.unselect() in <lambda>()
36 val contentUri: Uri = resultHandler.getContentUri() in <lambda>()
48 resultHandler.unselect() in <lambda>()
53 resultHandler.onLoading() in <lambda>()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAvatarPickerActivity.kt67 val currentResult by activityViewModel.resultHandler.uiState.collectAsState() in <lambda>()
68 activityViewModel.resultHandler.getSelected()?.typeId?.let { typeId: Int -> in <lambda>()
70 setResultAndFinish(activityViewModel.resultHandler) in <lambda>()
83 setResultAndFinish(activityViewModel.resultHandler) in <lambda>()
85 activityViewModel.resultHandler.unselect() in <lambda>()
109 fun setResultAndFinish(resultHandler: ResultHandler){ in <lambda>()
110 val result = resultHandler.toResultIntent(this) in <lambda>()
111 resultHandler.unselect() in <lambda>()
DActivityViewModel.kt25 class ActivityViewModel(useCase: GroupedSelectableItemsUseCase, val resultHandler: ResultHandler) : constant
29 val detailsViewModel = DetailsViewModel(useCase, resultHandler)
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DSyncAppSearchSessionImpl.java46 resultHandler -> in SyncAppSearchSessionImpl()
48 searchContext, executor, resultHandler)); in SyncAppSearchSessionImpl()
66 resultHandler -> in setSchema()
67 mSession.setSchema(setSchemaRequest, mExecutor, mExecutor, resultHandler)); in setSchema()
78 resultHandler -> mSession.put(request, mExecutor, resultHandler)); in put()
DSyncSearchResultsImpl.java39 resultHandler -> mSearchResults.getNextPage(mExecutor, resultHandler)); in getNextPage()
DSyncGlobalSearchSessionImpl.java41 resultHandler -> in SyncGlobalSearchSessionImpl()
43 executor, resultHandler)); in SyncGlobalSearchSessionImpl()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DItemViewComposerImpl.kt31 viewModel: SelectableType, resultHandler: ResultHandler, select: () -> Unit in ItemView()
35 CAMERA -> CameraIcon(viewModel, resultHandler) in ItemView()
36 PHOTO_PICKER -> PhotoPickerIcon(viewModel, resultHandler) in ItemView()
DItemViewComposer.kt25 viewModel: SelectableType, resultHandler: ResultHandler, select: () -> Unit
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/
DDetailsList.kt34 itemViewComposer.ItemView(viewModel, detailsViewModel.resultHandler) { in <lambda>()
35 detailsViewModel.resultHandler.onSelect(viewModel) in <lambda>()
DDetailsViewModel.kt31 val resultHandler: ResultHandler constant in com.android.avatarpicker.ui.details.DetailsViewModel
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java977 Function<VhalResultType, HalPropValue> resultHandler) in getOrSetSync() argument
996 return resultHandler.apply(result); in getOrSetSync()