Searched refs:timeDelta (Results 1 – 9 of 9) sorted by relevance
105 long timeDelta = timeStamp - link.lastPacketCountUpdateTimeStamp; in updateMloRates() local106 double lastSampleWeight = Math.exp(-1.0 * timeDelta / FILTER_TIME_CONSTANT); in updateMloRates()111 + (txbad - link.txBad) * 1000.0 / timeDelta * currentSampleWeight); in updateMloRates()114 + (txgood - link.txSuccess) * 1000.0 / timeDelta * currentSampleWeight); in updateMloRates()117 + (rxgood - link.rxSuccess) * 1000.0 / timeDelta * currentSampleWeight); in updateMloRates()122 / timeDelta in updateMloRates()147 long timeDelta = timeStamp - mLastPacketCountUpdateTimeStamp; in updateWifiInfoRates() local148 double lastSampleWeight = Math.exp(-1.0 * timeDelta / FILTER_TIME_CONSTANT); in updateWifiInfoRates()152 + (txbad - txBad) * 1000.0 / timeDelta in updateWifiInfoRates()155 + (txgood - txSuccess) * 1000.0 / timeDelta in updateWifiInfoRates()[all …]
3338 long timeDelta = mClock.getElapsedSinceBootMillis() - mScanResultRssiTimestampMillis; in maybeIncrementRssiDeltaCount() local3339 if (timeDelta <= TIMEOUT_RSSI_DELTA_MILLIS) { in maybeIncrementRssiDeltaCount()
779 val timeDelta = timestamp - previousScrollEventTime in isOppositeValueAfterScroll() constant780 return previousScrollEventTime == 0L || timeDelta > gestureThresholdTime in isOppositeValueAfterScroll()846 val timeDelta = timestamp - previousScrollEventTime in isNewScrollEvent() constant847 return previousScrollEventTime == 0L || timeDelta > gestureThresholdTime in isNewScrollEvent()992 val timeDelta = timestamp - previousScrollEventTime in isOppositeValueAfterScroll() constant993 return previousScrollEventTime == 0L || timeDelta > gestureThresholdTime in isOppositeValueAfterScroll()1071 val timeDelta = timestamp - previousScrollEventTime in isNewScrollEvent() constant1072 return previousScrollEventTime == 0L || timeDelta > gestureThresholdTime in isNewScrollEvent()
195 override fun PermissionChange.copyWithTimeDelta(timeDelta: Long): PermissionChange { in copyWithTimeDelta()196 return this.copy(eventTime = this.eventTime + timeDelta) in copyWithTimeDelta()
177 abstract fun T.copyWithTimeDelta(timeDelta: Long): T
209 override fun PermissionDecision.copyWithTimeDelta(timeDelta: Long): PermissionDecision { in copyWithTimeDelta()210 return this.copy(eventTime = this.eventTime + timeDelta) in copyWithTimeDelta()
499 long timeDelta = SystemClock.uptimeMillis() - mRecordingStartTime; in onDraw() local500 long numberOfFrames = timeDelta / mTimeLapseInterval; in onDraw()508 sweepAngle = timeDelta % mTimeLapseInterval * 360f / mTimeLapseInterval; in onDraw()
252 override fun TestPermissionEvent.copyWithTimeDelta(timeDelta: Long): TestPermissionEvent { in copyWithTimeDelta()253 return this.copy(eventTime = this.eventTime + timeDelta) in copyWithTimeDelta()
759 final long timeDelta = now - mLastUpdateTime; in updateProgress() local760 if (bytesDelta > Constants.MIN_PROGRESS_STEP && timeDelta > Constants.MIN_PROGRESS_TIME) { in updateProgress()