Home
last modified time | relevance | path

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

12345678910>>...30

/aosp_15_r20/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()
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DCustomDialogHelper.java99 public CustomDialogHelper setPositiveButton(@StringRes int resid, in setPositiveButton()
108 public CustomDialogHelper setPositiveButtonText(@StringRes int resid) { in setPositiveButtonText()
116 public CustomDialogHelper setNegativeButton(@StringRes int resid, in setNegativeButton()
125 public CustomDialogHelper setNegativeButtonText(@StringRes int resid) { in setNegativeButtonText()
133 public CustomDialogHelper setBackButton(@StringRes int resid, in setBackButton()
142 public CustomDialogHelper setBackButtonText(@StringRes int resid) { in setBackButtonText()
147 private void setButton(@LayoutButton int whichButton, @StringRes int resid, in setButton()
183 public CustomDialogHelper setTitle(@StringRes int resid) { in setTitle()
191 public CustomDialogHelper setMessage(@StringRes int resid) { in setMessage()
/aosp_15_r20/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()
/aosp_15_r20/external/robolectric/resources/src/main/java/org/robolectric/res/android/
H A DResourceUtils.java14 static int fix_package_id(int resid, int package_id) { in fix_package_id()
18 static int get_package_id(int resid) { in get_package_id()
24 static int get_type_id(int resid) { in get_type_id()
29 static int get_entry_id(int resid) { in get_entry_id()
34 static boolean is_internal_resid(int resid) { in is_internal_resid()
38 static boolean is_valid_resid(int resid) { in is_valid_resid()
H A DCppAssetManager2.java628 int resid, short density_override, final Ref<FindEntryResult> out_entry) { in FindEntry()
790 public boolean GetResourceName(int resid, ResourceName out_name) { in GetResourceName()
835 boolean GetResourceFlags(int resid, Ref<Integer> out_flags) { in GetResourceFlags()
862 int resid, in GetResource()
959 public final ResolvedBag GetBag(int resid) { in GetBag()
974 ResolvedBag GetBag(int resid, List<Integer> child_resids) { in GetBag()
1225 String GetResourceName(int resid) { in GetResourceName()
1298 int resid = package_.FindEntryByName(type16, entry16); in GetResourceId() local
1453 public boolean ApplyStyle(int resid, boolean force) { in ApplyStyle()
1568 int resid, Ref<Res_value> out_value, final Ref<Integer> out_flags) { in GetAttribute()
H A DAttributeResolution9.java173 int resid = 0; in ResolveAttrs() local
386 final Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local
512 final Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local
H A DAttributeResolution10.java176 int resid = 0; in ResolveAttrs() local
394 final Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local
521 final Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local
H A DAttributeResolution.java150 int resid = 0; in ResolveAttrs() local
373 Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local
505 Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local
/aosp_15_r20/cts/tests/tests/content/src/android/content/res/cts/
H A DPrimitiveTest.java55 private void tryEnum(final int resid, final int expected) { in tryEnum()
73 private void tryFlag(final int resid, final int expected) { in tryFlag()
92 private void tryBoolean(final int resid, final boolean expected) { in tryBoolean()
111 private void tryString(final int resid, final String expected) { in tryString()
131 private static void checkString(final int resid, final String actual, final String expected) { in checkString()
H A DArrayTest.java53 private void checkEntry(final int resid, final int index, final Object res, in checkEntry()
59 private void checkStringArray(final int resid, final String[] expected) { in checkStringArray()
67 private void checkTextArray(final int resid, final String[] expected) { in checkTextArray()
75 private void checkIntArray(final int resid, final int[] expected) { in checkIntArray()
H A DResourcesTest.java791 int resid = mResources.getIdentifier(COM_ANDROID_CTS_STUB_IDENTIFIER, null, null); in testGetIdentifier() local
912 private static void checkString(final int resid, final String actual, final String expected) { in checkString()
934 private void checkStringArray(final int resid, final String[] expected) { in checkStringArray()
942 private void checkEntry(final int resid, final int index, final Object res, in checkEntry()
948 private void checkTextArray(final int resid, final String[] expected) { in checkTextArray()
969 private void tryBoolean(final int resid, final boolean expected) { in tryBoolean()
981 private void tryString(final int resid, final String expected) { in tryString()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowArscAssetManager9.java852 @AnyRes int resid, in nativeGetResourceValue()
882 long ptr, @AnyRes int resid, int bag_entry_id, @NonNull TypedValue typed_value) { in nativeGetResourceBagValue()
919 long ptr, @StyleRes int resid) { in nativeGetStyleAttributes()
942 protected static @Nullable String[] nativeGetResourceStringArray(long ptr, @ArrayRes int resid) { in nativeGetResourceStringArray()
1001 protected static @Nullable int[] nativeGetResourceStringArrayInfo(long ptr, @ArrayRes int resid) { in nativeGetResourceStringArrayInfo()
1046 protected static @Nullable int[] nativeGetResourceIntArray(long ptr, @ArrayRes int resid) { in nativeGetResourceIntArray()
1088 protected static int nativeGetResourceArraySize(long ptr, @ArrayRes int resid) { in nativeGetResourceArraySize()
1101 long ptr, @ArrayRes int resid, @NonNull int[] out_data) { in nativeGetResourceArray()
1186 protected static @Nullable String nativeGetResourceName(long ptr, @AnyRes int resid) { in nativeGetResourceName()
1227 protected static @Nullable String nativeGetResourcePackageName(long ptr, @AnyRes int resid) { in nativeGetResourcePackageName()
[all …]
H A DShadowArscAssetManager10.java863 @AnyRes int resid, in nativeGetResourceValue()
903 long ptr, @AnyRes int resid, int bag_entry_id, @NonNull TypedValue typed_value) { in nativeGetResourceBagValue()
940 long ptr, @StyleRes int resid) { in nativeGetStyleAttributes()
963 protected static @Nullable String[] nativeGetResourceStringArray(long ptr, @ArrayRes int resid) { in nativeGetResourceStringArray()
1021 protected static @Nullable int[] nativeGetResourceStringArrayInfo(long ptr, @ArrayRes int resid) { in nativeGetResourceStringArrayInfo()
1066 protected static @Nullable int[] nativeGetResourceIntArray(long ptr, @ArrayRes int resid) { in nativeGetResourceIntArray()
1108 protected static int nativeGetResourceArraySize(long ptr, @ArrayRes int resid) { in nativeGetResourceArraySize()
1121 long ptr, @ArrayRes int resid, @NonNull int[] out_data) { in nativeGetResourceArray()
1206 protected static @Nullable String nativeGetResourceName(long ptr, @AnyRes int resid) { in nativeGetResourceName()
1247 protected static @Nullable String nativeGetResourcePackageName(long ptr, @AnyRes int resid) { in nativeGetResourcePackageName()
[all …]
H A DShadowWallpaperManager.java70 protected void setResource(int resid) { in setResource()
75 protected int setResource(int resid, int which) { in setResource()
93 protected boolean hasResourceWallpaper(int resid) { in hasResourceWallpaper()
/aosp_15_r20/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp688 static jint NativeGetResourceValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceValue()
709 static jint NativeGetResourceBagValue(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceBagValue()
738 static jintArray NativeGetStyleAttributes(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetStyleAttributes()
760 jint resid) { in NativeGetResourceStringArray()
819 jint resid) { in NativeGetResourceStringArrayInfo()
858 static jintArray NativeGetResourceIntArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceIntArray()
894 static jint NativeGetResourceArraySize(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetResourceArraySize()
903 static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid, in NativeGetResourceArray()
956 static jint NativeGetParentThemeIdentifier(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) { in NativeGetParentThemeIdentifier()
985 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier() local
[all …]
/aosp_15_r20/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()
/aosp_15_r20/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
/aosp_15_r20/external/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_resource.cpp1109 get_subresource_id(struct d3d12_resource *res, unsigned resid, in get_subresource_id()
1121 struct d3d12_transfer *trans, unsigned resid, unsigned z) in fill_texture_location()
1138 unsigned resid, unsigned z) in fill_buffer_location()
1207 int resid) in transfer_buf_to_image_part()
1243 struct d3d12_transfer *trans, int resid) in transfer_buf_to_image()
1267 unsigned resid, int z, int start_layer, in transfer_image_part_to_buf()
1308 unsigned resid) in transfer_image_to_buf()
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/asynclayoutinflater/asynclayoutinflater/1.1.0-alpha02/androidx.asynclayoutinflater_asynclayoutinflater/android_common/aar/
Dclasses.jar ... .Handler mHandler android.view.ViewGroup parent int resid android.view.View view androidx.asynclayoutinflater. ...
Dandroidx.asynclayoutinflater_asynclayoutinflater.jar ... .Handler mHandler android.view.ViewGroup parent int resid android.view.View view androidx.asynclayoutinflater. ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/asynclayoutinflater/asynclayoutinflater/1.1.0-alpha02/androidx.asynclayoutinflater_asynclayoutinflater/android_common_apex30/aar/
Dclasses.jar ... .Handler mHandler android.view.ViewGroup parent int resid android.view.View view androidx.asynclayoutinflater. ...
Dandroidx.asynclayoutinflater_asynclayoutinflater.jar ... .Handler mHandler android.view.ViewGroup parent int resid android.view.View view androidx.asynclayoutinflater. ...
/aosp_15_r20/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java333 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
341 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
349 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
357 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
/aosp_15_r20/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java2473 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { in loadStringSetting()
2477 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { in loadBooleanSetting()
2482 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { in loadIntegerSetting()
2487 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { in loadFractionSetting()

12345678910>>...30