/foundation/arkui/ace_engine/frameworks/core/event/multimodal/ |
H A D | voice_event.h | 38 : voice_(voice), scene_(scene), isBadge_(isBadge) in VoiceEvent() 53 return scene_; in GetVoiceScene() 68 return voice_ == rhs.GetVoiceContent() && scene_ == rhs.GetVoiceScene(); in operator ==() 73 return voice_ != rhs.GetVoiceContent() || scene_ != rhs.GetVoiceScene(); in operator !=() 78 SceneLabel scene_ = SceneLabel::COMMON; member in OHOS::Ace::final
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/ |
H A D | interaction.cpp | 36 scene_ = ClassReflector<BaseScene>::Class2Instance(className); in CreateScene() 37 if (scene_ == nullptr) { in CreateScene() 42 scene_->SetInteractionId(GetId()); in CreateScene() 43 scene_->Initialize(); in CreateScene() 44 scene_->SetSharingAdapter(shared_from_this()); in CreateScene() 52 if (scene_) { in OnDomainMsg() 53 scene_->OnDomainMsg(msg); in OnDomainMsg() 94 if (scene_) { in Destroy() 95 scene_.reset(); in Destroy() 115 if (scene_) { in HandleEvent() [all...] |
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | ImageJS.cpp | 48 NapiApi::Object obj = scene_.GetObject();
in DisposeNative() 53 sceneJS->ReleaseDispose((uintptr_t)&scene_);
in DisposeNative() 69 scene_.Reset();
in DisposeNative() 91 scene_ = { scene };
in ImageJS() 92 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) {
in ImageJS() 116 sceneJS->DisposeHook((uintptr_t)&scene_, meJs);
in ImageJS()
|
H A D | MaterialJS.cpp | 89 scene_.Reset(); in DisposeNative() 122 scene_ = scene; in ShaderMaterialJS() 123 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in ShaderMaterialJS() 129 sceneJS->DisposeHook((uintptr_t)&scene_, meJs); in ShaderMaterialJS() 156 NapiApi::Object obj = scene_.GetObject(); in DisposeNative() 162 sceneJS->ReleaseDispose((uintptr_t)&scene_); in DisposeNative() 211 scene_.GetValue(), // <- get the scene in SetColorShader() 258 scene_.GetValue(), // <- get the scene in GetColorShader() 262 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in GetColorShader()
|
H A D | GeometryJS.cpp | 50 scene_.Reset();
in DisposeNative() 78 scene_ = fromJs.Arg<0>().valueOrDefault();
in GeometryJS() 80 auto scn = GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject());
in GeometryJS() 115 napi_value args[] = { scene_.GetValue(), argJS };
in GetMesh()
|
H A D | EnvironmentJS.cpp | 93 NapiApi::Object obj = scene_.GetObject(); in DisposeNative() 98 sceneJS->ReleaseStrongDispose((uintptr_t)&scene_); in DisposeNative() 113 NapiApi::Object sceneJS = scene_.GetObject(); in DisposeNative() 119 scene_.Reset(); in DisposeNative() 131 scene_.Reset(); in DisposeNative() 158 scene_ = { fromJs, fromJs.Arg<0>() }; in EnvironmentJS() 159 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in EnvironmentJS() 164 auto* tro = scene_.GetObject().Native<TrueRootObject>(); in EnvironmentJS() 166 sceneJS->StrongDisposeHook((uintptr_t)&scene_, meJs); in EnvironmentJS() 268 napi_value args[] = { scene_ in GetEnvironmentImage() [all...] |
H A D | ShaderJS.cpp | 73 NapiApi::StrongRef scene_; member in BitmapProxy 80 scene_ = scene; in BitmapProxy() 107 scene_.GetValue(), // scene.. in Get() 220 scene_ = { scene }; in ShaderJS() 221 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in ShaderJS() 227 sceneJS->DisposeHook((uintptr_t)&scene_, meJs); in ShaderJS() 304 proxt = BASE_NS::shared_ptr { new BitmapProxy(scene_.GetObject(), t->Image(), name) }; in BindToMaterial() 370 NapiApi::Object obj = scene_.GetObject(); in DisposeNative() 376 sceneJS->ReleaseDispose((uintptr_t)&scene_); in DisposeNative() 381 scene_ in DisposeNative() [all...] |
H A D | SubMeshJS.cpp | 39 scene_.Reset();
in DisposeNative() 69 scene_ = scene;
in SubMeshJS() 70 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) {
in SubMeshJS() 158 napi_value args[] = { scene_.GetValue(), argJS };
in GetMaterial() 159 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) {
in GetMaterial()
|
H A D | AnimationJS.cpp | 80 scene_ = { scene }; in AnimationJS() 81 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in AnimationJS() 87 sceneJS->DisposeHook((uintptr_t)&scene_, meJs); in AnimationJS() 115 NapiApi::Object obj = scene_.GetObject(); in DisposeNative() 120 sceneJS->ReleaseDispose((uintptr_t)&scene_); in DisposeNative() 122 scene_.Reset(); in DisposeNative()
|
H A D | MeshJS.cpp | 36 scene_.Reset(); in DisposeNative() 66 scene_ = scene; in MeshJS() 67 if (!GetNativeMeta<SCENE_NS::IScene>(scene_.GetObject())) { in MeshJS() 97 napi_value args[] = { scene_.GetValue(), argJS }; in GetSubmesh()
|
H A D | NodeJS.cpp | 47 scene_ = scene;
in NodeJS() 117 scene_.Reset();
in DisposeNative()
|
/foundation/graphic/graphic_3d/3d_scene_adapter/src/ |
H A D | scene_bridge.cpp | 39 if (!sceneNapi->scene_) { in UnwrapSceneFromJs() 40 WIDGET_LOGE("sceneNapi->scene_ is nullptr"); in UnwrapSceneFromJs() 43 return sceneNapi->scene_; in UnwrapSceneFromJs()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/src/ |
H A D | rdb_radar_reporter.cpp | 25 : scene_(scene), funcName_(funcName), bundleName_(bundleName) in RdbRadar() 46 (void)scene_; in LocalReport()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ui_ability.cpp | 213 if (scene_ != nullptr) { in OnStop() 215 scene_->GoDestroy(); in OnStop() 370 if (scene_ == nullptr) { in OnMemoryLevel() 374 scene_->NotifyMemoryLevel(level); in OnMemoryLevel() 647 if (scene_ != nullptr) { in OnBackground() 649 scene_->GoBackground(sceneFlag_); in OnBackground() 697 return scene_; in GetScene() 708 if (scene_ == nullptr) { in GetContentInfo() 712 return scene_->GetContentInfo(Rosen::BackupAndRestoreType::CONTINUATION); in GetContentInfo() 718 if (scene_ in GetContentInfoForRecovery() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/ |
H A D | radar_reporter.cpp | 26 radarParam_.scene_ = scene; in RadarReporter() 49 BIZ_SCENE_LABEL, param.scene_, BIZ_STAGE_LABEL, param.stage_, BIZ_STATE_LABEL, state, STAGE_RES_LABEL, res, in Report() 56 BIZ_SCENE_LABEL, param.scene_, BIZ_STAGE_LABEL, param.stage_, STAGE_RES_LABEL, res, ERROR_CODE_LABEL, in Report()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/src/ |
H A D | rdb_radar_reporter.cpp | 35 : scene_(scene), funcName_(funcName), bundleName_(bundleName) in RdbRadar() 40 LocalReport(scene_, funcName_, STATE_START); in RdbRadar() 45 LocalReport(scene_, funcName_, STATE_FINISH, errCode_); in ~RdbRadar()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 764 scene_ = {}; in ResetScene() 802 scene_ = SCENE_NS::IEntityCollection::Ptr { new SCENE_NS::EntityCollection(*ecs_, "scene", {}) }; in ResetScene() 819 if (scene_) { in SetSceneSystemGraph() 918 if (materialQuery_ && scene_) { in ListMaterialNames() 919 ExtractQueryResults(*materialQuery_, *scene_.get(), "GLTF_Materials", ret, *nameComponentManager_); in ListMaterialNames() 927 if (meshQuery_ && scene_) { in ListMeshNames() 928 ExtractQueryResults(*meshQuery_, *scene_.get(), "GLTF_Meshes", ret, *nameComponentManager_); in ListMeshNames() 955 entity = scene_->GetEntityRecursive(fullPath); in FindMesh() 1000 if (scene_) { in GetResourceId() 1001 result = scene_ in GetResourceId() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | cj_ui_ability.cpp | 340 cjWindowStage_ = CreateCJWindowStage(scene_); in OnSceneRestored() 404 if (scene_ != nullptr) { in onSceneDestroyed() 405 auto window = scene_->GetMainWindow(); in onSceneDestroyed() 594 if (scene_ == nullptr) { in DoOnForeground() 599 scene_ = std::make_shared<Rosen::WindowScene>(); in DoOnForeground() 600 InitSceneDoOnForeground(scene_, want); in DoOnForeground() 602 auto window = scene_->GetMainWindow(); in DoOnForeground() 617 auto window = scene_->GetMainWindow(); in DoOnForeground() 628 scene_->GoForeground(UIAbility::sceneFlag_); in DoOnForeground() 651 ret = scene_ in InitSceneDoOnForeground() [all...] |
H A D | js_ability.cpp | 444 if (scene_ != nullptr) { in onSceneDestroyed() 445 auto window = scene_->GetMainWindow(); in onSceneDestroyed() 604 scene_->GetMainWindow()->NapiSetUIContent(pageStack, env, in RestorePageStack() 631 if (scene_ == nullptr) { in DoOnForeground() 636 auto window = scene_->GetMainWindow(); in DoOnForeground() 644 auto window = scene_->GetMainWindow(); in DoOnForeground() 653 auto window = scene_->GetMainWindow(); in DoOnForeground() 660 scene_->GoForeground(Ability::sceneFlag_); in DoOnForeground() 670 scene_ = std::make_shared<Rosen::WindowScene>(); in InitWindowScene() 695 ret = scene_ in InitWindowScene() [all...] |
H A D | js_ui_ability.cpp | 569 if (scene_ != nullptr) { in onSceneDestroyed() 570 auto window = scene_->GetMainWindow(); in onSceneDestroyed() 752 scene_->GetMainWindow()->NapiSetUIContent(pageStack, env, in RestorePageStack() 774 auto mainWindow = scene_->GetMainWindow(); in AbilityContinuationOrRecover() 783 if (ShouldDefaultRecoverState(want) && abilityRecovery_ != nullptr && scene_ != nullptr) { in AbilityContinuationOrRecover() 786 auto mainWindow = scene_->GetMainWindow(); in AbilityContinuationOrRecover() 798 if (scene_ == nullptr) { in DoOnForeground() 805 auto window = scene_->GetMainWindow(); in DoOnForeground() 815 auto window = scene_->GetMainWindow(); in DoOnForeground() 827 HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, "scene_ in DoOnForeground() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_test.cpp | 38 sptr<WindowScene> scene_ = nullptr;
member in OHOS::Rosen::WindowSceneTest 53 scene_ = new WindowScene();
in SetUp() 58 ASSERT_EQ(WMError::WM_OK, scene_->Init(displayId, abilityContext_, listener));
in SetUp() 63 scene_->GoDestroy();
in TearDown() 64 scene_ = nullptr;
in TearDown() 203 ASSERT_NE(nullptr, scene_->CreateWindow("WindowSceneTest03", optionTest));
in HWTEST_F() 216 ASSERT_EQ(nullptr, scene_->CreateWindow("WindowSceneTest04", optionTest));
in HWTEST_F() 227 ASSERT_EQ(nullptr, scene_->CreateWindow("WindowSceneTest05", optionTest));
in HWTEST_F() 248 ASSERT_NE(nullptr, scene_->GetMainWindow());
in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_view_preview.cpp | 96 auto scene_ = flutterSceneBuilder->Build(); in GetDrawDelegate() 102 window->client()->Render(scene_.get()); in GetDrawDelegate()
|
/foundation/graphic/graphic_3d/kits/js/include/ |
H A D | ImageJS.h | 37 NapiApi::WeakRef scene_; member in ImageJS
|
H A D | SceneResourceImpl.h | 73 NapiApi::StrongRef scene_; member in SceneResourceImpl
|
/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/include/ |
H A D | rdb_radar_reporter.h | 54 Scene scene_; member in OHOS::NativeRdb::RdbRadar
|