Home
last modified time | relevance | path

Searched refs:getSpeed (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSpeedRecord.java157 public Velocity getSpeed() { in getSpeed() method in SpeedRecord.SpeedRecordSample
179 return getSpeed().equals(other.getSpeed()) in equals()
192 return Objects.hash(super.hashCode(), getSpeed(), getTime()); in hashCode()
303 getSamples().get(idx).getSpeed(), in equals()
304 other.getSamples().get(idx).getSpeed()) in equals()
342 speedRecordSample.getSpeed().getInMetersPerSecond(), in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DSpeedRecordInternal.java81 parcel.writeDouble(speedRecordSample.getSpeed()); in populateIntervalRecordTo()
92 Velocity.fromMetersPerSecond(speedRecordSample.getSpeed()), in getExternalSamples()
111 public double getSpeed() { in getSpeed() method in SpeedRecordInternal.SpeedRecordSample
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java1088 if ((position > systemCurrentTime && mPlaybackParams.getSpeed() > 0L) in handleMessageSmoothTrickplayMonitor()
1089 || (position < mBufferStartTimeMs && mPlaybackParams.getSpeed() < 0L)) { in handleMessageSmoothTrickplayMonitor()
1252 && (!mPlayer.isPlaying() || mPlaybackParams.getSpeed() < 1.0f)) { in handleMessageBufferStartTimeChanged()
1886 EXPECTED_KEY_FRAME_INTERVAL_MS / (int) Math.abs(mPlaybackParams.getSpeed()), in getTrickPlaySeekIntervalMs()
1893 if (mPlaybackParams.getSpeed() == 1.0f || !mPlayer.isPrepared()) { in doTrickplayBySeek()
1897 if (mPlaybackParams.getSpeed() > 1.0f) { in doTrickplayBySeek()
1911 if (mPlaybackParams.getSpeed() > 0.0f) { in doTrickplayBySeek()
1925 seekPositionMs += mPlaybackParams.getSpeed() * delayForNextSeek; in doTrickplayBySeek()
1956 if (!hasEnoughBackwardBuffer() && params.getSpeed() < 1.0f) { in doTimeShiftSetPlaybackParams()
1960 float speed = mPlaybackParams.getSpeed(); in doTimeShiftSetPlaybackParams()
DTunerSessionWorkerExoV2.java1192 && (!mPlayer.isPlaying() || mPlaybackParams.getSpeed() < 1.0f)) { in handleMessageBufferStartTimeChanged()
1820 EXPECTED_KEY_FRAME_INTERVAL_MS / (int) Math.abs(mPlaybackParams.getSpeed()), in getTrickPlaySeekIntervalMs()
1827 if (mPlaybackParams.getSpeed() == 1.0f || !mPlayer.isPrepared()) { in doTrickplayBySeek()
1831 if (mPlaybackParams.getSpeed() > 1.0f) { in doTrickplayBySeek()
1845 if (mPlaybackParams.getSpeed() > 0.0f) { in doTrickplayBySeek()
1859 seekPositionMs += mPlaybackParams.getSpeed() * delayForNextSeek; in doTrickplayBySeek()
1887 if (!hasEnoughBackwardBuffer() && params.getSpeed() < 1.0f) { in doTimeShiftSetPlaybackParams()
1891 float speed = mPlaybackParams.getSpeed(); in doTimeShiftSetPlaybackParams()
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DSpeedMeasurementController.java142 "Buffer size: " + bufferSize + " bytes. Speed " + writer.getSpeed()); in runTest()
276 public String getSpeed() { in getSpeed() method in SpeedMeasurementController.BaseWriterThread
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java307 SoftPreconditions.checkState(supportSmoothTrickPlay(playbackParams.getSpeed())); in startSmoothTrickplay()
314 playbackParams.getSpeed()); in startSmoothTrickplay()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DSpeedRecordHelper.java141 contentValues.put(SPEED_COLUMN_NAME, speedRecord.getSpeed()); in populateSampleTo()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java206 location.getSpeed(),
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DSpeedRecordTest.java204 assertThat(newRecord.getSamples().get(idx).getSpeed()) in testReadSpeedRecordUsingFilters_dataFilter_correct()
205 .isEqualTo(testRecord.getSamples().get(idx).getSpeed()); in testReadSpeedRecordUsingFilters_dataFilter_correct()
706 .map(sample -> sample.getSpeed().getInMetersPerSecond()) in assertRecord()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DClusterViewModel.java263 public LiveData<Integer> getSpeed() {
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterViewModel.java273 public LiveData<Integer> getSpeed() {
DMainClusterActivity.java287 registerSensor(findViewById(R.id.info_speed), mClusterViewModel.getSpeed()); in onCreate()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java341 return (int) mPlaybackParams.getSpeed(); in getPlaybackSpeed()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleActivity.java137 registerSensor(findViewById(R.id.info_speed), mClusterViewModel.getSpeed()); in onCreate()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java297 mSpeed = params.getSpeed(); in onTimeShiftSetPlaybackParams()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java466 jsonWriter.name(SPEED).value(location.getSpeed()); in storeLocation()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1607 method @NonNull public android.health.connect.datatypes.units.Velocity getSpeed();