Home
last modified time | relevance | path

Searched refs:round (Results 1 – 15 of 15) sorted by relevance

/device/google/contexthub/firmware/lib/libm/
Dsf_round.c65 double round(double x) in round() function
67 double round(x) in round()
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp158 return round(odClamp); in convertLevelsToOdClamp()
377 ? round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax) in Vibrator()
381 ? round((STEADY_TARGET_G[2] / tempAmpMax) * longVoltageMax) in Vibrator()
503 int32_t rtp_input = std::round(amplitude * (MAX_RTP_INPUT - MIN_RTP_INPUT) + MIN_RTP_INPUT); in setAmplitude()
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp155 return round(odClamp); in convertLevelsToOdClamp()
410 ? round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax) in Vibrator()
414 ? round((STEADY_TARGET_G[2] / tempAmpMax) * longVoltageMax) in Vibrator()
534 int32_t rtp_input = std::round(amplitude * (MAX_RTP_INPUT - MIN_RTP_INPUT) + MIN_RTP_INPUT); in setAmplitude()
/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp79 return round(odClamp); in convertLevelsToOdClamp()
245 tempVolLevel = round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax); in Vibrator()
352 std::round((amplitude - 1) / 254.0 * (MAX_RTP_INPUT - MIN_RTP_INPUT) + MIN_RTP_INPUT); in setAmplitude()
/device/google/barbet/vibrator/drv2624/tests/
Dutils.h24 return std::round(amplitude * 127); in amplitudeToRtpInput()
/device/google/redfin/vibrator/drv2624/tests/
Dutils.h24 return std::round(amplitude * 127); in amplitudeToRtpInput()
/device/google/sunfish/vibrator/drv2624/tests/
Dutils.h24 return std::round((amplitude - 1) / 254.0 * 127); in amplitudeToRtpInput()
/device/google/felix/vibrator/cs40l26/tests/
Dutils.h31 return std::round(ratio); in toScale()
/device/generic/goldfish/audio/
Daudio_ops.cpp31 static_cast<int_fast32_t>(round(volume * kDenominator)); in multiplyByVolume()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DRemoteDfuActivity.java151 mProgressBar.setProgress((int) Math.round(progress * PROGRESS_BAR_MAX)); in onProgress()
/device/generic/goldfish/camera/
Dexif.cpp137 const uint32_t secondsM = round(v * 1000000); in convertDegToDegMmSs()
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp115 return std::round(ratio); in amplitudeToScale()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all3149 virtio_net_announce_timer(int round) "%d"
3150 virtio_net_handle_announce(int round) "%d"
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all3149 virtio_net_announce_timer(int round) "%d"
3150 virtio_net_handle_announce(int round) "%d"
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt18990 PLandroid/app/AppOpsManager$HistoricalOps;->round(D)D
26407 HSPLandroid/graphics/RectF;->round(Landroid/graphics/Rect;)V
47756 HSPLcom/android/internal/util/FastMath;->round(F)I
50823 HSPLjava/lang/Math;->round(D)J
50824 HSPLjava/lang/Math;->round(F)I