/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/data/ |
D | DockAppItem.kt | 43 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/ |
D | UXRestrictionsDataSourceImplTest.kt | 62 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/ |
D | AppGridRepository.kt | 130 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/ |
D | AppLauncherUtils.java | 295 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()
|
D | AppMetaData.java | 63 boolean isDistractionOptimized, in AppMetaData() argument 71 mIsDistractionOptimized = isDistractionOptimized; in AppMetaData()
|
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/ |
D | TestUtils.kt | 37 isDistractionOptimized = isDrivingOptimized, in createAppItem() 48 isDistractionOptimized = isDrivingOptimized, in createAppItem()
|
D | DockViewModelTest.kt | 568 "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/ |
D | UXRestrictionDataSource.kt | 50 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/ |
D | DockItemViewHolder.kt | 209 isRestricted = !dockAppItem.isDistractionOptimized && isUxRestrictionEnabled in bind() 241 val shouldBeRestricted = !dockAppItem.isDistractionOptimized && isUxRestrictionEnabled in setUxRestrictions()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/ |
D | DockViewModel.kt | 264 isDistractionOptimized = item.isMediaApp || in <lambda>() 409 isDistractionOptimized = in <lambda>()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 1566 boolean isDistractionOptimized = isActivityDistractionOptimized( in isActivityAllowed() 1569 if (!isDistractionOptimized) { in isActivityAllowed()
|