mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 17:21:11 +00:00
!41688 pr13删除冗余头文件
Merge pull request !41688 from kangchongtao/0827_pr2
This commit is contained in:
commit
585081ef7c
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/alphabet_indexer_modifier.h"
|
||||
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/indexer/indexer_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
#include "core/components/indexer/indexer_theme.h"
|
||||
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/blank_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/blank/blank_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,17 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/button_modifier.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/button/button_theme.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/button/button_model_ng.h"
|
||||
#include "core/components_ng/pattern/button/button_request_data.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/button/button_theme.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -15,12 +15,8 @@
|
||||
|
||||
#include "core/interfaces/native/node/calendar_picker_modifier.h"
|
||||
|
||||
#include "base/json/json_util.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components_ng/pattern/calendar_picker/calendar_picker_model_ng.h"
|
||||
#include "frameworks/core/components_ng/pattern/picker/picker_type_define.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,14 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/canvas_rendering_context_2d_modifier.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/log/log.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/macros.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/canvas/canvas_renderer_type.h"
|
||||
#include "core/components_ng/pattern/canvas/canvas_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,12 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/checkboxgroup_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/pattern/checkboxgroup/checkboxgroup_model_ng.h"
|
||||
#include "frameworks/core/components/checkable/checkable_theme.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
const DimensionUnit DEFAULT_UNIT = DimensionUnit::VP;
|
||||
|
@ -14,12 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/column_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/linear_layout/column_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr FlexAlign DEFAULT_JUSTIFY_CONTENT = FlexAlign::FLEX_START;
|
||||
|
@ -14,13 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/column_split_modifier.h"
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/linear_split/linear_split_model.h"
|
||||
#include "core/components_ng/pattern/linear_split/linear_split_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr bool DEFAULT_COLUMN_SPLIT_RESIZABLE = false;
|
||||
|
@ -14,13 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/common_shape_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/shape/shape_abstract_model_ng.h"
|
||||
#include "core/components_ng/pattern/shape/shape_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr double DEFAULT_MITER_LIMIT = 4.0f;
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/counter_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/counter/counter_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetEnableInc(ArkUINodeHandle node, ArkUI_Bool enableInc)
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/data_panel_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/data_panel/data_panel_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/common/container.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -13,15 +13,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/divider_modifier.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
|
||||
#include "core/components/divider/divider_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/divider/divider_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components/theme/theme_utils.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr bool DEFAULT_DIVIDER_VERTICAL = false;
|
||||
|
@ -14,19 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/drag_adapter_impl.h"
|
||||
|
||||
#include "native_type.h"
|
||||
|
||||
#include "base/image/pixel_map.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/common/ace_engine.h"
|
||||
#include "core/common/udmf/udmf_client.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/event/gesture_event_hub.h"
|
||||
#include "core/components_ng/manager/drag_drop/drag_drop_func_wrapper.h"
|
||||
#include "core/components_ng/manager/drag_drop/utils/internal_drag_action.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
|
||||
namespace OHOS::Ace::DragAdapter {
|
||||
namespace {
|
||||
|
@ -15,8 +15,6 @@
|
||||
|
||||
#include "core/interfaces/native/node/extension_companion_node.h"
|
||||
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/interfaces/native/node/view_model.h"
|
||||
|
||||
namespace {
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
|
||||
#include "core/interfaces/native/node/extension_custom_node.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void ExtensionCustomNode::OnMeasure(const ExtensionLayoutConstraint& layoutConstraint)
|
||||
|
@ -14,14 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/flex_modifier.h"
|
||||
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/flex/flex_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int NUM_0 = 0;
|
||||
|
@ -15,11 +15,7 @@
|
||||
|
||||
#include "core/interfaces/native/node/form_component_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/form/form_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "base/geometry/dimension.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
const int32_t DEFAULT_VISIBILITY = 0;
|
||||
|
@ -14,14 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/frame_node_modifier.h"
|
||||
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/inspector.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/pattern/custom_frame_node/custom_frame_node.h"
|
||||
#include "core/components_ng/pattern/custom_frame_node/custom_frame_node_pattern.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -13,10 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/gauge_modifier.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
|
||||
#include "core/components_ng/pattern/gauge/gauge_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr float MIN_VALUE = 0.0f;
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
|
||||
#include "core/interfaces/native/node/grid_col_modifier.h"
|
||||
#include <cstdint>
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
#include "core/components_ng/pattern/grid_col/grid_col_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,8 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/grid_item_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/grid/grid_item_model_ng.h"
|
||||
#include "core/components_ng/pattern/grid/grid_item_theme.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
@ -14,13 +14,9 @@
|
||||
*/
|
||||
#include "grid_modifier.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "core/components/scroll/scroll_bar_theme.h"
|
||||
#include "core/components_ng/pattern/grid/grid_model_ng.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_model_ng.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
#include "core/interfaces/native/node/node_adapter_impl.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,11 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/grid_row_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/pattern/grid_row/grid_row_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -15,10 +15,8 @@
|
||||
|
||||
#include "core/interfaces/native/node/hyperlink_modifier.h"
|
||||
#include "core/components/hyperlink/hyperlink_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/hyperlink/hyperlink_model_ng.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
#include "core/components/theme/theme_manager.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,15 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/image_animator_modifier.h"
|
||||
|
||||
#include "base/geometry/calc_dimension.h"
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/declaration/image/image_animator_declaration.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/image_animator/image_animator_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int32_t DEFAULT_DURATION = 1000; // ms
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/line_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/shape/line_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "base/geometry/shape.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetStartPoint(ArkUINodeHandle node, const ArkUI_Float32* pointValues, const ArkUI_Int32* pointUnits,
|
||||
|
@ -15,12 +15,8 @@
|
||||
#include "core/interfaces/native/node/marquee_modifier.h"
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/marquee/marquee_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr bool DEFAULT_ALLOW_SCALE = true;
|
||||
|
@ -14,12 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/menu_item_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/menu/menu_item/menu_item_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/menu_modifier.h"
|
||||
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/menu/menu_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/nav_destination_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/navigation/navigation_declaration.h"
|
||||
#include "core/components_ng/pattern/navrouter/navdestination_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int32_t DEFAULT_SAFE_AREA_TYPE = 0b1;
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/nav_router_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/navrouter/navrouter_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetNavRouteMode(ArkUINodeHandle node, int32_t mode)
|
||||
|
@ -14,13 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/navigation_modifier.h"
|
||||
|
||||
#include "base/geometry/calc_dimension.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/navigation/navigation_declaration.h"
|
||||
#include "core/components_ng/pattern/navigation/navigation_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int32_t NAV_BAR_POSITION_RANGE_MODIFIER = 1;
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/navigator_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/navigator/navigator_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetTarget(ArkUINodeHandle node, ArkUI_CharPtr value)
|
||||
|
@ -15,19 +15,7 @@
|
||||
|
||||
#include "core/interfaces/native/node/node_adapter_impl.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/memory/referenced.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/syntax/lazy_for_each_builder.h"
|
||||
#include "core/components_ng/syntax/lazy_for_each_node.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
struct _ArkUINodeAdapter {
|
||||
OHOS::Ace::RefPtr<OHOS::Ace::NG::NativeLazyForEachBuilder> builder;
|
||||
|
@ -16,13 +16,8 @@
|
||||
#include "core/interfaces/native/node/node_animate.h"
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/animation/curve_animation.h"
|
||||
#include "core/animation/spring_curve.h"
|
||||
#include "core/common/ace_engine.h"
|
||||
#include "core/common/container.h"
|
||||
#include "core/common/container_scope.h"
|
||||
|
||||
namespace OHOS::Ace::NG::ViewAnimate {
|
||||
namespace {
|
||||
|
@ -15,21 +15,10 @@
|
||||
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
|
||||
#include <deque>
|
||||
#include <securec.h>
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/log/ace_trace.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/utils/macros.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/common/container.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/observer_handler.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/base/view_stack_processor.h"
|
||||
#include "core/components_ng/pattern/navigation/navigation_stack.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/alphabet_indexer_modifier.h"
|
||||
#include "core/interfaces/native/node/calendar_picker_modifier.h"
|
||||
#include "core/interfaces/native/node/canvas_rendering_context_2d_modifier.h"
|
||||
|
@ -14,8 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_canvas_modifier.h"
|
||||
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/canvas/canvas_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG::NodeModifier {
|
||||
|
@ -14,12 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_checkbox_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/checkbox/checkbox_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/checkable/checkable_theme.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,20 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_common_modifier.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "interfaces/native/native_type.h"
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
#include "securec.h"
|
||||
|
||||
#include "base/geometry/ng/vector.h"
|
||||
#include "base/geometry/shape.h"
|
||||
#include "base/image/pixel_map.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/system_properties.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
|
@ -14,13 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_component3d_modifier.h"
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
#include "frameworks/core/components_ng/pattern/model/model_view_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,9 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_container_modifier.h"
|
||||
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/node_container/node_container_pattern.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void Rebuild(int32_t nodeId)
|
||||
|
@ -14,12 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_container_span_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/text/span_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,10 +15,7 @@
|
||||
#include "core/interfaces/native/node/node_content_modifier.h"
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/syntax/node_content.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,20 +15,8 @@
|
||||
|
||||
#include "core/interfaces/native/node/node_date_picker_modifier.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/i18n/localization.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/picker/picker_theme.h"
|
||||
#include "core/components_ng/pattern/picker/datepicker_model_ng.h"
|
||||
#include "core/components_ng/pattern/picker/picker_type_define.h"
|
||||
#include "core/components_ng/pattern/text_picker/textpicker_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,46 +14,10 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_drag_modifier.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "interfaces/native/native_type.h"
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
#include "securec.h"
|
||||
|
||||
#include "base/geometry/ng/vector.h"
|
||||
#include "base/geometry/shape.h"
|
||||
#include "base/image/pixel_map.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/system_properties.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/animation/animation_pub.h"
|
||||
#include "core/animation/curves.h"
|
||||
#include "core/common/ime/text_input_type.h"
|
||||
#include "core/common/udmf/udmf_client.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/animation_option.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components/common/properties/decoration.h"
|
||||
#include "core/components/common/properties/shadow.h"
|
||||
#include "core/components/theme/shadow_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/base/view_abstract_model_ng.h"
|
||||
#include "core/components_ng/pattern/shape/shape_abstract_model_ng.h"
|
||||
#include "core/components_ng/pattern/text/span_model_ng.h"
|
||||
#include "core/components_ng/property/transition_property.h"
|
||||
#include "core/event/axis_event.h"
|
||||
#include "core/gestures/drag_event.h"
|
||||
#include "core/image/image_source_info.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/interfaces/native/node/touch_event_convertor.h"
|
||||
#include "core/interfaces/native/node/view_model.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace NodeModifier {
|
||||
|
@ -14,12 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_folder_stack_modifier.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/folder_stack/folder_stack_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -30,11 +30,8 @@
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_pattern.h"
|
||||
#include "core/components_ng/pattern/swiper/swiper_pattern.h"
|
||||
#include "core/interfaces/native/node/touch_event_convertor.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/base/view_abstract_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "interfaces/native/event/ui_input_event_impl.h"
|
||||
#include "interfaces/native/ui_input_event.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,19 +14,11 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_image_modifier.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "base/utils/utils.h"
|
||||
#include "base/image/drawing_color_filter.h"
|
||||
#include "core/common/card_scope.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/image/image_component.h"
|
||||
#include "core/components/image/image_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/image/image_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
|
||||
#include "effect/color_filter.h"
|
||||
|
||||
|
@ -14,13 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_image_span_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/image/image_component.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/image/image_model_ng.h"
|
||||
#include "core/components_ng/pattern/text/image_span_view.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -16,11 +16,7 @@
|
||||
|
||||
#include "interfaces/native/node/list_option.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/list/list_item_group_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int CALL_ARG_0 = 0;
|
||||
|
@ -16,10 +16,7 @@
|
||||
|
||||
#include "interfaces/native/node/list_option.h"
|
||||
|
||||
#include "base/geometry/calc_dimension.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/list/list_item_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
||||
|
@ -14,21 +14,13 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_list_modifier.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "interfaces/native/node/list_option.h"
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/list/list_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/list/list_model_ng.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_adapter_impl.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,11 +15,8 @@
|
||||
#include "node_loading_progress_modifier.h"
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/progress/progress_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/loading_progress/loading_progress_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -12,7 +12,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
|
||||
#include "core/interfaces/native/node/alphabet_indexer_modifier.h"
|
||||
#include "core/interfaces/native/node/badge_modifier.h"
|
||||
|
@ -14,17 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_refresh_modifier.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/refresh/refresh_model_ng.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/interfaces/native/node/node_refresh_modifier.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,22 +15,12 @@
|
||||
#include "core/interfaces/native/node/node_scroll_modifier.h"
|
||||
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
#include "base/geometry/calc_dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/scroll/scroll_bar_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/list/list_model_ng.h"
|
||||
#include "core/components_ng/pattern/scroll/scroll_model_ng.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_model_ng.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_pattern.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_properties.h"
|
||||
#include "core/components_ng/pattern/waterflow/water_flow_model_ng.h"
|
||||
#include "core/components_ng/pattern/grid/grid_model_ng.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
#include "core/components/scroll/scroll_position_controller.h"
|
||||
#include "core/animation/curves.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,10 +15,7 @@
|
||||
#include "core/interfaces/native/node/node_slider_modifier.h"
|
||||
|
||||
#include "core/components_ng/pattern/slider/slider_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/slider/slider_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,15 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_span_modifier.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/geometry/dimension_size.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/text/span_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "draw/canvas.h"
|
||||
|
@ -13,12 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_stack_modifier.h"
|
||||
#include <cstdint>
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/pattern/stack/stack_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,26 +14,12 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_swiper_modifier.h"
|
||||
|
||||
#include <vector>
|
||||
#include "node_model.h"
|
||||
|
||||
#include "base/error/error_code.h"
|
||||
#include "base/geometry/axis.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/memory/type_info_base.h"
|
||||
#include "base/utils/string_utils.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/animation/curve.h"
|
||||
#include "core/components/swiper/swiper_component.h"
|
||||
#include "core/components/swiper/swiper_indicator_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/swiper/swiper_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_adapter_impl.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/pipeline/pipeline_base.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,15 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_symbol_glyph_modifier.h"
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
#include "frameworks/core/components/common/properties/text_style.h"
|
||||
#include "frameworks/core/components_ng/pattern/symbol/symbol_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,14 +14,7 @@
|
||||
*/
|
||||
#include "frameworks/core/interfaces/native/node/node_symbol_span_modifier.h"
|
||||
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
#include "frameworks/core/components/common/properties/text_style.h"
|
||||
#include "frameworks/core/components/common/properties/text_style_parser.h"
|
||||
#include "frameworks/core/components_ng/base/frame_node.h"
|
||||
#include "frameworks/core/components_ng/base/view_abstract.h"
|
||||
#include "frameworks/core/components_ng/pattern/text/symbol_span_model_ng.h"
|
||||
#include "frameworks/core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -13,19 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_text_area_modifier.h"
|
||||
#include <cstdint>
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/text_field/textfield_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/text_field/text_field_model.h"
|
||||
#include "core/components_ng/pattern/text_field/text_field_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
|
||||
|
@ -13,20 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_text_input_modifier.h"
|
||||
#include <functional>
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/text_field/textfield_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/text_field/text_field_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/components_ng/pattern/text_field/text_field_event_hub.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
|
||||
|
@ -14,18 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_textpicker_modifier.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/picker/picker_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/picker/picker_type_define.h"
|
||||
#include "core/components_ng/pattern/tabs/tabs_model.h"
|
||||
#include "core/components_ng/pattern/text_picker/textpicker_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,18 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_timepicker_modifier.h"
|
||||
|
||||
#include "base/utils/utils.h"
|
||||
#include "base/i18n/localization.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/tabs/tabs_model.h"
|
||||
#include "core/components_ng/pattern/time_picker/timepicker_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/interfaces/native/node/node_textpicker_modifier.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -15,12 +15,7 @@
|
||||
#include "node_toggle_modifier.h"
|
||||
|
||||
#include "core/components/checkable/checkable_theme.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/toggle/toggle_model_ng.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,13 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/node_xcomponent_modifier.h"
|
||||
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/xcomponent/xcomponent_model_ng.h"
|
||||
#include "core/components_ng/pattern/xcomponent/xcomponent_pattern.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -13,10 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/panel_modifier.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
|
||||
#include "core/components_ng/pattern/panel/sliding_panel_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int32_t DEFAULT_PANEL_MODE = 1;
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
#include "particle_modifier.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "core/components_ng/pattern/particle/particle_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/path_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/shape/path_model_ng.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -15,12 +15,7 @@
|
||||
|
||||
#include "core/interfaces/native/node/pattern_lock_modifier.h"
|
||||
#include "core/components_v2/pattern_lock/pattern_lock_theme.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/patternlock/patternlock_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetPatternLockActiveColor(ArkUINodeHandle node, uint32_t value)
|
||||
{
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/plugin_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/plugin/plugin_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
const DimensionUnit DEFAULT_UNIT = DimensionUnit::VP;
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/polygon_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/pattern/shape/polygon_model_ng.h"
|
||||
#include "base/geometry/shape.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetPolygonPoints(ArkUINodeHandle node, const ArkUI_Float32* pointX, const ArkUI_Float32* pointY, int32_t length)
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/polyline_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/pattern/shape/polygon_model_ng.h"
|
||||
#include "base/geometry/shape.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
||||
|
@ -16,22 +16,8 @@
|
||||
|
||||
#include "core/interfaces/native/node/progress_modifier.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components/progress/progress_component.h"
|
||||
#include "core/components/progress/progress_theme.h"
|
||||
#include "core/components/theme/app_theme.h"
|
||||
#include "core/components_ng/pattern/progress/progress_date.h"
|
||||
#include "core/components_ng/pattern/progress/progress_layout_algorithm.h"
|
||||
#include "core/components_ng/pattern/progress/progress_layout_property.h"
|
||||
#include "core/components_ng/pattern/progress/progress_model_ng.h"
|
||||
#include "core/components_ng/pattern/progress/progress_paint_property.h"
|
||||
#include "core/components_ng/property/measure_property.h"
|
||||
#include "core/pipeline/pipeline_base.h"
|
||||
#include "core/components/select/select_theme.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,12 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/qrcode_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/qrcode/qrcode_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/qrcode/qrcode_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr uint32_t DEFAULT_BG_COLOR = 0xffffffff;
|
||||
|
@ -14,17 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/radio_modifier.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "core/components/checkable/checkable_theme.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/theme/theme_manager.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/radio/radio_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/pipeline_ng/pipeline_context.h"
|
||||
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,10 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/rating_modifier.h"
|
||||
#include "core/components_ng/pattern/rating/rating_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int32_t STARS_DEFAULT = 5;
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/rect_modifier.h"
|
||||
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/shape/rect_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,24 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/render_node_modifier.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/geometry/ng/rect_t.h"
|
||||
#include "base/geometry/shape.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/layout/layout_property.h"
|
||||
#include "core/components_ng/pattern/render_node/render_node_pattern.h"
|
||||
#include "core/components_ng/pattern/render_node/render_node_properties.h"
|
||||
#include "core/components_ng/property/border_property.h"
|
||||
#include "core/components_ng/render/render_context.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
namespace {
|
||||
|
@ -14,10 +14,6 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/rich_editor_modifier.h"
|
||||
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/pattern/rich_editor/rich_editor_model_ng.h"
|
||||
#include "core/components_ng/pattern/rich_editor/rich_editor_theme.h"
|
||||
|
||||
|
@ -13,9 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/row_modifier.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
|
||||
#include "core/components_ng/pattern/linear_layout/row_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -13,9 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/row_split_modifier.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
|
||||
#include "core/components_ng/pattern/linear_split/linear_split_model_ng.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,11 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/scroller_modifier.h"
|
||||
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/scroll/scroll_model_ng.h"
|
||||
#include "core/components_ng/pattern/scroll_bar/proxy/scroll_bar_proxy.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_controller.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,20 +14,9 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/search_modifier.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/search/search_theme.h"
|
||||
#include "core/components/text_field/textfield_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/search/search_model_ng.h"
|
||||
#include "core/components_ng/pattern/search/search_node.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,14 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/select_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/select/select_theme.h"
|
||||
#include "core/components/text/text_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract_model_ng.h"
|
||||
#include "core/components_ng/pattern/select/select_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "core/components_ng/pattern/select/select_model.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,11 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/shape_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/color.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/shape/shape_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetShapeViewPort(ArkUINodeHandle node, const ArkUI_Float32* dimValues, const ArkUI_Int32* dimUnits)
|
||||
|
@ -13,11 +13,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/side_bar_container_modifier.h"
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/side_bar/side_bar_container_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int NUM_0 = 0;
|
||||
|
@ -14,10 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/stepper_item_modifier.h"
|
||||
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/stepper/stepper_item_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
void SetNextLabel(ArkUINodeHandle node, ArkUI_CharPtr value)
|
||||
|
@ -14,9 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/swiper_controller_modifier.h"
|
||||
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/swiper/swiper_model_ng.h"
|
||||
#include "core/interfaces/native/node/view_model.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "core/interfaces/native/node/tab_content_modifier.h"
|
||||
|
||||
#include "bridge/common/utils/engine_helper.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/tabs/tab_content_model_ng.h"
|
||||
#include "core/interfaces/native/node/view_model.h"
|
||||
|
||||
|
@ -14,16 +14,7 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/tabs_modifier.h"
|
||||
|
||||
#include "base/utils/string_utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/tab_bar/tab_theme.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/base/view_abstract_model_ng.h"
|
||||
#include "core/components_ng/pattern/tabs/tabs_model.h"
|
||||
#include "core/components_ng/pattern/tabs/tabs_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/bridge/common/utils/utils.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr int NUM_0 = 0;
|
||||
|
@ -16,10 +16,7 @@
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/text_clock/text_clock_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr Ace::FontStyle DEFAULT_FONT_STYLE = Ace::FontStyle::NORMAL;
|
||||
|
@ -15,13 +15,8 @@
|
||||
#include "core/interfaces/native/node/text_timer_modifier.h"
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/components/common/layout/constants.h"
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
#include "core/components/common/properties/text_style_parser.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/texttimer/text_timer_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr Dimension DEFAULT_FONT_SIZE = Dimension(16.0, DimensionUnit::FP);
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "core/interfaces/native/node/util_modifier.h"
|
||||
#include "base/utils/system_properties.h"
|
||||
|
||||
#include "core/common/container.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
@ -14,14 +14,8 @@
|
||||
*/
|
||||
#include "core/interfaces/native/node/video_modifier.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "core/components/common/properties/alignment.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/view_abstract.h"
|
||||
#include "core/components_ng/pattern/video/video_model_ng.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
#include "frameworks/core/components/common/layout/constants.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
constexpr ArkUI_Bool DEFAULT_CONTROLS_VALUE = true;
|
||||
|
@ -15,12 +15,7 @@
|
||||
|
||||
#include "core/interfaces/native/node/view_model.h"
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/memory/ace_type.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/base/group_node.h"
|
||||
#include "core/components_ng/base/ui_node.h"
|
||||
#include "core/components_ng/pattern/badge/badge_model_ng.h"
|
||||
@ -78,11 +73,8 @@
|
||||
#include "core/components_ng/pattern/indexer/indexer_model_ng.h"
|
||||
#include "core/components_ng/pattern/search/search_model_ng.h"
|
||||
#include "core/components_ng/pattern/radio/radio_model_ng.h"
|
||||
#include "core/components_ng/pattern/select/select_model_ng.h"
|
||||
#include "core/components_ng/pattern/navigation/navigation_model_ng.h"
|
||||
#include "core/components_ng/pattern/image_animator/image_animator_model_ng.h"
|
||||
#include "core/interfaces/native/node/node_api.h"
|
||||
#include "core/pipeline/base/element_register.h"
|
||||
|
||||
namespace OHOS::Ace::NG::ViewModel {
|
||||
|
||||
|
@ -17,13 +17,8 @@
|
||||
#include "interfaces/native/node/node_model.h"
|
||||
#include "interfaces/native/node/waterflow_section_option.h"
|
||||
|
||||
#include "base/geometry/dimension.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#include "core/components_ng/pattern/scrollable/scrollable_model_ng.h"
|
||||
#include "core/components_ng/pattern/waterflow/water_flow_model_ng.h"
|
||||
#include "core/components_ng/pattern/waterflow/water_flow_sections.h"
|
||||
#include "core/interfaces/arkoala/arkoala_api.h"
|
||||
#include "core/interfaces/native/node/node_adapter_impl.h"
|
||||
|
||||
namespace OHOS::Ace::NG {
|
||||
|
Loading…
Reference in New Issue
Block a user