Home
last modified time | relevance | path

Searched refs:clock (Results 1 - 25 of 37) sorted by relevance

12

/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/
H A Dui_test_analog_clock.cpp112 TestBtnOnClickChangeModeListener(UIView* uiView, UIAnalogClock* clock) : uiView_(uiView), clock_(clock) {} in TestBtnOnClickChangeModeListener() argument
137 TestBtnOnClickMovePositionListener(UIView* uiView, UIAnalogClock* clock, MoveType type, uint16_t grid) in TestBtnOnClickMovePositionListener() argument
138 : uiView_(uiView), clock_(clock), type_(type), grid_(grid) in TestBtnOnClickMovePositionListener()
209 void UITestAnalogClock::CreateButtons001(UIViewGroup* group, UIImageView* curFace, UIAnalogClock* clock) in CreateButtons001() argument
211 if ((group == nullptr) || (curFace == nullptr) || (clock == nullptr)) { in CreateButtons001()
220 new TestBtnOnClickChangeModeListener(static_cast<UIView*>(button1), clock)); in CreateButtons001()
230 static_cast<UIView*>(button2), clock, in CreateButtons001()
241 static_cast<UIView*>(button3), clock, in CreateButtons001()
252 static_cast<UIView*>(button4), clock, in CreateButtons001()
319 CreateButtons002(UIViewGroup* group, UIImageView* curFace, UIAnalogClock* clock) CreateButtons002() argument
[all...]
H A Dui_test_analog_clock.h28 explicit ClockAnimatorCallback(UIAnalogClock* clock) : clock_(clock) {} in ClockAnimatorCallback() argument
62 void CreateButtons001(UIViewGroup* group, UIImageView* curFace, UIAnalogClock* clock);
63 void CreateButtons002(UIViewGroup* group, UIImageView* curFace, UIAnalogClock* clock);
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/derived/
H A Ddcamera_feeding_smoother.cpp36 int64_t clock = dCameraStatistician_->GetRecvTime() + dCameraStatistician_->GetAverRecv2FeedTime() in InitBaseline() local
39 SetClockBaseline(clock); in InitBaseline()
/foundation/multimedia/player_framework/services/services/recorder/server/
H A Dmedia_library_adapter.cpp138 struct tm *GetLocaltime(const time_t* clock, struct tm *result) in GetLocaltime() argument
140 struct tm *ptr = localtime(clock); in GetLocaltime()
152 auto clock = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in CreateDisplayName() local
153 struct tm* timeResult = GetLocaltime(&clock, &currentTime); in CreateDisplayName()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_one_shot_timer.cpp47 std::unique_ptr<ChronoSteadyClock> clock) in HgmOneShotTimer()
48 : clock_(std::move(clock)), in HgmOneShotTimer()
168 std::unique_ptr<ChronoSteadyClock> clock) in HgmSimpleTimer()
173 clock_(std::move(clock)) in HgmSimpleTimer()
45 HgmOneShotTimer(std::string name, const Interval& interval, const ResetCallback& resetCallback, const ExpiredCallback& expiredCallback, std::unique_ptr<ChronoSteadyClock> clock) HgmOneShotTimer() argument
166 HgmSimpleTimer(std::string name, const Interval& interval, const StartCallback& startCallback, const ExpiredCallback& expiredCallback, std::unique_ptr<ChronoSteadyClock> clock) HgmSimpleTimer() argument
H A Dhgm_one_shot_timer.h44 std::unique_ptr<ChronoSteadyClock> clock = std::make_unique<ChronoSteadyClock>());
93 std::unique_ptr<ChronoSteadyClock> clock = std::make_unique<ChronoSteadyClock>());
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dproperty_animation.cpp30 void PropertyAnimation::Step(const IClock::ConstPtr& clock) in Step() argument
32 Super::Step(clock); in Step()
H A Dproperty_animation.h39 void Step(const IClock::ConstPtr& clock) override;
H A Danimation_controller.cpp142 IAnimationController::StepInfo AnimationController::Step(const IClock::ConstPtr& clock) in Step() argument
148 animation->Step(clock); in Step()
H A Dtrack_animation.cpp130 void TrackAnimation::Step(const IClock::ConstPtr& clock) in Step() argument
132 GetState().Step(clock); in Step()
H A Dtrack_animation.h37 void Step(const IClock::ConstPtr& clock) override;
H A Danimation_controller.h47 StepInfo Step(const IClock::ConstPtr& clock) override;
H A Danimation_state.cpp111 AnimationState::StepStatus AnimationState::Step(const IClock::ConstPtr& clock) in Step() argument
117 const auto time = clock ? clock->GetTime() : TimeSpan::Zero(); in Step()
165 // If progress based on clock would be e.g. 1.2, jump to 0.2 to not jank the animation in Move()
H A Danimation_state.h79 * @brief Step the state based on clock.
80 * @param clock Clock containing the step time.
82 virtual StepStatus Step(const IClock::ConstPtr& clock);
127 * @brief Resets to the animation clock to initial state, even if the animation is running.
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/utils/
H A Ddp_utils.h34 return SteadyTimePoint::clock::now(); in GetSteadyNow()
49 return GetDiffTime<Duration>(begin, TimePoint::clock::now()); in GetDiffTime()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/base/
H A Difeeding_smoother.cpp117 int64_t clock = timeStampBaseline_ + clockTime_ - clockBaseline_; in SmoothFeeding() local
120 SyncClock(timeStamp, interval, clock); in SmoothFeeding()
206 void IFeedingSmoother::SyncClock(const int64_t timeStamp, const int64_t interval, const int64_t clock) in SyncClock() argument
210 int64_t offset = timeStamp - sleep_ - clock; in SyncClock()
219 DHLOGD("Offset is %{public}" PRId64" us, sleep is %{public}" PRId64" us after syncing clock.", offset, sleep_); in SyncClock()
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/
H A Davdemuxer_demo_runner.cpp252 using clock = std::chrono::high_resolution_clock; in ConvertPtsFrameIndexDemo()
253 auto start = clock::now(); in ConvertPtsFrameIndexDemo()
254 auto end = clock::now(); in ConvertPtsFrameIndexDemo()
258 start = clock::now(); in ConvertPtsFrameIndexDemo()
264 end = clock::now(); in ConvertPtsFrameIndexDemo()
270 start = clock::now(); in ConvertPtsFrameIndexDemo()
275 end = clock::now(); in ConvertPtsFrameIndexDemo()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/
H A Danimation_api.h67 void Step(const IClock::ConstPtr& clock) in Step() argument
69 META_API_CACHED_INTERFACE(Animation)->Step(clock); in Step()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_feeding_smoother_test.cpp201 int64_t clock = TWOFOLD * FRAME_INTERVAL; in HWTEST_F() local
203 smoother->SyncClock(FRAME_INTERVAL, FRAME_INTERVAL, clock); in HWTEST_F()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_hf_call.h89 creationTime_ = clock(); in HandsFreeUnitCall()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dhands_free_unit_calls.cpp27 creationTime_ = clock(); in HandsFreeUnitCalls()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/
H A Dintf_animation_controller.h100 virtual StepInfo Step(const IClock::ConstPtr& clock) = 0;
H A Dintf_animation.h105 virtual void Step(const IClock::ConstPtr& clock) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/feedingsmoother/base/
H A Difeeding_smoother.h70 void SyncClock(const int64_t timeStamp, const int64_t timeStampInterval, const int64_t clock);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_status_params_cmd.h115 uint32_t clock; member

Completed in 15 milliseconds

12