Home
last modified time | relevance | path

Searched refs:IsDayTime (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dtime_util.h62 bool IsDayTime(const TimeOfNow& timeOfNow);
83 bool IsDayTime(const TimeOfZone& timeOfZone);
H A Dtime_util.cpp138 bool IsDayTime(const TimeOfNow& timeOfNow) in IsDayTime() function
193 bool IsDayTime(const TimeOfZone& timeOfZone) in IsDayTime() function
/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drender_clock.cpp51 auto resourceId = IsDayTime(GetTimeOfNow(hoursWest)) ? resourceIdForDay : resourceIdForNight; in GenerateClockHandLoadFailCallback()
135 IsDayTime(timeOfNow) ? UseDayConfig() : UseNightConfig(); in Update()
H A Drosen_render_clock.cpp155 uint8_t dayNightStatus = (static_cast<uint8_t>(isDay_) << 1) | static_cast<uint8_t>(IsDayTime(timeOfNow)); in PerformLayout()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp254 bool isDayTimeOfNow = IsDayTime(theTimeOfNow); in HWTEST_F()
255 bool isDayTimeOfZone = IsDayTime(theTimeOfZone); in HWTEST_F()

Completed in 7 milliseconds