Home
last modified time | relevance | path

Searched refs:isDistractionOptimized (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/data/
DDockAppItem.kt43 val isDistractionOptimized: Boolean, constant in com.android.car.docklib.data.DockAppItem
87 this.isDistractionOptimized == other.isDistractionOptimized && in equals()
93 "type: $type, isDistractionOptimized: $isDistractionOptimized, icon: $icon, " + in toString()
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DUXRestrictionsDataSourceImplTest.kt62 private fun updateCarUxRestrictions(isDistractionOptimized: Boolean) { in updateCarUxRestrictions()
75 requiresDistractionOptimizationField[currentCarUxRestrictions] = isDistractionOptimized in updateCarUxRestrictions()
96 updateCarUxRestrictions(isDistractionOptimized = true) in requiresDistractionOptimization_sendsRequired()
123 updateCarUxRestrictions(isDistractionOptimized = false) in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/
DAppGridRepository.kt130 uxRestriction.isDistractionOptimized() in getAllAppsList()
131 ) { apps, restrictedApps, mirroringSession, order, isDistractionOptimized -> in getAllAppsList() method
143 it.toAppItem(isDistractionOptimized(it.componentName, it.launchActionType == MEDIA)) in getAllAppsList()
232 private fun AppInfo.toAppItem(isDistractionOptimized: Boolean): AppItem { in toAppItem()
237 isDistractionOptimized, in toAppItem()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppLauncherUtils.java295 boolean isDistractionOptimized = in getLauncherApps()
308 isDistractionOptimized, in getLauncherApps()
336 boolean isDistractionOptimized = in getLauncherApps()
345 isDistractionOptimized, in getLauncherApps()
379 boolean isDistractionOptimized = in getLauncherApps()
387 isDistractionOptimized, in getLauncherApps()
591 boolean isDistractionOptimized = false; in isActivityDistractionOptimized()
595 isDistractionOptimized = in isActivityDistractionOptimized()
601 return isDistractionOptimized; in isActivityDistractionOptimized()
DAppMetaData.java63 boolean isDistractionOptimized, in AppMetaData() argument
71 mIsDistractionOptimized = isDistractionOptimized; in AppMetaData()
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/
DTestUtils.kt37 isDistractionOptimized = isDrivingOptimized, in createAppItem()
48 isDistractionOptimized = isDrivingOptimized, in createAppItem()
DDockViewModelTest.kt568 "pkg0" -> assertThat(it.isDistractionOptimized).isEqualTo(true) in <lambda>()
569 "pkg1" -> assertThat(it.isDistractionOptimized).isEqualTo(false) in <lambda>()
570 "pkg2" -> assertThat(it.isDistractionOptimized).isEqualTo(true) in <lambda>()
571 "pkg3" -> assertThat(it.isDistractionOptimized).isEqualTo(false) in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/
DUXRestrictionDataSource.kt50 fun isDistractionOptimized(): Flow<(componentName: ComponentName, isMedia: Boolean) -> Boolean> in <lambda>() method
95 override fun isDistractionOptimized(): in isDistractionOptimized() method in com.android.car.carlauncher.datasources.UXRestrictionDataSourceImpl
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/
DDockItemViewHolder.kt209 isRestricted = !dockAppItem.isDistractionOptimized && isUxRestrictionEnabled in bind()
241 val shouldBeRestricted = !dockAppItem.isDistractionOptimized && isUxRestrictionEnabled in setUxRestrictions()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewModel.kt264 isDistractionOptimized = item.isMediaApp || in <lambda>()
409 isDistractionOptimized = in <lambda>()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1566 boolean isDistractionOptimized = isActivityDistractionOptimized( in isActivityAllowed()
1569 if (!isDistractionOptimized) { in isActivityAllowed()