/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | LayoutLibTestCallback.java | 72 final ResourceType resType = ResourceType.getEnum(resClass.getSimpleName()); 74 if (resType != null) { 76 mResources.put(resType, resName2Id); 89 mProjectResources.put(value, Pair.of(resType, field.getName()));
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 108 bool initFromDirName(const char* dir, String8* resType); 121 String8 toDirName(const String8& resType) const; 149 const String8& resType) 151 , mResourceType(resType) 294 const String8& resType, 533 const String8& resType); 538 const String8& resType); 591 const String8& resType, 148 AaptFile(const String8& sourceFile, const AaptGroupEntry& groupEntry, const String8& resType) argument
|
H A D | AaptAssets.cpp | 399 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) argument 420 *resType = type; 425 AaptGroupEntry::toDirName(const String8& resType) const 427 String8 s = resType; 657 const AaptGroupEntry& kind, const String8& resType, 717 resType, fullResPaths, overwrite); 726 sp<AaptFile> file = new AaptFile(pathName, kind, resType); 905 const String8& resType) 928 file = new AaptFile(srcDir.appendPathCopy(filePath), entry, resType); 956 const sp<AaptFile>& file, const String8& resType) 656 slurpFullTree(Bundle* bundle, const String8& srcDir, const AaptGroupEntry& kind, const String8& resType, sp<FilePathStore>& fullResPaths, const bool overwrite) argument 902 addFile( const String8& filePath, const AaptGroupEntry& entry, const String8& srcDir, sp<AaptGroup>* outGroup, const String8& resType) argument 955 addResource(const String8& leafName, const String8& path, const sp<AaptFile>& file, const String8& resType) argument 1117 slurpFullTree(Bundle* bundle, const String8& srcDir, const AaptGroupEntry& kind, const String8& resType, sp<FilePathStore>& fullResPaths, const bool overwrite) argument 1161 String8 resType; local 1246 String8 resType; local [all...] |
H A D | Resource.cpp | 89 ResourceDirIterator(const sp<ResourceTypeSet>& set, const String8& resType) argument 90 : mResType(resType), mSet(set), mSetPos(0), mGroupPos(0) 300 const char* resType) 302 String8 type8(resType); 303 String16 type16(resType); 307 ResourceDirIterator it(set, String8(resType)); 407 String8 resType = files.valueAt(0)->getResourceType(); local 409 ssize_t index = resources->indexOfKey(resType); 418 resources->add(resType, set); 436 printf("Adding file %s in group %s resType 297 makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<ResourceTypeSet>& set, const char* resType) argument 592 applyFileOverlay(Bundle *bundle, const sp<AaptAssets>& assets, sp<ResourceTypeSet> *baseSet, const char *resType) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 264 ResourceType resType = ResourceType.getEnum(resTypeName); 265 if (resType != null) { 267 switch (resType) { 280 sRevRMap.put(resType, fullMap); 297 sRMap.put(value, Pair.of(resType, f.getName()));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 407 public Integer getId(ResourceType resType, String resName) { argument 408 return Bridge.getResourceId(resType, resName);
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); local 77 if (!resType) { 82 ResourceTableType* type = pkg->findOrCreateType(*resType);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | slice.cpp | 172 AVCResidualType resType; local 436 resType = AVC_Luma; 447 resType = AVC_Intra16AC; 458 status = enc_residual_block(encvid, resType, (b8 << 2) + b4, currMB);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 1056 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { argument 1057 if (getRenderResources().getFrameworkResource(resType, resName) != null) { 1060 return Bridge.getResourceId(resType, resName); 1066 public int getProjectResourceValue(ResourceType resType, String resName, int defValue) { argument 1069 if (getRenderResources().getProjectResource(resType, resName) != null) { 1071 Integer value = mLayoutlibCallback.getResourceId(resType, resName);
|