Home
last modified time | relevance | path

Searched refs:intensity (Results 1 - 25 of 29) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_light.h37 ModelLight(ModelLightType type, const Vec3& color, const AnimatableFloat& intensity, in ModelLight() argument
39 : type_(type), shadow_(shadow), color_(color), intensity_(intensity), in ModelLight()
63 void SetIntensity(const OHOS::Ace::AnimatableFloat& intensity) in SetIntensity() argument
65 intensity_ = intensity; in SetIntensity()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/
H A Dlight.h27 Light(LightType type, const Vec3& color, float intensity, bool shadow, const Position& position, in Light() argument
29 : type_(type), color_(color), intensity_(intensity), shadow_(shadow), position_(position), rotation_(rotation) in Light()
43 void SetIntensity(float intensity) in SetIntensity() argument
45 intensity_ = intensity; in SetIntensity()
/foundation/graphic/graphic_3d/kits/js/src/
H A DLightJS.cpp115 np.push_back(TROGetSetProperty<float, BaseLight, &BaseLight::GetIntensity, &BaseLight::SetIntensity>("intensity")); in Init()
254 float intensity = 0.0f; in GetIntensity() local
257 ExecSyncTask([node, &intensity]() { in GetIntensity()
258 intensity = node->Intensity()->GetValue(); in GetIntensity()
263 napi_status status = napi_create_double(ctx, intensity, &value); in GetIntensity()
268 float intensity = ctx.Arg<0>(); in SetIntensity() local
271 ExecSyncTask([node, intensity]() { in SetIntensity()
272 node->Intensity()->SetValue(intensity); in SetIntensity()
/foundation/multimedia/player_framework/interfaces/inner_api/native/audio_haptic/include/
H A Daudio_haptic_vibrator.h36 virtual int32_t SetHapticIntensity(float intensity) = 0;
H A Daudio_haptic_player.h106 virtual int32_t SetHapticIntensity(float intensity) = 0;
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_player_impl.cpp266 int32_t AudioHapticPlayerImpl::SetHapticIntensity(float intensity) in SetHapticIntensity() argument
268 MEDIA_LOGI("AudioHapticPlayerImpl::SetHapticIntensity %{public}f", intensity); in SetHapticIntensity()
269 if (intensity < 1.0f || intensity > 100.0f) { in SetHapticIntensity()
270 MEDIA_LOGE("SetHapticIntensity: the intensity value is invalid."); in SetHapticIntensity()
275 return audioHapticVibrator_->SetHapticIntensity(intensity); in SetHapticIntensity()
H A Daudio_haptic_vibrator_impl.h37 int32_t SetHapticIntensity(float intensity) override;
H A Daudio_haptic_vibrator_impl.cpp181 int32_t AudioHapticVibratorImpl::SetHapticIntensity(float intensity) in SetHapticIntensity() argument
183 MEDIA_LOGI("SetHapticIntensity for effectId source. intensity: %{public}f", intensity); in SetHapticIntensity()
186 vibrateIntensity_ = intensity; in SetHapticIntensity()
H A Daudio_haptic_player_impl.h39 int32_t SetHapticIntensity(float intensity) override;
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_attr_test_ng.cpp1071 constexpr float intensity = 5.f; in HWTEST_F() local
1076 .intensity = intensity, in HWTEST_F()
1097 * @tc.steps: step2. When conductivity > 1, intensity > 1. in HWTEST_F()
1098 * @tc.expected: conductivity/intensity would be default value. in HWTEST_F()
1124 constexpr float intensity = -5.f; in HWTEST_F() local
1129 .intensity = intensity, in HWTEST_F()
1150 * @tc.steps: step2. When conductivity < 0, intensity < 0 in HWTEST_F()
1151 * @tc.expected: conductivity/intensity woul in HWTEST_F()
1177 constexpr float intensity = 0; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_extractor_test.cpp288 float intensity = extractor->GetLightIntensity(); in HWTEST_F() local
289 EXPECT_TRUE(intensity == 0.f); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_properties.h108 double intensity = 0; member
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Dlight_component.h44 DEFINE_PROPERTY(float, intensity, "Intensity", 0, VALUE(1.0f))
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_data_structures.h492 // The clearcoat layer intensity.
494 // The clearcoat layer intensity texture.
758 float intensity = 1.0f; // Intensity of the light source in lumens. default 1.0 member
791 float intensity { 1.0f };
H A Dgltf2_loader.cpp1818 if (!ParseOptionalNumber<float>(loadResult, light->intensity, jsonData, "strength", 1.0f)) {
1822 // khronos uses intensity
1823 if (!ParseOptionalNumber<float>(loadResult, light->intensity, jsonData, "intensity", light->intensity)) {
1898 if (!ParseOptionalNumber<float>(loadResult, light->intensity, jsonData, "intensity", light->intensity)) {
H A Dgltf2_exporter.cpp553 exportLight->intensity = lightComponent.intensity; in ExportGltfLight()
2103 if (light->intensity != 1.f) { in ExportKHRLights()
2104 jsonLightObject["intensity"] = light->intensity; in ExportKHRLights()
H A Dgltf2_importer.cpp1920 component.intensity = node.light->intensity; in CreateLight()
2136 envHandle->indirectDiffuseFactor.w = light->intensity; in CreateEnvironmentComponent()
2137 envHandle->indirectSpecularFactor.w = light->intensity; in CreateEnvironmentComponent()
2138 envHandle->envMapFactor.w = light->intensity; in CreateEnvironmentComponent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp2060 auto intensity = chainAnimationOptions_.value().intensity;
2061 if (LessNotEqual(intensity, 0) || GreatNotEqual(intensity, 1)) {
2062 intensity = ChainAnimation::DEFAULT_INTENSITY;
2064 chainAnimation_->SetIntensity(intensity);
2097 auto intensity = chainAnimationOptions_.value().intensity;
2098 if (LessNotEqual(intensity, 0) || GreatNotEqual(intensity,
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_list_bridge.cpp767 double intensity; in SetChainAnimationOptions() local
770 chainAnimationOptions.intensity = listTheme->GetChainIntensity(); in SetChainAnimationOptions()
780 ArkTSUtils::ParseJsDouble(vm, intensityArgs, intensity); in SetChainAnimationOptions()
781 chainAnimationOptions.intensity = static_cast<ArkUI_Float32>(intensity); in SetChainAnimationOptions()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_list_modifier.cpp468 options.intensity = chainAnimationOptions->intensity; in SetChainAnimationOptions()
485 .intensity = listTheme->GetChainIntensity(), in ResetChainAnimationOptions()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_list.cpp314 .intensity = listTheme->GetChainIntensity(), in SetChainAnimationOptions()
323 JSViewAbstract::ParseJsDouble(jsObj->GetProperty("intensity"), options.intensity); in SetChainAnimationOptions()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js5174 let intensity;
5182 intensity = this.value.lightSource.intensity;
5187 getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, color,
5195 !isBaseOrResourceEqual(this.stageValue.lightSource?.intensity, this.value.lightSource?.intensity) ||
5473 let intensity;
5481 intensity = this.value.lightSource.intensity;
5486 getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, colo
[all...]
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1469 oldLC->intensity = light->GetLightIntensity(); in UpdateLights()
1482 lc.intensity = light->GetLightIntensity(); in UpdateLights()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.cpp279 lc.range = ComponentUtilFunctions::CalculateSafeLightRange(lc.range, lc.intensity); in CreateLight()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp2055 { lightComponent.color, lightComponent.intensity } };
2077 light.range = ComponentUtilFunctions::CalculateSafeLightRange(lightComponent.range, lightComponent.intensity);

Completed in 52 milliseconds

12