Home
last modified time | relevance | path

Searched refs:bag_entry (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution.java23 private final ResTable.bag_entry[] bag_entries;
26 public BagAttributeFinder(ResTable.bag_entry[] bag_entries, int bagEndIndex) { in BagAttributeFinder()
31 public ResTable.bag_entry find(int curIdent) { in find()
95 final Ref<ResTable.bag_entry[]> defStyleStart = new Ref<>(null); in ResolveAttrs()
131 final ResTable.bag_entry defStyleEntry = defStyleAttrFinder.find(curIdent); in ResolveAttrs()
270 final Ref<ResTable.bag_entry[]> defStyleAttrStart = new Ref<>(null); in ApplyStyle()
277 final ResTable.bag_entry defStyleAttrEnd = null; in ApplyStyle()
282 final Ref<ResTable.bag_entry[]> styleAttrStart = new Ref<>(null); in ApplyStyle()
289 final ResTable.bag_entry styleAttrEnd = null; in ApplyStyle()
329 final ResTable.bag_entry styleAttrEntry = styleAttrFinder.find(curIdent); in ApplyStyle()
[all …]
DResTableTheme.java22 import org.robolectric.res.android.ResTable.bag_entry;
175 final Ref<bag_entry[]> bag = new Ref<>(null); in applyStyle()
199 bag_entry bag_entry = bag.get()[bagIndex]; in applyStyle() local
200 final int attrRes = bag_entry.map.name.ident; in applyStyle()
255 System.out.println(" " + outName + "(" + attrRes + ")" + " := " + bag_entry.map.value); in applyStyle()
265 curEntry.stringBlock = bag_entry.stringBlock; in applyStyle()
267 curEntry.value = new Res_value(bag_entry.map.value); in applyStyle()
DResTable.java2687 public static class bag_entry { class
2704 public int lockBag(int resID, Ref<bag_entry[]> outBag) { in lockBag()
2715 public int getBagLocked(int resID, Ref<bag_entry[]> outBag, Ref<Integer> outTypeSpecFlags) { in getBagLocked()
2833 final Ref<bag_entry[]> parentBag = new Ref<>(null); in getBagLocked()
2867 bag_entry[] entries = set.bag_entries; in getBagLocked()
2944 bag_entry cur = entries[curEntry]; in getBagLocked()
2946 cur = entries[curEntry] = new bag_entry(); in getBagLocked()
2994 public void unlockBag(Ref<bag_entry[]> bag) { in unlockBag()
3004 bag_entry[] bag_entries;
3007 bag_entries = new bag_entry[entryCount]; in bag_set()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java58 import org.robolectric.res.android.ResTable.bag_entry;
582 final Ref<bag_entry[]> entryRef = new Ref<>(null); in getResourceBagValues()
587 bag_entry[] bag_entries = entryRef.get(); in getResourceBagValues()
589 bag_entry entry = bag_entries[i]; in getResourceBagValues()
635 final Ref<bag_entry[]> entryRef = new Ref<>(null); in loadResourceBagValueInternal()
639 bag_entry[] bag_entries = entryRef.get(); in loadResourceBagValueInternal()
641 bag_entry entry = bag_entries[i]; in loadResourceBagValueInternal()
856 final Ref<bag_entry[]> defStyleEnt = new Ref<>(null); in getArraySize()
892 final Ref<bag_entry[]> arrayEnt = new Ref<>(null); in retrieveArray()
901 bag_entry curArrayEnt = arrayEnt.get()[destOffset / STYLE_NUM_ENTRIES]; in retrieveArray()
[all …]