Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DTimerTextController.kt35 var remainder = (variableRemainingTime % DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() variable
37 var minutes = (remainder / DateUtils.MINUTE_IN_MILLIS).toInt() in setTimeString()
38 remainder = (remainder % DateUtils.MINUTE_IN_MILLIS).toInt() in setTimeString()
40 var seconds = (remainder / DateUtils.SECOND_IN_MILLIS).toInt() in setTimeString()
41 remainder = (remainder % DateUtils.SECOND_IN_MILLIS).toInt() in setTimeString()
44 if (!isNegative && remainder != 0) { in setTimeString()
DStopwatchTextController.kt41 var remainder = (accumulatedTime % DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() variable
43 val minutes = (remainder / DateUtils.MINUTE_IN_MILLIS).toInt() in setTimeString()
44 remainder = (remainder % DateUtils.MINUTE_IN_MILLIS).toInt() in setTimeString()
46 val seconds = (remainder / DateUtils.SECOND_IN_MILLIS).toInt() in setTimeString()
47 remainder = (remainder % DateUtils.SECOND_IN_MILLIS).toInt() in setTimeString()
49 mHundredthsTextView.text = UiDataModel.uiDataModel.getFormattedNumber(remainder / 10, 2) in setTimeString()
DAlarmUtils.kt77 val remainder = variableDelta % DateUtils.MINUTE_IN_MILLIS in formatElapsedTimeUntilAlarm() constant
78 variableDelta += if (remainder == 0L) 0 else DateUtils.MINUTE_IN_MILLIS - remainder in formatElapsedTimeUntilAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt314 var remainder = (time % DateUtils.HOUR_IN_MILLIS).toInt() in formatTime() variable
315 minutes = (remainder / DateUtils.MINUTE_IN_MILLIS).toInt() in formatTime()
316 remainder = (remainder % DateUtils.MINUTE_IN_MILLIS).toInt() in formatTime()
317 seconds = (remainder / DateUtils.SECOND_IN_MILLIS).toInt() in formatTime()
318 remainder = (remainder % DateUtils.SECOND_IN_MILLIS).toInt() in formatTime()
319 hundredths = remainder / 10 in formatTime()
/packages/modules/Bluetooth/system/audio_a2dp_hw/test/
Daudio_a2dp_hw_test.cc137 const size_t remainder = expected_buffer_size % divisor; in TEST_F() local
138 if (remainder != 0) { in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/test/
Daudio_hearing_aid_hw_test.cc137 const size_t remainder = expected_buffer_size % divisor; in TEST_F() local
138 if (remainder != 0) { in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetUtils.java108 int remainder = prefixLength % 8; in maskRawAddress() local
109 byte mask = (byte) (0xFF << (8 - remainder)); in maskRawAddress()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java265 int remainder = parentWidth - width; in onMeasure() local
266 int childMeasureSpec = remainder > 0 in onMeasure()
267 ? MeasureSpec.makeMeasureSpec(remainder, MeasureSpec.EXACTLY) in onMeasure()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java336 final String remainder = displayName.substring(j + 1); in matchesCombination() local
339 context, remainder, query.substring(queryStart + 1), partialTemp)) { in matchesCombination()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcher.java1035 long remainder = seconds % ONE_DAY_IN_SECONDS; in roundSecondsToWholeDays() local
1037 boolean roundUp = (remainder >= ONE_DAY_IN_SECONDS / 2L) || (seconds == remainder); in roundSecondsToWholeDays()
1038 return seconds - remainder + (roundUp ? ONE_DAY_IN_SECONDS : 0); in roundSecondsToWholeDays()
/packages/modules/Bluetooth/system/bta/le_audio/
Daudio_set_configurations.fbs26 /// values if `value.length()` is no-remainder divisible by the non-zero
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1101 const size_t remainder = buffer_sz % divisor; in audio_ha_hw_stream_compute_buffer_size() local
1102 if (remainder != 0) { in audio_ha_hw_stream_compute_buffer_size()
1103 buffer_sz += divisor - remainder; in audio_ha_hw_stream_compute_buffer_size()
/packages/modules/Bluetooth/system/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1118 const size_t remainder = buffer_sz % divisor; in audio_a2dp_hw_stream_compute_buffer_size() local
1119 if (remainder != 0) { in audio_a2dp_hw_stream_compute_buffer_size()
1120 buffer_sz += divisor - remainder; in audio_a2dp_hw_stream_compute_buffer_size()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2ETest.java1079 long remainder = seconds % TimeUnit.DAYS.toSeconds(1); in roundSecondsToWholeDays() local
1080 boolean roundUp = remainder >= TimeUnit.DAYS.toSeconds(1) / 2L; in roundSecondsToWholeDays()
1081 return seconds - remainder + (roundUp ? TimeUnit.DAYS.toSeconds(1) : 0); in roundSecondsToWholeDays()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/data/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/tzbb_data/
DDATA_LICENSE519 the remainder of the terms and conditions of this License and each
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/data/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/data/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/output_polygons/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/modules/GeoTZ/output_data/odbl/
DLICENSE519 the remainder of the terms and conditions of this License and each
/packages/apps/Contacts/
DNOTICE273 the remainder of the terms of this License, and without further action

12