Home
last modified time | relevance | path

Searched refs:MILLIS_PER_SECOND (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java353 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); in observesDaylightTime()
590 int ruleRaw = r.getInt() * Grego.MILLIS_PER_SECOND; in construct()
599 ruleData[3] * Grego.MILLIS_PER_SECOND, in construct()
602 ruleData[8] * Grego.MILLIS_PER_SECOND, in construct()
604 ruleData[10] * Grego.MILLIS_PER_SECOND); in construct()
681 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND); in getHistoricalOffset()
684 offsets[0] = initialRawOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
685 offsets[1] = initialDstOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
739 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
740 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
[all …]
DGrego.java37 public static final int MILLIS_PER_SECOND = 1000; field in Grego
38 public static final int MILLIS_PER_MINUTE = 60*MILLIS_PER_SECOND;
230 int sec = millis / MILLIS_PER_SECOND; in timeToString()
231 millis = millis % MILLIS_PER_SECOND; in timeToString()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java355 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); in observesDaylightTime()
592 int ruleRaw = r.getInt() * Grego.MILLIS_PER_SECOND; in construct()
601 ruleData[3] * Grego.MILLIS_PER_SECOND, in construct()
604 ruleData[8] * Grego.MILLIS_PER_SECOND, in construct()
606 ruleData[10] * Grego.MILLIS_PER_SECOND); in construct()
683 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND); in getHistoricalOffset()
686 offsets[0] = initialRawOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
687 offsets[1] = initialDstOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
741 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
742 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
[all …]
DGrego.java39 public static final int MILLIS_PER_SECOND = 1000; field in Grego
40 public static final int MILLIS_PER_MINUTE = 60*MILLIS_PER_SECOND;
232 int sec = millis / MILLIS_PER_SECOND; in timeToString()
233 millis = millis % MILLIS_PER_SECOND; in timeToString()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchesStringBuilder.java41 Constant.MILLIS_PER_SECOND; in getGlitchString()
46 Constant.MILLIS_PER_SECOND; in getGlitchString()
72 Constant.MILLIS_PER_SECOND; in getGlitchStringForFile()
94 Constant.MILLIS_PER_SECOND; in getGlitchMilliseconds()
DConstant.java27 public static final int MILLIS_PER_SECOND = 1000; field in Constant
DRecorderRunnable.java230 mFFTSamplingSize = targetFFTMs * mSamplingRate / Constant.MILLIS_PER_SECOND; in initBufferRecord()
524 mBufferTestDurationMs = Constant.MILLIS_PER_SECOND * mBufferTestDurationInSeconds; in setBufferTestDurationInSeconds()
DNativeAudioThread.java250 long testDurationMs = mBufferTestDurationInSeconds * Constant.MILLIS_PER_SECOND; in run()
341 mFFTSamplingSize = targetFFTMs * mSamplingRate / Constant.MILLIS_PER_SECOND; in setUpGlitchDetectionThread()
DGlitchAndCallbackHeatMapView.java43 private static final int MILLIS_PER_SECOND = 1000; field in GlitchAndCallbackHeatMapView
221 int lastFilledGlitchBucket = bucketGlitches(glitchTimes, bucketSize * MILLIS_PER_SECOND, in fillCanvas()
424 int bucketSizeMS = bucketSizeSeconds * MILLIS_PER_SECOND;
DGlitchDetectionThread.java104 mThreadSleepDurationMs = FFTOverlapSamples * Constant.MILLIS_PER_SECOND / mSamplingRate; in GlitchDetectionThread()
DLoopbackActivity.java276 Constant.MILLIS_PER_SECOND - 1) / Constant.MILLIS_PER_SECOND);
360 Constant.MILLIS_PER_SECOND - 1) / Constant.MILLIS_PER_SECOND);
833 (float) (mRecorderBufferSizeInBytes * Constant.MILLIS_PER_SECOND) in restartAudioSystem()
840 (float) (mPlayerBufferSizeInBytes * Constant.MILLIS_PER_SECOND) in restartAudioSystem()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java58 private static final long MILLIS_PER_SECOND = 1000; field in TimeUtil
102 Date date = new Date(timestamp.getSeconds() * MILLIS_PER_SECOND); in toString()
155 long seconds = date.getTime() / MILLIS_PER_SECOND; in parseTimestamp()
263 return normalizedTimestamp(milliseconds / MILLIS_PER_SECOND, in createTimestampFromMillis()
264 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in createTimestampFromMillis()
271 return normalizedDuration(milliseconds / MILLIS_PER_SECOND, in createDurationFromMillis()
272 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in createDurationFromMillis()
283 return timestamp.getSeconds() * MILLIS_PER_SECOND + timestamp.getNanos() in toMillis()
293 return duration.getSeconds() * MILLIS_PER_SECOND + duration.getNanos() in toMillis()
/external/drrickorang/LoopbackApp/app/src/main/jni/
Dsles.h120 #define MILLIS_PER_SECOND 1000 macro
Dsles.cpp619 round(pSles->bufSizeInFrames * MILLIS_PER_SECOND / (float) pSles->sampleRate)); in slesCreateServer()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java348 private static final int MILLIS_PER_SECOND = 1000; field in TimeZoneFormat
1581 int offsetS = offset / MILLIS_PER_SECOND;
1642 …if (useUtcIndicator && (absOffset < MILLIS_PER_SECOND || (ignoreSeconds && absOffset < MILLIS_PER_…
1661 fields[2] = absOffset / MILLIS_PER_SECOND;
2482 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2551 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2908 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java384 private static final int MILLIS_PER_SECOND = 1000; field in TimeZoneFormat
1651 int offsetS = offset / MILLIS_PER_SECOND;
1712 …if (useUtcIndicator && (absOffset < MILLIS_PER_SECOND || (ignoreSeconds && absOffset < MILLIS_PER_…
1731 fields[2] = absOffset / MILLIS_PER_SECOND;
2552 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2621 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2978 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp121 static const int32_t MILLIS_PER_SECOND = 1000; variable
1489 …if (useUtcIndicator && (absOffset < MILLIS_PER_SECOND || (ignoreSeconds && absOffset < MILLIS_PER_… in formatOffsetISO8601()
1512 fields[2] = absOffset / MILLIS_PER_SECOND; in formatOffsetISO8601()
1576 int32_t offsetS = offset / MILLIS_PER_SECOND; in formatOffsetLocalizedGMT()
1955 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseAbuttingOffsetFields()
2070 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseDefaultOffsetFields()
2152 fields[2] = offset / MILLIS_PER_SECOND; in formatOffsetWithAsciiDigits()
2328 offset += fieldVal[2] * MILLIS_PER_SECOND; in parseAsciiOffsetFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1935 int sec = t / Grego.MILLIS_PER_SECOND; in getDateTimeString()
2007 … time += (hour*Grego.MILLIS_PER_HOUR + min*Grego.MILLIS_PER_MINUTE + sec*Grego.MILLIS_PER_SECOND); in parseDateTimeString()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java1904 int sec = t / Grego.MILLIS_PER_SECOND; in getDateTimeString()
1976 … time += (hour*Grego.MILLIS_PER_HOUR + min*Grego.MILLIS_PER_MINUTE + sec*Grego.MILLIS_PER_SECOND); in parseDateTimeString()