/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 46 public InputStream getIcon() { in getIcon() method in IconLoader 49 InputStream stream = getIcon(resourceDir); in getIcon() 77 private InputStream getIcon(String resourceDir) { in getIcon() method in IconLoader 79 InputStream stream = getIcon(resourceDir, mDesiredDensity); in getIcon() 90 stream = getIcon(resourceDir, density); in getIcon() 103 private InputStream getIcon(String resourceDir, Density density) { in getIcon() method in IconLoader
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | IconCacheTest.java | 56 assertThat(mIconCache.getIcon(null)).isNull(); in testGetIcon_iconisNull() 61 mIconCache.getIcon(mIcon); in testGetIcon_iconAlreadyLoaded() 63 mIconCache.getIcon(mIcon); in testGetIcon_iconAlreadyLoaded() 69 mIconCache.getIcon(mIcon); in testGetIcon_iconLoadedFirstTime()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 92 public Drawable getIcon(Context context) { in getIcon() method in StatusHints 99 public Icon getIcon() { in getIcon() method in StatusHints 144 Objects.equals(otherHints.getIcon(), getIcon()) && in equals()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconListTest.java | 56 assertNull(statusBarIconList.getIcon(0, TAG_PRIMARY)); in testAddSlotSlidesIcons() 57 assertEquals(sbHolder, statusBarIconList.getIcon(1, TAG_PRIMARY)); in testAddSlotSlidesIcons() 67 assertEquals(sbHolderA, statusBarIconList.getIcon(0, TAG_PRIMARY)); in testGetAndSetIcon() 68 assertEquals(sbHolderB, statusBarIconList.getIcon(1, TAG_PRIMARY)); in testGetAndSetIcon() 69 assertNull(statusBarIconList.getIcon(2, TAG_PRIMARY)); // icon not set in testGetAndSetIcon() 80 assertNull(statusBarIconList.getIcon(0, TAG_PRIMARY)); // icon not set in testRemoveIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | TileTest.java | 74 assertThat(tile.getIcon(null)).isNull(); in getIcon_noContextOrMetadata_returnNull() 75 assertThat(tile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_noContextOrMetadata_returnNull() 82 assertThat(mTile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_providedByUri_returnNull() 89 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon() 97 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_noIconMetadata_returnActivityIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconControllerImpl.java | 155 StatusBarIconHolder holder = getIcon(index, 0); in setIcon() 163 holder.getIcon().icon = Icon.createWithResource(mContext, resourceId); in setIcon() 164 holder.getIcon().contentDescription = contentDescription; in setIcon() 183 StatusBarIconHolder holder = getIcon(index, 0); in setSignalIcon() 249 boolean isNew = getIcon(index, holder.getTag()) == null; in setIcon() 261 StatusBarIconHolder holder = getIcon(index, 0); in setIconVisibility() 297 if (getIcon(index, tag) == null) { in removeIcon()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 104 public Drawable getIcon(int density) { in getIcon() method in LauncherActivityInfo 174 Drawable originalIcon = getIcon(density); in getBadgedIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 90 .when(tile).getIcon(mContext); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 102 .when(tile).getIcon(mContext); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 117 .when(tile).getIcon(mContext); in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | AccessPointPreferenceTest.java | 57 when(mockIconInjector.getIcon(anyInt())).thenReturn(new ColorDrawable()); in setUp() 87 verify(mockIconInjector).getIcon(level); in refresh_shouldUpdateIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageTransformState.java | 56 return mIcon != null && mIcon.sameAs(((ImageTransformState) otherState).getIcon()); in sameAs() 107 public Icon getIcon() { in getIcon() method in ImageTransformState
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 67 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet() 100 assertThat(newSuggestion.getIcon().toString()).isEqualTo(mIcon.toString()); in buildSuggestion_fromParcelable()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | IntentButtonProvider.java | 41 public IconState getIcon(); in getIcon() method
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | Item.java | 82 public Drawable getIcon() { in getIcon() method in Item 150 final Drawable icon = getIcon(); in onBindView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 107 boolean updateIcon = mTile.getIcon() == null in updateDefaultTileAndIcon() 108 || iconEquals(mTile.getIcon(), mDefaultIcon); in updateDefaultTileAndIcon() 184 mTile.setIcon(tile.getIcon()); in updateState() 310 drawable = mTile.getIcon().loadDrawable(mContext); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustment.java | 94 if (areDifferent(firstAction.getIcon(), secondAction.getIcon())) { in areDifferent()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTileView.java | 42 public abstract QSIconView getIcon(); in getIcon() method in QSTileView
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 39 public Drawable getIcon(Icon icon) { in getIcon() method in IconCache
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 148 Drawable drawable = getIcon(); in onBindViewHolder() 184 Drawable drawable = mIconInjector.getIcon(level); in updateIcon() 334 public Drawable getIcon(int level) { in getIcon() method in AccessPointPreference.IconInjector
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | InfoMediaDevice.java | 53 public Drawable getIcon() { in getIcon() method in InfoMediaDevice
|
D | BluetoothMediaDevice.java | 57 public Drawable getIcon() { in getIcon() method in BluetoothMediaDevice
|
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
D | AppEntityInfo.java | 40 public Drawable getIcon() { in getIcon() method in AppEntityInfo
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 266 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel() 321 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel_resId() 372 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone() 395 assertEquals(null, si.getIcon()); in testShortcutInfoClone() 419 assertEquals(null, si.getIcon()); in testShortcutInfoClone() 440 assertEquals(null, si.getIcon()); in testShortcutInfoClone() 462 assertEquals(null, si.getIcon()); in testShortcutInfoClone() 512 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone_resId() 535 assertEquals(null, si.getIcon()); in testShortcutInfoClone_resId() 559 assertEquals(null, si.getIcon()); in testShortcutInfoClone_resId() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutPicker.java | 148 if (getIcon() == null) { in onBindViewHolder() 182 if (getIcon() == null) { in onBindViewHolder()
|
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/ |
D | BarViewInfo.java | 87 Drawable getIcon() { in getIcon() method in BarViewInfo
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | ItemTest.java | 129 assertSame("Icon should be same as set", icon, item.getIcon()); in testProperties() 140 assertNull("Default icon should be null", item.getIcon()); in testDefaultValues()
|