Home
last modified time | relevance | path

Searched full:elevation (Results 1 – 25 of 2125) sorted by relevance

12345678910>>...85

/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/src/com/android/uwb/fusion/math/
DAoaVector.java43 * Represents a point in space as distance, azimuth and elevation.
46 * elevation rotates around X and increases Y.
49 * In this implementation, azimuth and elevation are treated the same. Therefore, for example:
53 * independently of the vertical axis, but elevation is computed along the plane of the azimuth.
55 * a 90deg azimuth (directly right of the phone) cannot possibly be viewed by the elevation
66 public final float elevation; field in AoaVector
69 * Creates a AoAVector from the azimuth, elevation and distance of a viewpoint that is
70 * facing into the -Z axis. Illegal azimuth and elevation combinations will be scaled away
74 * @param elevation The angle along the Y axis, around the X axis.
77 private AoaVector(float azimuth, float elevation, float distance) { in AoaVector() argument
[all …]
DSphericalVector.java42 * Represents a point in space represented as distance, azimuth and elevation.
45 * elevation rotates around X and increases Y.
55 public final float elevation; field in SphericalVector
58 * Creates a SphericalVector from the azimuth, elevation and distance of a viewpoint that is
62 * @param elevation The angle along the Y axis, around the X axis.
65 private SphericalVector(float azimuth, float elevation, float distance) { in SphericalVector() argument
66 elevation = MathHelper.normalizeRadians(elevation); in SphericalVector()
67 float ae = abs(elevation); in SphericalVector()
69 // Normalize elevation to be only +/-90 - if it's outside that, mirror and bound the in SphericalVector()
70 // elevation and flip the azimuth. in SphericalVector()
[all …]
/aosp_15_r20/tools/netsim/rust/daemon/src/
H A Dranging.rs72 // helper function for calculating elevation angle
75 fn elevation(delta: Vec3) -> f32 { in elevation() function
84 /// would enable to compute range, azimuth, and elevation.
108 /// UWB Ranging Model for computing range, azimuth, and elevation
116 let elevation = elevation(direction).to_degrees().round(); in compute_range_azimuth_elevation() localVariable
121 if !(-90. ..=90.).contains(&elevation) { in compute_range_azimuth_elevation()
122 return Err(anyhow::anyhow!("elevation is not between -90 and 90. value: {elevation}")); in compute_range_azimuth_elevation()
124 Ok((distance, azimuth as i16, elevation as i8)) in compute_range_azimuth_elevation()
189 let (_, azimuth, elevation) = in azimuth_without_rotation()
192 assert_eq!(elevation, 0); in azimuth_without_rotation()
[all …]
/aosp_15_r20/external/rust/pica/src/bin/http-server/
Dposition.rs84 fn elevation(delta: Vec3) -> f32 { in elevation() function
109 let elevation = elevation(direction).to_degrees().round(); in compute_range_azimuth_elevation() localVariable
112 assert!((-90. ..=90.).contains(&elevation)); in compute_range_azimuth_elevation()
117 elevation as i8, in compute_range_azimuth_elevation()
162 let (_, azimuth, elevation) = position_a.compute_range_azimuth_elevation(&position_b); in azimuth_without_rotation()
164 assert!(elevation == 0); in azimuth_without_rotation()
168 let (_, azimuth, elevation) = position_a.compute_range_azimuth_elevation(&position_b); in azimuth_without_rotation()
170 assert!(elevation == 0); in azimuth_without_rotation()
174 let (_, azimuth, elevation) = position_a.compute_range_azimuth_elevation(&position_b); in azimuth_without_rotation()
176 assert!(elevation == 0); in azimuth_without_rotation()
[all …]
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-styles/element-styles/
H A Dpaper-material-styles.html26 <div class="paper-material elevation-1">
42 --paper-material-elevation-1: {
43 @apply --shadow-elevation-2dp;
45 --paper-material-elevation-2: {
46 @apply --shadow-elevation-4dp;
48 --paper-material-elevation-3: {
49 @apply --shadow-elevation-6dp;
51 --paper-material-elevation-4: {
52 @apply --shadow-elevation-8dp;
54 --paper-material-elevation-5: {
[all …]
/aosp_15_r20/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DSphericalTransform.kt31 * - And some polar angles [elevation] which defines the angle from the reference plane (which is
47 * The elevation angle (from ZX plane to Y axis; positive is up negative is down, in degrees).
49 val elevation: Float = 0f, constant in com.google.android.torus.math.SphericalTransform
69 transform.elevation,
88 return SphericalTransform(azimuth, elevation, roll, center, distance, scale) in withAzimuth()
92 * Creates a new [SphericalTransform] with a new [elevation] rotation.
94 * @param elevation The new elevation rotation (from ZX plane to Y axis; positive is up negative
99 fun withElevation(elevation: Float): SphericalTransform { in withElevation()
100 return SphericalTransform(azimuth, elevation, roll, center, distance, scale) in withElevation()
106 * @param roll The new elevation rotation (around Z axis, in degrees).
[all …]
/aosp_15_r20/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/res/values/
H A Dstrings.xml58 "Resting elevation.\n\n"
60 "All material objects, regardless of size, have a resting elevation, or default elevation "
61 "that does not change. If an object changes elevation, it should return to its resting "
62 "elevation as soon as possible.\n\n"
66 "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
71 "Responsive elevation and dynamic elevation offsets.\n\n"
73 "Some component types have responsive elevation, meaning they change elevation in response "
74 "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
75 "changes are consistently implemented using dynamic elevation offsets.\n"
76 "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
[all …]
/aosp_15_r20/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/
H A Dstrings.xml58 "Resting elevation.\n\n"
60 "All material objects, regardless of size, have a resting elevation, or default elevation "
61 "that does not change. If an object changes elevation, it should return to its resting "
62 "elevation as soon as possible.\n\n"
66 "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
71 "Responsive elevation and dynamic elevation offsets.\n\n"
73 "Some component types have responsive elevation, meaning they change elevation in response "
74 "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
75 "changes are consistently implemented using dynamic elevation offsets.\n"
76 "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
[all …]
/aosp_15_r20/development/apps/DumpViewer/app/src/main/res/values/
H A Dstrings.xml71 "Resting elevation.\n\n"
73 "All material objects, regardless of size, have a resting elevation, or default elevation "
74 "that does not change. If an object changes elevation, it should return to its resting "
75 "elevation as soon as possible.\n\n"
79 "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
84 "Responsive elevation and dynamic elevation offsets.\n\n"
86 "Some component types have responsive elevation, meaning they change elevation in response "
87 "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
88 "changes are consistently implemented using dynamic elevation offsets.\n"
89 "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
[all …]
/aosp_15_r20/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DElevationGainedRecord.java30 /** Captures the elevation gained by the user since the last reading. */
46 * @param elevation Elevation in {@link Length} unit. Required field. Valid range:
53 @NonNull Length elevation) { in Builder() argument
57 Objects.requireNonNull(elevation); in Builder()
61 mElevation = elevation; in Builder()
131 * Metric identifier to get total elevation gained using aggregate APIs in {@link
151 * @param elevation Elevation of this activity
160 @NonNull Length elevation, in ElevationGainedRecord() argument
170 Objects.requireNonNull(elevation); in ElevationGainedRecord()
173 elevation.getInMeters(), -1000000.0, 1000000.0, "elevation"); in ElevationGainedRecord()
[all …]
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-material/demo/
H A Dindex.html40 <paper-material elevation="0">0</paper-material>
41 <paper-material elevation="1">1</paper-material>
42 <paper-material elevation="2">2</paper-material>
43 <paper-material elevation="3">3</paper-material>
44 <paper-material elevation="4">4</paper-material>
45 <paper-material elevation="5">5</paper-material>
49 <h3>Changes in elevation can be animated</h3>
57 <paper-material elevation="0" animated id="a1">animated</paper-material>
58 <paper-material elevation="3" id="a2">not animated</paper-material>
68 target.elevation += 1;
[all …]
/aosp_15_r20/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/
H A Dshadow_sizes_test.xml32 android:elevation="5.5dp"
41 android:elevation="36dp"
56 android:elevation="15dp"
66 android:elevation="15dp"
76 android:elevation="15dp"
86 android:elevation="15dp"
97 android:elevation="5dp"
112 android:elevation="5.5dp"
122 android:elevation="5.5dp"
132 android:elevation="5.5dp"
[all …]
H A Dshadows_test.xml34 android:elevation="48dp"
44 android:elevation="48dp"
61 android:elevation="0dp"
71 android:elevation="100dp"
88 android:elevation="12dp"
98 android:elevation="36dp"
115 android:elevation="12dp"
126 android:elevation="12dp"
147 android:elevation="12dp"
160 android:elevation="12dp"
/aosp_15_r20/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/res/layout/
H A Dshadow_sizes_test.xml32 android:elevation="5.5dp"
41 android:elevation="36dp"
56 android:elevation="15dp"
66 android:elevation="15dp"
76 android:elevation="15dp"
86 android:elevation="15dp"
97 android:elevation="5dp"
112 android:elevation="5.5dp"
122 android:elevation="5.5dp"
132 android:elevation="5.5dp"
[all …]
H A Dshadows_test.xml34 android:elevation="48dp"
44 android:elevation="48dp"
61 android:elevation="0dp"
71 android:elevation="100dp"
88 android:elevation="12dp"
98 android:elevation="36dp"
115 android:elevation="12dp"
126 android:elevation="12dp"
147 android:elevation="12dp"
160 android:elevation="12dp"
/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/tests/com/android/uwb/fusion/primers/
DFoVPrimerTest.java47 assertThat(result.elevation).isEqualTo(input.elevation); in conversionTest()
54 assertThat(result.elevation).isEqualTo(0); in conversionTest()
70 assertThat(result.elevation).isEqualTo(input.elevation); in edgeCases()
76 assertThat(result.elevation).isEqualTo(0); in edgeCases()
84 assertThat(result.elevation).isEqualTo(input.elevation); in edgeCases()
91 assertThat(result.elevation).isEqualTo(0); in edgeCases()
100 assertThat(result.elevation).isEqualTo(input.elevation); in edgeCases()
109 assertThat(result.elevation).isEqualTo(input.elevation); in edgeCases()
DElevationPrimerTest.java45 // Verify that, since elevation was already available, it was unchanged. in hasElevationTest()
46 assertThat(result.elevation).isEqualTo(input.elevation); in hasElevationTest()
58 // Pose is not capable of guessing elevation. in noPoseTest()
80 // The phone pose is slightly facing down, so the elevation should be slightly up. in noElevationTest()
81 assertClose(result.elevation, -rads); in noElevationTest()
92 // There is an elevation, but it's zero because the hardware doesn't support it. Make sure in replaceElevationTest()
93 // the elevation primer replaces this. in replaceElevationTest()
100 // The phone pose is slightly facing down, so the elevation should be slightly up. in replaceElevationTest()
101 assertClose(result.elevation, -rads); in replaceElevationTest()
/aosp_15_r20/device/google/cuttlefish/host/commands/cvd_import_locations/unittest/
Dkml_parser_test.cc177 EXPECT_FLOAT_EQ(50, locations[i].elevation); in TEST()
201 EXPECT_FLOAT_EQ(50, locations[i].elevation); in TEST()
223 EXPECT_FLOAT_EQ(0.0, locations[0].elevation); in TEST()
235 EXPECT_FLOAT_EQ(0.0, locations[0].elevation); in TEST()
259 EXPECT_FLOAT_EQ(0, locations[0].elevation); in TEST()
262 EXPECT_FLOAT_EQ(20, locations[1].elevation); in TEST()
265 EXPECT_FLOAT_EQ(1, locations[2].elevation); in TEST()
278 EXPECT_FLOAT_EQ(0, locations[0].elevation); in TEST()
281 EXPECT_FLOAT_EQ(20, locations[1].elevation); in TEST()
284 EXPECT_FLOAT_EQ(1, locations[2].elevation); in TEST()
[all …]
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-material/
H A Dpaper-material-shared-styles.html21 :host([elevation="1"]) {
22 @apply(--shadow-elevation-2dp);
25 :host([elevation="2"]) {
26 @apply(--shadow-elevation-4dp);
29 :host([elevation="3"]) {
30 @apply(--shadow-elevation-6dp);
33 :host([elevation="4"]) {
34 @apply(--shadow-elevation-8dp);
37 :host([elevation="5"]) {
38 @apply(--shadow-elevation-16dp);
/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/src/com/android/uwb/fusion/primers/
DElevationPrimer.java27 * Applies a default pose-based elevation to a UWB reading. A basic "assumption" about what the
28 * elevation might be helps improve the quality of pose-based azimuth compensations, and may
30 * Recommended for hardware that does not support elevation. This should execute before the
32 * This will replace any existing elevation value, as it assumes that the hardware's elevation is
42 * Applies a default pose-based elevation to a UWB reading that doesn't have one.
63 // an AoA elevation, we'll assume that elevation is level with the phone. in prime()
64 // i.e. If the phone pitches down, the elevation would appear up. in prime()
69 -pose.rotation.toYawPitchRoll().y, // -Pitch becomes our assumed elevation in prime()
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-material/test/
H A Dpaper-material.html25 <paper-material elevation="1"></paper-material>
31 <paper-material elevation="1"></paper-material>
32 <paper-material elevation="2"></paper-material>
33 <paper-material elevation="3"></paper-material>
34 <paper-material elevation="4"></paper-material>
35 <paper-material elevation="5"></paper-material>
41 suite('with a non-zero elevation attribute', function() {
55 test('loses shadow with elevation value 0', function() {
56 card.elevation = 0;
61 suite('progressively increasing values of elevation', function() {
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dvectortile_v1.terraintiles.html112 …maxElevationResolutionCells: integer, The maximum allowed resolution for the returned elevation he…
113 …uest parameter pattern. The minimum allowed resolution for the returned elevation heightmap. Possi…
117 FIRST_DERIVATIVE - Terrain elevation data encoded as a FirstDerivativeElevationGrid. .
118 SECOND_DERIVATIVE - Terrain elevation data encoded as a SecondDerivativeElevationGrid.
133elevation data. Each point within the grid represents the altitude in meters above average sea lev…
134 …ied to the altitude fields below to extract the actual altitudes in meters from the elevation grid.
135 …&quot;rows&quot;: [ # Rows of points containing altitude data making up the elevation grid. Each r…
136 { # A row of altitude points in the elevation grid, ordered from west to east.
144elevation data. Each point within the grid represents the altitude in meters above average sea lev…
146 …&quot;columnCount&quot;: 42, # The number of columns included in the encoded elevation data (i.e. …
[all …]
/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/src/com/android/uwb/fusion/filtering/
DPositionFilterImpl.java30 * An implementation of a combined azimuth, distance and elevation filter, which can be shifted
68 mElevationFilter.add(value.elevation, timeMs, value.elevationFom); in add()
87 Sample elevation = mElevationFilter.getResult(timeMs); in compute() local
91 elevation.value, in compute()
95 result.elevationFom = elevation.fom; in compute()
121 * Applies compensations to the azimuth, elevation and distance filters based on how the
138 // New azimuth, elevation and distance based on this new tag position. in updatePoseFromDelta()
143 mElevationFilter.compensate(newEstimate.elevation - estimate.elevation); in updatePoseFromDelta()
/aosp_15_r20/developers/samples/android/ui/views/Elevation/ElevationDrag/
Dtemplate-params.xml31 This sample demonstrates a drag and drop action on different shapes. Elevation and
36 <sample_action>Elevation Drag</sample_action>
59 This sample demonstrates a drag and drop action on different shapes. Elevation and
67 This sample demonstrates a drag and drop action on different shapes. Elevation and
71 Elevation is considered the static or initial position of a view on the z axis, while
74 `Z = elevation + translationZ`
76 See [Assign Elevation to Your Views][1] for more info.
77 [1]:https://developer.android.com/training/material/shadows-clipping.html#Elevation
/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/tests/com/android/uwb/fusion/math/
DAoaVectorTest.java38 assertClose(vec.elevation, Math.PI / 4); in testCtorScaleDown()
43 assertClose(vec.elevation, Math.PI / 3); in testCtorScaleDown()
50 assertClose(toDegrees(vec.elevation), 10); in testCtorNormalization()
58 assertClose(vec.elevation, toRadians(70)); in testCtorNormalization()
81 assertThat(sv.elevation).isEqualTo(aoav.elevation); in testToSphericalVector()
87 assertThat(sv.elevation).isEqualTo(aoav.elevation); in testToSphericalVector()
137 assertClose(toDegrees(gimbalLock.elevation), 90); in cartesian()

12345678910>>...85