/ohos5.0/drivers/peripheral/light/test/unittest/hdi/ |
H A D | hdf_light_hdi_test.cpp | 82 InitConfig(effect); 105 InitConfig(effect); 128 InitConfig(effect); 151 InitConfig(effect); 177 InitConfig(effect); 203 InitConfig(effect); 228 InitConfig(effect); 254 InitConfig(effect); 274 InitConfig(effect); 294 InitConfig(effect); [all …]
|
H A D | hdf_light_hdi_common_test.cpp | 111 HdfLightEffect effect; variable 112 InitConfig(effect); 134 HdfLightEffect effect; variable 135 InitConfig(effect); 156 HdfLightEffect effect; variable 157 InitConfig(effect); 179 HdfLightEffect effect; variable 180 InitConfig(effect); 204 InitConfig(effect); 228 InitConfig(effect); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/ |
H A D | shared_overlay_manager.cpp | 98 effect->GetShareId().c_str(), effect->GetController()->GetId()); in StartSharedTransition() 130 if (!effect) { in PrepareSharedTransition() 145 if (!effect || effect->GetType() != SharedTransitionEffectType::SHARED_EFFECT_STATIC) { in PrepareSharedTransition() 173 for (auto& effect : effects) { in CheckAndPrepareTransition() local 175 if (!effect->Allow()) { in CheckAndPrepareTransition() 183 if (!CheckIn(effect)) { in CheckAndPrepareTransition() 192 if (!effect->CreateAnimation()) { in PrepareEachTransition() 195 if (!effect->ApplyAnimation()) { in PrepareEachTransition() 205 effect->StopPlayingEffect(); in ClearAllEffects() 213 if (!AboardShuttle(effect)) { in CheckIn() [all …]
|
/ohos5.0/drivers/peripheral/light/test/unittest/common/ |
H A D | hdf_light_test.cpp | 138 struct LightEffect effect; variable 140 effect.flashEffect.onTime = 0; 141 effect.flashEffect.offTime = 0; 177 struct LightEffect effect; variable 179 effect.flashEffect.onTime = ON_TIME; 180 effect.flashEffect.offTime = OFF_TIME; 229 struct LightEffect effect; variable 239 effect.flashEffect.onTime = ON_TIME; 246 effect.flashEffect.onTime = 0; 250 effect.flashEffect.onTime = ON_TIME; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | shared_transition_controller.cpp | 33 if (!effect) { in GetSharedEffect() 36 if (!effect) { in GetSharedEffect() 41 return effect; in GetSharedEffect() 150 if (!effect) { in KickoffSharedTransition() 155 … if (static_cast<uint32_t>(effect->stopControllerCount_) >= effect->controllers_.size()) { in KickoffSharedTransition() 176 for (auto& effect : effects) { in CheckAndCreateTransition() local 178 if (!effect->Allow(event_)) { in CheckAndCreateTransition() 215 if (!effect) { in PrepareTransition() 227 effects.push_back(effect); in PrepareTransition() 238 if (!effect || effect->GetType() != SharedTransitionEffectType::SHARED_EFFECT_STATIC) { in PrepareTransition() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_transition_effect_test.cpp | 49 EXPECT_EQ(effect, nullptr); 54 EXPECT_EQ(effect, nullptr); 70 EXPECT_EQ(effect, nullptr); 75 EXPECT_EQ(effect, nullptr); 81 EXPECT_EQ(effect, nullptr); 97 EXPECT_EQ(effect, nullptr); 102 EXPECT_EQ(effect, nullptr); 108 EXPECT_EQ(effect, nullptr); 124 EXPECT_EQ(effect, nullptr); 129 EXPECT_EQ(effect, nullptr); [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/audio_effect_v1_0/dump_ast_target/ |
H A D | dump.txt | 2 package ohos.hdi.audio.effect.v1_0; 4 import ohos.hdi.audio.effect.v1_0.IEffectControl; 5 import ohos.hdi.audio.effect.v1_0.EffectTypes; 15 [in] ohos.hdi.audio.effect.v1_0.EffectInfo info, 16 [out] ohos.hdi.audio.effect.v1_0.IEffectControl contoller, 17 [out] ohos.hdi.audio.effect.v1_0.ControllerId id); 20 [in] ohos.hdi.audio.effect.v1_0.ControllerId id); 29 package ohos.hdi.audio.effect.v1_0; 31 import ohos.hdi.audio.effect.v1_0.EffectTypes; 35 [in] ohos.hdi.audio.effect.v1_0.AudioEffectBuffer input, [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/audio_effect_v1_0/foo/audio/effect/v1_0/ |
H A D | EffectTypes.idl | 16 package ohos.hdi.audio.effect.v1_0; 19 * @brief Defines audio effect info for the effect loading. 23 String effectId; /**< effectId of the effect */ 24 int ioDirection; /**< Identify the direction of the effect */ 32 String effectId; /**< effectId of the effect */ 36 * @brief Defines the effect controller descriptor. 57 * @brief Defines audio effect process in buffer and out buffer. 66 * @brief Defines effect contoller command index. 69 AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, /* Init effect controller */ 72 AUDIO_EFFECT_COMMAND_RESET, /* Reset effect controller */ [all …]
|
H A D | IEffectModel.idl | 16 package ohos.hdi.audio.effect.v1_0; 17 import ohos.hdi.audio.effect.v1_0.EffectTypes; 18 import ohos.hdi.audio.effect.v1_0.IEffectControl; 22 …* @brief Query whether the vendor/OEM supplies effect libraries. If supplies, use the supplied eff… 23 * If not, use the system service software effect. 39 * @param descs Indicates the effect list. 49 * @brief Create an effect controller which is used to operate the effect instance. 52 * @param info Indicates the effect information. 78 * @brief Get a descriptor of specified effect. 81 * @param effectId Indicates the effectId of the effect. [all …]
|
/ohos5.0/drivers/interface/audio/effect/v1_0/ |
H A D | EffectTypes.idl | 16 package ohos.hdi.audio.effect.v1_0; 19 * @brief Defines audio effect info for the effect loading. 23 String effectId; /**< effectId of the effect */ 24 int ioDirection; /**< Identify the direction of the effect */ 32 String effectId; /**< effectId of the effect */ 36 * @brief Defines the effect controller descriptor. 57 * @brief Defines audio effect process in buffer and out buffer. 66 * @brief Defines effect contoller command index. 69 AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, /* Init effect controller */ 72 AUDIO_EFFECT_COMMAND_RESET, /* Reset effect controller */ [all …]
|
H A D | IEffectModel.idl | 16 package ohos.hdi.audio.effect.v1_0; 17 import ohos.hdi.audio.effect.v1_0.EffectTypes; 18 import ohos.hdi.audio.effect.v1_0.IEffectControl; 22 …* @brief Query whether the vendor/OEM supplies effect libraries. If supplies, use the supplied eff… 23 * If not, use the system service software effect. 39 * @param descs Indicates the effect list. 49 * @brief Create an effect controller which is used to operate the effect instance. 52 * @param info Indicates the effect information. 78 * @brief Get a descriptor of specified effect. 81 * @param effectId Indicates the effectId of the effect. [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_transition_effect_test.cpp | 50 auto effect = RSTransitionEffect::Create(); variable 51 EXPECT_TRUE(effect != nullptr); 52 effect->Translate(translate); 53 EXPECT_TRUE(effect != nullptr); 75 auto effect = RSTransitionEffect::Create(); variable 76 EXPECT_TRUE(effect != nullptr); 77 effect->Rotate(axisAngle); 78 EXPECT_TRUE(effect != nullptr); 92 EXPECT_TRUE(effect != nullptr); 93 effect->Custom(modifier); [all …]
|
/ohos5.0/drivers/interface/vibrator/v1_1/ |
H A D | VibratorTypes.idl | 26 /**< Indicates the periodic vibration with the preset effect. */ 28 /**< Indicates invalid the effect mode. */ 33 * @brief Enumerates the effect types of the composite effects. 42 /**< Indicates invalid the effect type. */ 69 * @brief Defines the time effect parameters. 83 * @brief Defines the primitive effect parameters. 98 * The parameters include time effect and primitive effect. 108 * @brief Defines the composite vibration effect parameters. 122 * @brief Defines the vibration effect information. 124 …* The information include the capability to set the effect and the vibration duration of the effec… [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/foo/vibrator/v1_1/ |
H A D | VibratorTypes.idl | 26 /**< Indicates the periodic vibration with the preset effect. */ 28 /**< Indicates invalid the effect mode. */ 33 * @brief Enumerates the effect types of the composite effects. 42 /**< Indicates invalid the effect type. */ 69 * @brief Defines the time effect parameters. 83 * @brief Defines the primitive effect parameters. 98 * The parameters include time effect and primitive effect. 108 * @brief Defines the composite vibration effect parameters. 122 * @brief Defines the vibration effect information. 124 …* The information include the capability to set the effect and the vibration duration of the effec… [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_2/foo/vibrator/v1_1/ |
H A D | VibratorTypes.idl | 26 /**< Indicates the periodic vibration with the preset effect. */ 28 /**< Indicates invalid the effect mode. */ 33 * @brief Enumerates the effect types of the composite effects. 42 /**< Indicates invalid the effect type. */ 69 * @brief Defines the time effect parameters. 83 * @brief Defines the primitive effect parameters. 98 * The parameters include time effect and primitive effect. 108 * @brief Defines the composite vibration effect parameters. 122 * @brief Defines the vibration effect information. 124 …* The information include the capability to set the effect and the vibration duration of the effec… [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-enter-exit-transition.md | 7 **Table 1** Transition effect APIs 11 | IDENTITY | Disables the transition effect.| None.| 18 …effect.<br>- **appear**: enter transition effect.<br>- **disappear**: exit transition effect.| The… 27 // Define the animation settings for each transition effect. 28 private effect: object = 46 .transition(this.effect) 56 .transition(this.effect) 81 private effect: TransitionEffect = 108 .transition(this.effect) 177 …// When the grid cells exit, the exit transition effect does not take effect if the transition eff… [all …]
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/ |
H A D | BUILD.gn | 24 "$image_effect_root_dir/interfaces/inner_api/native/effect", 28 "$image_effect_root_dir/frameworks/native/effect/pipeline/include/core", 29 "$image_effect_root_dir/frameworks/native/effect/pipeline/include/factory", 30 "$image_effect_root_dir/frameworks/native/effect/pipeline/include/filters/sink", 32 "$image_effect_root_dir/frameworks/native/effect/base", 33 "$image_effect_root_dir/frameworks/native/effect/manager/colorspace_manager", 57 "$image_effect_root_dir/frameworks/native/effect/manager/colorspace_manager", 67 "$image_effect_root_dir/frameworks/native/effect/base/effect.cpp", 68 "$image_effect_root_dir/frameworks/native/effect/base/effect_context.cpp", 70 "$image_effect_root_dir/frameworks/native/effect/base/external_loader.cpp", [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | effect_kit.md | 100 Enumerates the status codes that may be used by the effect filter. 120 Enumerates the tile modes of the shader effect. 129 | DECAL | Renders the shader effect only within the original boundary.| 142 Creates the frosted glass effect and adds it to a filter. 151 | radius | Blur radius of the frosted glass effect, in px.| 166 Creates the frosted glass effect and adds it to a filter. 175 | radius | Blur radius of the frosted glass effect, in px.| 190 Creates the brightening effect and adds it to a filter. 262 Creates the grayscale effect and adds it to a filter. 285 Creates the inverted color effect and adds it to a filter. [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-filter-effect.md | 3 The visual effect attributes set filter effects (such as blur and pixel stretch) and non-filter eff… 11 visualEffect(effect: VisualEffect): T 13 Sets a visual effect that is not a filter effect. 23 | effect | [VisualEffect](../../apis-arkgraphics2d/js-apis-uiEffect.md#visualeffect) | Yes | Visua… 29 Sets the visual effect of the background filter. 39 | filter | [Filter](../../apis-arkgraphics2d/js-apis-uiEffect.md#filter) | Yes | Visual effect of … 45 Sets the visual effect of the foreground (content) filter. 61 Sets the visual effect of the compositing filter. 94 .foregroundFilter(this.filterTest.blur(10)) // Set the blur effect through foregroundFilter. 102 … .compositingFilter(this.filterTest.blur(10)) // Set the blur effect through backgroundFilter. [all …]
|
/ohos5.0/drivers/peripheral/light/test/performance/common/ |
H A D | hdf_light_performance_test.cpp | 68 static void InitConfig(LightEffect &effect) in InitConfig() argument 70 effect.lightColor.colorValue.rgbColor.r = MIN_VALUE; in InitConfig() 71 effect.lightColor.colorValue.rgbColor.g = MIN_VALUE; in InitConfig() 72 effect.lightColor.colorValue.rgbColor.b = MIN_VALUE; in InitConfig() 73 effect.flashEffect.flashMode = LIGHT_FLASH_NONE; in InitConfig() 86 LightEffect effect; variable 87 InitConfig(effect); 88 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE; 90 int32_t ret = g_lightPerformanceDev->TurnOnLight(LIGHT_ID_BATTERY, &effect);
|
/ohos5.0/drivers/peripheral/light/test/benchmarktest/ |
H A D | hdf_light_benchmark_test.cpp | 105 HdfLightEffect effect; in BENCHMARK_F() local 106 effect.lightColor.colorValue.rgbColor.r = COLORVALUE_RED; in BENCHMARK_F() 108 effect.lightColor.colorValue.rgbColor.b = COLORVALUE_BLUE; in BENCHMARK_F() 109 effect.flashEffect.flashMode = LIGHT_FLASH_NONE; in BENCHMARK_F() 143 HdfLightEffect effect; in BENCHMARK_F() local 144 effect.lightColor.colorValue.rgbColor.r = COLORVALUE_RED; in BENCHMARK_F() 146 effect.lightColor.colorValue.rgbColor.b = COLORVALUE_BLUE; in BENCHMARK_F() 147 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK; in BENCHMARK_F() 148 effect.flashEffect.onTime = ON_TIME; in BENCHMARK_F() 149 effect.flashEffect.offTime = OFF_TIME; in BENCHMARK_F() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_effect_server.cpp | 125 static bool LoadEffect(const Effect &effect, const std::vector<std::shared_ptr<AudioEffectLibEntry>… in LoadEffect() argument 127 std::shared_ptr<AudioEffectLibEntry> currentLibEntry = FindLibrary(effect.libraryName, libList); in LoadEffect() 130 effect.libraryName.c_str(), effect.name.c_str()); in LoadEffect() 135 descriptor.libraryName = effect.libraryName; in LoadEffect() 136 descriptor.effectName = effect.name; in LoadEffect() 140 currentLibEntry->effectName.push_back(effect.name); in LoadEffect() 143 effect.name.c_str(), effect.libraryName.c_str()); in LoadEffect() 153 for (Effect effect: effects) { in CheckEffects() local 154 bool ret = LoadEffect(effect, libList); in CheckEffects() 160 successEffectList.push_back(effect); in CheckEffects()
|
/ohos5.0/docs/en/application-dev/media/audio/ |
H A D | audio-effect-management.md | 3 …effect of a specific playback instance, for example, obtaining or setting the audio effect mode of… 7 …effect mode](../../reference/apis-audio-kit/js-apis-audio.md#audioeffectmode10) of the current aud… 19 …md#audiorendereroptions8). For the **AudioRenderer** instance, the audio effect mode **EFFECT_DEFA… 71 Disable the system audio effect. 82 console.info('Callback invoked to indicate a successful audio effect mode setting.'); 87 Enable the default system audio effect. 98 console.info('Callback invoked to indicate a successful audio effect mode setting.'); 105 Obtain the global audio effect mode corresponding to a specific audio stream usage, which is specif… 107 …effect mode used by the audio stream of the application and perform corresponding operations. For … 128 console.error('Failed to get effect info array');
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_transitioneffect.cpp | 21 NativeTransitionEffect::NativeTransitionEffect(RefPtr<NG::ChainedTransitionEffect> effect) in NativeTransitionEffect() argument 23 this->effect = effect; in NativeTransitionEffect() 28 this->effect->SetNext(tagEffect->effect); in Combine() 33 this->effect->SetAnimationOption(option); in Animation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
H A D | BUILD.gn | 16 import("//foundation/graphic/graphic_2d/rosen/modules/effect/effect_config.gni") 18 module_output_path = "graphic_2d/rosen/modules/effect" 57 "$graphic_2d_root/rosen/modules/effect/color_picker:color_picker", 58 "$graphic_2d_root/rosen/modules/effect/effectChain:libeffectchain", 59 "$graphic_2d_root/rosen/modules/effect/effect_ndk:native_effect_ndk", 60 "$graphic_2d_root/rosen/modules/effect/egl:libegl_effect", 61 "$graphic_2d_root/rosen/modules/effect/skia_effectChain:skeffectchain", 92 "$graphic_2d_root/rosen/modules/effect/color_picker/include", 93 "$graphic_2d_root/rosen/modules/effect/effectChain/include", 94 "$graphic_2d_root/rosen/modules/effect/effect_ndk/include", [all …]
|