Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp3238 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force) in applyStyle() argument
3243 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags); in applyStyle()
3245 ALOGV("Applying style 0x%08x to theme %p, count=%zu", resID, this, N); in applyStyle()
3330 ALOGI("Applying style 0x%08x (force=%d) theme %p...\n", resID, force, this); in applyStyle()
3406 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute() argument
3414 const ssize_t p = mTable.getResourcePackageIndex(resID); in getAttribute()
3415 const uint32_t t = Res_GETTYPE(resID); in getAttribute()
3416 const uint32_t e = Res_GETENTRY(resID); in getAttribute()
3419 ALOGI("Looking up attr 0x%08x in theme %p", resID, this); in getAttribute()
3449 resID = te.value.data; in getAttribute()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimation.java252 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animation_interpolator, 0); in Animation() local
256 if (resID > 0) { in Animation()
257 setInterpolator(context, resID); in Animation()
392 public void setInterpolator(Context context, @InterpolatorRes int resID) { in setInterpolator() argument
393 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
/frameworks/base/include/androidfw/
DResourceTypes.h1574 bool getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const;
1576 bool getResourceFlags(uint32_t resID, uint32_t* outFlags) const;
1593 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1633 ssize_t lockBag(uint32_t resID, const bag_entry** outBag) const;
1639 ssize_t getBagLocked(uint32_t resID, const bag_entry** outBag,
1651 status_t applyStyle(uint32_t resID, bool force=false);
1673 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
1862 ssize_t getResourcePackageIndex(uint32_t resID) const;
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java156 final int resID = a.getResourceId(R.styleable.lbSlide_android_interpolator, 0); in SlideKitkat() local
157 if (resID > 0) { in SlideKitkat()
158 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in SlideKitkat()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp62 uint32_t resID = table.identifierForName(testName.string(), testName.size(), in TEST() local
65 ASSERT_NE(uint32_t(0x00000000), resID); in TEST()
66 ASSERT_EQ(base::R::string::test1, resID); in TEST()
/frameworks/base/cmds/idmap/
Dinspect.cpp279 uint32_t resID = (packageId << 24) | (targetTypeId << 16) | (entryOffset + i); in parse_data() local
282 err = resource_metadata(am, resID, NULL, &type, &name); in parse_data()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFullscreenBlur.java161 int resID, Type constants) { in getShader() argument
163 fb.setShader(res, resID); in getShader()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java1019 final int resID = a.getResourceId(R.styleable.Keyframe_interpolator, 0); in loadKeyframe() local
1020 if (resID > 0) { in loadKeyframe()
1021 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadKeyframe()
1077 final int resID = arrayAnimator.getResourceId(R.styleable.Animator_interpolator, 0); in loadAnimator() local
1078 if (resID > 0) { in loadAnimator()
1079 final Interpolator interpolator = AnimationUtils.loadInterpolator(res, theme, resID); in loadAnimator()
/frameworks/base/core/java/android/widget/
DProgressBar.java291 final int resID = a.getResourceId( in ProgressBar() local
294 if (resID > 0) { in ProgressBar()
295 setInterpolator(context, resID); in ProgressBar()
1550 public void setInterpolator(Context context, @InterpolatorRes int resID) { in setInterpolator() argument
1551 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in setInterpolator()
DAbsListView.java2694 public void setSelector(@DrawableRes int resID) { in setSelector() argument
2695 setSelector(getContext().getDrawable(resID)); in setSelector()
/frameworks/base/tools/aapt/
DResourceTable.h579 sp<const Entry> getEntry(uint32_t resID,
584 const Item* getItem(uint32_t resID, uint32_t attrID) const;
585 bool getItemValue(uint32_t resID, uint32_t attrID,
DResourceTable.cpp4282 sp<const ResourceTable::Entry> ResourceTable::getEntry(uint32_t resID, in getEntry() argument
4285 size_t pid = Res_GETPACKAGE(resID)+1; in getEntry()
4297 fprintf(stderr, "warning: Package not found for resource #%08x\n", resID); in getEntry()
4301 int tid = Res_GETTYPE(resID); in getEntry()
4303 fprintf(stderr, "warning: Type not found for resource #%08x\n", resID); in getEntry()
4308 int eid = Res_GETENTRY(resID); in getEntry()
4310 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4316 fprintf(stderr, "warning: Entry not found for resource #%08x\n", resID); in getEntry()
4324 fprintf(stderr, "warning: Entry configuration not found for resource #%08x\n", resID); in getEntry()
4331 const ResourceTable::Item* ResourceTable::getItem(uint32_t resID, uint32_t attrID) const in getItem() argument
[all …]
/frameworks/base/core/java/android/transition/
DTransition.java279 … final int resID = a.getResourceId(com.android.internal.R.styleable.Animator_interpolator, 0); in Transition() local
280 if (resID > 0) { in Transition()
281 setInterpolator(AnimationUtils.loadInterpolator(context, resID)); in Transition()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1813 private int readRotation(int resID) { in readRotation() argument
1815 int rotation = mContext.getResources().getInteger(resID); in readRotation()