Package org.robolectric.res.android
Class ResTable
java.lang.Object
org.robolectric.res.android.ResTable
public class ResTable extends Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classResTable.bag_entrystatic classResTable.Entrystatic classResTable.Headerstatic classResTable.Packagestatic classResTable.PackageGroupstatic classResTable.ResourceNamestatic classResTable.Type
- 
Field SummaryFields Modifier and Type Field Description static org.robolectric.res.android.ResTable.bag_setSENTINEL_BAG_SET
- 
Constructor SummaryConstructors Constructor Description ResTable()
- 
Method SummaryModifier and Type Method Description intgetBagLocked(int resID, Ref<ResTable.bag_entry[]> outBag, Ref<Integer> outTypeSpecFlags)intgetBasePackageCount()intgetBasePackageId(int idx)StringgetBasePackageName(int idx)DynamicRefTablegetDynamicRefTableForCookie(int cookie)intgetResource(int resID, Ref<ResourceTypes.Res_value> outValue, boolean mayBeBag, int density, Ref<Integer> outSpecFlags, Ref<ResTable_config> outConfig)booleangetResourceName(int resID, boolean allowUtf8, ResTable.ResourceName outName)intgetTableCookie(int index)intgetTableCount()ResStringPoolgetTableStringBlock(int index)intidentifierForName(String name, String type, String packageName)intidentifierForName(String nameString, String type, String packageName, Ref<Integer> outTypeSpecFlags)voidlock()intlockBag(int resID, Ref<ResTable.bag_entry[]> outBag)static intRes_GETTYPE(int id)intresolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef)intresolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags)intresolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags, Ref<ResTable_config> outConfig)voidunlock()voidunlockBag(Ref<ResTable.bag_entry[]> bag)
- 
Field Details- 
SENTINEL_BAG_SETpublic static final org.robolectric.res.android.ResTable.bag_set SENTINEL_BAG_SET
 
- 
- 
Constructor Details- 
ResTablepublic ResTable()
 
- 
- 
Method Details- 
Res_GETTYPEpublic static int Res_GETTYPE(int id)
- 
getResourcepublic final int getResource(int resID, Ref<ResourceTypes.Res_value> outValue, boolean mayBeBag, int density, Ref<Integer> outSpecFlags, Ref<ResTable_config> outConfig)
- 
resolveReferencepublic final int resolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef)
- 
resolveReference
- 
resolveReferencepublic final int resolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags, Ref<ResTable_config> outConfig)
- 
getTableCookiepublic int getTableCookie(int index)
- 
identifierForName
- 
identifierForName
- 
getBasePackageCountpublic int getBasePackageCount()
- 
getBasePackageName
- 
getBasePackageIdpublic int getBasePackageId(int idx)
- 
getTableCountpublic int getTableCount()
- 
getTableStringBlock
- 
getDynamicRefTableForCookie
- 
getResourceName
- 
lockpublic void lock()
- 
unlockpublic void unlock()
- 
lockBag
- 
getBagLockedpublic int getBagLocked(int resID, Ref<ResTable.bag_entry[]> outBag, Ref<Integer> outTypeSpecFlags)
- 
unlockBag
 
-