Home
last modified time | relevance | path

Searched refs:getResId (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java238 public int getResId() { in getResId() method in Icon
370 return getResources().getDrawable(getResId(), context.getTheme()); in loadDrawableInner()
373 getResId(), in loadDrawableInner()
475 dataStream.writeInt(getResId()); in writeToStream()
545 return getResId() == otherIcon.getResId() in sameAs()
752 .append(String.format("0x%08x", getResId())); in toString()
836 dest.writeInt(getResId()); in writeToParcel()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java130 && icon.getResId() == mLastResId in testAndSetCache()
134 mLastResId = icon.getResId(); in testAndSetCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java53 getResId(context, component)); in ShortcutParser()
56 private static int getResId(Context context, ComponentName component) in getResId() method in ShortcutParser
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileTest.java89 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon()
97 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_noIconMetadata_returnActivityIcon()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java73 public String getResId() { in getResId() method in PresResInstanceInfo
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java41 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java146 if (icon1.getResId() != icon2.getResId()) { in iconEquals()
/frameworks/base/tools/aapt/
DResourceTable.h231 static inline uint32_t getResId(const sp<Package>& p,
235 uint32_t getResId(const String16& package,
240 uint32_t getResId(const String16& ref,
DResourceTable.cpp2192 inline uint32_t ResourceTable::getResId(const sp<Package>& p, in getResId() function in ResourceTable
2199 uint32_t ResourceTable::getResId(const String16& package, in getResId() function in ResourceTable
2244 getResId(p, t, ei)); in getResId()
2247 uint32_t ResourceTable::getResId(const String16& ref, in getResId() function in ResourceTable
2272 uint32_t res = getResId(package, type, name, onlyPublic && refOnlyPublic); in getResId()
2389 return getResId(p, t, ei); in getCustomResource()
2413 resId = getResId(package, type, name); in getCustomResourceWithCreation()
2744 uint32_t rid = getResId(p, t, ci); in addSymbols()
3454 getResId(pkg, t, c->getEntryIndex())); in writePublicDefinitions()
3669 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds()
[all …]
DXMLNode.cpp1035 ? table->getResId(e.name, &attr, &pkg, &errorMsg, nsIsPublic) in assignResourceIds()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java149 assertEquals(com.android.internal.R.drawable.stat_sys_adb, icon.getResId()); in testIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java266 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel()
321 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel_resId()
372 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone()
512 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone_resId()
676 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom()
803 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom_resId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java308 return a.getResPackage().equals(b.getResPackage()) && a.getResId() == b.getResId(); in equalIcons()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1211 n.extras.putInt(Notification.EXTRA_SMALL_ICON, smallIcon.getResId()); in createLegacyIconExtras()
1212 n.icon = smallIcon.getResId(); in createLegacyIconExtras()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java150 return isGrayscaleIcon(context, icon.getResId()); in isGrayscaleIcon()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1066 icon.getResId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
/frameworks/base/core/java/android/app/
DNotification.java1484 icon = mIcon.getResId(); in Action()
1513 this.icon = icon.getResId(); in Action()
2225 icon = mSmallIcon.getResId(); in readFromParcelImpl()
3743 mN.icon = icon.getResId(); in setSmallIcon()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1422 shortcut.setIconResourceId(icon.getResId()); in saveIconAndFixUpShortcutLocked()
/frameworks/base/config/
Dboot-image-profile.txt6519 HSPLandroid/graphics/drawable/Icon;->getResId()I
Dhiddenapi-greylist-max-o.txt86515 Lcom/android/ims/internal/uce/presence/PresResInstanceInfo;->getResId()Ljava/lang/String;
/frameworks/base/non-updatable-api/
Dcurrent.txt15581 method @IdRes public int getResId();
/frameworks/base/api/
Dcurrent.txt15581 method @IdRes public int getResId();