Home
last modified time | relevance | path

Searched refs:ResType (Results 1 – 25 of 101) sorted by relevance

12345

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DResTypeTest.java18 assertThat(ResType.inferFromValue("#802C76AD")).isEqualTo(ResType.COLOR); in testInferFromValue()
20 assertThat(ResType.inferFromValue("true")).isEqualTo(ResType.BOOLEAN); in testInferFromValue()
21 assertThat(ResType.inferFromValue("false")).isEqualTo(ResType.BOOLEAN); in testInferFromValue()
23 assertThat(ResType.inferFromValue("10dp")).isEqualTo(ResType.DIMEN); in testInferFromValue()
24 assertThat(ResType.inferFromValue("10sp")).isEqualTo(ResType.DIMEN); in testInferFromValue()
25 assertThat(ResType.inferFromValue("10pt")).isEqualTo(ResType.DIMEN); in testInferFromValue()
26 assertThat(ResType.inferFromValue("10px")).isEqualTo(ResType.DIMEN); in testInferFromValue()
27 assertThat(ResType.inferFromValue("10in")).isEqualTo(ResType.DIMEN); in testInferFromValue()
29 assertThat(ResType.inferFromValue("10")).isEqualTo(ResType.INTEGER); in testInferFromValue()
31 assertThat(ResType.inferFromValue("10.9")).isEqualTo(ResType.FRACTION); in testInferFromValue()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceTableFactory.java122 .addHandler("bool", new StaxValueLoader(resourceTable, "bool", ResType.BOOLEAN))
123 … .addHandler("item[@type='bool']", new StaxValueLoader(resourceTable, "bool", ResType.BOOLEAN))
124 .addHandler("color", new StaxValueLoader(resourceTable, "color", ResType.COLOR))
125 … .addHandler("item[@type='color']", new StaxValueLoader(resourceTable, "color", ResType.COLOR))
126 … .addHandler("drawable", new StaxValueLoader(resourceTable, "drawable", ResType.DRAWABLE))
127 …Handler("item[@type='drawable']", new StaxValueLoader(resourceTable, "drawable", ResType.DRAWABLE))
128 ….addHandler("item[@type='mipmap']", new StaxValueLoader(resourceTable, "mipmap", ResType.DRAWABLE))
129 .addHandler("dimen", new StaxValueLoader(resourceTable, "dimen", ResType.DIMEN))
130 … .addHandler("item[@type='dimen']", new StaxValueLoader(resourceTable, "dimen", ResType.DIMEN))
131 … .addHandler("integer", new StaxValueLoader(resourceTable, "integer", ResType.INTEGER))
[all …]
DResType.java6 public enum ResType { enum
28 public static ResType inferType(String itemString) { in inferType()
29 ResType itemResType = ResType.inferFromValue(itemString); in inferType()
30 if (itemResType == ResType.CHAR_SEQUENCE) { in inferType()
32 itemResType = ResType.STYLE; in inferType()
34 itemResType = ResType.NULL; in inferType()
46 public static ResType inferFromValue(String value) { in inferFromValue()
DStaxArrayLoader.java13 …oader(PackageResourceTable resourceTable, String attrType, ResType arrayResType, final ResType sca… in StaxArrayLoader()
29 ResType resType = scalarResType == null ? ResType.inferType(buf.toString()) : scalarResType; in StaxArrayLoader()
DTypedResource.java7 private final ResType resType;
10 public TypedResource(T data, ResType resType, XmlContext xmlContext) { in TypedResource()
20 public ResType getResType() { in getResType()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DConverterTest.java13 import org.robolectric.res.ResType;
32 …final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.CHAR_SEQUENCE, xmlCont… in fromCharSequence_asInt_shouldHandleSpacesInString()
33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100); in fromCharSequence_asInt_shouldHandleSpacesInString()
38 …final TypedResource<String> resource = new TypedResource<>(" Robolectric ", ResType.CHAR_SEQUENCE,… in fromCharSequence_asCharSequence_shouldHandleSpacesInString()
39 …assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robo… in fromCharSequence_asCharSequence_shouldHandleSpacesInString()
44 …final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.COLOR, xmlContext); in fromColor_asInt_shouldHandleSpacesInString()
45 assertThat(Converter.getConverter(ResType.COLOR).asInt(resource)).isEqualTo(-5592406); in fromColor_asInt_shouldHandleSpacesInString()
50 …final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.DRAWABLE, xmlConte… in fromDrawableValue_asInt_shouldHandleSpacesInString()
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406); in fromDrawableValue_asInt_shouldHandleSpacesInString()
56 … final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.INTEGER, xmlContext); in fromInt_asInt_shouldHandleSpacesInString()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.sparseTexture.frag.out26 Name 35 "ResType"
30 Name 62 "ResType"
32 Name 77 "ResType"
36 Name 111 "ResType"
112 35(ResType): TypeStruct 6(int) 11(fvec4)
125 62(ResType): TypeStruct 6(int) 16(ivec4)
131 77(ResType): TypeStruct 6(int) 10(float)
143 111(ResType): TypeStruct 6(int) 21(ivec4)
227 36: 35(ResType) ImageSparseSampleImplicitLod 30 34
236 51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50
[all …]
Dspv.1.4.sparseTexture.frag.out22 Name 35 "ResType"
26 Name 50 "ResType"
30 Name 67 "ResType"
97 35(ResType): TypeStruct 6(int) 11(fvec4)
104 50(ResType): TypeStruct 6(int) 16(ivec4)
110 67(ResType): TypeStruct 6(int) 21(ivec4)
166 36: 35(ResType) ImageSparseSampleImplicitLod 30 34
175 51: 50(ResType) ImageSparseSampleImplicitLod 47 48 SignExtend
189 68: 67(ResType) ImageSparseSampleImplicitLod 64 65 ZeroExtend
203 79: 35(ResType) ImageSparseSampleExplicitLod 76 77 Lod 78
[all …]
Dspv.shaderImageFootprint.frag.out35 Name 31 "ResType"
37 Name 78 "ResType"
39 Name 128 "ResType"
40 Name 178 "ResType"
42 Name 228 "ResType"
45 Name 280 "ResType"
46 Name 331 "ResType"
64 Name 393 "ResType"
65 Name 429 "ResType"
66 Name 478 "ResType"
[all …]
Dspv.intOps.vert.out17 Name 31 "ResType"
20 Name 52 "ResType"
24 Name 73 "ResType"
28 Name 89 "ResType"
31 Name 105 "ResType"
34 Name 125 "ResType"
80 31(ResType): TypeStruct 24(ivec2) 24(ivec2)
84 52(ResType): TypeStruct 12(int) 12(int)
89 73(ResType): TypeStruct 13(ivec4) 13(ivec4)
93 89(ResType): TypeStruct 7(ivec4) 7(ivec4)
[all …]
Dspv.sparseTextureClamp.frag.out26 Name 38 "ResType"
30 Name 67 "ResType"
32 Name 83 "ResType"
36 Name 161 "ResType"
97 38(ResType): TypeStruct 6(int) 11(fvec4)
110 67(ResType): TypeStruct 6(int) 16(ivec4)
116 83(ResType): TypeStruct 6(int) 10(float)
134 161(ResType): TypeStruct 6(int) 21(ivec4)
180 39: 38(ResType) ImageSparseSampleImplicitLod 30 34 MinLod 37
190 55: 38(ResType) ImageSparseSampleImplicitLod 48 52 Bias MinLod 54 53
[all …]
Dspv.textureGatherBiasLod.frag.out30 Name 104 "ResType"
94 104(ResType): TypeStruct 22(int) 7(fvec4)
163 105:104(ResType) ImageSparseGather 101 102 23 Bias 103
174 114:104(ResType) ImageSparseGather 111 112 39 Bias 113
185 123:104(ResType) ImageSparseGather 120 121 50 Bias 122
196 132:104(ResType) ImageSparseGather 129 130 50 Bias 131
207 141:104(ResType) ImageSparseGather 138 139 23 Bias ConstOffset 140 71
218 150:104(ResType) ImageSparseGather 147 148 39 Bias ConstOffset 149 78
229 159:104(ResType) ImageSparseGather 156 157 23 Bias ConstOffsets 158 90
240 168:104(ResType) ImageSparseGather 165 166 39 Bias ConstOffsets 167 90
[all …]
Dhlsl.intrinsic.frexp.vert.out137 Name 36 "ResType"
138 Name 46 "ResType"
139 Name 58 "ResType"
140 Name 69 "ResType"
156 36(ResType): TypeStruct 6(float) 35(int)
159 46(ResType): TypeStruct 13(fvec2) 45(ivec2)
164 58(ResType): TypeStruct 20(fvec3) 57(ivec3)
168 69(ResType): TypeStruct 27(fvec4) 68(ivec4)
180 37: 36(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 34
192 47: 46(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 44
[all …]
Dspv.float16Fetch.frag.out164 Name 3102 "ResType"
165 Name 3138 "ResType"
492 3102(ResType): TypeStruct 47(int) 7(f16vec4)
493 3138(ResType): TypeStruct 47(int) 6(float16_t)
4053 3103:3102(ResType) ImageSparseSampleImplicitLod 3100 3101
4060 3109:3102(ResType) ImageSparseSampleImplicitLod 3106 3107 Bias 3108
4066 3114:3102(ResType) ImageSparseSampleImplicitLod 3112 3113
4073 3120:3102(ResType) ImageSparseSampleImplicitLod 3117 3118 Bias 3119
4079 3125:3102(ResType) ImageSparseSampleImplicitLod 3123 3124
4086 3131:3102(ResType) ImageSparseSampleImplicitLod 3128 3129 Bias 3130
[all …]
Dspv.imageLoadStoreLod.frag.out32 Name 65 "ResType"
45 Name 136 "ResType"
121 65(ResType): TypeStruct 16(int) 62(ivec4)
155 136(ResType): TypeStruct 16(int) 85(i64vec4)
188 66: 65(ResType) ImageSparseRead 61 40 Lod 18
193 73: 65(ResType) ImageSparseRead 72 40 Lod 18
233 137:136(ResType) ImageSparseRead 134 40 Lod 18
239 145:136(ResType) ImageSparseRead 143 40 Lod 18
/external/deqp-deps/glslang/Test/baseResults/
Dspv.sparseTexture.frag.out26 Name 35 "ResType"
30 Name 62 "ResType"
32 Name 77 "ResType"
36 Name 111 "ResType"
115 35(ResType): TypeStruct 6(int) 11(fvec4)
128 62(ResType): TypeStruct 6(int) 16(ivec4)
134 77(ResType): TypeStruct 6(int) 10(float)
146 111(ResType): TypeStruct 6(int) 21(ivec4)
223 36: 35(ResType) ImageSparseSampleImplicitLod 30 34
232 51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50
[all …]
Dspv.1.4.sparseTexture.frag.out22 Name 35 "ResType"
26 Name 50 "ResType"
30 Name 67 "ResType"
97 35(ResType): TypeStruct 6(int) 11(fvec4)
104 50(ResType): TypeStruct 6(int) 16(ivec4)
110 67(ResType): TypeStruct 6(int) 21(ivec4)
166 36: 35(ResType) ImageSparseSampleImplicitLod 30 34
175 51: 50(ResType) ImageSparseSampleImplicitLod 47 48 SignExtend
189 68: 67(ResType) ImageSparseSampleImplicitLod 64 65 ZeroExtend
203 79: 35(ResType) ImageSparseSampleExplicitLod 76 77 Lod 78
[all …]
Dspv.shaderImageFootprint.frag.out35 Name 31 "ResType"
37 Name 78 "ResType"
39 Name 128 "ResType"
40 Name 178 "ResType"
42 Name 228 "ResType"
45 Name 280 "ResType"
46 Name 331 "ResType"
64 Name 393 "ResType"
65 Name 429 "ResType"
66 Name 478 "ResType"
[all …]
Dspv.intOps.vert.out17 Name 31 "ResType"
20 Name 52 "ResType"
24 Name 73 "ResType"
28 Name 89 "ResType"
31 Name 105 "ResType"
34 Name 125 "ResType"
80 31(ResType): TypeStruct 24(ivec2) 24(ivec2)
84 52(ResType): TypeStruct 12(int) 12(int)
89 73(ResType): TypeStruct 13(ivec4) 13(ivec4)
93 89(ResType): TypeStruct 7(ivec4) 7(ivec4)
[all …]
Dspv.sparseTextureClamp.frag.out26 Name 38 "ResType"
30 Name 67 "ResType"
32 Name 83 "ResType"
36 Name 161 "ResType"
97 38(ResType): TypeStruct 6(int) 11(fvec4)
110 67(ResType): TypeStruct 6(int) 16(ivec4)
116 83(ResType): TypeStruct 6(int) 10(float)
134 161(ResType): TypeStruct 6(int) 21(ivec4)
180 39: 38(ResType) ImageSparseSampleImplicitLod 30 34 MinLod 37
190 55: 38(ResType) ImageSparseSampleImplicitLod 48 52 Bias MinLod 54 53
[all …]
Dspv.textureGatherBiasLod.frag.out30 Name 104 "ResType"
94 104(ResType): TypeStruct 22(int) 7(fvec4)
163 105:104(ResType) ImageSparseGather 101 102 23 Bias 103
174 114:104(ResType) ImageSparseGather 111 112 39 Bias 113
185 123:104(ResType) ImageSparseGather 120 121 50 Bias 122
196 132:104(ResType) ImageSparseGather 129 130 50 Bias 131
207 141:104(ResType) ImageSparseGather 138 139 23 Bias ConstOffset 140 71
218 150:104(ResType) ImageSparseGather 147 148 39 Bias ConstOffset 149 78
229 159:104(ResType) ImageSparseGather 156 157 23 Bias ConstOffsets 158 90
240 168:104(ResType) ImageSparseGather 165 166 39 Bias ConstOffsets 167 90
[all …]
Dhlsl.intrinsic.frexp.vert.out137 Name 36 "ResType"
138 Name 46 "ResType"
139 Name 58 "ResType"
140 Name 69 "ResType"
156 36(ResType): TypeStruct 6(float) 35(int)
159 46(ResType): TypeStruct 13(fvec2) 45(ivec2)
164 58(ResType): TypeStruct 20(fvec3) 57(ivec3)
168 69(ResType): TypeStruct 27(fvec4) 68(ivec4)
180 37: 36(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 34
192 47: 46(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 44
[all …]
Dspv.float16Fetch.frag.out164 Name 3102 "ResType"
165 Name 3138 "ResType"
492 3102(ResType): TypeStruct 47(int) 7(f16vec4)
493 3138(ResType): TypeStruct 47(int) 6(float16_t)
4043 3103:3102(ResType) ImageSparseSampleImplicitLod 3100 3101
4050 3109:3102(ResType) ImageSparseSampleImplicitLod 3106 3107 Bias 3108
4056 3114:3102(ResType) ImageSparseSampleImplicitLod 3112 3113
4063 3120:3102(ResType) ImageSparseSampleImplicitLod 3117 3118 Bias 3119
4069 3125:3102(ResType) ImageSparseSampleImplicitLod 3123 3124
4076 3131:3102(ResType) ImageSparseSampleImplicitLod 3128 3129 Bias 3130
[all …]
Dspv.imageLoadStoreLod.frag.out32 Name 65 "ResType"
45 Name 136 "ResType"
121 65(ResType): TypeStruct 16(int) 62(ivec4)
155 136(ResType): TypeStruct 16(int) 85(i64vec4)
188 66: 65(ResType) ImageSparseRead 61 40 Lod 18
193 73: 65(ResType) ImageSparseRead 72 40 Lod 18
233 137:136(ResType) ImageSparseRead 134 40 Lod 18
239 145:136(ResType) ImageSparseRead 143 40 Lod 18
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceParserTest.java29 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE); in shouldLoadDrawableXmlResources()
38 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE); in shouldLoadDrawableBitmapResources()
47 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE); in shouldLoadDrawableBitmapResourcesDefinedByItemTag()
56 assertThat(value.getResType()).isEqualTo(ResType.CHAR_SEQUENCE); in shouldLoadIdResourcesDefinedByItemTag()

12345