Home
last modified time | relevance | path

Searched refs:Axis (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/boost/boost/histogram/axis/
Dtraits.hpp33 template <class Axis>
36 std::remove_cv_t<std::remove_reference_t<detail::arg_type<decltype(&Axis::index)>>>;
39 template <class Axis>
40 auto traits_options(priority<2>) -> axis::option::bitset<Axis::options()>;
42 template <class Axis>
43 auto traits_options(priority<1>) -> decltype(&Axis::update, axis::option::growth_t{});
45 template <class Axis>
48 template <class Axis>
49 auto traits_is_inclusive(priority<1>) -> std::integral_constant<bool, Axis::inclusive()>;
51 template <class Axis>
[all …]
Diterator.hpp18 template <class Axis>
19 class iterator : public detail::iterator_adaptor<iterator<Axis>, index_type,
20 decltype(std::declval<Axis>().bin(0))> {
23 iterator(const Axis& axis, index_type idx) in iterator()
30 const Axis& axis_;
Dinterval_view.hpp21 template <class Axis>
24 interval_view(const Axis& axis, index_type idx) : axis_(axis), idx_(idx) {} in interval_view()
26 interval_view(Axis&& axis, index_type idx) = delete;
48 const Axis& axis_;
/third_party/boost/boost/histogram/
Dmake_histogram.hpp33 template <class Storage, class Axis, class... Axes,
35 class = detail::requires_axis<Axis>>
36 auto make_histogram_with(Storage&& storage, Axis&& axis, Axes&&... axes) { in make_histogram_with()
37 auto a = std::make_tuple(std::forward<Axis>(axis), std::forward<Axes>(axes)...); in make_histogram_with()
48 template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
49 auto make_histogram(Axis&& axis, Axes&&... axes) { in make_histogram()
50 return make_histogram_with(default_storage(), std::forward<Axis>(axis), in make_histogram()
59 template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
60 auto make_weighted_histogram(Axis&& axis, Axes&&... axes) { in make_weighted_histogram()
61 return make_histogram_with(weight_storage(), std::forward<Axis>(axis), in make_weighted_histogram()
Dmake_profile.hpp31 template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
32 auto make_profile(Axis&& axis, Axes&&... axes) { in make_profile()
33 return make_histogram_with(profile_storage(), std::forward<Axis>(axis), in make_profile()
42 template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
43 auto make_weighted_profile(Axis&& axis, Axes&&... axes) { in make_weighted_profile()
44 return make_histogram_with(weighted_profile_storage(), std::forward<Axis>(axis), in make_weighted_profile()
Dostream.hpp130 template <class OStream, class Axis>
131 auto ostream_bin(OStream& os, const Axis& ax, axis::index_type i, std::true_type, in ostream_bin()
142 template <class OStream, class Axis>
143 auto ostream_bin(OStream& os, const Axis& ax, axis::index_type i, std::false_type, in ostream_bin()
159 template <class OStream, class Axis, class B>
160 void ostream_bin(OStream& os, const Axis&, axis::index_type i, B, priority<0>) { in ostream_bin() argument
182 template <class OStream, class Axis>
183 void ostream_head(OStream& os, const Axis& ax, int index, double val) { in ostream_head()
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dwrap.dart112 Axis direction = Axis.horizontal,
139 /// For example, if [direction] is [Axis.horizontal], the default, the
143 Axis get direction => _direction;
144 Axis _direction;
145 set direction (Axis value) {
245 /// [direction] is [Axis.horizontal], then the children within each
269 /// If the [direction] is [Axis.horizontal], this controls the order in which
274 /// If the [direction] is [Axis.horizontal], and either the
278 /// If the [direction] is [Axis.vertical], this controls the order in
284 /// If the [direction] is [Axis.vertical], and either the
[all …]
Dflex.dart191 bool _startIsTopLeft(Axis direction, TextDirection textDirection, VerticalDirection verticalDirecti…
195 case Axis.horizontal:
203 case Axis.vertical:
273 Axis direction = Axis.horizontal,
295 Axis get direction => _direction;
296 Axis _direction;
297 set direction(Axis value) {
307 /// If the [direction] is [Axis.horizontal], and the [mainAxisAlignment] is
311 /// If the [direction] is [Axis.vertical], and the [mainAxisAlignment] is
346 /// If the [direction] is [Axis.horizontal], and the [crossAxisAlignment] is
[all …]
Dlist_body.dart62 Axis get mainAxis => axisDirectionToAxis(axisDirection);
68 case Axis.horizontal:
72 case Axis.vertical:
87 case Axis.horizontal:
91 case Axis.vertical:
213 case Axis.horizontal:
215 case Axis.vertical:
225 case Axis.horizontal:
227 case Axis.vertical:
237 case Axis.horizontal:
[all …]
/third_party/flutter/flutter/dev/manual_tests/lib/
Dpage_view.dart44 Axis scrollDirection = Axis.horizontal;
58 final BoxConstraints constraints = (scrollDirection == Axis.vertical)
71 scrollDirection = (scrollDirection == Axis.vertical)
72 ? Axis.horizontal
73 : Axis.vertical;
90 selected: scrollDirection == Axis.horizontal,
96 selected: scrollDirection == Axis.vertical,
115 Text(scrollDirection == Axis.horizontal ? 'horizontal' : 'vertical'),
/third_party/flutter/skia/include/effects/
DSkColorMatrix.h27 enum Axis { enum
32 void setRotate(Axis, float degrees);
33 void setSinCos(Axis, float sine, float cosine);
34 void preRotate(Axis, float degrees);
35 void postRotate(Axis, float degrees);
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dbasic_types.dart115 enum Axis {
128 /// Returns the opposite of the given [Axis].
130 /// Specifically, returns [Axis.horizontal] for [Axis.vertical], and
136 Axis flipAxis(Axis direction) {
139 case Axis.horizontal:
140 return Axis.vertical;
141 case Axis.vertical:
142 return Axis.horizontal;
170 /// A direction along either the horizontal or vertical [Axis].
200 /// Returns the [Axis] that contains the given [AxisDirection].
[all …]
/third_party/flutter/skia/include/core/
DSkFontArguments.h25 struct Axis { struct
43 SkFontArguments& setAxes(const Axis* axes, int axisCount) { in setAxes()
67 const Axis* getAxes(int* axisCount) const { in getAxes()
69 return reinterpret_cast<const Axis*>(fVariationDesignPosition.coordinates); in getAxes()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_body_test.dart32 direction: Axis.vertical,
49 direction: Axis.vertical,
67 direction: Axis.horizontal,
71 child: ListBody(mainAxis: Axis.horizontal, children: children),
90 direction: Axis.horizontal,
94 child: ListBody(mainAxis: Axis.horizontal, children: children),
Densure_visible_test.dart13 Widget buildSingleChildScrollView(Axis scrollDirection, { bool reverse = false }) {
41 Widget buildListView(Axis scrollDirection, { bool reverse = false, bool shrinkWrap = false }) {
71 testWidgets('SingleChildScrollView ensureVisible Axis.vertical', (WidgetTester tester) async {
74 await tester.pumpWidget(buildSingleChildScrollView(Axis.vertical));
98 testWidgets('SingleChildScrollView ensureVisible Axis.horizontal', (WidgetTester tester) async {
101 await tester.pumpWidget(buildSingleChildScrollView(Axis.horizontal));
125 …testWidgets('SingleChildScrollView ensureVisible Axis.vertical reverse', (WidgetTester tester) asy…
128 await tester.pumpWidget(buildSingleChildScrollView(Axis.vertical, reverse: true));
152 …testWidgets('SingleChildScrollView ensureVisible Axis.horizontal reverse', (WidgetTester tester) a…
155 await tester.pumpWidget(buildSingleChildScrollView(Axis.horizontal, reverse: true));
[all …]
Ddismissible_test.dart11 Axis scrollDirection = Axis.vertical;
235 scrollDirection = Axis.vertical;
253 scrollDirection = Axis.vertical;
271 scrollDirection = Axis.vertical;
297 scrollDirection = Axis.horizontal;
315 scrollDirection = Axis.vertical;
333 scrollDirection = Axis.vertical;
349 scrollDirection = Axis.vertical;
365 scrollDirection = Axis.vertical;
383 scrollDirection = Axis.vertical;
[all …]
/third_party/boost/boost/histogram/detail/
Dlinearize.hpp49 template <class Index, class Axis, class Value>
50 std::size_t linearize(Index& out, const std::size_t stride, const Axis& ax, in linearize()
53 constexpr auto opts = axis::traits::get_options<Axis>{} & in linearize()
59 template <class Index, class Axis, class Value>
61 const std::size_t stride, Axis& a, const Value& v) { in linearize_growth()
64 constexpr bool u = axis::traits::get_options<Axis>::test(axis::option::underflow); in linearize_growth()
/third_party/skia/include/core/
DSkFontParameters.h17 struct Axis { struct
18 constexpr Axis() : tag(0), min(0), def(0), max(0), flags(0) {} in Axis() function
19 constexpr Axis(SkFourByteTag tag, float min, float def, float max, bool hidden) : in Axis() function
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dconcat.cl21 // Align in Axis C for concat
183 #define CONCAT6(Inputnum, Axis, ToFormat) …
184 …__kernel void Concat##Inputnum##Axis##ToFormat( …
190 …DOConcat##Inputnum##Axis##ToFormat; …
194 #define CONCAT5(Inputnum, Axis, ToFormat) …
195 …__kernel void Concat##Inputnum##Axis##ToFormat( …
200 …DOConcat##Inputnum##Axis##ToFormat; …
204 #define CONCAT4(Inputnum, Axis, ToFormat) …
205 …__kernel void Concat##Inputnum##Axis##ToFormat(__read_only image2d_t input0, __read_only image2d_t…
210 …DOConcat##Inputnum##Axis##ToFormat; …
[all …]
/third_party/skia/tests/
DTypefaceTest.cpp333 using Axis = SkFontParameters::Variation::Axis; in DEF_TEST() typedef
341 auto test = [&](SkTypeface* typeface, const Axis* expected, int expectedCount, in DEF_TEST()
355 std::unique_ptr<Axis[]> actual(new Axis[actualCount]); in DEF_TEST()
430 constexpr Axis expected[] = { in DEF_TEST()
431 Axis(SkSetFourByteTag('w','g','h','t'), 100.0f, 400.0f, 900.0f, true ), in DEF_TEST()
432 Axis(SkSetFourByteTag('w','d','t','h'), 50.0f, 100.0f, 200.0f, false), in DEF_TEST()
448 constexpr Axis expected[] = { in DEF_TEST()
449 Axis(SkSetFourByteTag('w','g','h','t'), 100.0f, 400.0f, 900.0f, false), in DEF_TEST()
450 Axis(SkSetFourByteTag('w','g','h','t'), 100.0f, 400.0f, 900.0f, false), in DEF_TEST()
463 constexpr Axis expected[] = { in DEF_TEST()
[all …]
/third_party/flutter/skia/src/effects/
DSkColorMatrix.cpp75 void SkColorMatrix::setRotate(Axis axis, float degrees) { in setRotate()
80 void SkColorMatrix::setSinCos(Axis axis, float sine, float cosine) { in setSinCos()
97 void SkColorMatrix::preRotate(Axis axis, float degrees) { in preRotate()
103 void SkColorMatrix::postRotate(Axis axis, float degrees) { in postRotate()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dreorderable_list.dart62 this.scrollDirection = Axis.vertical,
81 /// The [Axis] along which the list scrolls.
83 /// List [children] can only drag along this [Axis].
84 final Axis scrollDirection;
92 /// [scrollDirection] is [Axis.horizontal], then the scroll view scrolls from
96 /// Similarly, if [scrollDirection] is [Axis.vertical], then the scroll view
172 final Axis scrollDirection;
240 case Axis.horizontal:
243 case Axis.vertical:
335 case Axis.horizontal:
[all …]
/third_party/boost/libs/histogram/test/
Dutility_axis.hpp16 template <class Axis>
17 void test_axis_iterator(const Axis& a, axis::index_type begin, axis::index_type end) { in test_axis_iterator()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_multimodalInput_mouseEvent.js37 export const Axis = { variable
72 Axis, property
/third_party/flutter/flutter/packages/flutter/test/material/
Dreorderable_list_test.dart33 …Widget build({ Widget header, Axis scrollDirection = Axis.vertical, TextDirection textDirection = …
134 scrollDirection: Axis.vertical,
454 scrollDirection: Axis.vertical,
489 await tester.pumpWidget(build(scrollDirection: Axis.horizontal));
500 await tester.pumpWidget(build(scrollDirection: Axis.horizontal));
511 await tester.pumpWidget(build(scrollDirection: Axis.horizontal));
522 …await tester.pumpWidget(build(header: const Text('Header Text'), scrollDirection: Axis.horizontal)…
533 …await tester.pumpWidget(build(header: const Text('Header Text'), scrollDirection: Axis.horizontal)…
562 scrollDirection: Axis.horizontal,
631 scrollDirection: Axis.horizontal,
[all …]

1234567