Home
last modified time | relevance | path

Searched refs:effectType (Results 1 – 25 of 71) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/
H A Dsymbol_effect_options.h28 explicit SymbolEffectOptions(SymbolEffectType effectType);
30 SymbolEffectOptions(SymbolEffectType effectType, ScopeType scopeType) in SymbolEffectOptions() argument
31 : effectType_(effectType), scopeType_(scopeType) in SymbolEffectOptions()
34 … SymbolEffectOptions(SymbolEffectType effectType, ScopeType scopeType, CommonSubType commonSubType) in SymbolEffectOptions() argument
35 : effectType_(effectType), scopeType_(scopeType), commonSubType_(commonSubType) in SymbolEffectOptions()
38 SymbolEffectOptions(SymbolEffectType effectType, FillStyle fillStyle) in SymbolEffectOptions() argument
39 : effectType_(effectType), fillStyle_(fillStyle) in SymbolEffectOptions()
45 void SetEffectType(SymbolEffectType effectType) in SetEffectType() argument
47 effectType_ = effectType; in SetEffectType()
H A Dsymbol_effect_options.cpp20 SymbolEffectOptions::SymbolEffectOptions(SymbolEffectType effectType) in SymbolEffectOptions() argument
22 effectType_ = effectType; in SymbolEffectOptions()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/vibrator/
H A Dinterface_i_vibrator_interface_v11.md23 | [Start](#start) ([in] String effectType) | 控制马达以预置效果执行周期性振动。 |
28 | [GetEffectInfo](#geteffectinfo) ([in] String effectType, [out] struct [HdfEffectInfo](_hdf_effect…
96 IVibratorInterface::GetEffectInfo ([in] String effectType, [out] struct HdfEffectInfo effectInfo )
112 | effectType | 指示指向预设效果类型的指针。建议最大长度为64字节。 |
177 IVibratorInterface::Start ([in] String effectType)
193 | effectType | 表示马达振动的预设效果类型。建议最大长度为64字节。 |
H A Dinterface_i_vibrator_interface_v10.md23 | [Start](#start) ([in] String effectType) | 控制马达以预置效果执行周期性振动。 |
33 IVibratorInterface::Start ([in] String effectType)
47 | effectType | 表示单次振动的预设效果。建议最大长度为64字节。 |
/ohos5.0/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h32 int32_t Start(const std::string &effectType) override;
37 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) override;
42 int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) override;
H A Dvibrator_interface_impl.cpp58 int32_t VibratorInterfaceImpl::Start(const std::string &effectType) in Start() argument
66 int32_t ret = vibratorInterface->Start(effectType.c_str()); in Start()
165 int32_t VibratorInterfaceImpl::GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effec… in GetEffectInfo() argument
175 int32_t ret = vibratorInterface->GetEffectInfo(effectType.c_str(), &info); in GetEffectInfo()
247 int32_t VibratorInterfaceImpl::StartByIntensity(const std::string& effectType, uint16_t intensity) in StartByIntensity() argument
258 int32_t ret = vibratorInterface->Start(effectType.c_str()); in StartByIntensity()
/ohos5.0/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h38 virtual int32_t Start(const std::string &effectType) = 0;
43 virtual int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) = 0;
48 …virtual int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) {return HDF_SU… in StartByIntensity() argument
/ohos5.0/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h33 int32_t Start(const std::string &effectType) override;
39 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) override;
44 int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) override;
H A Dvibrator_if_service.cpp101 int32_t VibratorIfService::Start(const std::string &effectType) in Start() argument
110 int32_t ret = vibratorVdiImpl_->Start(effectType); in Start()
272 int32_t VibratorIfService::GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) in GetEffectInfo() argument
282 int32_t ret = vibratorVdiImpl_->GetEffectInfo(effectType, effectInfoVdi); in GetEffectInfo()
395 int32_t VibratorIfService::StartByIntensity(const std::string& effectType, uint16_t intensity) in StartByIntensity() argument
404 int32_t ret = vibratorVdiImpl_->StartByIntensity(effectType, intensity); in StartByIntensity()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dcompatible_connection.cpp71 int32_t CompatibleConnection::Start(const std::string &effectType) in Start() argument
74 if (g_vibratorEffect.find(effectType) == g_vibratorEffect.end()) { in Start()
75 MISC_HILOGE("Do not support effectType:%{public}s", effectType.c_str()); in Start()
78 duration_ = g_vibratorEffect[effectType]; in Start()
/ohos5.0/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h77 int32_t (*Start)(const char *effectType);
148 int32_t (*GetEffectInfo)(const char *effectType, struct EffectInfo *effectInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/cpp_target/vibrator/v1_1/
H A Dvibrator_interface_proxy.h.txt72 int32_t Start(const std::string& effectType) override;
82 …int32_t GetEffectInfo(const std::string& effectType, OHOS::HDI::Vibrator::V1_1::HdfEffectInfo& eff…
90 static int32_t Start_(const std::string& effectType, const sptr<IRemoteObject> remote);
103 …static int32_t GetEffectInfo_(const std::string& effectType, OHOS::HDI::Vibrator::V1_1::HdfEffectI…
H A Dvibrator_interface_proxy.cpp.txt149 int32_t OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::Start(const std::string& effectType)
151 … return OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::Start_(effectType, GetCurrentRemote());
175 …2_t OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::GetEffectInfo(const std::string& effectType,
178 …return OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::GetEffectInfo_(effectType, effectInfo, G…
222 int32_t OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::Start_(const std::string& effectType,
234 if (!vibratorInterfaceData.WriteCString(effectType.c_str())) {
235 HDF_LOGE("%{public}s: write effectType failed!", __func__);
390 …_t OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::GetEffectInfo_(const std::string& effectType,
402 if (!vibratorInterfaceData.WriteCString(effectType.c_str())) {
403 HDF_LOGE("%{public}s: write effectType failed!", __func__);
H A Dvibrator_interface_service.h.txt32 int32_t Start(const std::string& effectType) override;
42 …int32_t GetEffectInfo(const std::string& effectType, OHOS::HDI::Vibrator::V1_1::HdfEffectInfo& eff…
H A Dvibrator_interface_service.cpp.txt35 int32_t VibratorInterfaceService::Start(const std::string& effectType)
60 int32_t VibratorInterfaceService::GetEffectInfo(const std::string& effectType,
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-use-effect.md28 useEffect(useEffect: boolean, effectType: EffectType)
41 | effectType | [EffectType](ts-universal-attributes-use-effect.md#effecttype14) | 是 | 设置组件应用<!--Del…
/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_haptic.c221 if (hapticData->effectType == VIBRATOR_TYPE_TIME) { in HapticTimerEntry()
225 if (hapticData->effectType == VIBRATOR_TYPE_EFFECT) { in HapticTimerEntry()
261 hapticData->effectType = VIBRATOR_TYPE_TIME; in GetHapticSeqByEffect()
271 hapticData->effectType = (int32_t)pos->type; in GetHapticSeqByEffect()
/ohos5.0/drivers/interface/vibrator/v1_1/
H A DIVibratorInterface.idl62 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
69 Start([in] String effectType);
129 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
141 GetEffectInfo([in] String effectType, [out] struct HdfEffectInfo effectInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/foo/vibrator/v1_1/
H A DIVibratorInterface.idl62 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
69 Start([in] String effectType);
129 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
141 GetEffectInfo([in] String effectType, [out] struct HdfEffectInfo effectInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_2/foo/vibrator/v1_1/
H A DIVibratorInterface.idl62 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
69 Start([in] String effectType);
129 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
141 GetEffectInfo([in] String effectType, [out] struct HdfEffectInfo effectInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_0/cpp_target/vibrator/v1_0/
H A Dvibrator_interface_proxy.cpp.txt125 int32_t OHOS::HDI::Vibrator::V1_0::VibratorInterfaceProxy::Start(const std::string& effectType)
127 … return OHOS::HDI::Vibrator::V1_0::VibratorInterfaceProxy::Start_(effectType, GetCurrentRemote());
171 int32_t OHOS::HDI::Vibrator::V1_0::VibratorInterfaceProxy::Start_(const std::string& effectType,
183 if (!vibratorInterfaceData.WriteCString(effectType.c_str())) {
184 HDF_LOGE("%{public}s: write effectType failed!", __func__);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_2/cpp_target/vibrator/v1_2/
H A Dvibrator_interface_service.h.txt40 int32_t Start(const std::string& effectType) override;
50 …int32_t GetEffectInfo(const std::string& effectType, OHOS::HDI::Vibrator::V1_1::HdfEffectInfo& eff…
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/interface/src/
H A Dvibrator_hdi_connection.cpp62 int32_t VibratorHdiConnection::Start(const std::string &effectType) in Start() argument
66 int32_t ret = iVibratorHdiConnection_->Start(effectType); in Start()
/ohos5.0/drivers/peripheral/vibrator/
H A DREADME_zh.md46 | int32_t Start(const char *effectType) | 按照指定预置效果启动马达,effectType表示预置的振动效果串。…
/ohos5.0/drivers/peripheral/vibrator/chipset/linear/
H A Dvibrator_linear_driver.c48 static int32_t StartEffectLinearVibrator(uint32_t effectType) in StartEffectLinearVibrator() argument
50 (void)effectType; in StartEffectLinearVibrator()

123