Home
last modified time | relevance | path

Searched refs:getAppIcon (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DButtonRoleHolderControllerTest.java108 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/
DTaplTestsLauncher3.java120 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/
DConversationNotificationInfo.java90 if (conversation.getAppIcon() != null) { in createConversationNotificationInfo()
91 byte[] iconBytes = conversation.getAppIcon().toByteArray(); in createConversationNotificationInfo()
216 public Icon getAppIcon() { in getAppIcon() method in ConversationNotificationInfo
DBaseNotificationDelegate.java250 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/
DBatteryDiffEntryTest.java154 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()
DBatteryChartPreferenceControllerTest.java316 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/
DApplicationPreferenceController.java69 preference.setIcon(getAppIcon()); in updateState()
77 protected Drawable getAppIcon() { in getAppIcon() method in ApplicationPreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationPreferenceController.java42 preference.setIcon(getAppIcon()); in updateState()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java129 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/
DMusicFragmentViewModel.java58 LiveData<Bitmap> getAppIcon() { in getAppIcon() method in MusicFragmentViewModel
DMusicFragment.java71 innerViewModel.getAppIcon().observe(getViewLifecycleOwner(), appIcon::setImageBitmap); in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DAction.java60 public @Nullable Drawable getAppIcon() { in getAppIcon() method in Action
DActionView.java77 setAppIcon(mAction.getAppIcon()); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DClearCachePreference.java80 fragment.getAppIcon()); in onCreateGuidance()
DClearDataPreference.java79 fragment.getAppIcon()); in onCreateGuidance()
DClearDefaultsPreference.java84 fragment.getAppIcon()); in onCreateGuidance()
DForceStopPreference.java114 fragment.getAppIcon()); in onCreateGuidance()
DEnableDisablePreference.java172 fragment.getAppIcon()); in onCreateGuidance()
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java76 + ", has app icon: " + (info.getAppIcon() != null) in processIntent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java140 getAppIcon("Test Pin Item"). in runTest()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java108 public AppIcon getAppIcon(String appName) { in getAppIcon() method in AllApps
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java234 && sessionInfo.getAppIcon() != null in verifySessionInfo()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarButton.java135 protected Drawable getAppIcon() { in getAppIcon() method in CarSystemBarButton
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java113 public Drawable getAppIcon() { in getAppIcon() method in BatteryDiffEntry
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java333 cachePackageInstallInfo(key.mPackageName, key.mUser, info.getAppIcon(), in updateSessionCache()

12