Home
last modified time | relevance | path

Searched refs:componentName (Results 1 - 25 of 34) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_common_hook_test.cpp45 auto callback = [&result](const std::string& componentName) { result = componentName; }; in HWTEST_F()
47 std::string componentName = "SWIPER_FLING"; in HWTEST_F() local
48 RsCommonHook::Instance().OnStartNewAnimation(componentName); in HWTEST_F()
49 ASSERT_EQ(result, componentName); in HWTEST_F()
61 std::string componentName = "SWIPER_FLING"; in HWTEST_F() local
62 RsCommonHook::Instance().OnStartNewAnimation(componentName); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_interactable_view_ffi.h43 CJDragItemInfo (*callback)(CJDragInfo info), uint32_t componentName);
45 void (*callback)(CJDragInfo info), uint32_t componentName);
46 CJ_EXPORT void FfiOHOSAceFrameworkInteractableViewOnDragMove(void (*callback)(CJDragInfo info), uint32_t componentName);
48 void (*callback)(CJDragInfo info), uint32_t componentName);
49 CJ_EXPORT void FfiOHOSAceFrameworkInteractableViewOnDrop(void (*callback)(CJDragInfo info), uint32_t componentName);
H A Dcj_interactable_view_ffi.cpp277 void FfiOHOSAceFrameworkInteractableViewOnDragStart(CJDragItemInfo (*callback)(CJDragInfo info), uint32_t componentName) in FfiOHOSAceFrameworkInteractableViewOnDragStart() argument
308 void FfiOHOSAceFrameworkInteractableViewOnDragEnter(void (*callback)(CJDragInfo info), uint32_t componentName) in FfiOHOSAceFrameworkInteractableViewOnDragEnter() argument
326 void FfiOHOSAceFrameworkInteractableViewOnDragMove(void (*callback)(CJDragInfo info), uint32_t componentName) in FfiOHOSAceFrameworkInteractableViewOnDragMove() argument
344 void FfiOHOSAceFrameworkInteractableViewOnDragLeave(void (*callback)(CJDragInfo info), uint32_t componentName) in FfiOHOSAceFrameworkInteractableViewOnDragLeave() argument
362 void FfiOHOSAceFrameworkInteractableViewOnDrop(void (*callback)(CJDragInfo info), uint32_t componentName) in FfiOHOSAceFrameworkInteractableViewOnDrop() argument
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Drender_module.cpp45 char *componentName = MallocStringOf(tagName, &tagNameLength); in CreateElement() local
46 if (componentName == nullptr) { in CreateElement()
50 ace_free(componentName); in CreateElement()
51 componentName = nullptr; in CreateElement()
55 uint16_t componentNameId = KeyParser::ParseKeyId(componentName, tagNameLength); in CreateElement()
56 ace_free(componentName); in CreateElement()
57 componentName = nullptr; in CreateElement()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_energy_consumption_policy.cpp45 RsCommonHook::Instance().RegisterStartNewAnimationListener([this](const std::string &componentName) { in HgmEnergyConsumptionPolicy()
46 HgmTaskHandleThread::Instance().PostTask([this, componentName]() { StartNewAnimation(componentName); }); in HgmEnergyConsumptionPolicy()
139 void HgmEnergyConsumptionPolicy::StartNewAnimation(const std::string &componentName) in StartNewAnimation() argument
141 auto idleFps = GetComponentEnergyConsumptionConfig(componentName); in StartNewAnimation()
261 int32_t HgmEnergyConsumptionPolicy::GetComponentEnergyConsumptionConfig(const std::string &componentName) in GetComponentEnergyConsumptionConfig() argument
273 if (screenConfig.componentPowerConfig.count(componentName)) { in GetComponentEnergyConsumptionConfig()
274 idleFps = screenConfig.componentPowerConfig[componentName]; in GetComponentEnergyConsumptionConfig()
H A Dhgm_energy_consumption_policy.h35 void StartNewAnimation(const std::string &componentName);
67 int32_t GetComponentEnergyConsumptionConfig(const std::string &componentName);
/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbase_test.cpp117 uint16_t BaseTest::SetCompnentNameId(const char *componentName) in SetCompnentNameId() argument
119 if (componentName == nullptr) { in SetCompnentNameId()
131 if (!strcmp(componentName, "progress")) { in SetCompnentNameId()
134 } else if (!strcmp(componentName, "chart")) { in SetCompnentNameId()
137 } else if (!strcmp(componentName, "marquee")) { in SetCompnentNameId()
H A Dbase_test.h66 uint16_t SetCompnentNameId(const char *componentName);
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dmarquee_tdd_test.h26 const char *componentName = "marquee"; in MarqueeTddTest() local
27 SetCompnentNameId(const_cast<char *>(componentName)); in MarqueeTddTest()
H A Dpicker_view_tdd_test.h51 static uint16_t SetCompnentNameId(const char* componentName);
H A Dpicker_view_tdd_test.cpp70 uint16_t PickerViewTddTest::SetCompnentNameId(const char* componentName) in SetCompnentNameId() argument
72 if (!strcmp(componentName, "picker-view")) { in SetCompnentNameId()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_common_hook.cpp30 void RsCommonHook::OnStartNewAnimation(const std::string &componentName) in OnStartNewAnimation() argument
33 startNewAniamtionFunc_(componentName); in OnStartNewAnimation()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_frame_rate_range.h106 auto componentName = GetComponentName(); in GetExtInfo() local
107 if (isEnergyAssurance_ && componentName != "UNKNOWN_SCENE") { in GetExtInfo()
108 return std::string("COMPONENT_") + componentName + "_ASSURANCE"; in GetExtInfo()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Dark_js_runtime.h217 void SetRequiredComponent(const std::string &componentName) in SetRequiredComponent() argument
219 requiredComponent_ = componentName; in SetRequiredComponent()
222 void AddPreviewComponent(const std::string &componentName, const panda::Global<panda::ObjectRef> &componentObj) in AddPreviewComponent() argument
224 previewComponents_.emplace(componentName, componentObj); in AddPreviewComponent()
227 panda::Global<panda::ObjectRef> GetPreviewComponent(EcmaVM* vm, const std::string &componentName) in GetPreviewComponent() argument
229 auto iter = previewComponents_.find(componentName); in GetPreviewComponent()
/foundation/arkui/ace_engine/test/component_test/tools/middle_ground/public/
H A Dindex.js132 const componentName = item["Component Name"];
145 let componentEntry = projectMap[projectName].value.find(component => component.name === componentName);
149 name: componentName,
150 path: [projectName, componentName],
152 id: `${projectName}_${componentName}_${id}`
157 path: [projectName, componentName, fileName],
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dform_module_preloader.cpp144 std::string componentName = component->GetString(); in ParseComponentCollectionJson() local
146 formModuleList.emplace(componentName); in ParseComponentCollectionJson()
151 if (iter.find(componentName) == iter.end()) { in ParseComponentCollectionJson()
152 formModuleList.emplace(componentName); in ParseComponentCollectionJson()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_common_hook.h31 void OnStartNewAnimation(const std::string &componentName);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkTheme.js662 addComponentToScope(elmtId, owner, componentName) {
669 this.components.push({ elmtId: elmtId, owner: owner, name: componentName });
717 onComponentCreateEnter(componentName, elmtId, isFirstRender, ownerComponent) {
720 if (this.themeScopes.length === 0 || componentName === 'WithTheme') {
730 scope.addComponentToScope(elmtId, ownerComponent.id__(), componentName);
733 scope.addComponentToScope(elmtId, ownerComponent.id__(), componentName);
738 scope.addComponentToScope(elmtId, ownerComponent.id__(), componentName);
749 if (componentName === 'If') {
925 static isInWhiteList(componentName) {
930 if (ArkThemeWhiteList.whiteList[mid].localeCompare(componentName)
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/
H A Djs_engine.h43 const std::string componentName; member
94 void RegisterSingleComponent(std::string& command, const std::string& componentName, const std::string& methods);
460 virtual void ReplaceJSContent(const std::string& url, const std::string componentName) in ReplaceJSContent() argument
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.h88 void LoadDocument(const std::string& url, const std::string& componentName, SystemParams& systemParams);
H A Dace_ability.cpp554 void AceAbility::LoadDocument(const std::string& url, const std::string& componentName, SystemParams& systemParams) in LoadDocument() argument
556 LOGI("Component Preview start:%{public}s, ", componentName.c_str()); in LoadDocument()
569 container->LoadDocument(url, componentName); in LoadDocument()
/foundation/arkui/ace_engine/test/component_test/tools/previewer_host/main/
H A Dcollect_results_and_visualize.js43 let componentName = componentNames[componentNames.length - 1];
45 ComponentName: componentName,
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_energy_consumption_policy_test.cpp192 std::string componentName = "SWIPER_FLING"; in HWTEST_F() local
194 HgmEnergyConsumptionPolicy::Instance().StartNewAnimation(componentName); in HWTEST_F()
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dhdi_codec_adapter.h35 HdiCodecAdapter(std::string componentName, std::string pluginMime);
H A Dhdi_codec_adapter.cpp112 HdiCodecAdapter::HdiCodecAdapter(std::string componentName, std::string pluginMime) in HdiCodecAdapter() argument
113 : CodecPlugin(std::move(componentName)), pluginMime_(std::move(pluginMime)) in HdiCodecAdapter()

Completed in 15 milliseconds

12