/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceUtils.h | 40 inline uint32_t fix_package_id(uint32_t resid, uint8_t package_id) { in fix_package_id() 44 inline uint8_t get_package_id(uint32_t resid) { in get_package_id() 49 inline uint8_t get_type_id(uint32_t resid) { in get_type_id() 53 inline uint16_t get_entry_id(uint32_t resid) { in get_entry_id() 57 inline bool is_internal_resid(uint32_t resid) { in is_internal_resid() 61 inline bool is_valid_resid(uint32_t resid) { in is_valid_resid()
|
/frameworks/base/libs/androidfw/tests/ |
D | SparseEntry_bench.cpp | 27 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()
|
D | BenchmarkHelpers.cpp | 26 uint32_t resid, benchmark::State& state) { in GetResourceBenchmarkOld() 55 uint32_t resid, benchmark::State& state) { in GetResourceBenchmark()
|
D | AssetManager2_bench.cpp | 84 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/include/idmap2/ |
D | ResourceUtils.h | 28 #define EXTRACT_TYPE(resid) ((0x00ff0000 & (resid)) >> 16) argument 29 #define EXTRACT_ENTRY(resid) (0x0000ffff & (resid)) argument
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 73 if (auto resid = am.GetResourceId(res, "", fallback_package); resid.ok()) { in ParseResReference() local 106 Result<std::string> WARN_UNUSED GetValue(AssetManager2* const am, ResourceId resid) { in GetValue() 228 const Result<ResourceId> resid = ParseResReference(am, resid_str, target_package_name); in Lookup() local
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockResources.java | 209 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/ |
D | Resources_Theme_Delegate.java | 69 int resid, int[] attrs) in obtainStyledAttributes() 94 int resid, TypedValue outValue, in resolveAttribute()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 70 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName()
|
D | ResourceMapping.cpp | 105 std::string GetDebugResourceName(const ResourceContainer& container, ResourceId resid) { in GetDebugResourceName()
|
D | ResourceContainer.cpp | 32 #define REWRITE_PACKAGE(resid, package_id) \ argument 35 #define EXTRACT_PACKAGE(resid) ((0xff000000 & (resid)) >> 24) argument
|
/frameworks/base/core/java/com/google/android/util/ |
D | SmileyParser.java | 71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString() local
|
/frameworks/base/core/java/android/widget/ |
D | ImageSwitcher.java | 62 public void setImageResource(@DrawableRes int resid) in setImageResource()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 628 static jint NativeGetResourceValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceValue() 647 static jint NativeGetResourceBagValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceBagValue() 675 static jintArray NativeGetStyleAttributes(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetStyleAttributes() 696 jint resid) { in NativeGetResourceStringArray() 749 jint resid) { in NativeGetResourceStringArrayInfo() 787 static jintArray NativeGetResourceIntArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceIntArray() 822 static jint NativeGetResourceArraySize(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceArraySize() 831 static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceArray() 906 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier() local 914 static jstring NativeGetResourceName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceName() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | RowInflaterTask.java | 70 public void onInflateFinished(View view, int resid, ViewGroup parent) { in onInflateFinished()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | AnimatedImageView.java | 73 public void setImageResource(int resid) { in setImageResource()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AnimatedImageView.java | 101 public void setImageResource(int resid) { in setImageResource()
|
/frameworks/base/core/java/android/app/ |
D | DisabledWallpaperManager.java | 206 public void setResource(int resid) throws IOException { in setResource() 211 public int setResource(int resid, int which) throws IOException { in setResource() 256 public boolean hasResourceWallpaper(int resid) { in hasResourceWallpaper()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 144 public void setTheme(int resid) { in setTheme()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 260 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() 268 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName() 276 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName() 284 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName() 1364 boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute()
|
D | Resources.java | 1714 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute() 2210 public static boolean resourceHasPackage(@AnyRes int resid) { in resourceHasPackage() 2228 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() 2244 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName() 2260 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName() 2276 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppNotRespondingDialog.java | 61 int resid; in AppNotRespondingDialog() local
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 560 uint32_t resid, uint16_t density_override, bool stop_at_first_match, in FindEntry() 830 const uint32_t resid = last_resolution_.resid; in GetLastResourceResolution() local 895 uint32_t resid, bool may_be_bag, uint16_t density_override) const { in GetResource() 1007 uint32_t resid, std::vector<uint32_t>& child_resids) const { in GetBag() 1272 base::expected<uint32_t, NullOrIOError> resid = package->FindEntryByName(type16, entry16); in GetResourceId() local 1374 base::expected<std::monostate, NullOrIOError> Theme::ApplyStyle(uint32_t resid, bool force) { in ApplyStyle()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 2614 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { in loadStringSetting() 2618 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { in loadBooleanSetting() 2623 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { in loadIntegerSetting() 2628 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { in loadFractionSetting()
|
/frameworks/base/startop/view_compiler/ |
D | dex_layout_compiler.cc | 82 void DexViewBuilder::BuildGetLayoutResource(Value dest, Value resources, Value resid) { in BuildGetLayoutResource()
|