Home
last modified time | relevance | path

Searched refs:handValue (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_analog_clock.h357 uint16_t ConvertHandValueToAngle(uint8_t handValue, uint8_t range, uint8_t secondHandValue, uint8_t ratio) const;
358 uint16_t ConvertHandValueToAngle(uint8_t handValue, uint8_t range) const;
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_analog_clock.cpp167 uint16_t UIAnalogClock::ConvertHandValueToAngle(uint8_t handValue, in ConvertHandValueToAngle() argument
181 uint32_t degree = (static_cast<uint16_t>(handValue) * ratio + secondHandValue); in ConvertHandValueToAngle()
187 uint16_t UIAnalogClock::ConvertHandValueToAngle(uint8_t handValue, uint8_t range) const in ConvertHandValueToAngle() argument
198 return (static_cast<uint16_t>(handValue) * CIRCLE_IN_DEGREE / range); in ConvertHandValueToAngle()

Completed in 1 milliseconds