/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_common_hook_test.cpp | 45 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 D | cj_interactable_view_ffi.h | 43 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 D | cj_interactable_view_ffi.cpp | 277 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 D | render_module.cpp | 45 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 D | hgm_energy_consumption_policy.cpp | 45 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 D | hgm_energy_consumption_policy.h | 35 void StartNewAnimation(const std::string &componentName); 67 int32_t GetComponentEnergyConsumptionConfig(const std::string &componentName);
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | base_test.cpp | 117 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 D | base_test.h | 66 uint16_t SetCompnentNameId(const char *componentName);
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | marquee_tdd_test.h | 26 const char *componentName = "marquee"; in MarqueeTddTest() local 27 SetCompnentNameId(const_cast<char *>(componentName)); in MarqueeTddTest()
|
H A D | picker_view_tdd_test.h | 51 static uint16_t SetCompnentNameId(const char* componentName);
|
H A D | picker_view_tdd_test.cpp | 70 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 D | rs_common_hook.cpp | 30 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 D | rs_frame_rate_range.h | 106 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 D | ark_js_runtime.h | 217 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 D | index.js | 132 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 D | form_module_preloader.cpp | 144 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 D | rs_common_hook.h | 31 void OnStartNewAnimation(const std::string &componentName);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkTheme.js | 662 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 D | js_engine.h | 43 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 D | ace_ability.h | 88 void LoadDocument(const std::string& url, const std::string& componentName, SystemParams& systemParams);
|
H A D | ace_ability.cpp | 554 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 D | collect_results_and_visualize.js | 43 let componentName = componentNames[componentNames.length - 1]; 45 ComponentName: componentName,
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_energy_consumption_policy_test.cpp | 192 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 D | hdi_codec_adapter.h | 35 HdiCodecAdapter(std::string componentName, std::string pluginMime);
|
H A D | hdi_codec_adapter.cpp | 112 HdiCodecAdapter::HdiCodecAdapter(std::string componentName, std::string pluginMime) in HdiCodecAdapter() argument 113 : CodecPlugin(std::move(componentName)), pluginMime_(std::move(pluginMime)) in HdiCodecAdapter()
|