Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp3684 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force) in applyStyle() argument
3689 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags); in applyStyle()
3691 ALOGV("Applying style 0x%08x to theme %p, count=%zu", resID, this, N); in applyStyle()
3777 ALOGI("Applying style 0x%08x (force=%d) theme %p...\n", resID, force, this); in applyStyle()
3853 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute() argument
3861 const ssize_t p = mTable.getResourcePackageIndex(resID); in getAttribute()
3862 const uint32_t t = Res_GETTYPE(resID); in getAttribute()
3863 const uint32_t e = Res_GETENTRY(resID); in getAttribute()
3866 ALOGI("Looking up attr 0x%08x in theme %p", resID, this); in getAttribute()
3896 resID = te.value.data; in getAttribute()
[all …]
/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/core/java/android/view/animation/
DAnimation.java270 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animation_interpolator, 0); in Animation() local
274 if (resID > 0) { in Animation()
275 setInterpolator(context, resID); in Animation()
405 public void setInterpolator(Context context, @AnimRes @InterpolatorRes int resID) { in setInterpolator() argument
406 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1781 bool getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const;
1783 bool getResourceFlags(uint32_t resID, uint32_t* outFlags) const;
1789 bool isResourceDynamic(uint32_t resID) const;
1812 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1852 ssize_t lockBag(uint32_t resID, const bag_entry** outBag) const;
1858 ssize_t getBagLocked(uint32_t resID, const bag_entry** outBag,
1870 status_t applyStyle(uint32_t resID, bool force=false);
1892 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
2105 ssize_t getResourcePackageIndex(uint32_t resID) const;
/frameworks/base/cmds/idmap/
Dinspect.cpp280 uint32_t resID = (packageId << 24) | (targetTypeId << 16) | (entryOffset + i); in parse_data() local
283 err = resource_metadata(am, resID, NULL, &type, &name); in parse_data()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java997 final int resID = a.getResourceId(R.styleable.Keyframe_interpolator, 0); in loadKeyframe() local
998 if (resID > 0) { in loadKeyframe()
999 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadKeyframe()
1055 final int resID = arrayAnimator.getResourceId(R.styleable.Animator_interpolator, 0); in loadAnimator() local
1056 if (resID > 0) { in loadAnimator()
1057 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadAnimator()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp93 uint32_t resID = in TEST() local
96 ASSERT_NE(uint32_t(0x00000000), resID); in TEST()
97 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.cpp4350 sp<const ResourceTable::Entry> ResourceTable::getEntry(uint32_t resID, in getEntry() argument
4353 size_t pid = Res_GETPACKAGE(resID)+1; in getEntry()
4365 fprintf(stderr, "warning: Package not found for resource #%08x\n", resID); in getEntry()
4369 int tid = Res_GETTYPE(resID); in getEntry()
4371 fprintf(stderr, "warning: Type not found for resource #%08x\n", resID); in getEntry()
4376 int eid = Res_GETENTRY(resID); in getEntry()
4378 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4384 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4392 fprintf(stderr, "warning: Entry configuration not found for resource #%08x\n", resID); in getEntry()
4399 const ResourceTable::Item* ResourceTable::getItem(uint32_t resID, uint32_t attrID) const in getItem() argument
[all …]
/frameworks/base/core/java/android/widget/
DProgressBar.java303 final int resID = a.getResourceId( in ProgressBar() local
306 if (resID > 0) { in ProgressBar()
307 setInterpolator(context, resID); in ProgressBar()
1946 public void setInterpolator(Context context, @InterpolatorRes int resID) { in setInterpolator() argument
1947 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
DAbsListView.java2843 public void setSelector(@DrawableRes int resID) { in setSelector() argument
2844 setSelector(getContext().getDrawable(resID)); in setSelector()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java172 private int readRotation(int resID) { in readRotation() argument
174 final int rotation = mContext.getResources().getInteger(resID); in readRotation()
/frameworks/base/core/java/android/transition/
DTransition.java280 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animator_interpolator, 0); in Transition() local
281 if (resID > 0) { in Transition()
282 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in Transition()