Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 12 of 12) sorted by relevance

/cts/libs/view/src/com/android/view/
DPosition.java22 public class Position { class
26 public Position(float x, float y) { in Position() method in Position
42 public double dotProduct(Position other) { in dotProduct()
49 public double distanceTo(Position other) { in distanceTo()
62 public double arcAngleTo(Position other, Position origin) { in arcAngleTo()
83 public double angleTo(Position other) { in angleTo()
94 if (!(o instanceof Position)) { in equals()
97 Position other = (Position) o; in equals()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
DPosition.java40 public class Position extends Asn1Sequence { class
46 public Position() { in Position() method in Position
72 public static Position fromPerUnaligned(byte[] encodedBytes) { in fromPerUnaligned()
73 Position result = new Position(); in fromPerUnaligned()
81 public static Position fromPerAligned(byte[] encodedBytes) { in fromPerAligned()
82 Position result = new Position(); in fromPerAligned()
101 private Position.timestampType timestamp_;
102 public Position.timestampType getTimestamp() { in getTimestamp()
109 this.timestamp_ = (Position.timestampType) value; in setTimestamp()
111 public Position.timestampType setTimestampToNewInstance() { in setTimestampToNewInstance()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_version_2_message_extensions/
DVer2_SUPL_START_extension.java32 import android.location.cts.asn1.supl2.ulp_components.Position;
149 private Position position_;
150 public Position getPosition() { in getPosition()
157 this.position_ = (Position) value; in setPosition()
159 public Position setPositionToNewInstance() { in setPositionToNewInstance()
160 position_ = new Position(); in setPositionToNewInstance()
325 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
DVer2_SUPL_RESPONSE_extension.java32 import android.location.cts.asn1.supl2.ulp_components.Position;
166 private Position initialApproximateposition_;
167 public Position getInitialApproximateposition() { in getInitialApproximateposition()
174 this.initialApproximateposition_ = (Position) value; in setInitialApproximateposition()
176 public Position setInitialApproximatepositionToNewInstance() { in setInitialApproximatepositionToNewInstance()
177 initialApproximateposition_ = new Position(); in setInitialApproximatepositionToNewInstance()
400 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_end/
DSUPLEND.java32 import android.location.cts.asn1.supl2.ulp_components.Position;
104 private Position position_;
105 public Position getPosition() { in getPosition()
112 this.position_ = (Position) value; in setPosition()
114 public Position setPositionToNewInstance() { in setPositionToNewInstance()
115 position_ = new Position(); in setPositionToNewInstance()
195 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_report/
DPositionData.java33 import android.location.cts.asn1.supl2.ulp_components.Position;
103 private Position position_;
104 public Position getPosition() { in getPosition()
111 this.position_ = (Position) value; in setPosition()
113 public Position setPositionToNewInstance() { in setPositionToNewInstance()
114 position_ = new Position(); in setPositionToNewInstance()
195 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_pos_init/
DSUPLPOSINIT.java35 import android.location.cts.asn1.supl2.ulp_components.Position;
151 private Position position_;
152 public Position getPosition() { in getPosition()
159 this.position_ = (Position) value; in setPosition()
161 public Position setPositionToNewInstance() { in setPositionToNewInstance()
162 position_ = new Position(); in setPositionToNewInstance()
371 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_triggered_start/
DVer2_SUPLTRIGGEREDSTART.java34 import android.location.cts.asn1.supl2.ulp_components.Position;
245 private Position position_;
246 public Position getPosition() { in getPosition()
253 this.position_ = (Position) value; in setPosition()
255 public Position setPositionToNewInstance() { in setPositionToNewInstance()
256 position_ = new Position(); in setPositionToNewInstance()
709 return tag == null ? Position.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/location/src/android/location/cts/suplClient/
DSuplRrlpMessagesGenerator.java35 import android.location.cts.asn1.supl2.ulp_components.Position;
36 import android.location.cts.asn1.supl2.ulp_components.Position.timestampType;
214 Position pos = suplPosInit.setPositionToNewInstance(); in generateSuplPositionInitLocalLocationMessage()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DDeviceAtomTestCase.java20 import com.android.internal.os.StatsdConfigProto.Position;
154 return createFvm(field).setPosition(Position.ANY) in createAttributionFvm()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DDurationMetricsTests.java26 import com.android.internal.os.StatsdConfigProto.Position;
525 .setPosition(Position.FIRST) in testDurationMetricWithDimension()
552 .setPosition(Position.FIRST) in testDurationMetricWithDimension()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java34 import com.android.internal.os.StatsdConfigProto.Position;
447 .setPosition(Position.FIRST) in uploadWakelockDurationBatteryStatsConfig()