Home
last modified time | relevance | path

Searched refs:offTime (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/base/sensors/miscdevice/test/unittest/light/
H A Dlight_agent_test.cpp177 animation.offTime = 50;
201 animation.offTime = 50;
224 animation.offTime = 50;
247 animation.offTime = 50;
270 animation.offTime = -1;
293 animation.offTime = 2;
317 animation.offTime = 2;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/light/
H A D_hdf_light_flash_effect_v10.md24 | int [offTime](#offtime) | 表示在一个闪烁周期内灯持续熄灭的时间,单位毫秒。 |
42 ### offTime subsection
45 int HdfLightFlashEffect::offTime
/ohos5.0/drivers/peripheral/light/test/unittest/hdi/
H A Dhdf_light_hdi_test.cpp155 effect.flashEffect.offTime = OFF_TIME;
181 effect.flashEffect.offTime = OFF_TIME;
207 effect.flashEffect.offTime = OFF_TIME;
234 effect.flashEffect.offTime = OFF_TIME;
300 effect.flashEffect.offTime = OFF_TIME;
326 effect.flashEffect.offTime = 0;
352 effect.flashEffect.offTime = OFF_TIME;
378 effect.flashEffect.offTime = 0;
/ohos5.0/base/sensors/miscdevice/utils/common/src/
H A Dlight_animation_ipc.cpp50 void LightAnimationIPC::SetOffTime(int32_t offTime) in SetOffTime() argument
52 offTime_ = offTime; in SetOffTime()
/ohos5.0/drivers/peripheral/light/test/unittest/common/
H A Dhdf_light_test.cpp141 effect.flashEffect.offTime = 0;
180 effect.flashEffect.offTime = OFF_TIME;
240 effect.flashEffect.offTime = OFF_TIME;
251 effect.flashEffect.offTime = 0;
/ohos5.0/drivers/hdf_core/framework/model/misc/light/driver/src/
H A Dlight_driver.c166 duration = drvData->info[lightId]->offTime; in LightTimerEntry()
226 … drvData->info[lightId]->offTime = (buf->flashEffect.offTime < drvData->info[lightId]->offTime) ? in TurnOnLight()
227 drvData->info[lightId]->offTime : buf->flashEffect.offTime; in TurnOnLight()
409 ret = parser->GetUint32(node, "offTime", &drvData->info[lightId]->offTime, 0); in GetLightBaseConfigData()
/ohos5.0/base/sensors/miscdevice/frameworks/native/light/src/
H A Dlight_client.cpp122 if ((animation.onTime < 0) || (animation.offTime < 0)) { in IsLightAnimationValid()
124 animation.onTime, animation.offTime); in IsLightAnimationValid()
146 animationIPC.SetOffTime(animation.offTime); in TurnOn()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dcompatible_light_connection.cpp62 int32_t offTime = animation.GetOffTime(); in TurnOn() local
64 (onTime <= 0 || offTime <= 0)) { in TurnOn()
H A Dhdi_light_connection.cpp84 flashEffect.offTime = animation.GetOffTime(); in TurnOn()
/ohos5.0/drivers/hdf_core/framework/model/misc/light/driver/include/
H A Dlight_driver.h102 uint32_t offTime; member
149 uint32_t offTime; member
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-light-des.md100 offTime = 50; // 当闪光灯熄灭时,系统支持的最短持续时间(以毫秒为单位)。
265 ret = parser->GetUint32(node, "offTime", &drvData->info[lightId]->offTime, 0);
266 CHECK_LIGHT_PARSER_RESULT_RETURN_VALUE(ret, "offTime");
426 … drvData->info[lightId]->offTime = (buf->flashEffect.offTime < drvData->info[lightId]->offTime) ?
427 drvData->info[lightId]->offTime : buf->flashEffect.offTime;
838 effect.flashEffect.offTime = 0;
/ohos5.0/base/sensors/miscdevice/utils/common/include/
H A Dlight_animation_ipc.h32 void SetOffTime(int32_t offTime);
/ohos5.0/base/sensors/miscdevice/interfaces/inner_api/light/
H A Dlight_agent_type.h72 int32_t offTime; /**< Duration (in ms) for which the light is off in a blinking period. */ member
/ohos5.0/drivers/peripheral/light/interfaces/v1_0/
H A Dilight_type_vdi.h59 int32_t offTime; member
/ohos5.0/drivers/peripheral/light/hdi_impl/
H A Dlight_interface_impl.cpp94 lightEffect.flashEffect.offTime = effect.flashEffect.offTime; in TurnOnLight()
/ohos5.0/drivers/peripheral/light/hdi_service/
H A Dlight_if_service.cpp133 lightEffectVdi.flashEffect.offTime = effect.flashEffect.offTime; in TurnOnLight()
/ohos5.0/drivers/peripheral/light/interfaces/include/
H A Dlight_type.h120 int32_t offTime; /** Duration (in ms) for which the light is off in a blinking period. */ member
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-light-des.md102offTime = 50; // Minimum duration (in milliseconds) supported by the system when the flash is …
267 ret = parser->GetUint32(node, "offTime", &drvData->info[lightId]->offTime, 0);
268 CHECK_LIGHT_PARSER_RESULT_RETURN_VALUE(ret, "offTime");
428 … drvData->info[lightId]->offTime = (buf->flashEffect.offTime < drvData->info[lightId]->offTime) ?
429 drvData->info[lightId]->offTime : buf->flashEffect.offTime;
840 effect.flashEffect.offTime = 0;
/ohos5.0/drivers/peripheral/light/hal/src/
H A Dlight_dump.c107 lightEffect->flashEffect.offTime); in ShowLightEffectInfo()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/light_v1_0/dump_ast_target/
H A Ddump.txt56 int offTime;
/ohos5.0/drivers/peripheral/light/
H A DREADME_zh.md92 effect.flashEffect.offTime = g_offTime; // 一个闪烁周期内熄灯时长(ms)
/ohos5.0/drivers/peripheral/light/test/performance/hdi/
H A Dhdf_light_hdi_performance_test.cpp156 effect.flashEffect.offTime = OFF_TIME;
/ohos5.0/drivers/peripheral/light/test/benchmarktest/
H A Dhdf_light_benchmark_test.cpp149 effect.flashEffect.offTime = OFF_TIME; in BENCHMARK_F()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dmiscdevice_service.cpp276 int32_t offTime = animation.GetOffTime(); in IsLightAnimationValid() local
281 if ((onTime < 0) || (offTime < 0)) { in IsLightAnimationValid()
283 onTime, offTime); in IsLightAnimationValid()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/light_v1_0/cpp_target/light/v1_0/
H A Dlight_types.h.txt85 int32_t offTime;

12