Home
last modified time | relevance | path

Searched refs:toLong (Results 1 – 14 of 14) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pUtils.java93 long addressLong = toLong(address); in isOnInterface()
104 if ((toLong(networkAddress) & netMask) == (addressLong & netMask)) { in isOnInterface()
111 private static long toLong(Inet4Address address) { in toLong() method in P2pUtils
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt204 mPulseAnimator.setDuration(PULSE_DURATION_MILLIS.toLong()) in onCreate()
555 bounceAnimator.setDuration(ALARM_BOUNCE_DURATION_MILLIS.toLong()) in getAlarmBounceAnimator()
600 revealAnimator.setDuration(ALERT_REVEAL_DURATION_MILLIS.toLong()) in getAlertAnimator()
616 fadeAnimator.setDuration(ALERT_FADE_DURATION_MILLIS.toLong()) in getAlertAnimator()
628 mHandler.postDelayed(Runnable { finish() }, ALERT_DISMISS_DELAY_MILLIS.toLong()) in getAlertAnimator()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt333 val shortDuration = (duration * ANIM_SHORT_DURATION_MULTIPLIER).toLong() in <lambda>()
355 val delayIncrement = (duration * ANIM_LONG_DELAY_INCREMENT_MULTIPLIER).toLong() / in <lambda>()
405 val longDuration = (duration * ANIM_LONG_DURATION_MULTIPLIER).toLong() in <lambda>()
428 var startDelay = (duration * ANIM_STANDARD_DELAY_MULTIPLIER).toLong() in <lambda>()
430 val delayIncrement = (duration * ANIM_SHORT_DELAY_INCREMENT_MULTIPLIER).toLong() / in <lambda>()
DCollapsedAlarmViewHolder.kt180 alphaAnimatorSet.setDuration((duration * ANIM_SHORT_DURATION_MULTIPLIER).toLong()) in <lambda>()
201 val standardDelay = (duration * ANIM_STANDARD_DELAY_MULTIPLIER).toLong() in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DUiDataModel.kt182 return mContext!!.resources.getInteger(android.R.integer.config_shortAnimTime).toLong()
191 return mContext!!.resources.getInteger(android.R.integer.config_longAnimTime).toLong()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt103 (laps.size + 1).toLong() in getItemId()
105 laps[position - 1].lapNumber.toLong() in getItemId()
DStopwatchFragment.kt536 }).toLong() in <lambda>()
538 val delay: Long = max(0, startTime + period - endTime).toLong() in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt50 .setDuration(ANIMATION_DURATION.toLong())
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCustomRingtoneDAO.kt88 val idLong = id.toLong() in getCustomRingtones()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt126 return position.toLong() in getItemId()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt182 doReturn(TEST_FILESIZE.toLong()).`when`(connection).contentLengthLong in setUp()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt500 contentResolver.update(getContentUri(instance.mId), values, null, null).toLong() in updateInstance()
DAlarm.kt466 contentResolver.update(getContentUri(alarm.id), values, null, null).toLong() in updateAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt288 return position.toLong() in getItemId()