Searched full:time (Results 1 – 25 of 3800) sorted by relevance
12345678910>>...152
38 void PerfProfile::SetBmsLoadStartTime(int64_t time) in SetBmsLoadStartTime() argument40 bmsLoadStart_ = (time > 0) ? time : 0; in SetBmsLoadStartTime()48 void PerfProfile::SetBmsLoadEndTime(int64_t time) in SetBmsLoadEndTime() argument50 bmsLoadEnd_ = (time > 0 && time > bmsLoadStart_) ? time : bmsLoadStart_; in SetBmsLoadEndTime()58 void PerfProfile::SetBundleScanStartTime(int64_t time) in SetBundleScanStartTime() argument60 bundleScanStart_ = (time > 0) ? time : 0; in SetBundleScanStartTime()68 void PerfProfile::SetBundleScanEndTime(int64_t time) in SetBundleScanEndTime() argument70 bundleScanEnd_ = (time > 0 && time > bundleScanStart_) ? time : bundleScanStart_; in SetBundleScanEndTime()78 void PerfProfile::SetBundleDownloadStartTime(int64_t time) in SetBundleDownloadStartTime() argument80 bundleDownloadStart_ = (time > 0) ? time : 0; in SetBundleDownloadStartTime()[all …]
111 * CaseDescription: verify bms load time can set correct when set the valid start and end time117 …EXPECT_EQ(bmsLoadStartTime, BMS_LOAD_SET_START_TIME) << "bms load start time " << bmsLoadStartTime;122 EXPECT_EQ(bmsLoadEndTime, BMS_LOAD_SET_END_TIME) << "bms load end time " << bmsLoadEndTime;124 // after reset the perf profile, the bms load start and end time should be zero128 …EXPECT_EQ(initBmsLoadStartTime, BMS_LOAD_INIT_START_TIME) << "bms init load start time " << initBm…129 …EXPECT_EQ(initBmsLoadEndTime, BMS_LOAD_INIT_END_TIME) << "bms init load end time " << initBmsLoadE…138 * CaseDescription: verify bms load time can set correct when set invalid start or end time147 …EXPECT_EQ(bmsLoadStartTime, BMS_LOAD_INIT_START_TIME) << "bms load start time " << bmsLoadStartTim…151 // set the invalid end time less than zero154 EXPECT_EQ(bmsLoadEndTime, BMS_LOAD_SET_START_TIME) << "bms load end time " << bmsLoadEndTime;[all …]
101 // time from keyframe; offset from js api in ParseAnimationStyle()123 double time = StringUtils::StringToDouble(key) / 100.0; in ParseAnimationStyle() local124 AddAnimatable(shadow, time, AnimatableType::PROPERTY_BOX_SHADOW); in ParseAnimationStyle()136 …[](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame()137 … util.AddAnimatable(util.ParseColor(value), time, AnimatableType::PROPERTY_BG_COLOR); in KeyframesAddKeyFrame()140 …[](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame()146 … util.AddAnimatable(backgroundImageSize, time, AnimatableType::PROPERTY_BACKGROUND_SIZE); in KeyframesAddKeyFrame()149 …[](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame()155 … util.AddAnimatable(backgroundImagePosition, time, AnimatableType::PROPERTY_BACKGROUND_POSITION); in KeyframesAddKeyFrame()158 …[](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame()[all …]
30 // The running time of the curve needs to be normalized to the interval of 0.0 to 1.0;39 // Returns the value at specific time.40 …// Notice: The value of time must be between 0.0 and 1.0 since the curve uses normalized timestamp.41 float Move(float time) in Move() argument43 // time always between 0.0 and 1.0 in Move()44 return MoveInternal(time); in Move()47 // Each subclass needs to override this method to implement motion in the 0.0 to 1.0 time range.48 virtual float MoveInternal(float time) = 0;69 float MoveInternal(float time) final in MoveInternal() argument75 if (time > 1.0f || time < 0.0f) { in MoveInternal()[all …]
104 double CriticalDampedModel::Position(double time) const in Position()106 return (c1_ + c2_ * time) * exp(r_ * time); in Position()109 double CriticalDampedModel::Velocity(double time) const in Velocity()111 const double power = exp(r_ * time); in Velocity()112 return r_ * (c1_ + c2_ * time) * power + c2_ * power; in Velocity()134 double OverdampedModel::Position(double time) const in Position()136 return c1_ * exp(r1_ * time) + c2_ * exp(r2_ * time); in Position()139 double OverdampedModel::Velocity(double time) const in Velocity()141 return c1_ * r1_ * exp(r1_ * time) + c2_ * r2_ * exp(r2_ * time); in Velocity()163 double UnderdampedModel::Position(double time) const in Position()[all …]
64 float time = 1.0f / DEFAULT_ESTIMATE_STEPS; in InitEstimateDuration() local68 position = endPosition_ - solution_->Position(time * i); in InitEstimateDuration()69 velocity = solution_->Velocity(time * i); in InitEstimateDuration()71 estimateDuration_ = time * i; in InitEstimateDuration()81 while (maxDuration - minDuration >= time) { in InitEstimateDuration()94 float SpringCurve::MoveInternal(float time) in MoveInternal() argument96 if (time < FRACTION_PARAMETER_MIN || time > FRACTION_PARAMETER_MAX) { in MoveInternal()97 LOGE("SpringCurve MoveInternal: time is less than 0 or larger than 1, return 1"); in MoveInternal()102 currentPosition_ = endPosition_ - solution_->Position(time * estimateDuration_); in MoveInternal()104 currentPosition_ = endPosition_ + solution_->Position(time * estimateDuration_); in MoveInternal()[all …]
52 float time = frameInterval * i / duration; in GetZoomArray() local53 float zoom = (currentZoom + (targetZoom - currentZoom) * GetInterpolation(time)); in GetZoomArray()70 float CubicBezier::GetCubicBezierY(const float& time) in GetCubicBezierY() argument72 return CUBIC_BEZIER_MULTIPLE * (1- time) * (1 - time) * time * CONTROL_POINT_Y1 + in GetCubicBezierY()73 CUBIC_BEZIER_MULTIPLE * (1- time) * time * time * CONTROL_POINT_Y2 + time * time * time; in GetCubicBezierY()76 float CubicBezier::GetCubicBezierX(const float& time) in GetCubicBezierX() argument78 return CUBIC_BEZIER_MULTIPLE * (1- time) * (1 - time) * time * CONTROL_POINT_X1 + in GetCubicBezierX()79 CUBIC_BEZIER_MULTIPLE * (1- time) * time * time * CONTROL_POINT_X2 + time * time * time; in GetCubicBezierX()
59 void TransformConvertor::Convert(const std::string& key, const std::string& value, double time) in Convert() argument63 iter->second(value, time, *this); in Convert()67 void TransformConvertor::InsertIdentityKeyframe(double time) in InsertIdentityKeyframe() argument69 noneKeyframeTimes_.push_back(static_cast<float>(time)); in InsertIdentityKeyframe()77 for (float time : noneKeyframeTimes_) { in AddAnimationToTweenOption() local78 noneKeyframes.push_back(AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operation)); in AddAnimationToTweenOption()115 void TransformConvertor::AddKeyframe(AnimationType type, double time, const TranslateOperation& tra… in AddKeyframe() argument120 auto keyframe = AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operation); in AddKeyframe()124 void TransformConvertor::AddKeyframe(AnimationType type, double time, const SkewOperation& skew) in AddKeyframe() argument129 auto keyframe = AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operation); in AddKeyframe()[all …]
30 void SetBmsLoadStartTime(int64_t time);33 void SetBmsLoadEndTime(int64_t time);36 void SetBundleScanStartTime(int64_t time);39 void SetBundleScanEndTime(int64_t time);42 void SetBundleDownloadStartTime(int64_t time);45 void SetBundleDownloadEndTime(int64_t time);48 void SetBundleInstallStartTime(int64_t time);52 void SetBundleInstallEndTime(int64_t time);55 void SetBundleUninstallStartTime(int64_t time);58 void SetBundleUninstallEndTime(int64_t time);[all …]
64 "Time": 0, number69 "Time": 4, number74 "Time": 397, number79 "Time": 500, number137 "Time": 0, number142 "Time": 4, number147 "Time": 396, number152 "Time": 500, number210 "Time": 0, number215 "Time": 4, number[all …]
76 * @brief set the date time pattern107 * @param time : the js date object111 double GetTimeVal(jerry_value_t time, const char *funcName) const;114 * @brief format the time to date through locale info115 * @param time: the time need to format120 void FormatDate(time_t time, char *res, const uint8_t resSize, uint8_t &start);123 * @brief get the time zone, and convert local time to GMT time124 * @param time the timestamp of local time126 void ConvertLocalToGMT(time_t &time) const;129 * @brief format the time to hour-minute-second through locale info[all …]
45 return iso8601Str; // cant prase time in FormatDateTimeByTimeZone()48 // time zone in FormatDateTimeByTimeZone()63 // convert time to localtime in FormatDateTimeByTimeZone()85 std::string time = ""; in FormatDataTimeByString() local93 time += " 00:00:00"; in FormatDataTimeByString()96 time = dataTime.substr(position); in FormatDataTimeByString()102 if (time.find(":") == data.npos) { in FormatDataTimeByString()103 time += ":00:00"; in FormatDataTimeByString()104 } else if (time.find_first_of(":") == time.find_last_of(":")) { in FormatDataTimeByString()105 time += ":00"; in FormatDataTimeByString()[all …]
18 #include <sys/time.h>94 struct timeval time = {0}; in SoftBusGetTime() local95 gettimeofday(&time, NULL); in SoftBusGetTime()96 sysTime->sec = time.tv_sec; in SoftBusGetTime()97 sysTime->usec = time.tv_usec; in SoftBusGetTime()103 struct timeval time; in SoftBusGetSysTimeMs() local104 time.tv_sec = 0; in SoftBusGetSysTimeMs()105 time.tv_usec = 0; in SoftBusGetSysTimeMs()106 if (gettimeofday(&time, NULL) != 0) { in SoftBusGetSysTimeMs()107 COMM_LOGI(COMM_ADAPTER, "get sys time fail"); in SoftBusGetSysTimeMs()[all …]
43 * @brief Calculates the value for the current time of an animation.47 * @param curTime Indicates the current time of this animation.50 * @brief Returns the value for the current time.83 * @param curTime Indicates the current time of this animation.86 * @return Returns the value for the current time.101 * @param curTime Indicates the current time of this animation.104 * @return Returns the value for the current time.119 * @param curTime Indicates the current time of this animation.122 * @return Returns the value for the current time.137 * @param curTime Indicates the current time of this animation.[all …]
109 LNN_LOGE(LNN_CLOCK, "malloc start time sync request fail=%{public}s", pkgName); in CreateStartTimeSyncReq()128 LNN_LOGE(LNN_CLOCK, "malloc time sync request info fail"); in CreateTimeSyncReqInfo()133 LNN_LOGE(LNN_CLOCK, "copy time sync networkId fail"); in CreateTimeSyncReqInfo()162 …LNN_LOGI(LNN_CLOCK, "add start time sync request. pkgName=%{public}s, accuracy=%{public}d, period=… in TryUpdateStartTimeSyncReq()166 LNN_LOGE(LNN_CLOCK, "create start time sync request fail"); in TryUpdateStartTimeSyncReq()184 LNN_LOGI(LNN_CLOCK, "remove start time sync req. pkgName=%{public}s", pkgName); in RemoveStartTimeSyncReq()211 LNN_LOGE(LNN_CLOCK, "start time sync request msg para null"); in ProcessStartTimeSyncRequest()217 LNN_LOGI(LNN_CLOCK, "start new time sync request"); in ProcessStartTimeSyncRequest()232 LNN_LOGE(LNN_CLOCK, "start time sync fail"); in ProcessStartTimeSyncRequest()271 … "update time sync request. accuracy:%{public}d->%{public}d, period:%{public}d->%{public}d", in TryUpdateTimeSyncReq()[all …]
169 int64_t time {}; in GetForwardTime() local170 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", time); in GetForwardTime()173 time = AVMetaData::SECONDS_15; in GetForwardTime()177 SLOGD("GetForwardTime with time %{public}jd", static_cast<int64_t>(time)); in GetForwardTime()178 …CHECK_AND_RETURN_RET_LOG(out.SetForwardTime(time) == AVSESSION_SUCCESS, napi_invalid_arg, "set par… in GetForwardTime()184 int64_t time {}; in SetForwardTime() local185 …CHECK_AND_RETURN_RET_LOG(in.GetForwardTime(time) == AVSESSION_SUCCESS, napi_invalid_arg, "get para… in SetForwardTime()186 SLOGD("SetForwardTime with time %{public}jd", static_cast<int64_t>(time)); in SetForwardTime()189 auto status = NapiUtils::SetValue(env, time, property); in SetForwardTime()202 int64_t time {}; in GetRewindTime() local[all …]
20 time: ['07:20 上午', '02:00 下午', '12:00 上午', '12:00 下午'],27 time: '00:00',38 this.originData = [this.time, this.repeat, this.switchStatus];41 this.time = this.originData[0];55 console.log('[mainPage init] mode: ' + this.dataWrapper.time);64 this.time.push(this.transformTimeToTwelveHour(this.dataWrapper.time));69 this.time.splice(this.dataWrapper.alarmItemIndex, 1);73 …this.time[this.dataWrapper.alarmItemIndex] = this.transformTimeToTwelveHour(this.dataWrapper.time);77 } else if (this.dataWrapper.mode === this.mode[modeDeleteAlarmIndex]) { // time arrive85 transformTimeToTwelveHour(time) {[all …]
21 #include <sys/time.h>22 #include <time.h>133 struct timespec time = {0}; in SoftBusGetTime() local134 (void)clock_gettime(CLOCK_MONOTONIC, &time); in SoftBusGetTime()136 sysTime->sec = time.tv_sec; in SoftBusGetTime()137 sysTime->usec = time.tv_nsec / NS_PER_USECOND; in SoftBusGetTime()143 struct timeval time; in SoftBusGetSysTimeMs() local144 time.tv_sec = 0; in SoftBusGetSysTimeMs()145 time.tv_usec = 0; in SoftBusGetSysTimeMs()146 if (gettimeofday(&time, NULL) != 0) { in SoftBusGetSysTimeMs()[all …]
86 * @brief Set time cycle.88 * @param time The time.90 void SetTimeCycle(uint32_t time);92 * @brief Get the cycle of time.94 * @return The cycle of time.98 * @brief Set time retrigger.100 * @param time The time.102 void SetTimeRetrigger(int32_t time);104 * @brief Get time retrigger.106 * @param time The time.
18 #include <sys/time.h>27 …ts Timestamp information, including the frame position information and high-resolution time source.33 time.tv_sec = 0; in Timestamp()34 time.tv_nsec = 0; in Timestamp()38 struct timespec time; variable41 …* @brief Enumerates the time base of this <b>Timestamp</b>. Different timing methods are supported.45 /** Monotonically increasing time, excluding the system sleep time */
42 * anchor a media time(pts) with real clock time.45 * @param mediaTime media time based on HST_TIME_BASE46 * @param supplier which report this time anchor52 * get media time currently53 * @return media time now58 * get clock time now59 * @return return clock time based on HST_TIME_BASE64 * Get clock time anchored with pts67 * @return clock time anchored with pts
42 …* @brief Defines the time picker. The time is in the format of "hour:minute" or "hour:minute:secon…43 * The selected time is highlighted.97 * @brief Sets the time currently selected in the time picker.99 …* @param value Indicates the pointer to the selected time, which is in the format of "hour:minute:…101 …* The time must be a valid value. For example, the hour value must range from 0 to 23.109 * @brief Obtains the time currently selected in the time picker.111 …* @return Returns a string representing the selected time. The time is in the format of "hour:minu…122 * @brief Obtains the hour currently selected in the time picker.134 * @brief Obtains the minute currently selected in the time picker.146 * @brief Obtains the second currently selected in the time picker.[all …]
116 …Two = CheckVacuumTaskStatus(vacuum, DB_IDENTITY_A, VacuumTaskStatus::PAUSE_DONE, 1); // only 1 time125 …ree = CheckVacuumTaskStatus(vacuum, DB_IDENTITY_A, VacuumTaskStatus::PAUSE_DONE, 1); // only 1 time148 * @tc.steps: step6. wait for some time151 …CheckVacuumTaskStatus(vacuum, DB_IDENTITY_A, VacuumTaskStatus::FINISH, 3, 1000); // 3 time, 1000 ms169 * @tc.steps: step1. launch dbTaskB for databaseB, then wait for some time174 …CheckVacuumTaskStatus(vacuum, DB_IDENTITY_B, VacuumTaskStatus::FINISH, 3, 1000); // 3 time, 1000 ms183 …stepTwo = CheckVacuumTaskStatus(vacuum, DB_IDENTITY_B, VacuumTaskStatus::FINISH, 1); // only 1 time193 …epThree = CheckVacuumTaskStatus(vacuum, DB_IDENTITY_B, VacuumTaskStatus::FINISH, 1); // only 1 time202 …tepFour = CheckVacuumTaskStatus(vacuum, DB_IDENTITY_B, VacuumTaskStatus::FINISH, 1); // only 1 time215 * @tc.steps: step6. wait for some time[all …]
45 * anchor a media time(pts) with real clock time.48 * @param mediaTime media time based on HST_TIME_BASE56 * get media time currently57 * @return media time now62 * get clock time now63 * @return return clock time based on HST_TIME_BASE68 * Get clock time anchored with pts71 * @return clock time anchored with pts
73 STARTTIME: {type: UINT64, desc: begin time since last report}90 INPUT_TIME: {type: UINT64, desc: input time when multimodel receive from kernel}91 ANIMATION_START_TIME: {type: UINT64, desc: animation start time of the scene}92 RENDER_TIME: {type: UINT64, desc: render time of the scene}93 RESPONSE_LATENCY: {type: UINT64, desc: render time minus input time}107 INPUT_TIME: {type: UINT64, desc: input time when multimodel receive from kernel}108 ANIMATION_START_LATENCY: {type: UINT64, desc: animation start time minus input time}109 ANIMATION_END_LATENCY: {type: UINT64, desc: end time of the scene}110 E2E_LATENCY: {type: UINT64, desc: end to end time}122 MAX_FRAMETIME: {type: UINT64, desc: max single frame time during the scene}[all …]