Home
last modified time | relevance | path

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

1234

/aosp12/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()
/aosp12/frameworks/base/libs/androidfw/tests/
H A 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()
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()
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/
H A DResourceUtils.h28 #define EXTRACT_TYPE(resid) ((0x00ff0000 & (resid)) >> 16) argument
29 #define EXTRACT_ENTRY(resid) (0x0000ffff & (resid)) argument
/aosp12/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()
228 const Result<ResourceId> resid = ParseResReference(am, resid_str, target_package_name); in Lookup() local
/aosp12/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()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
H A DCarUiTwoActionIconPreference.java138 public void setSecondaryActionIcon(@DrawableRes int resid) { in setSecondaryActionIcon()
139 setSecondaryActionIcon(ContextCompat.getDrawable(getContext(), resid)); in setSecondaryActionIcon() local
H A DCarUiTwoActionTextPreference.java139 public void setSecondaryActionText(@StringRes int resid) { in setSecondaryActionText()
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java69 int resid, int[] attrs) in obtainStyledAttributes()
94 int resid, TypedValue outValue, in resolveAttribute()
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DFocusIndicatorView.java31 private void setDrawable(int resid) { in setDrawable()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DContactsMockPackageManager.java41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable()
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DResourceUtils.cpp70 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/dpp/
H A DWifiDppBaseActivity.java47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
/aosp12/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString() local
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp629 static jint NativeGetResourceValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceValue()
648 static jint NativeGetResourceBagValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceBagValue()
697 jint resid) { in NativeGetResourceStringArray()
750 jint resid) { in NativeGetResourceStringArrayInfo()
823 static jint NativeGetResourceArraySize(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceArraySize()
832 static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceArray()
907 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier() local
915 static jstring NativeGetResourceName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceName()
939 static jstring NativeGetResourceTypeName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceTypeName()
1258 jint resid, jboolean force) { in NativeThemeApplyStyle()
[all …]
/aosp12/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java62 public void setImageResource(@DrawableRes int resid) in setImageResource()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DAnimatedImageView.java73 public void setImageResource(int resid) { in setImageResource()
/aosp12/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()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DSetupGlifLayoutActivity.java58 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/components/
H A DErrorDialogActivity.java94 private void showGenericErrorDialog(int resid) { in showGenericErrorDialog()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java101 public void setImageResource(int resid) { in setImageResource()
/aosp12/frameworks/base/core/java/android/app/
H A DDisabledWallpaperManager.java211 public void setResource(int resid) throws IOException { in setResource()
216 public int setResource(int resid, int which) throws IOException { in setResource()
267 public boolean hasResourceWallpaper(int resid) { in hasResourceWallpaper()
/aosp12/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java144 public void setTheme(int resid) { in setTheme()
/aosp12/packages/apps/Calendar/src/com/android/calendar/
H A DMultiStateButton.java123 public void setButtonDrawable(int resid) { in setButtonDrawable()

1234