Home
last modified time | relevance | path

Searched refs:elevation (Results 1 – 25 of 217) sorted by relevance

123456789

/third_party/flutter/flutter/packages/flutter/test/semantics/
Dsemantics_elevation_test.dart19 // Card('abs. elevation: 30') ---------------
20 … | 8 ----------- Card('abs. elevation 25')
21 // Card('abs. elevation: 22') --------------- |
23 // PhysicalModel('abs. elevation: 15') --------------- | 15
25 … --------------------------------------- Card('abs. elevation: 10')
35 elevation: 10.0,
38 const Text('absolute elevation: 10'),
40 elevation: 5.0,
44 const Text('absolute elevation: 15'),
46 elevation: 7.0,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dbottom_sheet_theme.dart31 this.elevation,
40 /// Default value for [BottomSheet.elevation].
42 /// {@macro flutter.material.material.elevation}
45 final double elevation;
57 double elevation,
62 elevation: elevation ?? this.elevation,
78 elevation: lerpDouble(a?.elevation, b?.elevation, t),
87 elevation,
100 && typedOther.elevation == elevation
108 properties.add(DoubleProperty('elevation', elevation, defaultValue: null));
Dcard_theme.dart33 /// The [elevation] must be null or non-negative.
37 this.elevation,
40 }) : assert(elevation == null || elevation >= 0.0);
52 /// Default value for [Card.elevation].
55 final double elevation;
74 double elevation,
81 elevation: elevation ?? this.elevation,
102 elevation: lerpDouble(a?.elevation, b?.elevation, t),
113 elevation,
128 && typedOther.elevation == elevation
[all …]
Dbottom_app_bar_theme.dart32 this.elevation,
41 /// Default value for [BottomAppBar.elevation].
42 final double elevation;
51 double elevation,
56 elevation: elevation ?? this.elevation,
75 elevation: lerpDouble(a?.elevation, b?.elevation, t),
84 elevation,
97 && typedOther.elevation == elevation
105 properties.add(DiagnosticsProperty<double>('elevation', elevation, defaultValue: null));
Dbutton.dart33 /// The [shape], [elevation], [focusElevation], [hoverElevation],
36 /// [elevation], [focusElevation], [hoverElevation], [highlightElevation], and
48 this.elevation = 2.0,
64 assert(elevation != null && elevation >= 0.0),
116 /// The elevation for the button's [Material] when the button
123 /// * [highlightElevation], the default elevation.
124 /// * [hoverElevation], the elevation when a pointer is hovering over the
126 /// * [focusElevation], the elevation when the button is focused.
127 /// * [disabledElevation], the elevation when the button is disabled.
128 final double elevation;
[all …]
Ddialog_theme.dart34 this.elevation,
46 /// Default value for [Dialog.elevation].
48 /// If null, the [Dialog] elevation defaults to `24.0`.
49 final double elevation;
68 double elevation,
75 elevation: elevation ?? this.elevation,
96 elevation: lerpDouble(a?.elevation, b?.elevation, t),
114 && typedOther.elevation == elevation
125 properties.add(DoubleProperty('elevation', elevation));
Dapp_bar_theme.dart35 this.elevation,
51 /// Default value for [AppBar.elevation].
54 final double elevation;
77 double elevation,
84 elevation: elevation ?? this.elevation,
106 elevation: lerpDouble(a?.elevation, b?.elevation, t),
118 elevation,
134 && typedOther.elevation == elevation
145 properties.add(DiagnosticsProperty<double>('elevation', elevation, defaultValue: null));
Dsnack_bar_theme.dart53 /// The [elevation] must be null or non-negative.
59 this.elevation,
62 }) : assert(elevation == null || elevation >= 0.0);
86 /// Default value for [SnackBar.elevation].
89 final double elevation;
112 double elevation,
121 elevation: elevation ?? this.elevation,
139 elevation: lerpDouble(a?.elevation, b?.elevation, t),
152 elevation,
169 && typedOther.elevation == elevation
[all …]
Dmaterial_button.dart48 /// Additionally, [elevation], [hoverElevation], [focusElevation],
65 this.elevation,
81 assert(elevation == null || elevation >= 0.0),
201 /// Defaults to 2, the appropriate elevation for raised buttons. The value
206 /// * [FlatButton], a button with no elevation or fill color.
207 /// * [focusElevation], the elevation when the button is focused.
208 /// * [hoverElevation], the elevation when a pointer is hovering over the
210 /// * [disabledElevation], the elevation when the button is disabled.
211 /// * [highlightElevation], the elevation when the button is pressed.
212 final double elevation;
[all …]
Dpopup_menu_theme.dart37 this.elevation,
47 /// The elevation of the popup menu.
48 final double elevation;
58 double elevation,
64 elevation: elevation ?? this.elevation,
81 elevation: lerpDouble(a?.elevation, b?.elevation, t),
91 elevation,
103 return typedOther.elevation == elevation
114 properties.add(DoubleProperty('elevation', elevation, defaultValue: null));
Dfloating_action_button_theme.dart38 this.elevation,
65 /// [FloatingActionButton]'s elevation foreground.
66 final double elevation;
81 /// elevation foreground.
85 /// [FloatingActionButton]'s elevation foreground.
99 double elevation,
112 elevation: elevation ?? this.elevation,
136 elevation: lerpDouble(a?.elevation, b?.elevation, t),
153 elevation,
174 && otherData.elevation == elevation
[all …]
Dfloating_action_button.dart126 /// [elevation], [highlightElevation], and [disabledElevation] (if specified)
138 this.elevation,
151 }) : assert(elevation == null || elevation >= 0.0),
166 /// Additionally, [elevation], [highlightElevation], and [disabledElevation]
176 this.elevation,
191 }) : assert(elevation == null || elevation >= 0.0),
281 /// Defaults to 6, the appropriate elevation for floating action buttons. The
286 /// * [highlightElevation], the elevation when the button is pressed.
287 /// * [disabledElevation], the elevation when the button is disabled.
288 final double elevation;
[all …]
Dmaterial.dart96 /// [elevation] pixels, and draws the appropriate shadow.
103 /// exists at a given elevation, which influences how that piece of material
114 /// Changes to [elevation] and [shadowColor] are animated for [animationDuration].
160 /// The [type], [elevation], [shadowColor], [borderOnForeground] and
161 /// [animationDuration] arguments must not be null. Additionally, [elevation]
172 this.elevation = 0.0,
183 assert(elevation != null && elevation >= 0.0),
202 /// {@template flutter.material.material.elevation}
206 /// of the elevation overlay color if it is applied.
211 /// Defaults to 0. Changing this value will cause the shadow and the elevation
[all …]
Draised_button.dart16 /// A raised button is based on a [Material] widget whose [Material.elevation]
105 /// Additionally, [elevation], [hoverElevation], [focusElevation],
122 double elevation,
136 assert(elevation == null || elevation >= 0.0),
155 elevation: elevation,
176 /// The [elevation], [highlightElevation], [disabledElevation], [icon],
192 double elevation,
219 elevation: buttonTheme.getElevation(this),
238 properties.add(DiagnosticsProperty<double>('elevation', elevation, defaultValue: null));
265 double elevation,
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dshadow.dart23 /// This rule is great for things that need a static shadow. If the elevation
74 /// - `elevation` -- Z-elevation of shadow. Valid Values: 1,2,3,4,5
76 html.CssStyleDeclaration style, double elevation, ui.Color color) {
79 if (elevation <= 0.0) {
81 } else if (elevation <= 1.0) {
83 } else if (elevation <= 2.0) {
85 } else if (elevation <= 3.0) {
87 } else if (elevation <= 4.0) {
89 } else if (elevation <= 5.0) {
97 double elevation, ui.Color color) {
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dshadow_test.dart46 Widget build(int elevation) {
53 shadows: kElevationToShadow[elevation],
61 for (int elevation in kElevationToShadow.keys) {
62 await tester.pumpWidget(build(elevation));
66 'shadow.ShapeDecoration.$elevation.png',
82 elevation: 9.0,
115 Widget build(double elevation) {
124 elevation: elevation,
134 for (int elevation in kElevationToShadow.keys) {
135 await tester.pumpWidget(build(elevation.toDouble()));
[all …]
Dphysical_model_test.dart66 elevation: 1.0,
80 expect(physicalModelLayer.elevation, 1.0);
84 …testWidgets('PhysicalModel - clips when overflows and elevation is 0', (WidgetTester tester) async…
120 group('PhysicalModelLayer checks elevation', () {
167 elevation: 1.0,
170 elevation: 2.0,
195 elevation: 1.0,
203 elevation: 2.0,
227 elevation: 2.0,
235 elevation: 1.0,
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dmaterial_test.dart22 double elevation = 0.0,
33 elevation: elevation,
61 const ElevationColor(this.elevation, this.color);
62 final double elevation;
170 // This code verifies that the PhysicalModel's elevation animates over
173 await tester.pumpWidget(buildMaterial(elevation: 0.0));
175 expect(modelA.elevation, equals(0.0));
177 await tester.pumpWidget(buildMaterial(elevation: 9.0));
179 expect(modelB.elevation, equals(0.0));
183 expect(modelC.elevation, closeTo(0.0, 0.001));
[all …]
Dbottom_sheet_theme_test.dart18 expect(bottomSheetTheme.elevation, null);
38 elevation: 2.0,
49 'elevation: 2.0',
73 expect(material.elevation, 0.0);
99 expect(material.elevation, bottomSheetTheme.elevation);
105 const double elevation = 7.0;
115 elevation: elevation,
132 expect(material.elevation, elevation);
140 elevation: 12.0,
Dfloating_action_button_theme_test.dart31 expect(_getRawMaterialButton(tester).elevation, 6);
41 const double elevation = 7;
52 elevation: elevation,
68 expect(_getRawMaterialButton(tester).elevation, elevation);
79 const double elevation = 7;
90 elevation: 23,
103 elevation: elevation,
113 expect(_getRawMaterialButton(tester).elevation, elevation);
170 elevation: 23,
184 'elevation: 23.0',
Dcard_theme_test.dart27 expect(material.elevation, 1.0);
49 expect(material.elevation, cardTheme.elevation);
57 const double elevation = 7.0;
69 elevation: elevation,
81 expect(material.elevation, elevation);
119 elevation: 1.0,
152 elevation: 6.0,
Dapp_bar_theme_test.dart33 expect(widget.elevation, 4.0);
61 expect(widget.elevation, appBarTheme.elevation);
71 const double elevation = 3.0;
83 elevation: elevation,
101 expect(widget.elevation, elevation);
151 expect(widget.elevation, appBarTheme.elevation);
178 expect(widget.elevation, 4.0);
189 const double elevation = 6.0;
197 elevation: elevation,
Dfloating_action_button_test.dart169 …testWidgets('Floating Action Button elevation when highlighted - effect', (WidgetTester tester) as…
179 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 6.0);
182 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 6.0);
184 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 12.0);
196 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 12.0);
198 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 20.0);
201 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 20.0);
203 expect(tester.widget<PhysicalShape>(find.byType(PhysicalShape)).elevation, 6.0);
206 …testWidgets('Floating Action Button elevation when disabled - defaults', (WidgetTester tester) asy…
217 // Disabled elevation defaults to regular default elevation.
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Delevation_demo.dart6 static const String routeName = '/material/elevation';
28 return elevations.map<Widget>((double elevation) {
32 elevation: _showElevation ? elevation : 0.0,
37 child: Text('${elevation.toStringAsFixed(0)} pt'),
/third_party/openGLES/extensions/SGIX/
DSGIX_fog_layers.txt26 elevation using "control" points to represent (elevation, density)
82 The density profile of the fog with respect to elevation is
86 value pair in <points> specifies the elevation (should not be
88 elevation. The fog density values are clamped to the range [0.0,
92 elevation of zero. The maximum number of points is implementation
96 elevation is the density value in the last point in the profile.
100 The elevation of any eye-space point A = (x, y, z, w) is defined
111 the inverse transpose of the model-view matrix. Then the elevation
115 elevation = a*x + b*y + c*z + d*w
118 the elevation of the eye-point is the same as 'd' (the fourth
[all …]

123456789