Home
last modified time | relevance | path

Searched full:duration (Results 1 – 25 of 854) sorted by relevance

12345678910>>...35

/foundation/multimedia/audio_framework/services/audio_policy/server/config/
Daudio_tone_dtmf_config.xml22 <Segment duration="INF" freq="1336, 941, 0" loopCount ="0" loopIndex="0" />
23 <Segment duration="0" freq="0" loopCount ="0" loopIndex="0" />
30 <Segment duration="INF" freq="1209, 697, 0" loopCount ="0" loopIndex="0" />
31 <Segment duration="0" freq="0" loopCount ="0" loopIndex="0" />
38 <Segment duration="INF" freq=" 1336, 697, 0" loopCount ="0" loopIndex="0" />
39 <Segment duration="0" freq="0" loopCount ="0" loopIndex="0" />
46 <Segment duration="INF" freq="1477, 697, 0" loopCount ="0" loopIndex="0" />
47 <Segment duration="0" freq="0" loopCount ="0" loopIndex="0" />
54 <Segment duration="INF" freq="1209, 770, 0" loopCount ="0" loopIndex="0" />
55 <Segment duration="0" freq="0" loopCount ="0" loopIndex="0" />
[all …]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
Drs_spring_model_test.cpp55 auto duration = model1->EstimateDuration(); variable
56 EXPECT_TRUE(duration != 0.0f);
61 duration = model2->EstimateDuration();
62 EXPECT_TRUE(duration != 0.0f);
67 duration = model3->EstimateDuration();
68 EXPECT_TRUE(duration != 0.0f);
87 auto duration = model1->EstimateDuration(); variable
88 EXPECT_TRUE(duration != 0.0f);
93 duration = model2->EstimateDuration();
94 EXPECT_TRUE(duration != 0.0f);
[all …]
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/image-animator/05/
Dindex.js21 duration: '540ms',
27 const duration = parseInt(this.duration); constant
28 this.duration = `${duration + 540}ms`;
34 const duration = parseInt(this.duration); constant
35 this.duration = `${duration - 540}ms`;
/foundation/arkui/ace_engine/frameworks/core/animation/
Dpicture_animation.h30 …PictureFrame(float duration, const T& pictureInfo) : duration_(duration), pictureInfo_(pictureInfo… in PictureFrame() argument
51 LOGD("update with scale. duration: %{public}f, scale: %{public}f", duration_, scale); in UpdateDurationWithScale()
66 // add picture. duration in normalized time.
67 bool AddPicture(float duration, const T& pictureInfo) in AddPicture() argument
69 if (duration <= NORMALIZED_DURATION_MIN || duration > NORMALIZED_DURATION_MAX) { in AddPicture()
70 LOGE("duration time check failed. duration: %{public}f", duration); in AddPicture()
76 LOGD("picture animation: add picture ref, duration: %{public}f", duration); in AddPicture()
77 pictures_.emplace_back(AceType::MakeRefPtr<Ace::PictureFrame<T>>(duration, pictureInfo)); in AddPicture()
78 this->duration_ += duration; in AddPicture()
93 // if total normalized duration of all pictures not equals 1.0, scale it to 1.0
[all …]
Dchain_animation.cpp38 bool ChainAnimationNode::TickAnimation(float duration) in TickAnimation() argument
40 spring_->OnTimestampChanged(duration, 0.0f, false); in TickAnimation()
46 void ChainAnimationNode::SetDelta(float delta, float duration) in SetDelta() argument
48 spring_->OnTimestampChanged(duration, 0.0f, false); in SetDelta()
66 auto&& callback = [weak = AceType::WeakClaim(this)](uint64_t duration) { in ChainAnimation() argument
81 double duration = 0.0; in SetDelta() local
83duration = static_cast<double>(timestamp - timestamp_) / static_cast<double>(NANOS_TO_MILLS); in SetDelta()
92 nodes_[i]->SetDelta(value, static_cast<float>(duration)); in SetDelta()
93 nodes_[-i]->SetDelta(value, static_cast<float>(duration)); in SetDelta()
98 nodes_[i]->SetDelta(delta * factor, static_cast<float>(duration)); in SetDelta()
[all …]
/foundation/ai/ai_engine/test/performance/delay/async_process/
Dasync_process_delay_test.cpp145 double duration = static_cast<double>(g_initTotalTime) in CheckTimeInit() local
147 HILOGI("[Test][CheckTimeInit][%lf]", duration); in CheckTimeInit()
148 ASSERT_TRUE((duration > 0) && (duration <= EXCEPTED_INIT_TIME)); in CheckTimeInit()
153 double duration = static_cast<double>(g_prepareTotalTime) in CheckTimePrepare() local
155 HILOGI("[Test][CheckTimePrepare][%lf]", duration); in CheckTimePrepare()
156 ASSERT_TRUE((duration > 0) && (duration <= EXCEPTED_PREPARE_TIME)); in CheckTimePrepare()
161 double duration = static_cast<double>(g_processTotalTime) in CheckTimeAsyncProcess() local
163 HILOGI("[Test][CheckTimeAsyncProcess][%lf]", duration); in CheckTimeAsyncProcess()
164 ASSERT_TRUE((duration > 0) && (duration <= EXCEPTED_ASYNC_PROCESS_TIME)); in CheckTimeAsyncProcess()
169 double duration = static_cast<double>(g_releaseTotalTime) in CheckTimeRelease() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
Dtask_executor_adapter.h25 using Duration = std::chrono::steady_clock::duration; variable
29 TaskId Execute(const Task &task, Duration delay) override;
30 TaskId Schedule(const Task &task, Duration interval) override;
31 TaskId Schedule(const Task &task, Duration delay, Duration interval) override;
32 TaskId Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) override;
34 TaskId Reset(const TaskId &taskId, Duration interval) override;
Dtask_executor.h23 using Duration = std::chrono::steady_clock::duration; variable
24 static constexpr Duration INVALID_DURATION = std::chrono::milliseconds(0);
30 TaskId Schedule(Duration delay, const Task &task, Duration interval = INVALID_DURATION,
33 TaskId Reset(TaskId taskId, Duration interval);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/
Dithread_pool.h25 using Duration = std::chrono::steady_clock::duration; variable
33 virtual TaskId Execute(const Task &task, Duration delay) = 0;
35 virtual TaskId Schedule(const Task &task, Duration interval) = 0;
37 virtual TaskId Schedule(const Task &task, Duration delay, Duration interval) = 0;
39 … virtual TaskId Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) = 0;
43 virtual TaskId Reset(const TaskId &taskId, Duration interval) = 0;
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
Dtask_executor.h25 using Duration = std::chrono::steady_clock::duration; variable
26 static constexpr Duration INVALID_DURATION = std::chrono::milliseconds(0);
43 TaskId Schedule(Duration delay, Task task) in Schedule()
48 TaskId Schedule(Task task, Duration interval) in Schedule()
53 TaskId Schedule(Task task, Duration delay, Duration interval) in Schedule()
58 TaskId Schedule(Task task, Duration delay, Duration interval, uint64_t times) in Schedule()
68 TaskId Reset(TaskId taskId, Duration interval) in Reset()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
Dtask_manager.h25 using Duration = std::chrono::steady_clock::duration; variable
30 TaskId Execute(const Task &task, Duration delay) override;
31 TaskId Schedule(const Task &task, Duration interval) override;
32 TaskId Schedule(const Task &task, Duration delay, Duration interval) override;
33 TaskId Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) override;
35 TaskId Reset(const TaskId &taskId, Duration interval) override;
Dtask_manager.cpp30 TaskManager::TaskId TaskManager::Execute(const Task &task, Duration delay) in Execute()
34 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration interval) in Schedule()
38 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval) in Schedule()
42 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval, uint… in Schedule()
50 TaskManager::TaskId TaskManager::Reset(const TaskId &taskId, Duration interval) in Reset()
/foundation/arkui/ace_engine/frameworks/core/gestures/
Dvelocity_tracker.cpp33 std::chrono::duration<double> diffTime = event.time - lastTimePoint_; in UpdateTouchPoint()
36 // judge duration is 500ms. in UpdateTouchPoint()
41 // nanoseconds duration to seconds. in UpdateTouchPoint()
42 std::chrono::duration<double> duration = event.time - firstTrackPoint_.time; in UpdateTouchPoint() local
43 auto seconds = duration.count(); in UpdateTouchPoint()
59 std::chrono::duration<double> diffTime = time - lastTimePoint_; in UpdateTrackerPoint()
62 // judge duration is 500ms. in UpdateTrackerPoint()
67 // nanoseconds duration to seconds. in UpdateTrackerPoint()
68 std::chrono::duration<double> duration = time - firstPointTime_; in UpdateTrackerPoint() local
69 auto seconds = duration.count(); in UpdateTrackerPoint()
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/image-animator/06/
Dindex.js39 const duration = framesSize * MILLIONS_PER_TICK; constant
44 duration
47 this.duration -= duration;
50 this.duration += duration;
53 this.duration = 0;
56 this.duration = 1;
59 this.duration = 'A';
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
Dmock_thread_pool.h24 MOCK_METHOD2(Execute, TaskId(const Task &, Duration));
25 MOCK_METHOD2(Schedule, TaskId(const Task &, Duration));
26 MOCK_METHOD3(Schedule, TaskId(const Task &, Duration, Duration));
27 MOCK_METHOD4(Schedule, TaskId(const Task &, Duration, Duration, uint64_t));
29 MOCK_METHOD2(Reset, TaskId(const TaskId &, Duration));
Dthread_pool_test_stub.h32 TaskId Execute(const Task &task, Duration delay) override;
34 TaskId Schedule(const Task &task, Duration interval) override;
36 TaskId Schedule(const Task &task, Duration delay, Duration interval) override;
38 TaskId Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) override;
42 TaskId Reset(const TaskId &taskId, Duration interval) override;
/foundation/arkui/ace_engine/frameworks/core/image/apng/
Dapng_image_animation.cpp20 * only key index and duration
21 * @param duration : ms
25 bool APngImageAnimation::AddPicture(float duration, const int32_t &pictureInfo) in AddPicture() argument
31 LOGD("picture animation: add picture ref, duration: %{public}f", duration); in AddPicture()
32 pictures_.emplace_back(AceType::MakeRefPtr<Ace::PictureFrame<int32_t>>(duration, pictureInfo)); in AddPicture()
33 this->duration_ += duration; in AddPicture()
81 float duration = picture->GetDuration(); in OnNormalizedTimestampChanged() local
83 if (totalTime_ - lastFrameTime_ < duration) { in OnNormalizedTimestampChanged()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/
Dtext_timer_pattern.cpp91 auto&& callback = [weak](uint64_t duration) { in InitTimerDisplay() argument
94 timer->Tick(duration); in InitTimerDisplay()
109 void TextTimerPattern::Tick(uint64_t duration) in Tick() argument
111 elapsedTime_ += duration; in Tick()
314 uint64_t TextTimerPattern::GetFormatDuration(uint64_t duration) const in GetFormatDuration()
317 CHECK_NULL_RETURN(host, duration); in GetFormatDuration()
319 CHECK_NULL_RETURN(layoutProperty, duration); in GetFormatDuration()
324 duration = duration / SECONDS_OF_MILLISECOND; in GetFormatDuration()
327 duration = duration / (SECONDS_OF_MILLISECOND * TOTAL_MINUTE_OF_HOUR); in GetFormatDuration()
330 duration = duration / (SECONDS_OF_MILLISECOND * TOTAL_SECONDS_OF_HOUR); in GetFormatDuration()
[all …]
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
Dkey_option.h79 * @brief Obtains the duration when the final key is held down or the maximum duration between
81 …* If the final key is pressed, this parameter indicates the duration when the final key is held do…
82 … * If the last key is released, this parameter indicates the maximum duration between when the key
84 * @return Returns the duration when the final key is held down or the maximum duration between
99 * @brief Sets the duration when the final key is held down or the maximum duration between when
101 …* If the final key is pressed, this parameter indicates the duration when the final key is held do…
102 … * If the last key is released, this parameter indicates the maximum duration between when the key
104 … * @param duration Indicates the duration when the final key is held down or the maximum duration
109 void SetFinalKeyDownDuration(int32_t duration);
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
Dallow_info.h28 AllowInfo(uint32_t allowType, const std::string& name, int32_t duration) :allowType_(allowType), in AllowInfo() argument
29 name_(name), duration_(duration) {} in AllowInfo()
68 * @brief Get the duration.
70 * @return the duration.
98 * @brief Set the Duration object.
100 * @param duration timeOut.
102 inline void SetDuration(int32_t duration) in SetDuration() argument
104 duration_ = duration; in SetDuration()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
Dtask_executor_adapter.cpp23 TaskExecutorAdapter::Duration delay) in Execute()
28 TaskExecutorAdapter::Duration interval) in Schedule()
33 TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval) in Schedule()
38 TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval, uint64_t times) in Schedule()
48 TaskExecutorAdapter::Duration interval) in Reset()
/foundation/communication/dsoftbus/
Dhisysevent.yaml43 __BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration }
47 TOTAL_TIME: {type: UINT64, desc: total duration ms }
49 COUNT1: { type: UINT32, desc: number of times that the duration is longer than 500ms }
50 COUNT2: { type: UINT32, desc: number of times that the duration is longer than 1000ms }
51 COUNT3: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
52 COUNT4: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
53 COUNT5: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
59 DURATION: {type: UINT64, desc: discovery duration }
70 __BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration }
75 FAIL_TOTAL_TIME: { type: UINT64, desc: fail total duration ms }
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/common/
Dtask_scheduler.h35 using Duration = std::chrono::steady_clock::duration; variable
39 inline static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0);
63 …TaskId At(const Time &begin, Task task, Duration interval = INVALID_INTERVAL, uint64_t times = UNL…
81 TaskId Reset(TaskId taskId, const Duration &interval) in Reset()
110 // execute task periodically with duration
111 TaskId Every(Duration interval, Task task) in Every()
130 // execute task periodically with duration after delay
131 TaskId Every(Duration delay, Duration interval, Task task) in Every()
135 // execute task for some times periodically with duration after delay
136 TaskId Every(int32_t times, Duration delay, Duration interval, Task task) in Every()
[all …]
/foundation/resourceschedule/ffrt/benchmarks/speedup/
Dplot.py30 return data['duration'][p]
40 plt.plot(current['duration'], current['speedup'],
41 … color='r', marker='o', linestyle='-', label=''.join(['speedup=1@duration=', str(min_duration)]))
63 plt.plot(base['duration'], base['speedup'], color='b',
64 … marker='s', linestyle='-.', label=''.join(['base speedup=1@duration=', str(base_min_duration)]))
69 plt.plot(current['duration'], current['speedup'],
70 …color='r', marker='o', linestyle='-', label=''.join(['curren speedup=1@duration=', str(current_mi…
/foundation/multimedia/player_framework/services/etc/
Drecorder_configs.xml19 <ProfileSettings quality="low" format="mp4" duration="30">
32 <ProfileSettings quality="high" format="mp4" duration="30">
45 <ProfileSettings quality="qcif" format="mp4" duration="30">
58 <ProfileSettings quality="qvga" format="mp4" duration="30">
71 <ProfileSettings quality="cif" format="mp4" duration="30">
84 <ProfileSettings quality="480p" format="mp4" duration="30">
97 <ProfileSettings quality="720p" format="mp4" duration="30">
110 <ProfileSettings quality="1080p" format="mp4" duration="30">

12345678910>>...35