Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/libs/androidfw/tests/
H A DSparseEntry_bench.cpp29 uint32_t resid, benchmark::State& state, void (*GetResourceBenchmarkFunc)( in BM_SparseEntryGetResourceHelper() argument
38 static void BM_SparseEntryGetResourceOldSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparse()
45 static void BM_SparseEntryGetResourceOldNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparse()
52 static void BM_SparseEntryGetResourceSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparse()
59 static void BM_SparseEntryGetResourceNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparse()
66 static void BM_SparseEntryGetResourceOldSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparseRuntime()
74 static void BM_SparseEntryGetResourceOldNotSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparseRuntime()
82 static void BM_SparseEntryGetResourceSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparseRuntime()
90 static void BM_SparseEntryGetResourceNotSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparseRuntime()
H A DBenchmarkHelpers.cpp26 uint32_t resid, benchmark::State& state) { in GetResourceBenchmarkOld()
55 uint32_t resid, benchmark::State& state) { in GetResourceBenchmark()
H A 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()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceUtils.h40 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()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DCustomDialogHelper.java98 public CustomDialogHelper setPositiveButton(@StringRes int resid, in setPositiveButton()
107 public CustomDialogHelper setPositiveButtonText(@StringRes int resid) { in setPositiveButtonText()
115 public CustomDialogHelper setNegativeButton(@StringRes int resid, in setNegativeButton()
124 public CustomDialogHelper setNegativeButtonText(@StringRes int resid) { in setNegativeButtonText()
132 public CustomDialogHelper setBackButton(@StringRes int resid, in setBackButton()
141 public CustomDialogHelper setBackButtonText(@StringRes int resid) { in setBackButtonText()
146 private void setButton(@LayoutButton int whichButton, @StringRes int resid, in setButton()
182 public CustomDialogHelper setTitle(@StringRes int resid) { in setTitle()
190 public CustomDialogHelper setMessage(@StringRes int resid) { in setMessage()
/aosp14/frameworks/base/cmds/idmap2/idmap2/
H A DLookup.cpp73 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()
224 const Result<ResourceId> resid = ParseResReference(am, resid_str, target_package_name); in Lookup() local
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/
H A DResourceUtils.h29 #define EXTRACT_TYPE(resid) ((0x00ff0000 & (resid)) >> 16) argument
30 #define EXTRACT_ENTRY(resid) (0x0000ffff & (resid)) argument
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A 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()
/aosp14/frameworks/base/cmds/idmap2/libidmap2/
H A DResourceUtils.cpp70 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName()
H A DResourceMapping.cpp105 std::string GetDebugResourceName(const ResourceContainer& container, ResourceId resid) { in GetDebugResourceName()
H A DResourceContainer.cpp32 #define REWRITE_PACKAGE(resid, package_id) \ argument
35 #define EXTRACT_PACKAGE(resid) ((0xff000000 & (resid)) >> 24) argument
/aosp14/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString() local
/aosp14/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java269 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
277 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
285 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
293 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
H A DResources.java1737 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute()
2312 public static boolean resourceHasPackage(@AnyRes int resid) { in resourceHasPackage()
2330 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
2346 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
2362 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
2378 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
/aosp14/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java62 public void setImageResource(@DrawableRes int resid) in setImageResource()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp660 static jint NativeGetResourceValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceValue()
681 static jint NativeGetResourceBagValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceBagValue()
732 jint resid) { in NativeGetResourceStringArray()
791 jint resid) { in NativeGetResourceStringArrayInfo()
866 static jint NativeGetResourceArraySize(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceArraySize()
875 static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceArray()
957 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier() local
965 static jstring NativeGetResourceName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceName()
989 static jstring NativeGetResourceTypeName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceTypeName()
1316 jint resid, jboolean force) { in NativeThemeApplyStyle()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DAnimatedImageView.java73 public void setImageResource(int resid) { in setImageResource()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DRowInflaterTask.java70 public void onInflateFinished(View view, int resid, ViewGroup parent) { in onInflateFinished()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java101 public void setImageResource(int resid) { in setImageResource()
/aosp14/frameworks/base/core/java/android/app/
H A DDisabledWallpaperManager.java231 public void setResource(int resid) throws IOException { in setResource()
236 public int setResource(int resid, int which) throws IOException { in setResource()
287 public boolean hasResourceWallpaper(int resid) { in hasResourceWallpaper()
/aosp14/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java144 public void setTheme(int resid) { in setTheme()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppNotRespondingDialog.java63 int resid; in AppNotRespondingDialog() local
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java2604 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { in loadStringSetting()
2608 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { in loadBooleanSetting()
2613 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { in loadIntegerSetting()
2618 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { in loadFractionSetting()
/aosp14/frameworks/base/startop/view_compiler/
H A Ddex_layout_compiler.cc82 void DexViewBuilder::BuildGetLayoutResource(Value dest, Value resources, Value resid) { in BuildGetLayoutResource()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp612 uint32_t resid, uint16_t density_override, bool stop_at_first_match, in FindEntry()
925 const uint32_t resid = last_resolution_.resid; in GetLastResourceResolution() local
1018 uint32_t resid, bool may_be_bag, uint16_t density_override) const { in GetResource()
1130 uint32_t resid, std::vector<uint32_t>& child_resids) const { in GetBag()
1395 base::expected<uint32_t, NullOrIOError> resid = package->FindEntryByName(type16, entry16); in GetResourceId() local
1532 base::expected<std::monostate, NullOrIOError> Theme::ApplyStyle(uint32_t resid, bool force) { in ApplyStyle()

123