Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java129 public long timestamp; field in CarSensorEvent
142 timestamp = in.readLong(); in CarSensorEvent()
158 dest.writeLong(timestamp); in writeToParcel()
176 public CarSensorEvent(int sensorType, long timestamp, int floatValueSize, int intValueSize, in CarSensorEvent() argument
179 this.timestamp = timestamp; in CarSensorEvent()
186 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
189 this.timestamp = timestamp; in CarSensorEvent()
207 public long timestamp; field in CarSensorEvent.EnvironmentData
230 data.timestamp = timestamp; in getEnvironmentData()
237 public long timestamp; field in CarSensorEvent.IgnitionStateData
[all …]
/packages/services/Car/tools/emulator/
Ddiagjson.example3 "timestamp": 72375175786629,
47 "timestamp": 72377177593287,
91 "timestamp": 72379176544788,
135 "timestamp": 72381179373780,
179 "timestamp": 72383179413967,
223 "timestamp": 72385179454210,
267 "timestamp": 72387176856679,
311 "timestamp": 72389180204642,
355 "timestamp": 72391178997905,
399 "timestamp": 72393179466175,
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DObexTimeTest.java72 ObexTime timestamp = new ObexTime(VALID_TIME_STRING); in createWithValidDateTimeString_TimestampCorrect() local
76 timestamp.getInstant()); in createWithValidDateTimeString_TimestampCorrect()
78 "Parsed date must match expected", VALID_DATE_LOCAL_TZ, timestamp.getTime()); in createWithValidDateTimeString_TimestampCorrect()
83 ObexTime timestamp = new ObexTime(VALID_TIME_STRING_WITH_OFFSET_POS); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect() local
87 timestamp.getInstant()); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect()
89 "Parsed date must match expected", VALID_DATE_WITH_OFFSET_POS, timestamp.getTime()); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect()
94 ObexTime timestamp = new ObexTime(VALID_TIME_STRING_WITH_OFFSET_NEG); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect() local
98 timestamp.getInstant()); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect()
100 "Parsed date must match expected", VALID_DATE_WITH_OFFSET_NEG, timestamp.getTime()); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect()
105 ObexTime timestamp = new ObexTime(VALID_DATE_LOCAL_TZ); in createWithValidDate_TimestampCorrect() local
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DRtpContextParams.cpp30 timestamp(0), in RtpContextParams()
36 const int64_t ssrc, const int64_t timestamp, const int32_t sequenceNumber) in RtpContextParams() argument
39 this->timestamp = timestamp; in RtpContextParams()
46 this->timestamp = params.timestamp; in RtpContextParams()
57 this->timestamp = params.timestamp; in operator =()
65 return (this->ssrc == params.ssrc && this->timestamp == params.timestamp && in operator ==()
71 return (this->ssrc != params.ssrc || this->timestamp != params.timestamp || in operator !=()
91 err = out->writeInt64(timestamp); in writeToParcel()
124 err = in->readInt64(&timestamp); in readFromParcel()
153 return timestamp; in getTimestamp()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValueBuilder.java88 public HalPropValue build(int prop, int areaId, long timestamp, int status) { in build() argument
90 return new AidlHalPropValue(prop, areaId, timestamp, status); in build()
92 return new HidlHalPropValue(prop, areaId, timestamp, status); in build()
116 public HalPropValue build(int prop, int areaId, long timestamp, int status, int value) { in build() argument
118 return new AidlHalPropValue(prop, areaId, timestamp, status, value); in build()
120 return new HidlHalPropValue(prop, areaId, timestamp, status, value); in build()
144 public HalPropValue build(int prop, int areaId, long timestamp, int status, int[] values) { in build() argument
146 return new AidlHalPropValue(prop, areaId, timestamp, status, values); in build()
148 return new HidlHalPropValue(prop, areaId, timestamp, status, values); in build()
172 public HalPropValue build(int prop, int areaId, long timestamp, int status, float value) { in build() argument
[all …]
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DGazeAttentionProcessorTest.java58 long timestamp = 1234; in testUpdateAttention_neverExceedsOne() local
63 assertThat(mAttentionProcessor.updateAttention(onRoadDetection, timestamp)) in testUpdateAttention_neverExceedsOne()
65 timestamp += FRAME_TIME_MILLIS; in testUpdateAttention_neverExceedsOne()
69 assertTrue(mAttentionProcessor.updateAttention(onRoadDetection, timestamp) <= 1.0f); in testUpdateAttention_neverExceedsOne()
70 timestamp += FRAME_TIME_MILLIS; in testUpdateAttention_neverExceedsOne()
77 long timestamp = 1234; in testUpdateAttention_neverBelowZero() local
82 assertThat(mAttentionProcessor.updateAttention(offRoadDetection, timestamp)) in testUpdateAttention_neverBelowZero()
84 timestamp += FRAME_TIME_MILLIS; in testUpdateAttention_neverBelowZero()
88 assertTrue(mAttentionProcessor.updateAttention(offRoadDetection, timestamp) >= 0); in testUpdateAttention_neverBelowZero()
89 timestamp += FRAME_TIME_MILLIS; in testUpdateAttention_neverBelowZero()
[all …]
DGazeDriverAwarenessSupplierTest.java117 long timestamp = START_TIME_MILLIS + FRAME_TIME_MILLIS; in testprocessDetectionEvent_neverExceedsOne() local
122 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testprocessDetectionEvent_neverExceedsOne()
126 .emitAwarenessEvent(new DriverAwarenessEvent(timestamp, attention)); in testprocessDetectionEvent_neverExceedsOne()
130 timestamp += FRAME_TIME_MILLIS; in testprocessDetectionEvent_neverExceedsOne()
143 long timestamp = START_TIME_MILLIS + FRAME_TIME_MILLIS; in testprocessDetectionEvent_neverFallsBelowZero() local
148 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testprocessDetectionEvent_neverFallsBelowZero()
152 .emitAwarenessEvent(new DriverAwarenessEvent(timestamp, attention)); in testprocessDetectionEvent_neverFallsBelowZero()
156 timestamp += FRAME_TIME_MILLIS; in testprocessDetectionEvent_neverFallsBelowZero()
162 long timestamp, @GazeDetection.VehicleRegion int gazeTarget) { in buildGazeDetection() argument
174 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER, timestamp, true, gaze, null); in buildGazeDetection()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DTimestampUtils.java25 static long getNextHourTimestamp(final long timestamp) { in getNextHourTimestamp() argument
26 final Calendar calendar = getSharpHourCalendar(timestamp); in getNextHourTimestamp()
31 static long getNextEvenHourTimestamp(final long timestamp) { in getNextEvenHourTimestamp() argument
32 final Calendar calendar = getSharpHourCalendar(timestamp); in getNextEvenHourTimestamp()
38 static long getLastEvenHourTimestamp(final long timestamp) { in getLastEvenHourTimestamp() argument
39 final Calendar calendar = getSharpHourCalendar(timestamp); in getLastEvenHourTimestamp()
45 static long getNextDayTimestamp(final long timestamp) { in getNextDayTimestamp() argument
46 final Calendar calendar = getSharpHourCalendar(timestamp); in getNextDayTimestamp()
56 static boolean isMidnight(final long timestamp) { in isMidnight() argument
58 calendar.setTimeInMillis(timestamp); in isMidnight()
[all …]
DBatteryLevelData.java61 for (Long timestamp : timestamps) { in PeriodBatteryLevelData()
63 batteryLevelMap.containsKey(timestamp) in PeriodBatteryLevelData()
64 ? batteryLevelMap.get(timestamp) in PeriodBatteryLevelData()
206 for (long timestamp = startTimestamp; in getDailyTimestamps()
207 timestamp < endTimestamp; in getDailyTimestamps()
208 timestamp = TimestampUtils.getNextDayTimestamp(timestamp)) { in getDailyTimestamps()
209 dailyTimestampList.add(timestamp); in getDailyTimestamps()
223 for (long timestamp = TimestampUtils.getNextEvenHourTimestamp(startTime); in getHourlyTimestamps()
224 timestamp < endTime; in getHourlyTimestamps()
225 timestamp += TIME_SLOT) { in getHourlyTimestamps()
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBufferTest.cpp137 uint32_t timestamp = 0; in TEST_F() local
149 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
152 EXPECT_EQ(timestamp, countGetFrame * TEST_FRAME_INTERVAL); in TEST_F()
169 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
172 EXPECT_EQ(timestamp, countGetFrame * TEST_FRAME_INTERVAL); in TEST_F()
201 uint32_t timestamp = 0; in TEST_F() local
218 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
222 EXPECT_EQ(timestamp, countGetFrame * TEST_FRAME_INTERVAL); in TEST_F()
238 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
242 EXPECT_EQ(timestamp, countGetFrame * TEST_FRAME_INTERVAL); in TEST_F()
[all …]
DJitterNetworkAnalyserTest.cpp61 int32_t timestamp = 0; in TEST_F() local
66 timestamp += TEST_FRAME_INTERVAL; in TEST_F()
72 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), 0); in TEST_F()
76 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), jitter); in TEST_F()
80 mAnalyzer->GetNextJitterBufferSize(currentJitterBufferSize, timestamp); in TEST_F()
92 int32_t timestamp = 0; in TEST_F() local
98 timestamp += TEST_FRAME_INTERVAL; in TEST_F()
103 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), 0); in TEST_F()
107 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), kJitter); in TEST_F()
124 int32_t timestamp = 0; in TEST_F() local
[all …]
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothActivityEnergyInfoTest.java41 long timestamp = 10000; in constructor() local
49 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in constructor()
51 assertThat(info.getTimestampMillis()).isEqualTo(timestamp); in constructor()
62 long timestamp = 10000; in setUidTraffic() local
70 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in setUidTraffic()
83 long timestamp = 10000; in isValid() local
91 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in isValid()
97 timestamp, stackState, -1, rxTime, idleTime, energyUsed); in isValid()
102 timestamp, stackState, txTime, -1, idleTime, energyUsed); in isValid()
107 timestamp, stackState, txTime, rxTime, -1, energyUsed); in isValid()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtpEncoderNode.cpp152 uint32_t timestamp, bool mark, uint32_t /*seq*/, ImsMediaSubType /*dataType*/, in OnDataFromFrontNode() argument
163 ProcessAudioData(subtype, data, size, timestamp); in OnDataFromFrontNode()
167 ProcessVideoData(subtype, data, size, timestamp, mark); in OnDataFromFrontNode()
171 ProcessTextData(subtype, data, size, timestamp, mark); in OnDataFromFrontNode()
434 ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp) in ProcessAudioData() argument
457 timeDiff = timestamp - mPrevTimestamp; in ProcessAudioData()
458 mMark ? mDtmfTimestamp = timestamp : timeDiff = 0; in ProcessAudioData()
459 mPrevTimestamp = timestamp; in ProcessAudioData()
474 timeDiff = mPrevTimestamp == 0 ? 0 : ((timestamp - mPrevTimestamp) + 10) / 20 * 20; in ProcessAudioData()
475 mPrevTimestamp = timestamp; in ProcessAudioData()
[all …]
/packages/modules/StatsD/statsd/tests/external/
Dpuller_util_test.cpp44 const int timestamp = 1234; variable
67 makeUidLogEvent(uidAtomTagId, timestamp, isolatedUid1, hostNonAdditiveData, in TEST()
71 makeUidLogEvent(uidAtomTagId, timestamp, hostUid, hostNonAdditiveData, in TEST()
89 makeUidLogEvent(uidAtomTagId, timestamp, isolatedUid1, isolatedNonAdditiveData, in TEST()
93 makeUidLogEvent(uidAtomTagId, timestamp, hostUid, isolatedNonAdditiveData, in TEST()
97 makeUidLogEvent(uidAtomTagId, timestamp, hostUid, hostNonAdditiveData, in TEST()
122 makeUidLogEvent(uidAtomTagId, timestamp, hostUid, isolatedNonAdditiveData, in TEST()
126 makeUidLogEvent(uidAtomTagId, timestamp, hostUid, hostNonAdditiveData, in TEST()
151 makeUidLogEvent(uidAtomTagId, timestamp, isolatedUid1, isolatedNonAdditiveData, in TEST()
155 makeUidLogEvent(uidAtomTagId, timestamp, isolatedUid1, hostNonAdditiveData, in TEST()
[all …]
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp90 void OringDurationTracker::noteStop(const HashableDimensionKey& key, const int64_t timestamp, in noteStop() argument
102 (timestamp - mLastStartTime); in noteStop()
104 timestamp, mCurrentBucketNum, in noteStop()
107 (long long)timestamp - mLastStartTime, (long long)getCurrentStateKeyDuration(), in noteStop()
121 stopAnomalyAlarm(timestamp); in noteStop()
125 void OringDurationTracker::noteStopAll(const int64_t timestamp) { in noteStopAll() argument
128 (timestamp - mLastStartTime); in noteStopAll()
130 (long long)timestamp - mLastStartTime, (long long)getCurrentStateKeyDuration(), in noteStopAll()
133 timestamp, mCurrentBucketNum, in noteStopAll()
137 stopAnomalyAlarm(timestamp); in noteStopAll()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadEncoderNode.cpp69 uint32_t size, uint32_t timestamp, bool mark, uint32_t /*seq*/, in OnDataFromFrontNode() argument
76 EncodeT140(data, size, timestamp, mark); in OnDataFromFrontNode()
114 uint8_t* data, uint32_t size, uint32_t timestamp, bool mark) in EncodeT140() argument
124 if (size > 0 && timestamp > mLastTimestampSent + T140_BUFFERING_TIME) in EncodeT140()
133 size, bNewMark, mRedundantLevel, timestamp, mLastTimestampSent, in EncodeT140()
159 uint32_t nTSInterval = timestamp - pEntry->nTimestamp; in EncodeT140()
165 timestamp, pEntry->nTimestamp, nTSInterval, pEntry->arrivalTime); in EncodeT140()
227 nullRED.nTimestamp = timestamp; in EncodeT140()
252 uint32_t nTSInterval = timestamp - pEntry->nTimestamp; in EncodeT140()
288 mBWPayload.GetBufferSize(), timestamp, bNewMark); in EncodeT140()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java111 long timestamp = SystemClock.elapsedRealtimeNanos(); in addNewEvent() local
112 return addNewEvent(builder, timestamp); in addNewEvent()
115 synchronized VehiclePropValue addNewEvent(DiagnosticEventBuilder builder, long timestamp) { in addNewEvent() argument
116 VehiclePropValue newEvent = builder.build(timestamp); in addNewEvent()
117 mEvents.put(timestamp, newEvent); in addNewEvent()
121 synchronized VehiclePropValue removeEvent(long timestamp) { in removeEvent() argument
122 return mEvents.remove(timestamp); in removeEvent()
133 synchronized VehiclePropValue getEvent(long timestamp) { in getEvent() argument
134 return mEvents.get(timestamp); in getEvent()
208 long timestamp = value.value.int64Values[0]; in onPropertyGet() local
[all …]
/packages/apps/Car/Settings/src/com/android/car/settingslib/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java52 long timestamp = mDpm.getLastSecurityLogRetrievalTime(); in getLastSecurityLogRetrievalTime() local
53 return timestamp < 0 ? null : new Date(timestamp); in getLastSecurityLogRetrievalTime()
58 long timestamp = mDpm.getLastBugReportRequestTime(); in getLastBugReportRequestTime() local
59 return timestamp < 0 ? null : new Date(timestamp); in getLastBugReportRequestTime()
64 long timestamp = mDpm.getLastNetworkLogRetrievalTime(); in getLastNetworkLogRetrievalTime() local
65 return timestamp < 0 ? null : new Date(timestamp); in getLastNetworkLogRetrievalTime()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java33 private long timestamp; field in SimpleDate
39 public SimpleDate(long timestamp) { in SimpleDate() argument
40 setTimestamp(timestamp); in SimpleDate()
45 public void setTimestamp(long timestamp) { in setTimestamp() argument
48 sCalendarInstance.setTimeInMillis(timestamp); in setTimestamp()
52 this.timestamp = timestamp; in setTimestamp()
54 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in setTimestamp()
123 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in toString()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataPoolImpl.java56 private SettableFuture<TotalCaptureResultProxy> getOrCreateFuture(long timestamp) { in getOrCreateFuture() argument
59 if (!mMetadataFutures.containsKey(timestamp)) { in getOrCreateFuture()
60 mMetadataFutures.put(timestamp, SettableFuture.<TotalCaptureResultProxy> create()); in getOrCreateFuture()
63 metadataFuture = mMetadataFutures.get(timestamp); in getOrCreateFuture()
70 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(final long timestamp) { in removeMetadataFuture() argument
71 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture()
77 mMetadataFutures.remove(timestamp); in removeMetadataFuture()
91 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP); in update() local
92 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationVendorDataDaoTest.java88 long timestamp = System.currentTimeMillis(); in testBatchInsert() local
89 addTestData(timestamp); in testBatchInsert()
91 assertEquals(timestamp, timestampFromDB); in testBatchInsert()
107 timestamp)); in testBatchInsert()
118 assertTrue(new File(dir, "large_" + timestamp).exists()); in testBatchInsert()
123 long timestamp = System.currentTimeMillis(); in testReadSingleRow() local
124 addTestData(timestamp); in testReadSingleRow()
240 private void addTestData(long timestamp) { in addTestData() argument
241 addTestData(timestamp, mDao); in addTestData()
244 private void addTestData(long timestamp, OnDevicePersonalizationVendorDataDao dao) { in addTestData() argument
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryStateDao.java42 Cursor getLatestTimestampBefore(long timestamp); in getLatestTimestampBefore() argument
46 Cursor getBatteryStatesAfter(long timestamp); in getBatteryStatesAfter() argument
50 List<BatteryState> getAllAfter(long timestamp); in getAllAfter() argument
54 int getDistinctTimestampCount(long timestamp); in getDistinctTimestampCount() argument
58 List<Long> getDistinctTimestamps(long timestamp); in getDistinctTimestamps() argument
62 void clearAllBefore(long timestamp); in clearAllBefore() argument
66 void clearAllAfter(long timestamp); in clearAllAfter() argument
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DFileUtils.java63 static File getTempDir(Context context, String timestamp) { in getTempDir() argument
66 File dir = new File(context.getDataDir(), TEMP_DIR + "/" + timestamp); in getTempDir()
90 static String getAudioFileName(String timestamp, MetaBugReport bug, String extension) { in getAudioFileName() argument
92 return (PREFIX + bug.getUserName() + FS + timestamp in getAudioFileName()
111 static File getFileWithSuffix(Context context, String timestamp, String suffix) { in getFileWithSuffix() argument
112 return new File(getTempDir(context, timestamp), timestamp + suffix); in getFileWithSuffix()
124 static File getFile(Context context, String timestamp, String name) { in getFile() argument
125 return new File(getTempDir(context, timestamp), name); in getFile()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DNotificationContentObserverTest.java93 String timestamp = "1063"; in onChange_receivesCorrectMediaUri_invokesCallback() local
95 mObserver.onChange(false, Uri.parse(URI_UPDATE_MEDIA + "/" + timestamp)); in onChange_receivesCorrectMediaUri_invokesCallback()
97 verify(mObserverCallbackA).onNotificationReceived(timestamp, null); in onChange_receivesCorrectMediaUri_invokesCallback()
105 String timestamp = "457801"; in onChange_receivesCorrectAlbumContentUri_invokesCallback() local
108 + "/" + albumId + "/" + timestamp)); in onChange_receivesCorrectAlbumContentUri_invokesCallback()
110 verify(mObserverCallbackB).onNotificationReceived(timestamp, albumId); in onChange_receivesCorrectAlbumContentUri_invokesCallback()
117 String timestamp = "12345"; in onChange_receivesIncorrectUri_doesNotInvokeCallback() local
120 mObserver.onChange(false, Uri.parse(URI_UPDATE_ALBUM_CONTENT + "/" + timestamp)); in onChange_receivesIncorrectUri_doesNotInvokeCallback()
122 verify(mObserverCallbackB, never()).onNotificationReceived(timestamp, null); in onChange_receivesIncorrectUri_doesNotInvokeCallback()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt396 fun startFlingTracking(timestamp: Long) { in handleScrollEvent()
397 rotaryVelocityTracker.start(timestamp) in handleScrollEvent()
398 latestEventTimestamp = timestamp in handleScrollEvent()
403 fun observeEvent(timestamp: Long, delta: Float) { in handleScrollEvent()
404 rotaryVelocityTracker.move(timestamp, delta) in handleScrollEvent()
405 latestEventTimestamp = timestamp in handleScrollEvent()
451 internal data class TimestampedDelta(val timestamp: Long, val delta: Float) constant in TimestampedDelta
684 if (lastTimestamp + timeframe <= it.timestamp) { in rotaryHandler()
685 lastTimestamp = it.timestamp in rotaryHandler()
687 emit(TimestampedDelta(it.timestamp, delta)) in rotaryHandler()
[all …]

12345678910>>...22