Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceRemapperTest.java57 …assertThat(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_one)).isEqualTo(ResourceI… in resourcesOfDifferentTypes_shouldHaveDifferentTypeSpaces()
58 …assertThat(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_one)).isEqualTo(ResourceI… in resourcesOfDifferentTypes_shouldHaveDifferentTypeSpaces()
60 …assertThat(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_two)).isNotEqualTo(Resour… in resourcesOfDifferentTypes_shouldHaveDifferentTypeSpaces()
61 …assertThat(ResourceIds.getTypeIdentifier(ThirdClass.raw.raw_two)).isNotEqualTo(ResourceIds.getType… in resourcesOfDifferentTypes_shouldHaveDifferentTypeSpaces()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceIdGenerator.java30 public int getTypeIdentifier() { in getTypeIdentifier() method in ResourceIdGenerator.TypeTracker
42 typeTracker = new TypeTracker(ResourceIds.getTypeIdentifier(resId)); in record()
54 …return ResourceIds.makeIdentifer(packageIdentifier, typeTracker.getTypeIdentifier(), typeTracker.g… in generate()
60 result = Math.max(result, typeTracker.getTypeIdentifier()); in getNextFreeTypeIdentifier()
DResourceIds.java15 public static int getTypeIdentifier(int resId) { in getTypeIdentifier() method in ResourceIds
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DResourceIdsTest.java28 assertThat(ResourceIds.getTypeIdentifier(0x01019876)).isEqualTo(0x01); in testGetTypeIdentifier()
29 assertThat(ResourceIds.getTypeIdentifier(0x7F781234)).isEqualTo(0x78); in testGetTypeIdentifier()