Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinatorLogger.kt66 double1 = inputLinear.toDouble() in logUpdateDozeAmount()
121 double1 = linear.toDouble() in logOnDozeAmountChanged()
136 { double1 = linear.toDouble() }, in logSetDelayDozeAmountOverride()
146 buffer.log(TAG, DEBUG, { double1 = linear.toDouble() }, { "setVisibilityAmount($double1)" }) in logSetVisibilityAmount()
157 buffer.log(TAG, DEBUG, { double1 = linear.toDouble() }, { "setHideAmount($double1)" }) in logSetHideAmount()
DNotificationLaunchAnimatorController.kt137 params.startClipTopAmount = ceil(childClip.toDouble()).toInt() in createAnimatorState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeLogger.kt45 { double1 = h.toDouble() }, in onQsInterceptMoveQsTrackingEnabled()
67 double1 = touchSlop.toDouble() in logQsTrackingNotStarted()
128 double1 = event.y.toDouble() in logMotionEventStatusBarState()
154 double1 = fraction.toDouble() in logExpansionChanged()
172 double1 = fraction.toDouble() in logHasVibrated()
293 double1 = minVelocityPxPerSecond.toDouble() in logFlingExpands()
333 double1 = expandFraction.toDouble() in logPanelClosedOnDown()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ui/util/
DMathHelpers.kt31 return start + ((stop - start) * fraction.toDouble()).roundToInt() in lerp()
36 return start + ((stop - start) * fraction.toDouble()).roundToLong() in lerp()
/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
DColorScheme.kt54 sanitizedSourceHue.toDouble() + hueAndRotations[i].second in <lambda>()
61 return sourceHue.toDouble() in <lambda>()
67 return sourceColor.hue.toDouble() in get()
73 return ColorScheme.wrapDegreesDouble(sourceColor.hue.toDouble() + amountDegrees) in get()
79 return ColorScheme.wrapDegreesDouble(sourceColor.hue.toDouble() - amountDegrees) in get()
207 return sourceColor.chroma.toDouble() in get()
494 wallpaperColors.allColors.values.reduce { a, b -> a + b }.toDouble() in getSeedColors()
521 wallpaperColors.allColors.mapValues { it.value.toDouble() / totalPopulation } in getSeedColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DReceiverChipRippleView.kt102 val remainingPercentage = (1 - ratio).toDouble().pow(1 / 3.toDouble()).toFloat() in <lambda>()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt33 return Math.hypot(x.toDouble(), y.toDouble()).toFloat() in hypot()
178 return Math.pow(a.toDouble(), b.toDouble()).toFloat() in powf()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowTextClock.kt130 floor(metrics.descent.toDouble()).toInt() / paddingDividedOffset in initializeAttributes()
132 textDescentExtraPadding - floor(metrics.descent.toDouble()).toInt() in initializeAttributes()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DShadeInterpolation.kt35 (1f - 0.5f * (1f - Math.cos((3.14159f * oneMinusFrac * oneMinusFrac).toDouble()))) in interpolateEaseInOut()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapMetadataEditor.kt163 ((1.0 - Math.log(currentMetadata.offsetSdr.toDouble() / Math.log(3.0)) / -11.0) in updateMetadataUi()
166 ((1.0 - Math.log(currentMetadata.offsetHdr.toDouble() / Math.log(3.0)) / -11.0) in updateMetadataUi()
260 newValue = Math.pow(3.0, (1.0 - normalized.toDouble()) * -11.0).toFloat() in updateOffsetSdr()
274 newValue = Math.pow(3.0, (1.0 - normalized.toDouble()) * -11.0).toFloat() in updateOffsetHdr()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DRational.java65 public double toDouble() { in toDouble() method in Rational
DExifTag.java739 return (long) r[0].toDouble(); in forceGetValueAsLong()
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()
/frameworks/base/cmds/incident_helper/src/
Dih_util.h103 double toDouble(const std::string& s);
Dih_util.cpp232 double toDouble(const std::string& s) { in toDouble() function
321 proto->write(found, toDouble(value)); in insertField()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLSShadeTransitionLogger.kt154 double1 = target.toDouble() in logDragDownAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DLegacySizeSpecSource.kt116 (aspectRatio * aspectRatio + 1)).toDouble())).toInt() in getDefaultSize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupDrawable.kt191 val thetaDeg = Math.toDegrees(theta.toDouble()).toFloat() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt147 nativeOrientation = toRadVerticalFromRotated(nativeOrientation.toDouble()).toFloat() in normalize()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java1129 public static <T> List<T> getHighestValues(List<T> list, ToDoubleFunction<T> toDouble, in getHighestValues() argument
1132 sortedList.sort(Comparator.comparingDouble(toDouble).reversed()); in getHighestValues()
1135 total += toDouble.applyAsDouble(item); in getHighestValues()
1144 runningSum += toDouble.applyAsDouble(item); in getHighestValues()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt227 BigDecimal(step.value.toDouble()).setScale(2, RoundingMode.HALF_UP).toFloat() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt159 val step = rangeTemplate.getStepValue().toDouble() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
DSeekBarViewModel.kt473 (progress - bar.min).toDouble() / range in onDown()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt192 levelRect.top = Math.floor(fillTop.toDouble()).toFloat() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt364 val minAngle = Math.ceil(HINGE_ANGLE_CHANGE_THRESHOLD_DEGREES.toDouble()).toInt() + 1 in <lambda>()

12