Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java196 public int getResId() { in getResId() method in Icon
324 return getResources().getDrawable(getResId(), context.getTheme()); in loadDrawableInner()
327 getResId(), in loadDrawableInner()
429 dataStream.writeInt(getResId()); in writeToStream()
499 return getResId() == otherIcon.getResId() in sameAs()
693 .append(String.format("0x%08x", getResId())); in toString()
777 dest.writeInt(getResId()); in writeToParcel()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java128 && icon.getResId() == mLastResId in testAndSetCache()
132 mLastResId = icon.getResId(); in testAndSetCache()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java40 return zoomIndex == ZOOM_FACTOR_NONE || getResId(zoomIndex) > 0; in isValidZoomIndex()
43 static int getResId(int zoomIndex) { in getResId() method in FocusHighlightHelper
161 res.getFraction(getResId(mScaleIndex), 1, 1); in getScale()
/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/telephony/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java70 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.java140 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.cpp2195 inline uint32_t ResourceTable::getResId(const sp<Package>& p, in getResId() function in ResourceTable
2202 uint32_t ResourceTable::getResId(const String16& package, in getResId() function in ResourceTable
2247 getResId(p, t, ei)); in getResId()
2250 uint32_t ResourceTable::getResId(const String16& ref, in getResId() function in ResourceTable
2275 uint32_t res = getResId(package, type, name, onlyPublic && refOnlyPublic); in getResId()
2392 return getResId(p, t, ei); in getCustomResource()
2416 resId = getResId(package, type, name); in getCustomResourceWithCreation()
2747 uint32_t rid = getResId(p, t, ci); in addSymbols()
3457 getResId(pkg, t, c->getEntryIndex())); in writePublicDefinitions()
3672 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds()
[all …]
DXMLNode.cpp1038 ? table->getResId(e.name, &attr, &pkg, &errorMsg, nsIsPublic) in assignResourceIds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java262 return a.getResPackage().equals(b.getResPackage()) && a.getResId() == b.getResId(); in equalIcons()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java264 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel()
316 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel_resId()
365 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone()
472 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoClone_resId()
636 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom()
757 assertEquals(456, si.getIcon().getResId()); in testShortcutInfoCopyNonNullFieldsFrom_resId()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java357 assertThat(outTiles.get(0).icon.getResId()).isEqualTo(314159); in getTilesForIntent_shouldNotProcessInvalidUriContentSystemApp()
375 assertThat(outTiles.get(0).icon.getResId()).isEqualTo(314159); in getTilesForIntent_shouldNotProcessInvalidUriContentSystemApp()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1127 n.extras.putInt(Notification.EXTRA_SMALL_ICON, smallIcon.getResId()); in createLegacyIconExtras()
1128 n.icon = smallIcon.getResId(); in createLegacyIconExtras()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java150 return isGrayscaleIcon(context, icon.getResId()); in isGrayscaleIcon()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java389 iconStr += " / " + idDebugString(baseContext, icon.getResPackage(), icon.getResId()); in dump()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java850 icon.getResId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
/frameworks/base/core/java/android/app/
DNotification.java1260 icon = mIcon.getResId(); in Action()
1285 this.icon = icon.getResId(); in Action()
1884 icon = mSmallIcon.getResId(); in readFromParcelImpl()
3065 mN.icon = icon.getResId(); in setSmallIcon()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1376 shortcut.setIconResourceId(icon.getResId()); in saveIconAndFixUpShortcutLocked()
/frameworks/base/config/
Dboot-image-profile.txt22334 HSPLandroid/graphics/drawable/Icon;->getResId()I