Searched refs:Position (Results 1 – 11 of 11) sorted by relevance
/tools/netsim/rust/model/src/ |
D | position.rs | 21 pub struct Position { struct 27 impl Position { impl 37 pub fn new(x: Centimeter, y: Centimeter, z: Centimeter) -> Position { in new() argument 38 Position { x, y, z } in new() 42 impl Default for Position { implementation 48 impl PartialEq<Position> for Position { implementation 62 let a = Position::new(0, 0, 0); in distance_test() 63 let b = Position::new(0, 3, 4); in distance_test() 64 assert!(Position::distance(&a, &b) == 5); in distance_test() 65 let b = Position::new(0, 5, 12); in distance_test() [all …]
|
/tools/netsim/rust/frontend-proto/src/ |
D | model.rs | 30 pub struct Position { struct 43 impl<'a> ::std::default::Default for &'a Position { argument 44 fn default() -> &'a Position { in default() 45 <Position as ::protobuf::Message>::default_instance() in default() 49 impl Position { impl 50 pub fn new() -> Position { in new() 59 |m: &Position| { &m.x }, in generated_message_descriptor_data() 60 |m: &mut Position| { &mut m.x }, in generated_message_descriptor_data() 64 |m: &Position| { &m.y }, in generated_message_descriptor_data() 65 |m: &mut Position| { &mut m.y }, in generated_message_descriptor_data() [all …]
|
/tools/netsim/src/proto/ |
D | model.proto | 22 // A 3D position. A valid Position must have both x and y coordinates. 24 message Position { message 86 Position position = 4;
|
/tools/netsim/ui/ts/ |
D | model.ts | 28 export interface Position { interface 75 position: Position|undefined;
|
/tools/netsim/rust/netsim-cli/src/ |
D | requests.rs | 50 Device, Position, State, 190 let position = Position { x, y, z: z.unwrap_or_default(), ..Default::default() }; in get_expected_move()
|
D | args.rs | 23 use frontend_proto::model::{Device, Position}; 104 let position = Position { in get_request_bytes()
|
/tools/netsim/src/controller/ |
D | device.h | 37 model::Position position;
|
/tools/netsim/rust/netsim-cxx/src/devices/ |
D | device.rs | 26 use frontend_proto::model::Position as ProtoPosition;
|
D | devices_handler.rs | 32 use frontend_proto::model::Position as ProtoPosition;
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_rotate.txt | 198 --provider-pos Position / priority at which to install this provider in
|
D | help_sign.txt | 264 --provider-pos Position / priority at which to install this provider in
|