/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
D | ResTypeTest.java | 18 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/ |
D | ResourceTableFactory.java | 122 .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 …]
|
D | ResType.java | 6 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()
|
D | StaxArrayLoader.java | 13 …oader(PackageResourceTable resourceTable, String attrType, ResType arrayResType, final ResType sca… in StaxArrayLoader() 29 ResType resType = scalarResType == null ? ResType.inferType(buf.toString()) : scalarResType; in StaxArrayLoader()
|
D | TypedResource.java | 7 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/ |
D | ConverterTest.java | 13 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/glslang/src/Test/baseResults/ |
D | spv.sparseTexture.frag.out | 26 Name 35 "ResType" 30 Name 62 "ResType" 32 Name 77 "ResType" 36 Name 111 "ResType" 108 35(ResType): TypeStruct 6(int) 11(fvec4) 121 62(ResType): TypeStruct 6(int) 16(ivec4) 127 77(ResType): TypeStruct 6(int) 10(float) 139 111(ResType): TypeStruct 6(int) 21(ivec4) 216 36: 35(ResType) ImageSparseSampleImplicitLod 30 34 225 51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50 [all …]
|
D | spv.shaderImageFootprint.frag.out | 35 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 …]
|
D | spv.1.4.sparseTexture.frag.out | 22 Name 35 "ResType" 26 Name 50 "ResType" 30 Name 67 "ResType" 90 35(ResType): TypeStruct 6(int) 11(fvec4) 97 50(ResType): TypeStruct 6(int) 16(ivec4) 103 67(ResType): TypeStruct 6(int) 21(ivec4) 159 36: 35(ResType) ImageSparseSampleImplicitLod 30 34 168 51: 50(ResType) ImageSparseSampleImplicitLod 47 48 SignExtend 182 68: 67(ResType) ImageSparseSampleImplicitLod 64 65 ZeroExtend 196 79: 35(ResType) ImageSparseSampleExplicitLod 76 77 Lod 78 [all …]
|
D | spv.intOps.vert.out | 17 Name 31 "ResType" 20 Name 52 "ResType" 24 Name 73 "ResType" 28 Name 89 "ResType" 31 Name 105 "ResType" 34 Name 125 "ResType" 65 31(ResType): TypeStruct 24(ivec2) 24(ivec2) 69 52(ResType): TypeStruct 12(int) 12(int) 74 73(ResType): TypeStruct 13(ivec4) 13(ivec4) 78 89(ResType): TypeStruct 7(ivec4) 7(ivec4) [all …]
|
D | spv.sparseTextureClamp.frag.out | 26 Name 38 "ResType" 30 Name 67 "ResType" 32 Name 83 "ResType" 36 Name 161 "ResType" 92 38(ResType): TypeStruct 6(int) 11(fvec4) 105 67(ResType): TypeStruct 6(int) 16(ivec4) 111 83(ResType): TypeStruct 6(int) 10(float) 129 161(ResType): TypeStruct 6(int) 21(ivec4) 175 39: 38(ResType) ImageSparseSampleImplicitLod 30 34 MinLod 37 185 55: 38(ResType) ImageSparseSampleImplicitLod 48 52 Bias MinLod 54 53 [all …]
|
D | spv.textureGatherBiasLod.frag.out | 31 Name 104 "ResType" 89 104(ResType): TypeStruct 22(int) 7(fvec4) 158 105:104(ResType) ImageSparseGather 101 102 23 Bias 103 169 114:104(ResType) ImageSparseGather 111 112 39 Bias 113 180 123:104(ResType) ImageSparseGather 120 121 50 Bias 122 191 132:104(ResType) ImageSparseGather 129 130 50 Bias 131 202 141:104(ResType) ImageSparseGather 138 139 23 Bias ConstOffset 140 71 213 150:104(ResType) ImageSparseGather 147 148 39 Bias ConstOffset 149 78 224 159:104(ResType) ImageSparseGather 156 157 23 Bias ConstOffsets 158 90 235 168:104(ResType) ImageSparseGather 165 166 39 Bias ConstOffsets 167 90 [all …]
|
D | hlsl.intrinsic.frexp.vert.out | 137 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 …]
|
D | spv.float16Fetch.frag.out | 164 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 …]
|
D | hlsl.intrinsic.frexp.frag.out | 219 Name 41 "ResType" 221 Name 52 "ResType" 223 Name 65 "ResType" 225 Name 77 "ResType" 246 41(ResType): TypeStruct 6(float) 40(int) 249 52(ResType): TypeStruct 13(fvec2) 51(ivec2) 254 65(ResType): TypeStruct 20(fvec3) 64(ivec3) 258 77(ResType): TypeStruct 27(fvec4) 76(ivec4) 279 42: 41(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 39 293 53: 52(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 50 [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.sparseTexture.frag.out | 26 Name 35 "ResType" 30 Name 62 "ResType" 32 Name 77 "ResType" 36 Name 111 "ResType" 108 35(ResType): TypeStruct 6(int) 11(fvec4) 121 62(ResType): TypeStruct 6(int) 16(ivec4) 127 77(ResType): TypeStruct 6(int) 10(float) 139 111(ResType): TypeStruct 6(int) 21(ivec4) 216 36: 35(ResType) ImageSparseSampleImplicitLod 30 34 225 51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50 [all …]
|
D | spv.shaderImageFootprint.frag.out | 35 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 …]
|
D | spv.1.4.sparseTexture.frag.out | 22 Name 35 "ResType" 26 Name 50 "ResType" 30 Name 67 "ResType" 90 35(ResType): TypeStruct 6(int) 11(fvec4) 97 50(ResType): TypeStruct 6(int) 16(ivec4) 103 67(ResType): TypeStruct 6(int) 21(ivec4) 159 36: 35(ResType) ImageSparseSampleImplicitLod 30 34 168 51: 50(ResType) ImageSparseSampleImplicitLod 47 48 SignExtend 182 68: 67(ResType) ImageSparseSampleImplicitLod 64 65 ZeroExtend 196 79: 35(ResType) ImageSparseSampleExplicitLod 76 77 Lod 78 [all …]
|
D | spv.intOps.vert.out | 17 Name 31 "ResType" 20 Name 52 "ResType" 24 Name 73 "ResType" 28 Name 89 "ResType" 31 Name 105 "ResType" 34 Name 125 "ResType" 65 31(ResType): TypeStruct 24(ivec2) 24(ivec2) 69 52(ResType): TypeStruct 12(int) 12(int) 74 73(ResType): TypeStruct 13(ivec4) 13(ivec4) 78 89(ResType): TypeStruct 7(ivec4) 7(ivec4) [all …]
|
D | spv.sparseTextureClamp.frag.out | 26 Name 38 "ResType" 30 Name 67 "ResType" 32 Name 83 "ResType" 36 Name 161 "ResType" 92 38(ResType): TypeStruct 6(int) 11(fvec4) 105 67(ResType): TypeStruct 6(int) 16(ivec4) 111 83(ResType): TypeStruct 6(int) 10(float) 129 161(ResType): TypeStruct 6(int) 21(ivec4) 175 39: 38(ResType) ImageSparseSampleImplicitLod 30 34 MinLod 37 185 55: 38(ResType) ImageSparseSampleImplicitLod 48 52 Bias MinLod 54 53 [all …]
|
D | spv.textureGatherBiasLod.frag.out | 31 Name 104 "ResType" 89 104(ResType): TypeStruct 22(int) 7(fvec4) 158 105:104(ResType) ImageSparseGather 101 102 23 Bias 103 169 114:104(ResType) ImageSparseGather 111 112 39 Bias 113 180 123:104(ResType) ImageSparseGather 120 121 50 Bias 122 191 132:104(ResType) ImageSparseGather 129 130 50 Bias 131 202 141:104(ResType) ImageSparseGather 138 139 23 Bias ConstOffset 140 71 213 150:104(ResType) ImageSparseGather 147 148 39 Bias ConstOffset 149 78 224 159:104(ResType) ImageSparseGather 156 157 23 Bias ConstOffsets 158 90 235 168:104(ResType) ImageSparseGather 165 166 39 Bias ConstOffsets 167 90 [all …]
|
D | hlsl.intrinsic.frexp.vert.out | 137 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 …]
|
D | spv.float16Fetch.frag.out | 164 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 …]
|
D | hlsl.intrinsic.frexp.frag.out | 219 Name 41 "ResType" 221 Name 52 "ResType" 223 Name 65 "ResType" 225 Name 77 "ResType" 246 41(ResType): TypeStruct 6(float) 40(int) 249 52(ResType): TypeStruct 13(fvec2) 51(ivec2) 254 65(ResType): TypeStruct 20(fvec3) 64(ivec3) 258 77(ResType): TypeStruct 27(fvec4) 76(ivec4) 279 42: 41(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 39 293 53: 52(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 50 [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | ResourceParserTest.java | 29 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()
|