/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/ |
H A D | linear_indicator_controller.cpp | 101 void LinearIndicatorController::StartProgressInterval(int32_t intervalTime) in StartProgressInterval() argument 117 animationData_.ProgressInterval(), TaskExecutor::TaskType::UI, intervalTime, LINEAR_INDICATOR_INTERVAL_NAME); in StartProgressInterval() 119 animationData_.UpdateIntervalStart(animationData_.TotalIntervalTime() - intervalTime); in StartProgressInterval() 191 void LinearIndicatorController::PlayingUpdateTime(int32_t animationTime, int32_t intervalTime) in PlayingUpdateTime() argument 196 if (animationData_.IsTimeEqually(animationTime, intervalTime)) { in PlayingUpdateTime() 200 if (animationData_.IsIntervalTimeEqually(intervalTime)) { in PlayingUpdateTime() 204 animationData_.SetTime(animationTime, intervalTime); in PlayingUpdateTime() 206 if (consumeTime >= intervalTime) { in PlayingUpdateTime() 209 StartProgressInterval(intervalTime - consumeTime); in PlayingUpdateTime() 214 animationData_.SetTotalIntervalTime(intervalTime); in PlayingUpdateTime() 224 Start(int32_t animationTime, int32_t intervalTime) Start() argument [all...] |
H A D | linear_indicator_controller.h | 234 void Start(int32_t animationTime, int32_t intervalTime); 276 void PlayingUpdateTime(int32_t animationTime, int32_t intervalTime); 281 void StartProgressInterval(int32_t intervalTime);
|
/foundation/multimodalinput/input/service/dfx/test/ |
H A D | dfx_hisysevent_test.cpp | 238 int32_t intervalTime = 1000; in HWTEST_F() local 245 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportFailIfInvalidTime(pointerEvent, intervalTime)); in HWTEST_F() 250 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportFailIfInvalidTime(pointerEvent, intervalTime)); in HWTEST_F() 252 intervalTime = 1000001; in HWTEST_F() 253 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportFailIfInvalidTime(pointerEvent, intervalTime)); in HWTEST_F() 258 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportFailIfInvalidTime(pointerEvent, intervalTime)); in HWTEST_F() 309 int32_t intervalTime = -1; in HWTEST_F() local 311 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportSingleKnuckleDoubleClickEvent(intervalTime, distanceInterval)); in HWTEST_F() 323 int32_t intervalTime = 0; in HWTEST_F() local 325 ASSERT_NO_FATAL_FAILURE(DfxHisysevent::ReportSingleKnuckleDoubleClickEvent(intervalTime, distanceInterva in HWTEST_F() 337 int32_t intervalTime = 10; HWTEST_F() local 351 int32_t intervalTime = 10000; HWTEST_F() local 473 int64_t intervalTime = 1; HWTEST_F() local 486 int64_t intervalTime = 1; HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/dfx/include/ |
H A D | dfx_hisysevent.h | 101 static void ReportSingleKnuckleDoubleClickEvent(int32_t intervalTime, int32_t distanceInterval); 102 static void ReportFailIfInvalidTime(const std::shared_ptr<PointerEvent> touchEvent, int32_t intervalTime); 115 static void ReportKnuckleGestureFromFailToSuccessTime(int32_t intervalTime); 116 static void ReportKnuckleGestureFromSuccessToFailTime(int32_t intervalTime); 117 static void ReportScreenRecorderGesture(int32_t intervalTime);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | multiple_click_recognizer.h | 54 void SetInterval(float intervalTime) in SetInterval() argument 56 maxIntervalTime_ = intervalTime; in SetInterval()
|
/foundation/multimodalinput/input/service/dfx/src/ |
H A D | dfx_hisysevent.cpp | 556 void DfxHisysevent::ReportSingleKnuckleDoubleClickEvent(int32_t intervalTime, int32_t distanceInterval) in ReportSingleKnuckleDoubleClickEvent() argument 563 "SKS_T_I", intervalTime / CONVERSION_US_TO_MS, in ReportSingleKnuckleDoubleClickEvent() 573 void DfxHisysevent::ReportFailIfInvalidTime(const std::shared_ptr<PointerEvent> touchEvent, int32_t intervalTime) in ReportFailIfInvalidTime() argument 575 if (intervalTime >= DOWN_TO_PREV_UP_MAX_TIME_THRESHOLD) { in ReportFailIfInvalidTime() 597 knuckleFailCount, intervalTime / CONVERSION_US_TO_MS, in ReportFailIfInvalidTime() 756 void DfxHisysevent::ReportScreenRecorderGesture(int32_t intervalTime) in ReportScreenRecorderGesture() argument 763 "DKS_T_I", intervalTime / CONVERSION_US_TO_MS, in ReportScreenRecorderGesture() 802 void DfxHisysevent::ReportKnuckleGestureFromFailToSuccessTime(int32_t intervalTime) in ReportKnuckleGestureFromFailToSuccessTime() argument 804 intervalTime /= CONVERSION_US_TO_MS; in ReportKnuckleGestureFromFailToSuccessTime() 805 if (intervalTime < in ReportKnuckleGestureFromFailToSuccessTime() 821 ReportKnuckleGestureFromSuccessToFailTime(int32_t intervalTime) ReportKnuckleGestureFromSuccessToFailTime() argument [all...] |
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/cycle_task/ |
H A D | cycle_task.cpp | 24 int32_t intervalTime, in CycleTask() 29 intervalTime_(intervalTime), in CycleTask() 22 CycleTask(std::string taskName, std::set<std::string> bundleNames, int32_t intervalTime, std::shared_ptr<CloudFile::DataSyncManager> dataSyncManager) CycleTask() argument
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | file_access_service.h | 121 OnDemandTimer(const TimerCallback &callback, int32_t intervalTime, int32_t maxCount) : timerCallback_(callback), in OnDemandTimer() argument 122 intervalTime_(intervalTime), maxCount_(maxCount) { in OnDemandTimer() 177 UnloadTimer(const UnloadTimerCallback unloadTimerCallback, int32_t intervalTime, int32_t maxCount) in UnloadTimer() argument 178 : unloadTimerCallback_(unloadTimerCallback), intervalTime_(intervalTime), maxCount_(maxCount) in UnloadTimer()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | utils_test.cpp | 56 int intervalTime = 100 * 1000; member in OHOS::Test::BlockIntegerTest 99 int interval = intervalTime; in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/cycle_task/ |
H A D | cycle_task.h | 39 int32_t intervalTime,
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | knuckle_dynamic_drawing_manager.cpp | 231 int64_t intervalTime = pointerEvent->GetActionTime() - lastUpTime_; in ProcessDownEvent() local 233 bool isTimeIntervalReady = intervalTime > 0 && intervalTime <= DOUBLE_CLICK_INTERVAL_TIME_SLOW; in ProcessDownEvent()
|
H A D | knuckle_drawing_manager.cpp | 216 int64_t intervalTime = touchEvent->GetActionTime() - lastUpTime_; in IsSingleKnuckleDoubleClick() local 217 bool isTimeIntervalReady = intervalTime > 0 && intervalTime <= DOUBLE_CLICK_INTERVAL_TIME_SLOW; in IsSingleKnuckleDoubleClick()
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_status.cpp | 323 uint32_t intervalTime = workConditionMap->at(WorkCondition::Type::TIMER)->uintVal; in IsStorageAndTimerReady() local 333 WS_HILOGD("del time: %{public}lf, intervalTime: %{public}u", del, intervalTime); in IsStorageAndTimerReady() 335 if (del < intervalTime) { in IsStorageAndTimerReady()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 406 int64_t intervalTime = touchEvent->GetActionTime() - knuckleGesture.lastPointerUpTime; in KnuckleGestureProcessor() local 407 bool isTimeIntervalReady = intervalTime > 0 && intervalTime <= downToPrevUpTimeConfig_; in KnuckleGestureProcessor() 410 knuckleGesture.downToPrevUpTime = intervalTime; in KnuckleGestureProcessor() 416 DfxHisysevent::ReportSingleKnuckleDoubleClickEvent(intervalTime, downToPrevDownDistance); in KnuckleGestureProcessor() 422 DfxHisysevent::ReportScreenRecorderGesture(intervalTime); in KnuckleGestureProcessor() 430 DfxHisysevent::ReportFailIfInvalidTime(touchEvent, intervalTime); in KnuckleGestureProcessor() 437 AdjustTimeIntervalConfigIfNeed(intervalTime); in KnuckleGestureProcessor() 452 void KeyCommandHandler::AdjustTimeIntervalConfigIfNeed(int64_t intervalTime) in AdjustTimeIntervalConfigIfNeed() argument 457 intervalTime, downToPrevUpTimeConfig in AdjustTimeIntervalConfigIfNeed() [all...] |
/foundation/multimodalinput/input/util/common/include/ |
H A D | util.h | 38 int32_t intervalTime { 50 };
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 426 devConf.intervalTime = stoi(value); in ConfigItemSwitch() 427 if (devConf.intervalTime < MIN_INTERVALTIME || devConf.intervalTime > MAX_INTERVALTIME) { in ConfigItemSwitch()
|
/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | recorder_server.h | 47 const int32_t intervalTime = 500000; // 500 ms member in OHOS::Media::SaveDocumentSyncCallback
|
H A D | recorder_server.cpp | 1235 usleep(intervalTime); // wait 500 ms in OnSyncShutdown()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_auto_repeat.cpp | 200 repeatTime = isDelay ? iter->second.delayTime : iter->second.intervalTime; in GetKeyboardRepeatTime()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_zoom_gesture.cpp | 670 int64_t intervalTime = (secondTime - firstTime) / US_TO_MS; in CalcIntervalTime() local 672 return intervalTime; in CalcIntervalTime()
|
/foundation/multimodalinput/input/service/key_command/include/ |
H A D | key_command_handler.h | 303 void AdjustTimeIntervalConfigIfNeed(int64_t intervalTime);
|
/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_test.cpp | 3020 int64_t intervalTime = 300000; 3023 ASSERT_NO_FATAL_FAILURE(handler.AdjustTimeIntervalConfigIfNeed(intervalTime)); 3026 ASSERT_NO_FATAL_FAILURE(handler.AdjustTimeIntervalConfigIfNeed(intervalTime)); 3028 intervalTime = 10000; 3030 ASSERT_NO_FATAL_FAILURE(handler.AdjustTimeIntervalConfigIfNeed(intervalTime)); 3033 ASSERT_NO_FATAL_FAILURE(handler.AdjustTimeIntervalConfigIfNeed(intervalTime));
|