Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DAaptAssets.cpp423 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) in initFromDirName() argument
444 *resType = type; in initFromDirName()
449 AaptGroupEntry::toDirName(const String8& resType) const in toDirName()
451 String8 s = resType; in toDirName()
681 const AaptGroupEntry& kind, const String8& resType, in slurpFullTree() argument
741 resType, fullResPaths, overwrite); in slurpFullTree()
750 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
929 const String8& resType) in addFile() argument
952 file = new AaptFile(srcDir.appendPathCopy(filePath), entry, resType); in addFile()
980 const sp<AaptFile>& file, const String8& resType) in addResource() argument
[all …]
DAaptAssets.h110 bool initFromDirName(const char* dir, String8* resType);
123 String8 toDirName(const String8& resType) const;
151 const String8& resType) in AaptFile() argument
153 , mResourceType(resType) in AaptFile()
296 const String8& resType,
535 const String8& resType);
540 const String8& resType);
593 const String8& resType,
DResource.cpp84 ResourceDirIterator(const sp<ResourceTypeSet>& set, const String8& resType) in ResourceDirIterator() argument
85 : mResType(resType), mSet(set), mSetPos(0), mGroupPos(0) in ResourceDirIterator()
291 const char* resType) in makeFileResources() argument
293 String8 type8(resType); in makeFileResources()
294 String16 type16(resType); in makeFileResources()
298 ResourceDirIterator it(set, String8(resType)); in makeFileResources()
398 String8 resType = files.valueAt(0)->getResourceType(); in collect_files() local
400 ssize_t index = resources->indexOfKey(resType); in collect_files()
407 resources->add(resType, set); in collect_files()
423 resType.string())); in collect_files()
[all …]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java63 final ResourceType resType = ResourceType.getEnum(resClass.getSimpleName()); in initResources() local
65 if (resType != null) { in initResources()
67 mResources.put(resType, resName2Id); in initResources()
80 mProjectResources.put(value, Pair.of(resType, field.getName())); in initResources()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java254 ResourceType resType = ResourceType.getEnum(resTypeName); in init() local
255 if (resType != null) { in init()
257 sRevRMap.put(resType, fullMap); in init()
272 sRMap.put(value, Pair.of(resType, f.getName())); in init()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java386 public Integer getId(ResourceType resType, String resName) { in getId() argument
387 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.java897 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { in getFrameworkResourceValue() argument
898 if (getRenderResources().getFrameworkResource(resType, resName) != null) { in getFrameworkResourceValue()
901 return Bridge.getResourceId(resType, resName); in getFrameworkResourceValue()
907 public int getProjectResourceValue(ResourceType resType, String resName, int defValue) { in getProjectResourceValue() argument
910 if (getRenderResources().getProjectResource(resType, resName) != null) { in getProjectResourceValue()
912 Integer value = mProjectCallback.getResourceId(resType, resName); in getProjectResourceValue()