Home
last modified time | relevance | path

Searched defs:resid (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/libs/androidfw/include/androidfw/
DResourceUtils.h41 inline uint32_t fix_package_id(uint32_t resid, uint8_t package_id) { in fix_package_id()
45 inline uint8_t get_package_id(uint32_t resid) { in get_package_id()
50 inline uint8_t get_type_id(uint32_t resid) { in get_type_id()
54 inline uint16_t get_entry_id(uint32_t resid) { in get_entry_id()
58 inline bool is_internal_resid(uint32_t resid) { in is_internal_resid()
62 inline bool is_valid_resid(uint32_t resid) { in is_valid_resid()
DLoadedArsc.h229 const OverlayableInfo* GetOverlayableInfo(uint32_t resid) const { in GetOverlayableInfo()
/frameworks/base/libs/androidfw/tests/
DSparseEntry_bench.cpp27 static void BM_SparseEntryGetResourceOldSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparse()
36 static void BM_SparseEntryGetResourceOldNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparse()
45 static void BM_SparseEntryGetResourceSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparse()
54 static void BM_SparseEntryGetResourceNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparse()
DBenchmarkHelpers.cpp26 uint32_t resid, benchmark::State& state) { in GetResourceBenchmarkOld()
55 uint32_t resid, benchmark::State& state) { in GetResourceBenchmark()
DAssetManager2_bench.cpp84 static void BM_AssetManagerGetResource(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResource()
90 static void BM_AssetManagerGetResourceOld(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResourceOld()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp72 ResourceId resid; in ParseResReference() local
88 Result<std::string> WARN_UNUSED GetValue(const AssetManager2& am, ResourceId resid) { in GetValue()
233 const Result<ResourceId> resid = ParseResReference(am, resid_str, target_package_name); in Lookup() local
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java209 public String getResourceName(int resid) throws NotFoundException { in getResourceName()
214 public String getResourcePackageName(int resid) throws NotFoundException { in getResourcePackageName()
219 public String getResourceTypeName(int resid) throws NotFoundException { in getResourceTypeName()
224 public String getResourceEntryName(int resid) throws NotFoundException { in getResourceEntryName()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java69 int resid, int[] attrs) in obtainStyledAttributes()
94 int resid, TypedValue outValue, in resolveAttribute()
DResources_Delegate.java733 static String getResourceEntryName(Resources resources, int resid) throws NotFoundException { in getResourceEntryName()
743 static String getResourceName(Resources resources, int resid) throws NotFoundException { in getResourceName()
755 static String getResourcePackageName(Resources resources, int resid) throws NotFoundException { in getResourcePackageName()
765 static String getResourceTypeName(Resources resources, int resid) throws NotFoundException { in getResourceTypeName()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp373 ApkAssetsCookie AssetManager2::FindEntry(uint32_t resid, uint16_t density_override, in FindEntry()
599 uint32_t resid = last_resolution.resid; in GetLastResourceResolution() local
648 bool AssetManager2::GetResourceName(uint32_t resid, ResourceName* out_name) const { in GetResourceName()
679 bool AssetManager2::GetResourceFlags(uint32_t resid, uint32_t* out_flags) const { in GetResourceFlags()
691 ApkAssetsCookie AssetManager2::GetResource(uint32_t resid, bool may_be_bag, in GetResource()
755 const std::vector<uint32_t> AssetManager2::GetBagResIdStack(uint32_t resid) { in GetBagResIdStack()
768 const ResolvedBag* AssetManager2::GetBag(uint32_t resid) { in GetBag()
780 const ResolvedBag* AssetManager2::GetBag(uint32_t resid, std::vector<uint32_t>& child_resids) { in GetBag()
1020 uint32_t resid = package->FindEntryByName(type16, entry16); in GetResourceId() local
1125 bool Theme::ApplyStyle(uint32_t resid, bool force) { in ApplyStyle()
[all …]
DAttributeResolution.cpp139 uint32_t resid = 0; in ResolveAttrs() local
338 uint32_t resid = 0u; in ApplyStyle() local
442 uint32_t resid = 0u; in RetrieveAttributes() local
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp44 #define EXTRACT_TYPE(resid) ((0x00ff0000 & (resid)) >> 16) argument
46 #define EXTRACT_ENTRY(resid) (0x0000ffff & (resid)) argument
212 ResourceId resid; in FromBinaryStream() local
283 const PolicyBitmask& fulfilled_policies, const ResourceId& resid) { in CheckOverlayable()
DResourceUtils.cpp36 Result<std::string> ResToTypeEntryName(const AssetManager2& am, ResourceId resid) { in ResToTypeEntryName()
/frameworks/base/core/java/com/google/android/util/
DSmileyParser.java71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString() local
/frameworks/base/core/java/android/widget/
DImageSwitcher.java62 public void setImageResource(@DrawableRes int resid) in setImageResource()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp743 static jint NativeGetResourceValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceValue()
767 static jint NativeGetResourceBagValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceBagValue()
801 static jintArray NativeGetStyleAttributes(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetStyleAttributes()
821 jint resid) { in NativeGetResourceStringArray()
877 jint resid) { in NativeGetResourceStringArrayInfo()
919 static jintArray NativeGetResourceIntArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceIntArray()
957 static jint NativeGetResourceArraySize(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceArraySize()
966 static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceArray()
1047 static jstring NativeGetResourceName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceName()
1058 static jstring NativeGetResourcePackageName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourcePackageName()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DRowInflaterTask.java64 public void onInflateFinished(View view, int resid, ViewGroup parent) { in onInflateFinished()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DAnimatedImageView.java73 public void setImageResource(int resid) { in setImageResource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java101 public void setImageResource(int resid) { in setImageResource()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java144 public void setTheme(int resid) { in setTheme()
/frameworks/base/core/java/android/content/res/
DResources.java1617 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute()
2045 public static boolean resourceHasPackage(@AnyRes int resid) { in resourceHasPackage()
2063 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
2079 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
2095 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
2111 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
DResourcesImpl.java272 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
280 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
288 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
296 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
1429 boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute()
/frameworks/base/services/core/java/com/android/server/am/
DAppNotRespondingDialog.java61 int resid; in AppNotRespondingDialog() local
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java2643 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { in loadStringSetting()
2647 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { in loadBooleanSetting()
2652 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { in loadIntegerSetting()
2657 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { in loadFractionSetting()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml()

123