Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.kt67 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/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java118 value = String.valueOf(tag.getValueAsRational(0).toDouble()); in setExifData()
166 focalTag.getValueAsRational(0).toDouble()); in extractExifInfo()
/packages/apps/Camera2/src/com/android/camera/data/
DMediaDetails.java117 value = String.valueOf(tag.getValueAsRational(0).toDouble()); in setExifData()
168 focalTag.getValueAsRational(0).toDouble()); in extractExifInfo()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DRational.java65 public double toDouble() { in toDouble() method in Rational
DExifInterface.java1952 double degrees = coordinate[0].toDouble(); in convertLatOrLongToDouble()
1953 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble()
1954 double seconds = coordinate[2].toDouble(); in convertLatOrLongToDouble()
DExifTag.java739 return (long) r[0].toDouble(); in forceGetValueAsLong()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DRational.java65 public double toDouble() { in toDouble() method in Rational
DExifInterface.java1911 double degrees = coordinate[0].toDouble(); in convertLatOrLongToDouble()
1912 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble()
1913 double seconds = coordinate[2].toDouble(); in convertLatOrLongToDouble()
DExifTag.java739 return (long) r[0].toDouble(); in forceGetValueAsLong()
/packages/apps/Camera2/src/com/android/camera/exif/
DRational.java66 public double toDouble() { in toDouble() method in Rational
DExifInterface.java1890 double degrees = coordinate[0].toDouble(); in convertLatOrLongToDouble()
1891 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble()
1892 double seconds = coordinate[2].toDouble(); in convertLatOrLongToDouble()
DExifTag.java739 return (long) r[0].toDouble(); in forceGetValueAsLong()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java361 return Math.abs(ar1.toDouble() - ar2.toDouble()) < ASPECT_RATIO_TOLERANCE; in hasSameAspectRatio()
/packages/apps/DeskClock/src/com/android/deskclock/
DCircleButtonsLayout.kt143 val w = 2 * sqrt((r + y) * (r - y).toDouble()) in remeasureViews()
DAsyncRingtonePlayer.kt630 val volume = 10.0.pow(gain / 20f.toDouble()).toFloat() in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.kt144 val dotAngleRadians = Math.toRadians(dotAngleDegrees.toDouble()) in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt608 val inCircle = (x / r.toDouble()).pow(2.0) + (y / r.toDouble()).pow(2.0) <= 1.0 in <lambda>()
DStopwatchCircleView.kt155 val dotAngleRadians = Math.toRadians(dotAngleDegrees.toDouble()) in onDraw()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt79 val totalClockCount = homeClockCount + worldClockCount.toDouble() in getCount()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateStartingPreview.java171 pictureAspectRatio.toDouble(), in onEnter()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt594 val endRadius = sqrt(xMax * xMax + yMax * yMax.toDouble()).toFloat() in getAlertAnimator()