Home
last modified time | relevance | path

Searched refs:resID (Results 1 – 13 of 13) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java265 Uri getResourceRef(int resID) { in getResourceRef() argument
268 context.getResources().getResourcePackageName(resID) + '/' + in getResourceRef()
269 context.getResources().getResourceTypeName(resID) + '/' + in getResourceRef()
270 context.getResources().getResourceEntryName(resID)); in getResourceRef()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3931 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force) in applyStyle() argument
3936 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags); in applyStyle()
3938 ALOGV("Applying style 0x%08x to theme %p, count=%zu", resID, this, N); in applyStyle()
4024 ALOGI("Applying style 0x%08x (force=%d) theme %p...\n", resID, force, this); in applyStyle()
4100 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute() argument
4108 const ssize_t p = mTable.getResourcePackageIndex(resID); in getAttribute()
4109 const uint32_t t = Res_GETTYPE(resID); in getAttribute()
4110 const uint32_t e = Res_GETENTRY(resID); in getAttribute()
4113 ALOGI("Looking up attr 0x%08x in theme %p", resID, this); in getAttribute()
4143 resID = te.value.data; in getAttribute()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimation.java279 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animation_interpolator, 0); in Animation() local
283 if (resID > 0) { in Animation()
284 setInterpolator(context, resID); in Animation()
414 public void setInterpolator(Context context, @AnimRes @InterpolatorRes int resID) { in setInterpolator() argument
415 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1992 bool getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const;
1994 bool getResourceFlags(uint32_t resID, uint32_t* outFlags) const;
2000 bool isResourceDynamic(uint32_t resID) const;
2023 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
2063 ssize_t lockBag(uint32_t resID, const bag_entry** outBag) const;
2069 ssize_t getBagLocked(uint32_t resID, const bag_entry** outBag,
2081 status_t applyStyle(uint32_t resID, bool force=false);
2103 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
2317 ssize_t getResourcePackageIndex(uint32_t resID) const;
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java1000 final int resID = a.getResourceId(R.styleable.Keyframe_interpolator, 0); in loadKeyframe() local
1001 if (resID > 0) { in loadKeyframe()
1002 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadKeyframe()
1058 final int resID = arrayAnimator.getResourceId(R.styleable.Animator_interpolator, 0); in loadAnimator() local
1059 if (resID > 0) { in loadAnimator()
1060 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadAnimator()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java260 public ThemeData(Resources resources, int resID) { in ThemeData() argument
262 mResID = resID; in ThemeData()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp66 uint32_t resID = in TEST() local
69 ASSERT_NE(uint32_t(0x00000000), resID); in TEST()
70 ASSERT_EQ(basic::R::string::test1, resID); in TEST()
/frameworks/base/tools/aapt/
DResourceTable.h608 sp<const Entry> getEntry(uint32_t resID,
613 const Item* getItem(uint32_t resID, uint32_t attrID) const;
614 bool getItemValue(uint32_t resID, uint32_t attrID,
DResourceTable.cpp4343 sp<const ResourceTable::Entry> ResourceTable::getEntry(uint32_t resID, in getEntry() argument
4346 size_t pid = Res_GETPACKAGE(resID)+1; in getEntry()
4358 fprintf(stderr, "warning: Package not found for resource #%08x\n", resID); in getEntry()
4362 int tid = Res_GETTYPE(resID); in getEntry()
4364 fprintf(stderr, "warning: Type not found for resource #%08x\n", resID); in getEntry()
4369 int eid = Res_GETENTRY(resID); in getEntry()
4371 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4377 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4385 fprintf(stderr, "warning: Entry configuration not found for resource #%08x\n", resID); in getEntry()
4392 const ResourceTable::Item* ResourceTable::getItem(uint32_t resID, uint32_t attrID) const in getItem() argument
[all …]
/frameworks/base/core/java/android/widget/
DProgressBar.java314 final int resID = a.getResourceId( in ProgressBar() local
317 if (resID > 0) { in ProgressBar()
318 setInterpolator(context, resID); in ProgressBar()
2021 public void setInterpolator(Context context, @InterpolatorRes int resID) { in setInterpolator() argument
2022 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
DAbsListView.java2931 public void setSelector(@DrawableRes int resID) { in setSelector() argument
2932 setSelector(getContext().getDrawable(resID)); in setSelector()
/frameworks/base/core/java/android/transition/
DTransition.java282 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animator_interpolator, 0); in Transition() local
283 if (resID > 0) { in Transition()
284 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in Transition()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java368 private int readRotation(int resID) { in readRotation() argument
370 final int rotation = mContext.getResources().getInteger(resID); in readRotation()