Apply PreviewPositionHelper matrix to TTV and Overlay
- Added GetThumbnailMatrixUseCase to retrieve task using taskId and calcualte Matrix using provided canvas size and isRTL - TTVM and OverlayVM will uses GetThumbnailMatrixUseCaseTest with runBlocking to obtain the matrix from the loaded thumbnail - TTV and Overlay listen for size change, and call VM to get the latest Matrix and apply to the view Fix: 343101424 Test: GetThumbnailMatrixUseCaseTest Test: TaskThumbnailViewModelTest Test: TaskOverlayViewModelTest Flag: com.android.launcher3.enable_refactor_task_thumbnail Change-Id: If3f37824bed84d5cbaa54d7a4b12f5f1ef4e2c09
Loading
Please register or sign in to comment