/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerTextController.kt | 34 var hours = (variableRemainingTime / DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() 35 var remainder = (variableRemainingTime % DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() 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()
|
D | StopwatchTextController.kt | 40 val hours = (accumulatedTime / DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() 41 var remainder = (accumulatedTime % DateUtils.HOUR_IN_MILLIS).toInt() in setTimeString() 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()
|
D | CircleButtonsLayout.kt | 71 val circleDiam = (minBound - mDiamOffset).toInt() in remeasureViews() 145 it.maxWidth = w.toInt() in remeasureViews()
|
D | AlarmUtils.kt | 79 var hours = variableDelta.toInt() / (1000 * 60 * 60) in formatElapsedTimeUntilAlarm() 80 val minutes = variableDelta.toInt() / (1000 * 60) % 60 in formatElapsedTimeUntilAlarm()
|
D | AlarmSelectionActivity.kt | 71 val selection = mSelections[id.toInt()] in onListItemClick()
|
D | ClockFragment.kt | 422 val hoursDifferent = (offsetDelta / DateUtils.HOUR_IN_MILLIS).toInt() in bind() 423 val minutesDifferent = (offsetDelta / DateUtils.MINUTE_IN_MILLIS).toInt() % 60 in bind()
|
D | HandleApiCalls.kt | 328 val timerId = ContentUris.parseId(dataUri).toInt() in getSelectedTimer()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | Utils.kt | 183 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getTimeDiffStr() 185 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getTimeDiffStr() 187 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getTimeDiffStr() 189 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getTimeDiffStr() 201 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getDurationUsedStr() 203 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getDurationUsedStr() 205 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getDurationUsedStr() 207 timeDiffAndUnit.first.toInt(), timeDiffAndUnit.first) in getDurationUsedStr()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.kt | 313 hours = (time / DateUtils.HOUR_IN_MILLIS).toInt() in formatTime() 314 var remainder = (time % DateUtils.HOUR_IN_MILLIS).toInt() in formatTime() 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()
|
D | StopwatchFragment.kt | 341 val subject = subjects[(Math.random() * subjects.size).toInt()] in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 81 chart.configureGraph(toInt(mEnd - mStart), top); in onBindViewHolder() 120 points.put(toInt(startTime - mStart) - 1, -1); in calcPoints() 122 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints() 123 points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION)); in calcPoints() 254 private int toInt(long l) { in toInt() method in ChartDataUsagePreference
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 226 return crescendoSeconds.toInt() * DateUtils.SECOND_IN_MILLIS in getAlarmCrescendoDuration() 235 return crescendoSeconds.toInt() * DateUtils.SECOND_IN_MILLIS in getTimerCrescendoDuration() 245 return when (val firstCalendarDay = value.toInt()) { in getWeekdayOrder() 291 return string.toInt() in getAlarmTimeout() 300 return string.toInt() in getSnoozeLength()
|
D | TimerStringFormatter.kt | 38 var roundedHours = (remainingTime / HOUR_IN_MILLIS).toInt() in formatTimeRemaining() 39 var roundedMinutes = (remainingTime / MINUTE_IN_MILLIS % 60).toInt() in formatTimeRemaining() 40 var roundedSeconds = (remainingTime / SECOND_IN_MILLIS % 60).toInt() in formatTimeRemaining()
|
D | CityDAO.kt | 150 val index = if (matcher.find()) matcher.group().toInt() else -1 in createCity()
|
D | TimerDAO.kt | 67 val id = timerId.toInt() in getTimers()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | CircleView.kt | 221 invalidate((centerX - radius - 0.5f).toInt(), (centerY - radius - 0.5f).toInt(), in invalidate() 222 (centerX + radius + 0.5f).toInt(), (centerY + radius + 0.5f).toInt()) in invalidate()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivitySettingsManagerTest.kt | 154 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 163 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 173 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 226 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 272 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/ |
D | PermissionGroupPreferenceUtils.kt | 39 UsageCount(groups[1].toInt(), groups[2].toInt()) in getUsageCountsFromUi()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.kt | 236 mIconFontSizePx = (mFontSizePx * 1.4f).toInt() in <lambda>() 352 val minWidthPx = (density * options.getInt(OPTION_APPWIDGET_MIN_WIDTH)).toInt() in <lambda>() 353 val minHeightPx = (density * options.getInt(OPTION_APPWIDGET_MIN_HEIGHT)).toInt() in <lambda>() 354 val maxWidthPx = (density * options.getInt(OPTION_APPWIDGET_MAX_WIDTH)).toInt() in <lambda>() 355 val maxHeightPx = (density * options.getInt(OPTION_APPWIDGET_MAX_HEIGHT)).toInt() in <lambda>()
|
D | DigitalAppWidgetCityViewsFactory.kt | 82 return Math.ceil(totalClockCount / 2).toInt() in getCount()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | FormattedStringModel.kt | 67 val length = if (value == 0) 1 else Math.log10(value.toDouble()).toInt() + 1 in getFormattedNumber() 107 valueCache = SparseArray(Math.pow(10.0, length.toDouble()).toInt()) in getFormattedNumber()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ManageStandardPermissionsFragmentTest.kt | 88 .toInt() in getAdditionalPermissionCount()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 128 0 /* flags */, TEST_TARGET_IPV4_ADDR, DhcpPacket.DHCP_CLIENT.toInt() /* port */) in testAddArpEntry()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 284 val i = delay.toInt() in updateAutoSnoozeSummary()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | GrantPermissionsViewHandlerImpl.kt | 87 R.dimen.location_accuracy_image_size).toInt() in <lambda>()
|