Home
last modified time | relevance | path

Searched refs:mImageExporter (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModel.java55 private final ImageExporter mImageExporter; field in AppClipsViewModel
69 mImageExporter = imageExporter; in AppClipsViewModel()
120 ListenableFuture<ImageExporter.Result> exportFuture = mImageExporter.export(mBgExecutor, in saveScreenshotThenFinish()
155 private final ImageExporter mImageExporter; field in AppClipsViewModel.Factory
165 mImageExporter = imageExporter; in Factory()
178 return (T) new AppClipsViewModel(mAppClipsCrossProcessHelper, mImageExporter, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModelTest.java65 @Mock private ImageExporter mImageExporter; field in AppClipsViewModelTest
72 mViewModel = new AppClipsViewModel.Factory(mAppClipsCrossProcessHelper, mImageExporter, in setUp()
103 when(mImageExporter.export(any(Executor.class), any(UUID.class), eq(null), eq(USER_HANDLE), in saveScreenshot_throwsError_shouldUpdateErrorWithFailed()
117 when(mImageExporter.export(any(Executor.class), any(UUID.class), eq(null), eq(USER_HANDLE), in saveScreenshot_failsSilently_shouldUpdateErrorWithFailed()
133 when(mImageExporter.export(any(Executor.class), any(UUID.class), eq(null), eq(USER_HANDLE), in saveScreenshot_succeeds_shouldUpdateResultWithUri()
DAppClipsActivityTest.java84 private ImageExporter mImageExporter; field in AppClipsActivityTest
101 mImageExporter, getContext().getMainExecutor(),
124 when(mImageExporter.export(any(Executor.class), any(UUID.class), any(Bitmap.class), in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java72 private final ImageExporter mImageExporter; field in SaveImageInBackgroundTask
89 mImageExporter = exporter; in SaveImageInBackgroundTask()
135 mImageExporter.export(Runnable::run, requestId, image, mParams.owner, in doInBackground()
DScreenshotController.java198 private final ImageExporter mImageExporter; field in ScreenshotController
283 mImageExporter = imageExporter; in ScreenshotController()
849 ListenableFuture<ImageExporter.Result> future = mImageExporter.export(mBgExecutor, in saveScreenshotInBackground()
899 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, mFlags, mImageExporter, in saveScreenshotInWorkerThread()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java87 private final ImageExporter mImageExporter; field in LongScreenshotActivity
124 mImageExporter = imageExporter; in LongScreenshotActivity()
264 mCacheSaveFuture = mImageExporter.exportToRawFile(mBackgroundExecutor, in onLongScreenshotReceived()
422 ListenableFuture<ImageExporter.Result> exportFuture = mImageExporter.export( in startExport()