Home | History | Annotate | Download | only in aapt

Lines Matching refs:String16

110     ResourceTable(Bundle* bundle, const String16& assetsPackage);
115 const String16& package,
116 const String16& type,
117 const String16& name,
121 const String16& package,
122 const String16& type,
123 const String16& name,
124 const String16& value,
132 const String16& package,
133 const String16& type,
134 const String16& name,
135 const String16& bagParent,
142 const String16& package,
143 const String16& type,
144 const String16& name,
145 const String16& bagParent,
146 const String16& bagKey,
147 const String16& value,
154 bool hasBagOrEntry(const String16& package,
155 const String16& type,
156 const String16& name) const;
158 bool hasBagOrEntry(const String16& package,
159 const String16& type,
160 const String16& name,
163 bool hasBagOrEntry(const String16& ref,
164 const String16* defType = NULL,
165 const String16* defPackage = NULL);
167 bool appendComment(const String16& package,
168 const String16& type,
169 const String16& name,
170 const String16& comment,
173 bool appendTypeComment(const String16& package,
174 const String16& type,
175 const String16& name,
176 const String16& comment);
179 const String16& package, const String16& type, const String16& name);
198 uint32_t getResId(const String16& package,
199 const String16& type,
200 const String16& name,
203 uint32_t getResId(const String16& ref,
204 const String16* defType = NULL,
205 const String16* defPackage = NULL,
209 static bool isValidResourceName(const String16& s);
212 const String16& str,
216 String16* outStr = NULL, void* accessorCookie = NULL,
223 void addLocalization(const String16& name, const String8& locale);
228 void writePublicDefinitions(const String16& package, FILE* fp);
230 virtual uint32_t getCustomResource(const String16& package,
231 const String16& type,
232 const String16& name) const;
233 virtual uint32_t getCustomResourceWithCreation(const String16& package,
234 const String16& type,
235 const String16& name,
241 virtual bool getAttributeKeys(uint32_t attrID, Vector<String16>* outKeys);
261 const String16& _value,
284 String16 value;
294 Entry(const String16& name, const SourcePos& pos)
306 String16 getName() const { return mName; }
309 void setParent(const String16& parent) { mParent = parent; }
310 String16 getParent() const { return mParent; }
317 const String16& value,
323 const String16& key, const String16& value,
333 const KeyedVector<String16, Item>& getBag() const { return mBag; }
336 const String16& package);
339 const String16& package);
351 String16 mName;
352 String16 mParent;
356 KeyedVector<String16, Item> mBag;
364 ConfigList(const String16& name, const SourcePos& pos)
368 String16 getName() const { return mName; }
371 void appendComment(const String16& comment, bool onlyIfEmpty = false);
372 const String16& getComment() const { return mComment; }
374 void appendTypeComment(const String16& comment);
375 const String16& getTypeComment() const { return mTypeComment; }
392 const String16 mName;
394 String16 mComment;
395 String16 mTypeComment;
406 const String16& _comment,
422 String16 comment;
428 Type(const String16
434 const String16& name,
437 void canAddEntry(const String16& name);
439 String16 getName() const { return mName; }
440 sp<Entry> getEntry(const String16& entry,
458 const DefaultKeyedVector<String16, sp<ConfigList> >& getConfigs() const { return mConfigs; }
461 const SortedVector<String16>& getCanAddEntries() const { return mCanAddEntries; }
465 String16 mName;
467 DefaultKeyedVector<String16, Public> mPublic;
469 DefaultKeyedVector<String16, sp<ConfigList> > mConfigs;
471 SortedVector<String16> mCanAddEntries;
479 Package(const String16& name, ssize_t includedId=-1);
482 String16 getName() const { return mName; }
483 sp<Type> getType(const String16& type,
490 uint32_t indexOfTypeString(const String16& s) const { return mTypeStringsMapping.valueFor(s); }
495 uint32_t indexOfKeyString(const String16& s) const { return mKeyStringsMapping.valueFor(s); }
501 const DefaultKeyedVector<String16, sp<Type> >& getTypes() const { return mTypes; }
507 DefaultKeyedVector<String16, uint32_t>* mappings);
509 const String16 mName;
511 DefaultKeyedVector<String16, sp<Type> > mTypes;
517 DefaultKeyedVector<String16, uint32_t> mTypeStringsMapping;
518 DefaultKeyedVector<String16, uint32_t> mKeyStringsMapping;
522 void writePublicDefinitions(const String16& package, FILE* fp, bool pub);
523 sp<Package> getPackage(const String16& package);
524 sp<Type> getType(const String16& package,
525 const String16& type,
528 sp<Entry> getEntry(const String16& package,
529 const String16& type,
530 const String16& name,
542 String16 mAssetsPackage;
544 DefaultKeyedVector<String16, sp<Package> > mPackages;
554 map<String16, set<String8> > mLocalizations;