Home | History | Annotate | Download | only in aapt

Lines Matching defs:it

667  * A simple container that holds a resource type and name. It is ordered first by type then
740 * This string has a product other than 'default'. Do not add it,
741 * but record it so that if we do not see the same string with
752 * it matches. "default" also matches, but only if nothing
1930 // If a parent is explicitly specified, set it.
1977 // If a parent is explicitly specified, set it.
2256 // Text is not styled so it can be any type... let's figure it out.
2779 // okay, no specific localization found. it's possible that we are
2907 // and is the default config, then it is special. Otherwise
2908 // we want to add it with the config info.
3549 const Item& it = mBag.valueAt(i);
3550 if (it.isId) {
3611 Item& it = mBag.editValueAt(i);
3612 it.bagKeyId = table->getResId(key,
3613 it.isId ? &id16 : &attr16, NULL, &errorMsg);
3614 //printf("Bag key of %s: #%08x\n", String8(key).string(), it.bagKeyId);
3615 if (it.bagKeyId == 0) {
3616 it.sourcePos.error("Error: %s: %s '%s'.\n", errorMsg,
3617 String8(it.isId ? id16 : attr16).string(),
3630 Item& it = mItem;
3631 AccessorCookie ac(it.sourcePos, String8(mName), String8(it.value));
3632 if (!table->stringToValue(&it.parsedValue, strings,
3633 it.value, false, true, 0,
3634 &it.style, NULL, &ac, mItemFormat,
3642 it = mBag.editValueAt(i);
3643 AccessorCookie ac(it.sourcePos, String8(key), String8(it.value));
3644 if (!table->stringToValue(&it.parsedValue, strings,
3645 it.value, false, true, it.bagKeyId,
3646 &it.style, NULL, &ac, it.format,
3662 Item& it = mItem;
3663 if (it.parsedValue.dataType == Res_value::TYPE_STRING) {
3664 it.parsedValue.data = strings->mapOriginalPosToNewPos(it.parsedValue.data);
3669 Item& it = mBag.editValueAt(i);
3670 if (it.parsedValue.dataType == Res_value::TYPE_STRING) {
3671 it.parsedValue.data = strings->mapOriginalPosToNewPos(it.parsedValue.data);
3703 const Item& it = mItem;
3706 par.size = htods(it.parsedValue.size);
3707 par.dataType = it.parsedValue.dataType;
3708 par.res0 = it.parsedValue.res0;
3709 par.data = htodl(it.parsedValue.data);
3712 String8(mName).string(), it.parsedValue.dataType,
3713 it.parsedValue.data, par.res0);
3715 err = data->writeData(&par, it.parsedValue.size);
3720 amt += it.parsedValue.size;
3727 const Item& it = mBag.valueAt(i);
3728 items.add(it.bagKeyId, &it);
3744 const Item& it = *items.valueAt(i);
3746 map.name.ident = htodl(it.bagKeyId);
3747 map.value.size = htods(it.parsedValue.size);
3748 map.value.dataType = it.parsedValue.dataType;
3749 map.value.res0 = it.parsedValue.res0;
3750 map.value.data = htodl(it.parsedValue.data);
4199 // Add it to the new type.
4340 const Item& it = e->getBag().valueAt(i);
4341 if (it.bagKeyId == 0) {
4346 if (it.bagKeyId == attrID) {
4347 return ⁢
4478 // The source config came from this list, so it should be here.
4481 // The next configuration either only varies in sdkVersion, or it is completely different
4482 // and therefore incompatible. If it is incompatible, we must generate the versioned resource.