Searched refs:RecentTask (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTaskListProvider.kt | 37 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
|
D | BadgedAppIconLoader.kt | 43 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>()
|
D | RecentTask.kt | 25 data class RecentTask( class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/ |
D | MediaProjectionAppSelectorController.kt | 22 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>()
|
D | MediaProjectionAppSelectorView.kt | 19 import com.android.systemui.mediaprojection.appselector.data.RecentTask 22 fun bind(recentTasks: List<RecentTask>)
|
D | MediaProjectionAppSelectorActivity.kt | 50 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/ |
D | RecentTasksAdapter.kt | 24 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()
|
D | MediaProjectionRecentsViewController.kt | 35 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>()
|
D | MediaProjectionTaskView.kt | 32 import com.android.systemui.mediaprojection.appselector.data.RecentTask 67 private var task: RecentTask? = null 72 fun bindTask(task: RecentTask?, thumbnailData: ThumbnailData?) { in bindTask()
|
D | RecentTaskViewHolder.kt | 26 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/ |
D | MediaProjectionRecentsViewControllerTest.kt | 30 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/ |
D | ShellRecentTaskListProviderTest.kt | 10 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/ |
D | MediaProjectionAppSelectorControllerTest.kt | 9 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()
|