Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java286 public int getResId() { in getResId() method in Icon
484 getResources().getDrawable(getResId(), context.getTheme())); in loadDrawableInner()
487 getResId(), in loadDrawableInner()
666 dataStream.writeInt(getResId()); in writeToStream()
740 return getResId() == otherIcon.getResId() in sameAs()
1007 .append(String.format("0x%08x", getResId())); in toString()
1098 dest.writeInt(getResId()); in writeToParcel()
/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/core/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java74 public String getResId() { in getResId() method in PresResInstanceInfo
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java225 && icon.getResId() == mLastResId in testAndSetCache()
229 mLastResId = icon.getResId(); in testAndSetCache()
DLocalImageResolver.java120 Drawable result = resolveImage(res, icon.getResId(), maxWidth, maxHeight); in resolveImage()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java56 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon()
/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.cpp2194 inline uint32_t ResourceTable::getResId(const sp<Package>& p, in getResId() function in ResourceTable
2201 uint32_t ResourceTable::getResId(const String16& package, in getResId() function in ResourceTable
2246 getResId(p, t, ei)); in getResId()
2249 uint32_t ResourceTable::getResId(const String16& ref, in getResId() function in ResourceTable
2274 uint32_t res = getResId(package, type, name, onlyPublic && refOnlyPublic); in getResId()
2391 return getResId(p, t, ei); in getCustomResource()
2415 resId = getResId(package, type, name); in getCustomResourceWithCreation()
2745 uint32_t rid = getResId(p, t, ci); in addSymbols()
3447 getResId(pkg, t, c->getEntryIndex())); in writePublicDefinitions()
3662 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt854 assertThat(captor.value.getResId()).isEqualTo(R.xml.qqs_header) in <lambda>()
856 assertThat(captor.value.getResId()).isEqualTo(R.xml.qs_header) in <lambda>()
858 assertThat(captor.value.getResId()).isEqualTo(R.xml.large_screen_shade_header) in <lambda>()
954 private fun XmlResourceParser.getResId(): Int { in <lambda>() method in com.android.systemui.shade.ShadeHeaderControllerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java231 if (icon1.getResId() != icon2.getResId()) { in iconEquals()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DActivityTileTest.java108 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon()
DProviderTileTest.java107 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon()
/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()
DGroupHelperTest.java1323 assertThat(mGroupHelper.getMonochromeAppIcon(pkg).getResId()) in testMonochromeAppIcon_adaptiveIconExists()
1333 assertThat(mGroupHelper.getMonochromeAppIcon(pkg).getResId()) in testMonochromeAppIcon_adaptiveIconMissing_fallback()
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/
DLockdownVpnTrackerTest.java194 return notification.getSmallIcon().getResId() == iconRes; in isExpectedNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java396 return a.getResPackage().equals(b.getResPackage()) && a.getResId() == b.getResId(); in equalIcons()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java240 proto.write(Notification.Icon.IMAGE_RESOURCE_ID, notification.getIcon().getResId()); in writeIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java291 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel()
359 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel_resId()
414 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone()
560 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone_resId()
729 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom()
858 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom_resId()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1395 n.extras.putInt(Notification.EXTRA_SMALL_ICON, smallIcon.getResId()); in createLegacyIconExtras()
1396 n.icon = smallIcon.getResId(); in createLegacyIconExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java724 public int getResId() { in getResId() method in QSTileImpl.ResourceIcon
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java152 return isGrayscaleIcon(context, icon.getResId()); in isGrayscaleIcon()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java252 assertEquals(im1.getResId(), com.android.internal.R.drawable.stat_sys_adb); in testWithStatSysAdbResource()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1356 .getContentUri(icon.getResPackage(), icon.getResId()); in changeIcon()
/frameworks/base/core/java/android/app/
DActivityManager.java2228 return mIcon.getResId(); in getIconResource()
2403 out.attributeInt(null, ATTR_TASKDESCRIPTIONICON_RESOURCE, mIcon.getResId()); in saveToXml()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1005 Icon.createWithResource(sbn.packageName, action.getIcon()!!.getResId()) in <lambda>()

12