/third_party/flutter/flutter/packages/flutter/test/semantics/ |
D | semantics_elevation_test.dart | 19 // 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/ |
D | bottom_sheet_theme.dart | 31 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));
|
D | card_theme.dart | 33 /// 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 …]
|
D | bottom_app_bar_theme.dart | 32 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));
|
D | button.dart | 33 /// 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 …]
|
D | dialog_theme.dart | 34 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));
|
D | app_bar_theme.dart | 35 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));
|
D | snack_bar_theme.dart | 53 /// 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 …]
|
D | material_button.dart | 48 /// 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 …]
|
D | popup_menu_theme.dart | 37 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));
|
D | floating_action_button_theme.dart | 38 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 …]
|
D | floating_action_button.dart | 126 /// [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 …]
|
D | material.dart | 96 /// [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 …]
|
D | raised_button.dart | 16 /// 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/ |
D | shadow.dart | 23 /// 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/ |
D | shadow_test.dart | 46 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 …]
|
D | physical_model_test.dart | 66 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/ |
D | material_test.dart | 22 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 …]
|
D | bottom_sheet_theme_test.dart | 18 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,
|
D | floating_action_button_theme_test.dart | 31 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',
|
D | card_theme_test.dart | 27 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,
|
D | app_bar_theme_test.dart | 33 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,
|
D | floating_action_button_test.dart | 169 …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/ |
D | elevation_demo.dart | 6 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/ |
D | SGIX_fog_layers.txt | 26 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 …]
|