/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | ButtonRoleHolderControllerTest.java | 108 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isEqualTo(mAppIcon); in addAllButtonsWithRoleName_roleAssigned_appIconEnabled_useAssignedAppIcon() 118 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isNull(); in addAllButtonsWithRoleName_roleUnassigned_appIconEnabled_useDefaultIcon() 132 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isEqualTo(mAppIcon); in onRoleChanged_currentUser_appIconEnabled_useAssignedAppIcon() 141 Drawable beforeIcon = mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon(); in onRoleChanged_nonCurrentUser_appIconEnabled_iconIsNotUpdated() 148 Drawable afterIcon = mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon(); in onRoleChanged_nonCurrentUser_appIconEnabled_iconIsNotUpdated() 160 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isNull(); in onRoleChanged_invalidPackage_useDefaultIcon() 171 assertThat(mNavButtonDefaultAppIconForRoleWithDisabled.getAppIcon()).isNull(); in addAllButtonsWithRoleName_appIconDisabled_useDefaultIcon() 180 assertThat(mNavButtonDefaultAppIconForRoleWithDisabled.getAppIcon()).isNull(); in onRoleChanged_roleAssigned_appIconDisabled_useDefaultIcon() 187 assertThat(mNavButtonDefaultAppIconForRoleWithDisabled.getAppIcon()).isNull(); in onRoleChanged_roleAssigned_appIconDisabled_useDefaultIcon()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TaplTestsLauncher3.java | 120 allApps.getAppIcon("TestActivity7").openMenu(); in testPressHomeOnAllAppsContextMenu() 160 assertNotNull("All apps: can't fine YouTube", allApps.getAppIcon("YouTube")); in runAllAppsTest() 162 assertNotNull("All apps: can't fine Camera", allApps.getAppIcon("Camera")); in runAllAppsTest() 166 () -> allAppsFinal.getAppIcon("NO APP")); in runAllAppsTest() 227 final AppIcon app = allApps.getAppIcon("TestActivity7"); in runIconLaunchFromAllAppsTest() 297 getAppIcon(APP_NAME). in testLaunchMenuItem() 322 allApps.getAppIcon(APP_NAME).dragToWorkspace(false, false); in testDragAppIcon() 345 .getAppIcon(APP_NAME) in testDragShortcut()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | ConversationNotificationInfo.java | 90 if (conversation.getAppIcon() != null) { in createConversationNotificationInfo() 91 byte[] iconBytes = conversation.getAppIcon().toByteArray(); in createConversationNotificationInfo() 216 public Icon getAppIcon() { in getAppIcon() method in ConversationNotificationInfo
|
D | BaseNotificationDelegate.java | 250 if (notificationInfo.getAppIcon() != null) { in postNotification() 251 builder.setSmallIcon(IconCompat.createFromIcon(notificationInfo.getAppIcon())); in postNotification()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryDiffEntryTest.java | 154 assertThat(entry.getAppIcon()).isNull(); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult() 237 assertThat(entry.getAppIcon()).isEqualTo(mockDrawable); in testGetAppIcon_nonUidConsumer_returnAppIconInBatteryDiffEntry() 250 assertThat(entry.getAppIcon()).isEqualTo(mockBadgedDrawable); in testGetAppIcon_uidConsumerWithNullIcon_returnDefaultActivityIcon() 281 assertThat(entry1.getAppIcon()).isEqualTo(mockBadgedDrawable); in testClearCache_switchLocale_clearCacheIconAndLabel() 288 assertThat(entry2.getAppIcon()).isEqualTo(mockDrawable2); in testClearCache_switchLocale_clearCacheIconAndLabel()
|
D | BatteryChartPreferenceControllerTest.java | 316 doReturn(mDrawable).when(mBatteryDiffEntry).getAppIcon(); in testAddPreferenceToScreen_addPreferenceIntoScreen() 345 doReturn(mDrawable).when(mBatteryDiffEntry).getAppIcon(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain() 512 doReturn(mDrawable).when(mBatteryDiffEntry).getAppIcon(); in testOnExpand_expandedIsTrue_addSystemEntriesToPreferenceGroup()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationPreferenceController.java | 69 preference.setIcon(getAppIcon()); in updateState() 77 protected Drawable getAppIcon() { in getAppIcon() method in ApplicationPreferenceController
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageApplicationPreferenceController.java | 42 preference.setIcon(getAppIcon()); in updateState()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | PlaybackFragment.java | 129 mInnerViewModel.getAppIcon().observe(getViewLifecycleOwner(), bitmap -> { in onCreateView() 261 LiveData<Bitmap> getAppIcon() { in getAppIcon() method in PlaybackFragment.ViewModel
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | MusicFragmentViewModel.java | 58 LiveData<Bitmap> getAppIcon() { in getAppIcon() method in MusicFragmentViewModel
|
D | MusicFragment.java | 71 innerViewModel.getAppIcon().observe(getViewLifecycleOwner(), appIcon::setImageBitmap); in onCreateView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
D | Action.java | 60 public @Nullable Drawable getAppIcon() { in getAppIcon() method in Action
|
D | ActionView.java | 77 setAppIcon(mAction.getAppIcon()); in init()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ClearCachePreference.java | 80 fragment.getAppIcon()); in onCreateGuidance()
|
D | ClearDataPreference.java | 79 fragment.getAppIcon()); in onCreateGuidance()
|
D | ClearDefaultsPreference.java | 84 fragment.getAppIcon()); in onCreateGuidance()
|
D | ForceStopPreference.java | 114 fragment.getAppIcon()); in onCreateGuidance()
|
D | EnableDisablePreference.java | 172 fragment.getAppIcon()); in onCreateGuidance()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SessionCommitReceiver.java | 76 + ", has app icon: " + (info.getAppIcon() != null) in processIntent()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 140 getAppIcon("Test Pin Item"). in runTest()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AllApps.java | 108 public AppIcon getAppIcon(String appName) { in getAppIcon() method in AllApps
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | InstallSessionHelper.java | 234 && sessionInfo.getAppIcon() != null in verifySessionInfo()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | CarSystemBarButton.java | 135 protected Drawable getAppIcon() { in getAppIcon() method in CarSystemBarButton
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryDiffEntry.java | 113 public Drawable getAppIcon() { in getAppIcon() method in BatteryDiffEntry
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | IconCache.java | 333 cachePackageInstallInfo(key.mPackageName, key.mUser, info.getAppIcon(), in updateSessionCache()
|