Home
last modified time | relevance | path

Searched refs:RecentTask (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt37 suspend fun loadRecentTasks(): List<RecentTask> in <lambda>()
52 override suspend fun loadRecentTasks(): List<RecentTask> = in loadRecentTasks()
68 RecentTask( in loadRecentTasks()
77 RecentTask( in loadRecentTasks()
101 private fun UserInfo.toUserType(): RecentTask.UserType = in UserInfo()
103 RecentTask.UserType.CLONED in UserInfo()
105 RecentTask.UserType.WORK
107 RecentTask.UserType.PRIVATE
109 RecentTask.UserType.STANDARD
DBadgedAppIconLoader.kt43 userType: RecentTask.UserType, in <lambda>()
61 private fun getIconType(userType: RecentTask.UserType): Int = in <lambda>()
63 RecentTask.UserType.CLONED -> UserIconInfo.TYPE_CLONED in <lambda>()
64 RecentTask.UserType.WORK -> UserIconInfo.TYPE_WORK in <lambda>()
65 RecentTask.UserType.PRIVATE -> UserIconInfo.TYPE_PRIVATE in <lambda>()
66 RecentTask.UserType.STANDARD -> UserIconInfo.TYPE_MAIN in <lambda>()
DRecentTask.kt25 data class RecentTask( class
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorController.kt22 import com.android.systemui.mediaprojection.appselector.data.RecentTask in <lambda>()
82 private suspend fun refreshForegroundTaskThumbnails(tasks: List<RecentTask>) { in <lambda>()
93 private fun List<RecentTask>.filterDevicePolicyRestrictedTasks(): List<RecentTask> = filter { in <lambda>()
100 private fun List<RecentTask>.filterAppSelector(): List<RecentTask> = filter { in <lambda>()
105 private fun List<RecentTask>.sortedTasks(): List<RecentTask> = sortedBy { in <lambda>()
DMediaProjectionAppSelectorView.kt19 import com.android.systemui.mediaprojection.appselector.data.RecentTask
22 fun bind(recentTasks: List<RecentTask>)
DMediaProjectionAppSelectorActivity.kt50 import com.android.systemui.mediaprojection.appselector.data.RecentTask
226 override fun bind(recentTasks: List<RecentTask>) { in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DRecentTasksAdapter.kt24 import com.android.systemui.mediaprojection.appselector.data.RecentTask
32 @Assisted private val items: List<RecentTask>,
59 fun onRecentAppClicked(task: RecentTask, view: View) in onRecentAppClicked()
64 fun create(items: List<RecentTask>, listener: RecentTaskClickListener): RecentTasksAdapter in onRecentAppClicked()
DMediaProjectionRecentsViewController.kt35 import com.android.systemui.mediaprojection.appselector.data.RecentTask in <lambda>()
63 private var lastBoundData: List<RecentTask>? = null in <lambda>()
81 fun bind(recentTasks: List<RecentTask>) { in <lambda>()
135 private fun RecentTask.isLaunchingInSplitScreen(): Boolean { in <lambda>() method
139 override fun onRecentAppClicked(task: RecentTask, view: View) { in <lambda>()
162 private fun createAnimation(task: RecentTask, view: View): ActivityOptions = in <lambda>()
DMediaProjectionTaskView.kt32 import com.android.systemui.mediaprojection.appselector.data.RecentTask
67 private var task: RecentTask? = null
72 fun bindTask(task: RecentTask?, thumbnailData: ThumbnailData?) { in bindTask()
DRecentTaskViewHolder.kt26 import com.android.systemui.mediaprojection.appselector.data.RecentTask in <lambda>()
58 fun bind(task: RecentTask, onClick: (View) -> Unit) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewControllerTest.kt30 import com.android.systemui.mediaprojection.appselector.data.RecentTask in <lambda>()
59 RecentTask( in <lambda>()
67 userType = RecentTask.UserType.STANDARD, in <lambda>()
72 RecentTask( in <lambda>()
80 userType = RecentTask.UserType.STANDARD, in <lambda>()
165 private fun assertForegroundTaskUsesDefaultCloseAnimation(task: RecentTask) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DShellRecentTaskListProviderTest.kt10 import com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType.CLONED
11 import com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType.PRIVATE
12 import com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType.STANDARD
13 import com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType.WORK
231 userType: RecentTask.UserType = STANDARD in createRecentTask()
232 ): RecentTask = in createRecentTask()
233 RecentTask( in createRecentTask()
249 userType: RecentTask.UserType = STANDARD, in createRecentTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorControllerTest.kt9 import com.android.systemui.mediaprojection.appselector.data.RecentTask
251 ): RecentTask { in createRecentTask()
252 return RecentTask( in createRecentTask()
260 userType = RecentTask.UserType.STANDARD, in createRecentTask()
267 var tasks: List<RecentTask> = emptyList()
269 override suspend fun loadRecentTasks(): List<RecentTask> = tasks in loadRecentTasks()