Package org.robolectric.res.android
Class ResTable
java.lang.Object
org.robolectric.res.android.ResTable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.robolectric.res.android.ResTable.bag_set
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getBagLocked
(int resID, Ref<ResTable.bag_entry[]> outBag, Ref<Integer> outTypeSpecFlags) int
int
getBasePackageId
(int idx) getBasePackageName
(int idx) getDynamicRefTableForCookie
(int cookie) final int
getResource
(int resID, Ref<ResourceTypes.Res_value> outValue, boolean mayBeBag, int density, Ref<Integer> outSpecFlags, Ref<ResTable_config> outConfig) boolean
getResourceName
(int resID, boolean allowUtf8, ResTable.ResourceName outName) int
getTableCookie
(int index) int
getTableStringBlock
(int index) int
identifierForName
(String name, String type, String packageName) int
identifierForName
(String nameString, String type, String packageName, Ref<Integer> outTypeSpecFlags) void
lock()
int
lockBag
(int resID, Ref<ResTable.bag_entry[]> outBag) static int
Res_GETTYPE
(int id) final int
resolveReference
(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef) final int
resolveReference
(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags) final int
resolveReference
(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags, Ref<ResTable_config> outConfig) void
unlock()
void
unlockBag
(Ref<ResTable.bag_entry[]> bag)
-
Field Details
-
SENTINEL_BAG_SET
public static final org.robolectric.res.android.ResTable.bag_set SENTINEL_BAG_SET
-
-
Constructor Details
-
ResTable
public ResTable()
-
-
Method Details
-
Res_GETTYPE
public static int Res_GETTYPE(int id) -
getResource
public final int getResource(int resID, Ref<ResourceTypes.Res_value> outValue, boolean mayBeBag, int density, Ref<Integer> outSpecFlags, Ref<ResTable_config> outConfig) -
resolveReference
public final int resolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef) -
resolveReference
-
resolveReference
public final int resolveReference(Ref<ResourceTypes.Res_value> value, int blockIndex, Ref<Integer> outLastRef, Ref<Integer> inoutTypeSpecFlags, Ref<ResTable_config> outConfig) -
getTableCookie
public int getTableCookie(int index) -
identifierForName
-
identifierForName
-
getBasePackageCount
public int getBasePackageCount() -
getBasePackageName
-
getBasePackageId
public int getBasePackageId(int idx) -
getTableCount
public int getTableCount() -
getTableStringBlock
-
getDynamicRefTableForCookie
-
getResourceName
-
lock
public void lock() -
unlock
public void unlock() -
lockBag
-
getBagLocked
-
unlockBag
-