/aosp12/frameworks/base/libs/androidfw/include/androidfw/ |
H A 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()
|
/aosp12/frameworks/base/libs/androidfw/tests/ |
H A 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()
|
H A D | BenchmarkHelpers.cpp | 26 uint32_t resid, benchmark::State& state) { in GetResourceBenchmarkOld() 55 uint32_t resid, benchmark::State& state) { in GetResourceBenchmark()
|
H A 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()
|
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/ |
H A D | ResourceUtils.h | 28 #define EXTRACT_TYPE(resid) ((0x00ff0000 & (resid)) >> 16) argument 29 #define EXTRACT_ENTRY(resid) (0x0000ffff & (resid)) argument
|
/aosp12/frameworks/base/cmds/idmap2/idmap2/ |
H A 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
|
/aosp12/frameworks/base/test-mock/src/android/test/mock/ |
H A 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()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/ |
H A D | CarUiTwoActionIconPreference.java | 138 public void setSecondaryActionIcon(@DrawableRes int resid) { in setSecondaryActionIcon() 139 setSecondaryActionIcon(ContextCompat.getDrawable(getContext(), resid)); in setSecondaryActionIcon() local
|
H A D | CarUiTwoActionTextPreference.java | 139 public void setSecondaryActionText(@StringRes int resid) { in setSecondaryActionText()
|
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 69 int resid, int[] attrs) in obtainStyledAttributes() 94 int resid, TypedValue outValue, in resolveAttribute()
|
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | FocusIndicatorView.java | 31 private void setDrawable(int resid) { in setDrawable()
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
H A D | ContactsMockPackageManager.java | 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable()
|
/aosp12/frameworks/base/cmds/idmap2/libidmap2/ |
H A D | ResourceUtils.cpp | 70 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
H A D | WifiDppBaseActivity.java | 47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
|
/aosp12/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString() local
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 629 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 D | ImageSwitcher.java | 62 public void setImageResource(@DrawableRes int resid) in setImageResource()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
H A D | AnimatedImageView.java | 73 public void setImageResource(int resid) { in setImageResource()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | RowInflaterTask.java | 70 public void onInflateFinished(View view, int resid, ViewGroup parent) { in onInflateFinished()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | SetupGlifLayoutActivity.java | 58 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | ErrorDialogActivity.java | 94 private void showGenericErrorDialog(int resid) { in showGenericErrorDialog()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 101 public void setImageResource(int resid) { in setImageResource()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | DisabledWallpaperManager.java | 211 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 D | ContextThemeWrapper.java | 144 public void setTheme(int resid) { in setTheme()
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/ |
H A D | MultiStateButton.java | 123 public void setButtonDrawable(int resid) { in setButtonDrawable()
|