/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/recycle_view/ |
H A D | recycle_manager.cpp | 22 void RecycleManager::Push(int32_t elmtId, WeakPtr<CustomNodeBase> &&node) in Push() argument 26 context->GetRecycleManager()->PushNode(elmtId, std::move(node)); in Push() 29 void RecycleManager::Pop(int32_t elmtId) in Pop() argument 33 context->GetRecycleManager()->PopNode(elmtId); in Pop() 36 void RecycleManager::Erase(int32_t elmtId) in Erase() argument 40 context->GetRecycleManager()->EraseNode(elmtId); in Erase() 50 void RecycleManager::PushNode(int32_t elmtId, WeakPtr<CustomNodeBase>&& node) in PushNode() argument 52 recyclePool_.try_emplace(elmtId, std::make_unique<RecycleNodeState>(std::move(node))); in PushNode() 55 void RecycleManager::PopNode(int32_t elmtId) in PopNode() argument 57 auto it = recyclePool_.find(elmtId); in PopNode() 70 EraseNode(int32_t elmtId) EraseNode() argument [all...] |
H A D | recycle_manager.h | 56 static void Push(int32_t elmtId, WeakPtr<CustomNodeBase>&& node); 57 static void Pop(int32_t elmtId); 58 static void Erase(int32_t elmtId); 62 void PushNode(int32_t elmtId, WeakPtr<CustomNodeBase>&& node); 63 void PopNode(int32_t elmtId); 64 void EraseNode(int32_t elmtId);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_foreach_ffi.h | 46 CJ_EXPORT VectorToCFFIArrayString FfiOHOSAceFrameworkViewGetIdArray(int64_t elmtId); 47 CJ_EXPORT VectorToCFFIArray FfiOHOSAceFrameworkViewSetIdArray(int64_t elmtId, VectorCJStringHandle vecHandle); 48 CJ_EXPORT SetIdResultFFI FfiOHOSAceFrameworkViewSetIdArrayReturnStruct(int64_t elmtId, VectorCJStringHandle newIdArray); 49 CJ_EXPORT void FfiOHOSAceFrameworkViewCreateNewChildStart(char* elmtId); 50 CJ_EXPORT void FfiOHOSAceFrameworkViewCreateNewChildFinish(char* elmtId);
|
H A D | cj_foreach_ffi.cpp | 67 VectorToCFFIArrayString FfiOHOSAceFrameworkViewGetIdArray(int64_t elmtId) in FfiOHOSAceFrameworkViewGetIdArray() argument 69 std::list<std::string> result = ForEachModel::GetInstance()->GetCurrentIdList(elmtId); in FfiOHOSAceFrameworkViewGetIdArray() 93 VectorToCFFIArray FfiOHOSAceFrameworkViewSetIdArray(int64_t elmtId, VectorCJStringHandle vecHandle) in FfiOHOSAceFrameworkViewSetIdArray() argument 102 const std::list<std::string>& previousIDList = ForEachModel::GetInstance()->GetCurrentIdList(elmtId); in FfiOHOSAceFrameworkViewSetIdArray() 161 SetIdResultFFI FfiOHOSAceFrameworkViewSetIdArrayReturnStruct(int64_t elmtId, VectorCJStringHandle newIdArray) in FfiOHOSAceFrameworkViewSetIdArrayReturnStruct() argument 174 const std::list<std::string>& previousIDList = ForEachModel::GetInstance()->GetCurrentIdList(elmtId); in FfiOHOSAceFrameworkViewSetIdArrayReturnStruct() 208 void FfiOHOSAceFrameworkViewCreateNewChildStart(char* elmtId) in FfiOHOSAceFrameworkViewCreateNewChildStart() argument 210 LOGD("Start create child with array id %{public}s.", elmtId); in FfiOHOSAceFrameworkViewCreateNewChildStart() 213 model->CreateNewChildStart(elmtId); in FfiOHOSAceFrameworkViewCreateNewChildStart() 216 void FfiOHOSAceFrameworkViewCreateNewChildFinish(char* elmtId) in FfiOHOSAceFrameworkViewCreateNewChildFinish() argument [all...] |
H A D | cj_view_stack_processor_ffi.cpp | 29 void FfiOHOSAceFrameworkStartGetAccessRecordingFor(int32_t elmtId) in FfiOHOSAceFrameworkStartGetAccessRecordingFor() argument 31 CJViewStackProcessor::StartGetAccessRecordingFor(elmtId); in FfiOHOSAceFrameworkStartGetAccessRecordingFor()
|
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/ |
H A D | selecttitlebar.js | 34 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 35 super(parent, __localStorage, elmtId, extraInfo); 126 this.observeComponentCreation2((elmtId, isInitialRender) => { 163 this.observeComponentCreation2((elmtId, isInitialRender) => { 181 this.observeComponentCreation2((elmtId, isInitialRender) => { 186 this.observeComponentCreation2((elmtId, isInitialRender) => { 192 }, index: -1 }, undefined, elmtId, () => { 211 this.updateStateVarsOfChildByElmtId(elmtId, {}); 222 this.observeComponentCreation2((elmtId, isInitialRender) => { 228 this.observeComponentCreation2((elmtId, isInitialRende [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/ |
H A D | filter.js | 103 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 104 super(parent, __localStorage, elmtId, extraInfo); 152 this.observeComponentCreation2((elmtId, isInitialRender) => { 158 this.observeComponentCreation2((elmtId, isInitialRender) => { 183 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 184 super(parent, __localStorage, elmtId, extraInfo); 289 this.observeComponentCreation2((elmtId, isInitialRender) => { 293 this.observeComponentCreation2((elmtId, isInitialRender) => { 296 this.observeComponentCreation2((elmtId, isInitialRender) => { 304 this.observeComponentCreation2((elmtId, isInitialRende [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_stack_model_ng.h | 89 void StartGetAccessRecordingFor(int32_t elmtId) override 91 ViewStackProcessor::GetInstance()->StartGetAccessRecordingFor(elmtId); variable 99 void SetElmtIdToAccountFor(int32_t elmtId) override 101 ViewStackProcessor::GetInstance()->SetNodeIdToAccountFor(elmtId); variable 114 void GetAndPushFrameNode(const std::string& tag, int32_t elmtId) override 116 ViewStackProcessor::GetInstance()->GetAndPushFrameNode(tag, elmtId);
|
H A D | view_stack_model.h | 47 virtual void StartGetAccessRecordingFor(int32_t elmtId) = 0; 49 virtual void SetElmtIdToAccountFor(int32_t elmtId) = 0; 52 virtual void GetAndPushFrameNode(const std::string& tag, int32_t elmtId) = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_stack_model_impl.h | 87 void StartGetAccessRecordingFor(int32_t elmtId) override 89 ViewStackProcessor::GetInstance()->StartGetAccessRecordingFor(elmtId); variable 97 void SetElmtIdToAccountFor(int32_t elmtId) override 99 ViewStackProcessor::GetInstance()->SetElmtIdToAccountFor(elmtId); variable 115 void GetAndPushFrameNode(const std::string& tag, int32_t elmtId) override 117 ViewStackProcessor::GetInstance()->GetAndPushFrameNode(tag, elmtId);
|
H A D | view_partial_update_model_impl.cpp | 100 const int32_t elmtId = std::get<0>(task); in FlushUpdateTask() local 102 const RefPtr<Component> mainComponent = AceType::DynamicCast<Component>(std::get<2>(task)); // has elmtId in FlushUpdateTask() 105 ACE_DCHECK(elmtId != ElementRegister::UndefinedElementId); in FlushUpdateTask() 107 RefPtr<Element> element = ElementRegister::GetInstance()->GetElementById(elmtId); in FlushUpdateTask() 122 auto elementProxy = ElementRegister::GetInstance()->GetElementProxyById(elmtId); in FlushUpdateTask() 128 LOGE("No suitable Element/ElementProxy with elmtId %{public}d found to update from %{public}s," in FlushUpdateTask() 129 " elmtId exists in ElementRegister " in FlushUpdateTask() 131 elmtId, (mainComponent ? AceType::TypeName(mainComponent) : "no Component error"), in FlushUpdateTask() 132 (ElementRegister::GetInstance()->Exists(elmtId) ? "exists" : "missing")); in FlushUpdateTask() 143 // chk main component componentsPair.second elmtId in FinishUpdate() [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/selectionmenu/interfaces/ |
H A D | selectionmenu.js | 126 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 127 super(parent, __localStorage, elmtId, extraInfo); 322 this.observeComponentCreation2((elmtId, isInitialRender) => { 328 this.observeComponentCreation2((elmtId, isInitialRender) => { 341 this.observeComponentCreation2((elmtId, isInitialRender) => { 471 this.observeComponentCreation2((elmtId, isInitialRender) => { 487 this.observeComponentCreation2((elmtId, isInitialRender) => { 491 this.observeComponentCreation2((elmtId, isInitialRender) => { 495 this.observeComponentCreation2((elmtId, isInitialRender) => { 522 this.observeComponentCreation2((elmtId, isInitialRende [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/ |
H A D | exceptionprompt.js | 37 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 38 super(parent, __localStorage, elmtId, extraInfo); 101 this.observeComponentCreation2((elmtId, isInitialRender) => { 135 this.observeComponentCreation2((elmtId, isInitialRender) => { 151 this.observeComponentCreation2((elmtId, isInitialRender) => { 169 this.observeComponentCreation2((elmtId, isInitialRender) => { 208 this.observeComponentCreation2((elmtId, isInitialRender) => { 212 this.observeComponentCreation2((elmtId, isInitialRender) => { 260 this.observeComponentCreation2((elmtId, isInitialRender) => { 263 this.observeComponentCreation2((elmtId, isInitialRende [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 24 constructor(parent, params, __localStorage, elmtId = -1) { 25 super(parent, __localStorage, elmtId); 113 this.observeComponentCreation((elmtId, isInitialRender) => { 114 ViewStackProcessor.StartGetAccessRecordingFor(elmtId); 127 this.observeComponentCreation((elmtId, isInitialRender) => { 128 ViewStackProcessor.StartGetAccessRecordingFor(elmtId); 143 this.observeComponentCreation((elmtId, isInitialRender) => { 144 ViewStackProcessor.StartGetAccessRecordingFor(elmtId);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_model_impl.cpp | 51 auto elmtId = component->GetElementId(); in SetOnReady() local 53 auto onReadEvent = [fun, elmtId]() { fun(elmtId); }; in SetOnReady()
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 333 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 334 super(parent, __localStorage, elmtId, extraInfo); 397 this.observeComponentCreation2((elmtId, isInitialRender) => { 402 this.observeComponentCreation2((elmtId, isInitialRender) => { 406 this.observeComponentCreation2((elmtId, isInitialRender) => { 410 this.observeComponentCreation2((elmtId, isInitialRender) => { 428 this.forEachUpdateFunction(elmtId, this.optionsArray, forEachItemGenFunction, undefined, true, false); 440 constructor(parent, params, __localStorage, elmtId = -1, paramsLambda = undefined, extraInfo) { 441 super(parent, __localStorage, elmtId, extraInfo); 537 this.observeComponentCreation2((elmtId, isInitialRende [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | view_stack_processor.cpp | 20 void CJViewStackProcessor::StartGetAccessRecordingFor(int32_t elmtId) in StartGetAccessRecordingFor() argument 22 return ViewStackModel::GetInstance()->StartGetAccessRecordingFor(elmtId); in StartGetAccessRecordingFor()
|
H A D | view_stack_processor.h | 27 static void StartGetAccessRecordingFor(int32_t elmtId);
|
/foundation/arkui/ace_engine/advanced_ui_component/chipgroup/interfaces/ |
H A D | chipgroup.js | 170 elmtId = -1, 174 super(parent, __localStorage, elmtId, extraInfo); 237 this.observeComponentCreation2((elmtId, isInitialRender) => { 249 this.observeComponentCreation2((elmtId, isInitialRender) => { 261 this.observeComponentCreation2((elmtId, isInitialRender) => { 264 this.observeComponentCreation2((elmtId, isInitialRender) => { 268 this.observeComponentCreation2((elmtId, isInitialRender) => { 286 this.observeComponentCreation2((elmtId, isInitialRender) => { 290 this.observeComponentCreation2((elmtId, isInitialRender) => { 315 elmtId, [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | view_stack_processor.h | 220 * account all get access to given elmtId 221 * next component creation will claim the given elmtId 224 void StartGetAccessRecordingFor(int32_t elmtId) in StartGetAccessRecordingFor() argument 226 accountGetAccessToElmtId_ = elmtId; in StartGetAccessRecordingFor() 227 reservedElementId_ = elmtId; in StartGetAccessRecordingFor() 239 (reservedElementId_ != ElementRegister::UndefinedElementId) && "No reserved elmtId, internal error!"); in ClaimElementId() 246 * get the elmtId to which all get access should be accounted 253 void SetElmtIdToAccountFor(ElementIdType elmtId) in SetElmtIdToAccountFor() argument 255 accountGetAccessToElmtId_ = elmtId; in SetElmtIdToAccountFor() 269 void GetAndPushFrameNode(const std::string& tag, int32_t elmtId) in GetAndPushFrameNode() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkTheme.js | 36 static sendThemeToNative(theme, elmtId) { 90 WithTheme.sendThemeToNative(colorsArray, elmtId); 134 const deepRenderFunctionWrapper = (elmtId, isInitialRender) => { 136 deepRenderFunction(elmtId, isInitialRender); 351 const elmtId = ViewStackProcessor.GetElmtIdToAccountFor(); 357 ArkThemeNativeHelper.sendThemeToNative(theme, elmtId); 362 ArkThemeScopeManager.getInstance().onScopeEnter(elmtId, themeOptions, theme); 364 ArkThemeScopeManager.getInstance().onScopeEnter(elmtId, {}, theme); 630 binarySearch(elmtId) { 635 if (this[mid].elmtId [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_stack_processor.cpp | 113 void JSViewStackProcessor::JsStartGetAccessRecordingFor(ElementIdType elmtId) in JsStartGetAccessRecordingFor() argument 115 ViewStackModel::GetInstance()->StartGetAccessRecordingFor(elmtId); in JsStartGetAccessRecordingFor() 123 void JSViewStackProcessor::JsSetElmtIdToAccountFor(ElementIdType elmtId) in JsSetElmtIdToAccountFor() argument 125 ViewStackModel::GetInstance()->SetElmtIdToAccountFor(elmtId); in JsSetElmtIdToAccountFor()
|
H A D | js_view_stack_processor.h | 42 static void JsStartGetAccessRecordingFor(ElementIdType elmtId); 46 static void JsSetElmtIdToAccountFor(ElementIdType elmtId);
|
/foundation/arkui/ace_engine/advanced_ui_component/formmenu/interfaces/ |
H A D | formmenu_preview.js | 55 this.observeComponentCreation2((elmtId, isInitialRender) => { 67 this.observeComponentCreation2((elmtId, isInitialRender) => {
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | element_register.h | 53 * version of GetNodeById(elmtId) function to return an Element of 54 * given class. returns nullptr if Element with this elmtId baddest found 58 RefPtr<E> GetSpecificItemById(ElementIdType elmtId) in GetSpecificItemById() argument 60 return AceType::DynamicCast<E>(GetNodeById(elmtId)); in GetSpecificItemById() 79 * remove Element with given elmtId from the Map 80 * means GetElementById on this elmtId no longer returns an Element 81 * method adds the elmtId to the removed Element Set 86 * remove Element with given elmtId from the Map 87 * means GetElementById on this elmtId no longer returns an Element 88 * method does NOT add the elmtId t [all...] |