Lines Matching refs:it

303     ResourceDirIterator it(set, String8(resType));
305 while ((res=it.next()) == NO_ERROR) {
308 it.getBaseName().string(), it.getFile()->getPrintableSource().string());
310 String16 baseName(it.getBaseName());
318 it.getPath().string());
323 String8 resPath = it.getPath();
325 status_t result = table->addEntry(SourcePos(it.getPath(), 0),
331 &it.getParams());
335 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8);
371 ResourceDirIterator it(set, String8(type));
372 while ((res=it.next()) == NO_ERROR) {
374 bundle, assets, it.getFile(), &hasErrors);
665 // didn't find a match fall through and add it..
706 * If replaceExisting is true, the attribute will be updated if it already exists.
1147 // which it iterates (asset).
1276 // Set the private symbols package if it was declared.
1467 ResourceDirIterator it(resources->valueAt(index), String8("values"));
1469 while ((res=it.next()) == NO_ERROR) {
1470 const sp<AaptFile>& file = it.getFile();
1471 res = compileResourceFile(bundle, assets, file, it.getParams(),
1516 ResourceDirIterator it(layouts, String8("layout"));
1517 while ((err=it.next()) == NO_ERROR) {
1518 String8 src = it.getFile()->getPrintableSource();
1519 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1520 it.getFile(), &table, xmlFlags);
1522 if (err == NO_ERROR && it.getFile()->hasData()) {
1524 block.setTo(it.getFile()->getData(), it.getFile()->getSize(), true);
1538 ResourceDirIterator it(anims, String8("anim"));
1539 while ((err=it.next()) == NO_ERROR) {
1540 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1541 it.getFile(), &table, xmlFlags);
1554 ResourceDirIterator it(animators, String8("animator"));
1555 while ((err=it.next()) == NO_ERROR) {
1556 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1557 it.getFile(), &table, xmlFlags);
1570 ResourceDirIterator it(interpolators, String8("interpolator"));
1571 while ((err=it.next()) == NO_ERROR) {
1572 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1573 it.getFile(), &table, xmlFlags);
1586 ResourceDirIterator it(transitions, String8("transition"));
1587 while ((err=it.next()) == NO_ERROR) {
1588 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1589 it.getFile(), &table, xmlFlags);
1602 ResourceDirIterator it(xmls, String8("xml"));
1603 while ((err=it.next()) == NO_ERROR) {
1604 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1605 it.getFile(), &table, xmlFlags);
1618 ResourceDirIterator it(drawables, String8("drawable"));
1619 while ((err=it.next()) == NO_ERROR) {
1620 err = postProcessImage(bundle, assets, &table, it.getFile());
1633 ResourceDirIterator it(mipmaps, String8("mipmap"));
1634 while ((err=it.next()) == NO_ERROR) {
1635 err = postProcessImage(bundle, assets, &table, it.getFile());
1648 ResourceDirIterator it(colors, String8("color"));
1649 while ((err=it.next()) == NO_ERROR) {
1650 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1651 it.getFile(), &table, xmlFlags);
1664 ResourceDirIterator it(menus, String8("menu"));
1665 while ((err=it.next()) == NO_ERROR) {
1666 String8 src = it.getFile()->getPrintableSource();
1667 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1668 it.getFile(), &table, xmlFlags);
1669 if (err == NO_ERROR && it.getFile()->hasData()) {
1671 block.setTo(it.getFile()->getData(), it.getFile()->getSize(), true);
1685 ResourceDirIterator it(fonts, String8("font"));
1686 while ((err=it.next()) == NO_ERROR) {
1688 if (it.getFile()->getPath().getPathExtension() == ".xml") {
1689 String8 src = it.getFile()->getPrintableSource();
1690 err = compileXmlFile(bundle, assets, String16(it.getBaseName()),
1691 it.getFile(), &table, xmlFlags);
1844 // Maybe it's in the base?
1911 // parse it with the comments intact, so that we can use them to
2879 " * aapt tool from the resource data it found. It\n"
2916 // as a target in the dependency file right next to it.
3172 // If there is no '.', we'll assume that it's one of the built in names.