Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DAaptAssets.cpp399 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) in initFromDirName() argument
420 *resType = type; in initFromDirName()
425 AaptGroupEntry::toDirName(const String8& resType) const in toDirName()
427 String8 s = resType; in toDirName()
657 const AaptGroupEntry& kind, const String8& resType, in slurpFullTree() argument
717 resType, fullResPaths, overwrite); in slurpFullTree()
726 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
905 const String8& resType) in addFile() argument
928 file = new AaptFile(srcDir.appendPathCopy(filePath), entry, resType); in addFile()
956 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.java72 final ResourceType resType = ResourceType.getEnum(resClass.getSimpleName()); in initResources() local
74 if (resType != null) { in initResources()
76 mResources.put(resType, resName2Id); in initResources()
89 mProjectResources.put(value, Pair.of(resType, field.getName())); in initResources()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java264 ResourceType resType = ResourceType.getEnum(resTypeName); in init() local
265 if (resType != null) { in init()
267 switch (resType) { in init()
280 sRevRMap.put(resType, fullMap); in init()
297 sRMap.put(value, Pair.of(resType, f.getName())); in init()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java407 public Integer getId(ResourceType resType, String resName) { in getId() argument
408 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/aapt2/proto/
DTableProtoDeserializer.cpp76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); in deserializeFromPb() local
77 if (!resType) { in deserializeFromPb()
82 ResourceTableType* type = pkg->findOrCreateType(*resType); in deserializeFromPb()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1056 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { in getFrameworkResourceValue() argument
1057 if (getRenderResources().getFrameworkResource(resType, resName) != null) { in getFrameworkResourceValue()
1060 return Bridge.getResourceId(resType, resName); in getFrameworkResourceValue()
1066 public int getProjectResourceValue(ResourceType resType, String resName, int defValue) { in getProjectResourceValue() argument
1069 if (getRenderResources().getProjectResource(resType, resName) != null) { in getProjectResourceValue()
1071 Integer value = mLayoutlibCallback.getResourceId(resType, resName); in getProjectResourceValue()