/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_light.h | 37 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 D | light.h | 27 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 D | LightJS.cpp | 115 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 D | audio_haptic_vibrator.h | 36 virtual int32_t SetHapticIntensity(float intensity) = 0;
|
H A D | audio_haptic_player.h | 106 virtual int32_t SetHapticIntensity(float intensity) = 0;
|
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/ |
H A D | audio_haptic_player_impl.cpp | 266 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 D | audio_haptic_vibrator_impl.h | 37 int32_t SetHapticIntensity(float intensity) override;
|
H A D | audio_haptic_vibrator_impl.cpp | 181 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 D | audio_haptic_player_impl.h | 39 int32_t SetHapticIntensity(float intensity) override;
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_attr_test_ng.cpp | 1071 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 D | rs_modifier_extractor_test.cpp | 288 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 D | list_properties.h | 108 double intensity = 0; member
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | light_component.h | 44 DEFINE_PROPERTY(float, intensity, "Intensity", 0, VALUE(1.0f))
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_data_structures.h | 492 // 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 D | gltf2_loader.cpp | 1818 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 D | gltf2_exporter.cpp | 553 exportLight->intensity = lightComponent.intensity; in ExportGltfLight() 2103 if (light->intensity != 1.f) { in ExportKHRLights() 2104 jsonLightObject["intensity"] = light->intensity; in ExportKHRLights()
|
H A D | gltf2_importer.cpp | 1920 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 D | list_pattern.cpp | 2060 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 D | arkts_native_list_bridge.cpp | 767 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 D | node_list_modifier.cpp | 468 options.intensity = chainAnimationOptions->intensity; in SetChainAnimationOptions() 485 .intensity = listTheme->GetChainIntensity(), in ResetChainAnimationOptions()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_list.cpp | 314 .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 D | arkComponent.js | 5174 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 D | lume_common.cpp | 1469 oldLC->intensity = light->GetLightIntensity(); in UpdateLights() 1482 lc.intensity = light->GetLightIntensity(); in UpdateLights()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 279 lc.range = ComponentUtilFunctions::CalculateSafeLightRange(lc.range, lc.intensity); in CreateLight()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 2055 { lightComponent.color, lightComponent.intensity } }; 2077 light.range = ComponentUtilFunctions::CalculateSafeLightRange(lightComponent.range, lightComponent.intensity);
|