/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.kt | 284 TOP_PADDING_MONTH_NUMBER *= mScale.toInt() in initView() 285 TOP_PADDING_WEEK_NUMBER *= mScale.toInt() in initView() 286 SIDE_PADDING_MONTH_NUMBER *= mScale.toInt() in initView() 287 SIDE_PADDING_WEEK_NUMBER *= mScale.toInt() in initView() 288 SPACING_WEEK_NUMBER *= mScale.toInt() in initView() 289 TEXT_SIZE_MONTH_NUMBER *= mScale.toInt() in initView() 290 TEXT_SIZE_EVENT *= mScale.toInt() in initView() 291 TEXT_SIZE_EVENT_TITLE *= mScale.toInt() in initView() 292 TEXT_SIZE_MORE_EVENTS *= mScale.toInt() in initView() 293 TEXT_SIZE_MONTH_NAME *= mScale.toInt() in initView() [all …]
|
D | SimpleWeekView.kt | 143 mHeight = (params.get(VIEW_PARAMS_HEIGHT))!!.toInt() in setWeekParams() 149 mSelectedDay = (params.get(VIEW_PARAMS_SELECTED_DAY))!!.toInt() in setWeekParams() 153 mNumDays = (params.get(VIEW_PARAMS_NUM_DAYS))!!.toInt() in setWeekParams() 169 mWeek = (params.get(VIEW_PARAMS_WEEK))!!.toInt() in setWeekParams() 181 mWeekStart = (params.get(VIEW_PARAMS_WEEK_START))!!.toInt() in setWeekParams() 294 val dayPosition = ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)).toInt() in getDayFromLocation() 549 DEFAULT_HEIGHT *= mScale.toInt() 550 MIN_HEIGHT *= mScale.toInt() 551 MINI_DAY_NUMBER_TEXT_SIZE *= mScale.toInt() 552 MINI_TODAY_NUMBER_TEXT_SIZE *= mScale.toInt() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.kt | 324 private var mAnimateDayEventHeight = MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT.toInt() 669 (mCellHeight + HOUR_GAP) - mGridAreaHeight).toInt() in setSelected() 856 mHoursTextHeight = Math.abs(p.ascent()).toInt() in onSizeChanged() 866 MAX_UNEXPANDED_ALLDAY_HEIGHT = (MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT * 4).toInt() in remeasure() 870 MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT.toInt() * 2 in remeasure() 873 (MAX_UNEXPANDED_ALLDAY_HEIGHT / MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT).toInt() in remeasure() 884 mMinCellHeight = Math.max((height - DAY_HEADER_HEIGHT) / 24, MIN_EVENT_HEIGHT.toInt()) in remeasure() 915 allDayHeight = (maxAllDayEvents * MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT).toInt() in remeasure() 919 MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT).toInt() in remeasure() 1534 dest.top = (mFirstCell - yTranslate).toInt() in onDraw() [all …]
|
/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()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/ |
D | DashboardUtils.kt | 223 R.string.seconds, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 225 R.string.minutes, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 227 R.string.hours, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 229 R.string.days, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 241 R.string.duration_used_seconds, timeDiffAndUnit.first.toInt()) in getDurationUsedStr() 243 R.string.duration_used_minutes, timeDiffAndUnit.first.toInt()) in getDurationUsedStr() 245 R.string.duration_used_hours, timeDiffAndUnit.first.toInt()) in getDurationUsedStr() 247 R.string.duration_used_days, timeDiffAndUnit.first.toInt()) in getDurationUsedStr()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | DisplayAspectRatioLinearLayout.kt | 49 var height = (width * screenAspectRatio).toInt() in <lambda>() 52 width = (height / screenAspectRatio).toInt() in <lambda>() 60 var width = (height / screenAspectRatio).toInt() in <lambda>() 63 height = (width * screenAspectRatio).toInt() in <lambda>() 98 return (this * density).toInt() in <lambda>()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/ |
D | DispatchResponseTest.java | 39 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithTransactionSuccess() 55 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithTransactionError() 73 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithOutboundDataToRemote() 93 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithOutboundDataToHost() 118 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithAdfSelectedNotification() 144 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithSecureSessionEstablishedNotification() 167 StatusWord.SW_NO_ERROR.toInt()); in validResponseWithRdsAvailableNotification()
|
D | InitiateTransactionResponseTest.java | 40 StatusWord.SW_NO_ERROR.toInt()); in validResponse() 67 StatusWord.SW_NO_ERROR.toInt()); in wrongTopTag() 83 StatusWord.SW_NO_ERROR.toInt()); in wrongStatusValue() 97 StatusWord.SW_NO_ERROR.toInt()); in emptyOutboundData()
|
D | TunnelResponseTest.java | 35 dataTlv.toBytes(), StatusWord.SW_NO_ERROR.toInt()); in validResponseData() 59 dataTlv.toBytes(), StatusWord.SW_NO_ERROR.toInt()); in wrongTopTag() 72 dataTlv.toBytes(), StatusWord.SW_NO_ERROR.toInt()); in wrongDataTag()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraSpecificationParams.java | 227 bundle.putInt(KEY_AOA_CAPABILITIES, FlagEnum.toInt(mAoaCapabilities)); in toBundle() 228 bundle.putInt(KEY_DEVICE_ROLE_CAPABILITIES, FlagEnum.toInt(mDeviceRoleCapabilities)); in toBundle() 232 bundle.putInt(KEY_MULTI_NODE_CAPABILITIES, FlagEnum.toInt(mMultiNodeCapabilities)); in toBundle() 233 bundle.putInt(KEY_PRF_CAPABILITIES, FlagEnum.toInt(mPrfCapabilities)); in toBundle() 234 bundle.putInt(KEY_RANGING_ROUND_CAPABILITIES, FlagEnum.toInt(mRangingRoundCapabilities)); in toBundle() 235 bundle.putInt(KEY_RFRAME_CAPABILITIES, FlagEnum.toInt(mRframeCapabilities)); in toBundle() 236 bundle.putInt(KEY_STS_CAPABILITIES, FlagEnum.toInt(mStsCapabilities)); in toBundle() 237 bundle.putInt(KEY_PSDU_DATA_RATE_CAPABILITIES, FlagEnum.toInt(mPsduDataRateCapabilities)); in toBundle() 239 FlagEnum.toInt(mBprfParameterSetCapabilities)); in toBundle()
|
/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()
|
/packages/services/Car/cpp/vhal/client/src/ |
D | HidlVhalClient.cpp | 42 using ::android::hardware::automotive::vehicle::toInt; 120 << ": status code: " << toInt(status)); in getValue() 146 << ", areaId: " << value.getAreaId() << ": status code: " << toInt(status)); in setValue() 215 << "failed to getPropConfigs: status code: " << toInt(status); in getPropConfigs() 264 << "failed to subscribe: status code: " << toInt(status); in subscribe() 281 << ": status code: " << toInt(status); in unsubscribe()
|
D | AidlHalPropConfig.cpp | 29 using ::android::hardware::automotive::vehicle::toInt; 43 return toInt(mPropConfig.access); in getAccess() 47 return toInt(mPropConfig.changeMode); in getChangeMode()
|
D | HidlHalPropConfig.cpp | 29 using ::android::hardware::automotive::vehicle::toInt; 43 return toInt(mPropConfig.access); in getAccess() 47 return toInt(mPropConfig.changeMode); in getChangeMode()
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingUtilTest.cpp | 123 toInt(VehicleProperty::STORAGE_ENCRYPTION_BINDING_SEED)}; in setMockVhalPropertySupported() 140 toInt(VehicleProperty::STORAGE_ENCRYPTION_BINDING_SEED)); in setMockVhalPropertyValue() 173 std::vector<int32_t> expectedProps = {toInt(VehicleProperty::STORAGE_ENCRYPTION_BINDING_SEED)}; in TEST_F() 200 toInt(VehicleProperty::STORAGE_ENCRYPTION_BINDING_SEED)); in TEST_F() 230 toInt(VehicleProperty::STORAGE_ENCRYPTION_BINDING_SEED)); in TEST_F()
|
/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/modules/Uwb/service/tests/src/com/android/server/uwb/secure/ |
D | SecureElementChannelTest.java | 172 assertThat(response.getStatusWord()).isEqualTo(StatusWord.SW_NO_ERROR.toInt()); in openChannelWithResponse_unopened_success() 184 assertThat(response.getStatusWord()).isEqualTo(StatusWord.SW_NO_ERROR.toInt()); in openChannelWithResponse_closed_success() 248 .isEqualTo(StatusWord.SW_CONDITIONS_NOT_SATISFIED.toInt()); in transmit_unopened_failure() 259 assertThat(response.getStatusWord()).isEqualTo(StatusWord.SW_NO_ERROR.toInt()); in transmit_opened_success() 272 .isEqualTo(StatusWord.SW_CONDITIONS_NOT_SATISFIED.toInt()); in transmit_closed_success()
|
/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()
|
/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/Uwb/service/java/com/android/server/uwb/secure/ |
D | SecureElementChannel.java | 84 if (responseApdu.getStatusWord() != SW_NO_ERROR.toInt()) { in openChannel() 114 if (responseApdu.getStatusWord() == StatusWord.SW_NO_ERROR.toInt()) { in openChannelWithResponse() 170 if (responseApdu.getStatusWord() != SW_TEMPORARILY_UNAVAILABLE.toInt()) { in transmit()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivitySettingsManagerTest.kt | 157 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 166 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 176 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 229 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>() 275 testIntValues = intArrayOf(testTime1.toInt())) in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ |
D | PermissionGroupPreferenceUtils.kt | 44 UsageCount(groups[1].toInt(), groups[2].toInt()) in getUsageCountsFromUi()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | FakeSecureSettingsRepository.kt | 30 return settings.map { it.getOrDefault(name, defaultValue.toString()) }.map { it.toInt() } in intSetting() 38 return settings.value[name]?.toInt() ?: defaultValue in get()
|