Home
last modified time | relevance | path

Searched refs:decoration (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_builtins.cpp61 const Decoration& decoration, in GetUnderlyingType() argument
64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType()
71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
268 const Decoration& decoration, const Instruction& inst);
269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
276 const Decoration& decoration, const Instruction& inst);
277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_decorations.cpp72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local
73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
74 return decoration.params()[0]; in GetArrayStride()
140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local
141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
142 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct()
144 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct()
145 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct()
339 for (auto& decoration : vstate.id_decorations(member_id)) { in getSize() local
340 if (SpvDecorationOffset == decoration.dec_type() && in getSize()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_builtins.cpp61 const Decoration& decoration, in GetUnderlyingType() argument
64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType()
71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
268 const Decoration& decoration, const Instruction& inst);
269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
276 const Decoration& decoration, const Instruction& inst);
277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_decorations.cpp72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local
73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
74 return decoration.params()[0]; in GetArrayStride()
140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local
141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
142 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct()
144 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct()
145 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct()
339 for (auto& decoration : vstate.id_decorations(member_id)) { in getSize() local
340 if (SpvDecorationOffset == decoration.dec_type() && in getSize()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_builtins.cpp61 const Decoration& decoration, in GetUnderlyingType() argument
64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType()
71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
263 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
272 const Decoration& decoration, const Instruction& inst);
273 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
275 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
277 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
280 const Decoration& decoration, const Instruction& inst);
281 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_decorations.cpp74 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local
75 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
76 return decoration.params()[0]; in GetArrayStride()
150 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local
151 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
152 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct()
154 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct()
155 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct()
374 for (auto decoration = member_decorations.begin; in getSize() local
375 decoration != member_decorations.end; ++decoration) { in getSize()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dmultichild_test.dart20 for (BoxDecoration decoration in expectedDecorations) {
23 expect(decoratedBox.decoration, equals(decoration));
48 DecoratedBox(decoration: kBoxDecorationA),
49 DecoratedBox(decoration: kBoxDecorationB),
50 DecoratedBox(decoration: kBoxDecorationC),
61 DecoratedBox(decoration: kBoxDecorationA),
62 DecoratedBox(decoration: kBoxDecorationC),
73 DecoratedBox(decoration: kBoxDecorationA),
74 DecoratedBox(key: Key('b'), decoration: kBoxDecorationB),
75 DecoratedBox(decoration: kBoxDecorationC),
[all …]
Drender_object_widget_test.dart38 …RenderDecoratedBox createRenderObject(BuildContext context) => RenderDecoratedBox(decoration: _get…
42 renderObject.decoration = _getDecoration(context);
48 await tester.pumpWidget(DecoratedBox(decoration: kBoxDecorationA));
54 expect(renderObject.decoration, equals(kBoxDecorationA));
57 await tester.pumpWidget(DecoratedBox(decoration: kBoxDecorationB));
62 expect(renderObject.decoration, equals(kBoxDecorationB));
74 expect(renderObject.decoration, equals(kBoxDecorationA));
79 expect(child.decoration, equals(kBoxDecorationB));
90 expect(renderObject.decoration, equals(kBoxDecorationA));
96 decoration: kBoxDecorationA,
[all …]
Dstateful_component_test.dart21 expect(renderObject.decoration, equals(expectedDecoration));
26 left: DecoratedBox(decoration: kBoxDecorationA),
27 right: DecoratedBox(decoration: kBoxDecorationB),
35 left: DecoratedBox(decoration: kBoxDecorationB),
36 right: DecoratedBox(decoration: kBoxDecorationA),
50 left: DecoratedBox(decoration: kBoxDecorationA),
51 right: DecoratedBox(decoration: kBoxDecorationB),
63 right: const DecoratedBox(decoration: kBoxDecorationB),
Dtext_golden_test.dart18 decoration: const BoxDecoration(
45 decoration: const BoxDecoration(
167 decoration: const BoxDecoration(
251 decoration: const BoxDecoration(
279 decoration: const BoxDecoration(
309 decoration: const BoxDecoration(
340 decoration: const BoxDecoration(
395 decoration: const BoxDecoration(
432 decoration: const BoxDecoration(
494 decoration: const BoxDecoration(
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dink_decoration.dart109 /// Paints a decoration (which can be a simple color) on a [Material].
114 /// `decoration: BoxDecoration(color: color)`, which means you cannot supply
115 /// both a `color` and a `decoration` argument. If you want to have both a
116 /// `color` and a `decoration`, you can pass the color as the `color`
119 /// If there is no intention to render anything on this decoration, consider
125 Decoration decoration,
130 assert(decoration == null || decoration.debugAssertIsValid()),
131 assert(color == null || decoration == null,
132 'Cannot provide both a color and a decoration\n'
133 'The color argument is just a shorthand for "decoration: BoxDecoration(color: color)".'
[all …]
Dinput_decorator.dart594 @required _Decoration decoration,
600 }) : assert(decoration != null),
604 _decoration = decoration,
721 _Decoration get decoration => _decoration;
723 set decoration(_Decoration value) {
792 // Indicates that the decoration should be aligned to accommodate an outline
795 return !decoration.isCollapsed && decoration.border.isOutline;
892 EdgeInsets get contentPadding => decoration.contentPadding;
966 : decoration.floatingLabelHeight;
967 final double topHeight = decoration.border.isOutline
[all …]
Dtypography.dart269 …splay4', fontFamily: 'Roboto', inherit: true, color: Colors.black54, decoration: TextDecoration.…
270 …splay3', fontFamily: 'Roboto', inherit: true, color: Colors.black54, decoration: TextDecoration.…
271 …splay2', fontFamily: 'Roboto', inherit: true, color: Colors.black54, decoration: TextDecoration.…
272 …splay1', fontFamily: 'Roboto', inherit: true, color: Colors.black54, decoration: TextDecoration.…
273 …adline', fontFamily: 'Roboto', inherit: true, color: Colors.black87, decoration: TextDecoration.…
274 …tle', fontFamily: 'Roboto', inherit: true, color: Colors.black87, decoration: TextDecoration.…
275 …bhead', fontFamily: 'Roboto', inherit: true, color: Colors.black87, decoration: TextDecoration.…
276 …dy2', fontFamily: 'Roboto', inherit: true, color: Colors.black87, decoration: TextDecoration.…
277 …dy1', fontFamily: 'Roboto', inherit: true, color: Colors.black87, decoration: TextDecoration.…
278 …ption', fontFamily: 'Roboto', inherit: true, color: Colors.black54, decoration: TextDecoration.…
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dcircle_avatar_test.dart29 final BoxDecoration decoration = child.decoration;
30 expect(decoration.color, equals(backgroundColor));
51 final BoxDecoration decoration = child.decoration;
52 expect(decoration.color, equals(backgroundColor));
71 final BoxDecoration decoration = child.decoration;
72 expect(decoration.image.fit, equals(BoxFit.cover));
91 final BoxDecoration decoration = child.decoration;
92 expect(decoration.color, equals(fallback.primaryColorDark));
116 final BoxDecoration decoration = child.decoration;
117 expect(decoration.color, equals(theme.primaryColorLight));
[all …]
Ddivider_theme_test.dart72 final BoxDecoration decoration = container.decoration;
73 expect(decoration.border.bottom.width, 0.0);
76 expect(decoration.border.bottom.color, theme.dividerColor);
97 final BoxDecoration decoration = container.decoration;
98 expect(decoration.border.bottom.width, dividerTheme.thickness);
99 expect(decoration.border.bottom.color, dividerTheme.color);
132 final BoxDecoration decoration = container.decoration;
133 expect(decoration.border.bottom.width, thickness);
134 expect(decoration.border.bottom.color, color);
155 final BoxDecoration decoration = container.decoration;
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_variable_decoration_test.cc24 auto deco = p->decoration(); in TEST_F()
39 auto deco = p->decoration(); in TEST_F()
49 auto deco = p->decoration(); in TEST_F()
59 auto deco = p->decoration(); in TEST_F()
70 auto deco = p->decoration(); in TEST_F()
94 auto deco = p->decoration(); in TEST_P()
128 auto deco = p->decoration(); in TEST_F()
138 auto deco = p->decoration(); in TEST_F()
148 auto deco = p->decoration(); in TEST_F()
158 auto deco = p->decoration(); in TEST_F()
[all …]
Dparser_impl_function_decoration_test.cc26 auto deco = p->decoration(); in TEST_F()
46 auto deco = p->decoration(); in TEST_F()
68 auto deco = p->decoration(); in TEST_F()
91 auto deco = p->decoration(); in TEST_F()
115 auto deco = p->decoration(); in TEST_F()
125 auto deco = p->decoration(); in TEST_F()
135 auto deco = p->decoration(); in TEST_F()
145 auto deco = p->decoration(); in TEST_F()
155 auto deco = p->decoration(); in TEST_F()
165 auto deco = p->decoration(); in TEST_F()
[all …]
Dparser_impl_struct_member_decoration_test.cc24 auto deco = p->decoration(); in TEST_F()
40 auto deco = p->decoration(); in TEST_F()
50 auto deco = p->decoration(); in TEST_F()
60 auto deco = p->decoration(); in TEST_F()
71 auto deco = p->decoration(); in TEST_F()
82 auto deco = p->decoration(); in TEST_F()
98 auto deco = p->decoration(); in TEST_F()
108 auto deco = p->decoration(); in TEST_F()
118 auto deco = p->decoration(); in TEST_F()
129 auto deco = p->decoration(); in TEST_F()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp300 return m->decoration.alias; in get_name()
331 sanitize_identifier(m.decoration.alias, false, false); in fixup_reserved_names()
341 m.decoration.alias = name; in set_name()
355 void ParsedIR::set_decoration_string(ID id, Decoration decoration, const string &argument) in set_decoration_string() argument
357 auto &dec = meta[id].decoration; in set_decoration_string()
358 dec.decoration_flags.set(decoration); in set_decoration_string()
360 switch (decoration) in set_decoration_string()
371 void ParsedIR::set_decoration(ID id, Decoration decoration, uint32_t argument) in set_decoration() argument
373 auto &dec = meta[id].decoration; in set_decoration()
374 dec.decoration_flags.set(decoration); in set_decoration()
[all …]
Dspirv_cross_parsed_ir.hpp126 void set_decoration(ID id, spv::Decoration decoration, uint32_t argument = 0);
127 void set_decoration_string(ID id, spv::Decoration decoration, const std::string &argument);
128 bool has_decoration(ID id, spv::Decoration decoration) const;
129 uint32_t get_decoration(ID id, spv::Decoration decoration) const;
130 const std::string &get_decoration_string(ID id, spv::Decoration decoration) const;
132 void unset_decoration(ID id, spv::Decoration decoration);
137 …void set_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration, uint32_t argumen…
138 void set_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration,
140 uint32_t get_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const;
141 …:string &get_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration) const;
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dcontainer.dart32 /// decoration: BoxDecoration(
87 /// rules described above.) The [decoration] can implicitly increase the
96 /// [decoration] property.
103 /// The [decoration] and [position] arguments must not be null. By default the
104 /// decoration paints behind the child.
107 @required this.decoration,
110 }) : assert(decoration != null),
114 /// What decoration to paint.
117 final Decoration decoration;
119 /// Whether to paint the box decoration behind or in front of the child.
[all …]
/third_party/glslang/SPIRV/
DSpvPostProcess.cpp272 const auto function = [&](const std::unique_ptr<Instruction>& decoration) { in postProcess() argument
273 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess()
274 decoration.get()->getIdOperand(0) == typeId && in postProcess()
275 decoration.get()->getImmediateOperand(1) == c && in postProcess()
276 (decoration.get()->getImmediateOperand(2) == DecorationOffset || in postProcess()
277decoration.get()->getImmediateOperand(2) == DecorationMatrixStride)) { in postProcess()
278 alignment |= decoration.get()->getImmediateOperand(3); in postProcess()
287 const auto function = [&](const std::unique_ptr<Instruction>& decoration) { in postProcess() argument
288 if (decoration.get()->getOpCode() == OpDecorate && in postProcess()
289 decoration.get()->getIdOperand(0) == typeId && in postProcess()
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dbox_decoration_test.dart12 const BoxDecoration decoration = BoxDecoration(
16 final BoxPainter painter = decoration.createBoxPainter();
29 …expect(decoration.hitTest(size, const Offset(10.0, 10.0), textDirection: TextDirection.rtl), isTru…
30 …expect(decoration.hitTest(size, const Offset(990.0, 10.0), textDirection: TextDirection.rtl), isFa…
42 …expect(decoration.hitTest(size, const Offset(10.0, 10.0), textDirection: TextDirection.ltr), isFal…
43 …expect(decoration.hitTest(size, const Offset(990.0, 10.0), textDirection: TextDirection.ltr), isTr…
47 const BoxDecoration decoration = BoxDecoration(
58 final BoxPainter painter = decoration.createBoxPainter();
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddecoration_manager.cpp88 for (Instruction* decoration : group_decorations) { in RemoveDecorationsFrom()
89 if (!pred(*decoration)) group_decorations_to_keep.push_back(decoration); in RemoveDecorationsFrom()
137 for (Instruction* decoration : group_decorations_to_keep) { in RemoveDecorationsFrom()
140 decoration->Clone(module_->context())); in RemoveDecorationsFrom()
395 void DecorationManager::AddDecoration(uint32_t inst_id, uint32_t decoration) { in AddDecoration() argument
399 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}}); in AddDecoration()
402 void DecorationManager::AddDecorationVal(uint32_t inst_id, uint32_t decoration, in AddDecorationVal() argument
407 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddDecorationVal()
413 uint32_t decoration, in AddMemberDecoration() argument
419 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddMemberDecoration()
[all …]
/third_party/spirv-tools/source/opt/
Ddecoration_manager.cpp88 for (Instruction* decoration : group_decorations) { in RemoveDecorationsFrom()
89 if (!pred(*decoration)) group_decorations_to_keep.push_back(decoration); in RemoveDecorationsFrom()
137 for (Instruction* decoration : group_decorations_to_keep) { in RemoveDecorationsFrom()
140 decoration->Clone(module_->context())); in RemoveDecorationsFrom()
395 void DecorationManager::AddDecoration(uint32_t inst_id, uint32_t decoration) { in AddDecoration() argument
399 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}}); in AddDecoration()
402 void DecorationManager::AddDecorationVal(uint32_t inst_id, uint32_t decoration, in AddDecorationVal() argument
407 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddDecorationVal()
413 uint32_t decoration, in AddMemberDecoration() argument
419 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddMemberDecoration()
[all …]

12345678910>>...21