Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 3 of 3) sorted by relevance

/base/security/security_component_manager/frameworks/common/src/
Dsec_comp_tool.cpp65 double delta = max - min; in RgbToHsv() local
69 hsv.h = fmod((SIXTY_ANGLE * ((green - blue) / delta) + THREE_HUNDREDS_SIXTY_ANGLE), in RgbToHsv()
72 …hsv.h = fmod((SIXTY_ANGLE * ((blue - red) / delta) + ONE_HUNDRED_TWEENTY_ANGLE), THREE_HUNDREDS_SI… in RgbToHsv()
74 …hsv.h = fmod((SIXTY_ANGLE * ((red - green) / delta) + TWO_HUNDREDS_FORTY_ANGLE), THREE_HUNDREDS_SI… in RgbToHsv()
80 hsv.s = delta / max; in RgbToHsv()
/base/msdp/device_status/tools/vdev/src/
Dvirtual_mouse.cpp164 double delta = ::hypot(dx, dy); in Move() local
165 if (std::abs(delta) < STEP_UNIT) { in Move()
169 double total = std::min(delta, MAXIMUM_STEP_LENGTH); in Move()
182 double tx = round(step * static_cast<double>(dx) / delta); in Move()
183 double ty = round(step * static_cast<double>(dy) / delta); in Move()
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp515 auto delta = alarm->count * alarm->repeatInterval; in TriggerTimersLocked() local
516 auto nextElapsed = alarm->whenElapsed + delta; in TriggerTimersLocked()
517 … SetHandlerLocked(alarm->id, alarm->type, alarm->when + delta, nextElapsed, alarm->windowLength, in TriggerTimersLocked()