Home
last modified time | relevance | path

Searched refs:mIconProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java47 @Mock private IconProvider mIconProvider; field in DownloadsFilePreferenceTest
67 when(mIconProvider.loadMimeIcon(any())).thenReturn(null); in testSizeSummary()
70 new DownloadsFilePreference(mContext, file, mIconProvider); in testSizeSummary()
81 new DownloadsFilePreference(mContext, file, mIconProvider); in compareTo_biggerFileSortsAhead()
87 new DownloadsFilePreference(mContext, otherFile, mIconProvider); in compareTo_biggerFileSortsAhead()
96 new DownloadsFilePreference(mContext, file, mIconProvider); in compareTo_fallbackToFileName()
99 new DownloadsFilePreference(mContext, otherFile, mIconProvider); in compareTo_fallbackToFileName()
DDownloadsDeletionPreferenceGroupTest.java47 @Mock private IconProvider mIconProvider; field in DownloadsDeletionPreferenceGroupTest
65 mGroup.injectIconProvider(mIconProvider); in setUp()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionPreferenceGroup.java45 private IconProvider mIconProvider; // Purely for test. field in DownloadsDeletionPreferenceGroup
138 mIconProvider = iconProvider; in injectIconProvider()
166 mIconProvider == null ? new IconProvider(context) : mIconProvider; in updateFiles()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java70 private final IconProvider mIconProvider; field in IconCache
82 mIconProvider = IconProvider.INSTANCE.get(context); in IconCache()
235 return mIconProvider.getIcon(info, mIconDpi, flattenDrawable); in getFullResIcon()
240 return mIconProvider.getSystemStateForPackage(mSystemState, packageName) in getIconSystemState()