Home
last modified time | relevance | path

Searched refs:resType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt/
DAaptAssets.cpp396 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) in initFromDirName() argument
417 *resType = type; in initFromDirName()
422 AaptGroupEntry::toDirName(const String8& resType) const in toDirName()
424 String8 s = resType; in toDirName()
654 const AaptGroupEntry& kind, const String8& resType, in slurpFullTree() argument
714 resType, fullResPaths, overwrite); in slurpFullTree()
723 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
902 const String8& resType) in addFile() argument
925 file = new AaptFile(srcDir.appendPathCopy(filePath), entry, resType); in addFile()
953 const sp<AaptFile>& file, const String8& resType) in addResource() argument
[all …]
DAaptAssets.h108 bool initFromDirName(const char* dir, String8* resType);
121 String8 toDirName(const String8& resType) const;
149 const String8& resType) in AaptFile() argument
151 , mResourceType(resType) in AaptFile()
294 const String8& resType,
533 const String8& resType);
538 const String8& resType);
591 const String8& resType,
DResource.cpp89 ResourceDirIterator(const sp<ResourceTypeSet>& set, const String8& resType) in ResourceDirIterator() argument
90 : mResType(resType), mSet(set), mSetPos(0), mGroupPos(0) in ResourceDirIterator()
300 const char* resType) in makeFileResources() argument
302 String8 type8(resType); in makeFileResources()
303 String16 type16(resType); in makeFileResources()
307 ResourceDirIterator it(set, String8(resType)); in makeFileResources()
407 String8 resType = files.valueAt(0)->getResourceType(); in collect_files() local
409 ssize_t index = resources->indexOfKey(resType); in collect_files()
418 resources->add(resType, set); in collect_files()
439 resType.string()); in collect_files()
[all …]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java70 final ResourceType resType = ResourceType.getEnum(resClass.getSimpleName()); in initResources() local
72 if (resType != null) { in initResources()
74 mResources.put(resType, resName2Id); in initResources()
87 mProjectResources.put(value, Pair.of(resType, field.getName())); in initResources()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java263 ResourceType resType = ResourceType.getEnum(resTypeName); in init() local
264 if (resType != null) { in init()
266 switch (resType) { in init()
279 sRevRMap.put(resType, fullMap); in init()
296 sRMap.put(value, Pair.of(resType, f.getName())); in init()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java415 public Integer getId(ResourceType resType, String resName) { in getId() argument
416 return Bridge.getResourceId(resType, resName); in getId()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dslice.cpp172 AVCResidualType resType; in EncodeMB() local
436 resType = AVC_Luma; in EncodeMB()
447 resType = AVC_Intra16AC; in EncodeMB()
458 status = enc_residual_block(encvid, resType, (b8 << 2) + b4, currMB); in EncodeMB()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1043 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { in getFrameworkResourceValue() argument
1044 if (getRenderResources().getFrameworkResource(resType, resName) != null) { in getFrameworkResourceValue()
1047 return Bridge.getResourceId(resType, resName); in getFrameworkResourceValue()
1053 public int getProjectResourceValue(ResourceType resType, String resName, int defValue) { in getProjectResourceValue() argument
1056 if (getRenderResources().getProjectResource(resType, resName) != null) { in getProjectResourceValue()
1058 Integer value = mLayoutlibCallback.getResourceId(resType, resName); in getProjectResourceValue()