/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | input_tdd_test.cpp | 85 delete component; 132 delete component; 193 delete component; 245 delete component; 295 delete component; 342 delete component; 389 delete component; in ComponentInputStyleTest07() 412 delete component; in ComponentInputStyleTest07Extra() 429 delete component; in ComponentInputStyleTest07Extra() 493 delete component; [all …]
|
H A D | div_tdd_test.cpp | 54 delete (component); in ComponentDivAttributeSetTest015() 55 component = nullptr; in ComponentDivAttributeSetTest015() 77 delete (component); in ComponentDivStyleSetTest008() 78 component = nullptr; in ComponentDivStyleSetTest008() 96 delete (component); in ComponentDivStyleSetTest008() 97 component = nullptr; in ComponentDivStyleSetTest008() 120 delete (component); in ComponentDivStyleSetTest009() 139 delete (component); in ComponentDivStyleSetTest009() 157 delete (component); in ComponentDivStyleSetTest010() 166 delete (component); in ComponentDivStyleSetTest010() [all …]
|
H A D | radio_switch_tdd_test.cpp | 51 ReleaseComponent(component); in WidthRadioValueTest001() 68 ReleaseComponent(component); in WidthRadioValueTest001() 84 ReleaseComponent(component); in WidthRadioValueTest001() 112 ReleaseComponent(component); in WidthRadioValueTest002() 127 ReleaseComponent(component); in WidthRadioValueTest002() 149 component->Release(); in WidthSwitchValueTest003() 150 ReleaseComponent(component); in WidthSwitchValueTest003() 167 ReleaseComponent(component); in WidthSwitchValueTest003() 183 ReleaseComponent(component); in WidthSwitchValueTest003() 206 ReleaseComponent(component); in WidthSwitchValueTest004() [all …]
|
H A D | horizonprogress_tdd_test.cpp | 92 delete component; in HorizonProgressTest001() 93 component = nullptr; in HorizonProgressTest001() 135 delete component; in HorizonProgressTest002() 178 delete component; in HorizonProgressTest003() 221 delete component; in HorizonProgressTest004() 266 delete component; in HorizonProgressTest005() 311 delete component; in HorizonProgressTest006() 355 delete component; in HorizonProgressTest007() 399 delete component; in HorizonProgressTest008() 452 delete component; in HorizonProgressTest009() [all …]
|
H A D | swiper_tdd_test.cpp | 128 component->Release(); in ComponentSwiperAttributeSetTest001() 146 component->Release(); in ComponentSwiperAttributeSetTest001() 175 component->Release(); in ComponentSwiperAttributeSetTest002() 193 component->Release(); in ComponentSwiperAttributeSetTest002() 227 component->Release(); in ComponentSwiperAttributeSetTest003() 262 component->Release(); in ComponentSwiperAttributeSetTest004() 280 component->Release(); in ComponentSwiperAttributeSetTest004() 315 component->Release(); in ComponentSwiperAttributeSetTest005() 334 component->Release(); in ComponentSwiperAttributeSetTest005() 365 component->Release(); in ComponentSwiperAttributeSetTest013() [all …]
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | animation_config.cpp | 65 if (component.find("id") != component.end()) { in ParseAnimationLabel() 68 if (component.find("text") != component.end()) { in ParseAnimationLabel() 71 if (component.find("x") != component.end()) { in ParseAnimationLabel() 74 if (component.find("y") != component.end()) { in ParseAnimationLabel() 77 if (component.find("w") != component.end()) { in ParseAnimationLabel() 80 if (component.find("h") != component.end()) { in ParseAnimationLabel() 100 if (component.find("id") != component.end()) { in ParseAnimationImage() 103 if (component.find("x") != component.end()) { in ParseAnimationImage() 106 if (component.find("y") != component.end()) { in ParseAnimationImage() 109 if (component.find("w") != component.end()) { in ParseAnimationImage() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_xcomponent.cpp | 162 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)) in OH_NativeXComponent_RegisterFocusEventCallback() argument 171 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)) in OH_NativeXComponent_RegisterKeyEventCallback() argument 180 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)) in OH_NativeXComponent_RegisterBlurEventCallback() argument 255 if (component == nullptr) { in OH_NativeXComponent_RegisterOnFrameCallback() 263 if (component == nullptr) { in OH_NativeXComponent_UnregisterOnFrameCallback() 288 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)) in OH_NativeXComponent_RegisterSurfaceShowCallback() argument 290 return (component && callback) ? component->RegisterSurfaceShowCallback(callback) in OH_NativeXComponent_RegisterSurfaceShowCallback() 295 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)) in OH_NativeXComponent_RegisterSurfaceHideCallback() argument 297 return (component && callback) ? component->RegisterSurfaceHideCallback(callback) in OH_NativeXComponent_RegisterSurfaceHideCallback() 331 return (component && sourceType) ? component->GetSourceType(pointId, sourceType) in OH_NativeXComponent_GetTouchEventSourceType() [all …]
|
H A D | native_interface_xcomponent.h | 301 void (*OnSurfaceCreated)(OH_NativeXComponent* component, void* window); 303 void (*OnSurfaceChanged)(OH_NativeXComponent* component, void* window); 305 void (*OnSurfaceDestroyed)(OH_NativeXComponent* component, void* window); 567 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)); 579 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)); 591 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)); 729 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)); 741 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window)); 768 …OH_NativeXComponent* component, HitTestMode (*callback)(OH_NativeXComponent* component, ArkUI_UIIn… 818 OH_NativeXComponent* component, ArkUI_AccessibilityProvider** handle); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | text_model_impl.cpp | 54 CHECK_NULL_VOID(component); in SetFontSize() 64 CHECK_NULL_VOID(component); in SetTextColor() 78 CHECK_NULL_VOID(component); in SetItalicFontStyle() 88 CHECK_NULL_VOID(component); in SetFontWeight() 102 CHECK_NULL_VOID(component); in SetFontFamily() 112 CHECK_NULL_VOID(component); in SetTextAlign() 122 CHECK_NULL_VOID(component); in SetTextOverflow() 131 CHECK_NULL_VOID(component); in SetMaxLines() 141 CHECK_NULL_VOID(component); in SetTextIndent() 266 return component; in GetComponent() [all …]
|
H A D | refresh_model_impl.cpp | 41 return component; in GetComponent() 52 CHECK_NULL_VOID(component); in SetRefreshing() 60 CHECK_NULL_VOID(component); in SetRefreshDistance() 68 CHECK_NULL_VOID(component); in SetUseOffset() 76 CHECK_NULL_VOID(component); in SetIndicatorOffset() 84 CHECK_NULL_VOID(component); in SetFriction() 92 CHECK_NULL_VOID(component); in IsRefresh() 100 CHECK_NULL_VOID(component); in SetLoadingDistance() 108 CHECK_NULL_VOID(component); in SetProgressDistance() 116 CHECK_NULL_VOID(component); in SetProgressDiameter() [all …]
|
H A D | span_model_impl.cpp | 42 CHECK_NULL_VOID(component); in SetFontSize() 57 CHECK_NULL_VOID(component); in SetTextColor() 70 CHECK_NULL_VOID(component); in SetItalicFontStyle() 84 CHECK_NULL_VOID(component); in SetFontWeight() 99 CHECK_NULL_VOID(component); in SetFontFamily() 114 CHECK_NULL_VOID(component); in SetTextDecoration() 123 CHECK_NULL_VOID(component); in SetTextDecorationColor() 132 CHECK_NULL_VOID(component); in SetTextDecorationStyle() 141 CHECK_NULL_VOID(component); in SetTextCase() 155 CHECK_NULL_VOID(component); in SetLetterSpacing() [all …]
|
H A D | marquee_model_impl.cpp | 41 CHECK_NULL_VOID(component); in SetValue() 48 CHECK_NULL_VOID(component); in SetPlayerStatus() 55 CHECK_NULL_VOID(component); in SetScrollAmount() 62 CHECK_NULL_VOID(component); in SetLoop() 69 CHECK_NULL_VOID(component); in SetDirection() 76 CHECK_NULL_VOID(component); in SetTextColor() 89 CHECK_NULL_VOID(component); in SetFontSize() 102 CHECK_NULL_VOID(component); in SetFontWeight() 111 CHECK_NULL_VOID(component); in SetFontFamily() 122 CHECK_NULL_VOID(component); in SetAllowScale() [all …]
|
H A D | text_clock_model_impl.cpp | 33 CHECK_NULL_VOID(component); in SetFormat() 34 component->SetFormat(format); in SetFormat() 40 CHECK_NULL_VOID(component); in SetHoursWest() 47 CHECK_NULL_VOID(component); in SetOnDateChange() 54 CHECK_NULL_VOID(component); in SetFontSize() 64 CHECK_NULL_VOID(component); in SetTextColor() 74 CHECK_NULL_VOID(component); in SetItalicFontStyle() 84 CHECK_NULL_VOID(component); in SetFontWeight() 94 CHECK_NULL_VOID(component); in SetFontFamily() 104 CHECK_NULL_VOID(component); in InitFontDefault() [all …]
|
H A D | text_timer_model_impl.cpp | 35 CHECK_NULL_VOID(component); in SetIsCountDown() 42 CHECK_NULL_VOID(component); in SetInputCount() 49 CHECK_NULL_VOID(component); in SetFormat() 50 component->SetFormat(format); in SetFormat() 56 CHECK_NULL_VOID(component); in SetOnTimer() 63 CHECK_NULL_VOID(component); in SetFontSize() 73 CHECK_NULL_VOID(component); in SetTextColor() 83 CHECK_NULL_VOID(component); in SetItalicFontStyle() 93 CHECK_NULL_VOID(component); in SetFontWeight() 103 CHECK_NULL_VOID(component); in SetFontFamily() [all …]
|
H A D | shape_abstract_model_impl.cpp | 28 if (component) { in SetStroke() 38 if (!component) { in SetFill() 50 if (component) { in SetStrokeDashOffset() 60 if (!component) { in SetStrokeLineCap() 77 if (!component) { in SetStrokeLineJoin() 94 if (!component) { in SetStrokeMiterLimit() 105 if (component) { in SetStrokeOpacity() 115 if (component) { in SetFillOpacity() 125 if (!component) { in SetStrokeWidth() 137 if (!component) { in SetStrokeDashArray() [all …]
|
H A D | shape_model_impl.cpp | 38 if (component) { in SetBitmapMesh() 48 if (!component) { in SetViewPort() 72 if (component) { in SetWidth() 88 if (component) { in SetHeight() 109 if (component) { in SetStroke() 119 if (!component) { in SetFill() 131 if (component) { in SetStrokeDashOffset() 141 if (!component) { in SetStrokeLineCap() 186 if (component) { in SetStrokeOpacity() 196 if (component) { in SetFillOpacity() [all …]
|
H A D | side_bar_container_model_impl.cpp | 44 CHECK_NULL_VOID(component); in SetShowSideBar() 52 CHECK_NULL_VOID(component); in SetShowControlButton() 63 CHECK_NULL_VOID(component); in ParseAndSetWidth() 92 CHECK_NULL_VOID(component); in SetAutoHide() 100 CHECK_NULL_VOID(component); in SetSideBarPosition() 108 CHECK_NULL_VOID(component); in SetControlButtonWidth() 117 CHECK_NULL_VOID(component); in SetControlButtonHeight() 126 CHECK_NULL_VOID(component); in SetControlButtonLeft() 135 CHECK_NULL_VOID(component); in SetControlButtonTop() 145 CHECK_NULL_VOID(component); in SetControlButtonShowIconInfo() [all …]
|
H A D | text_field_model_impl.cpp | 228 CHECK_NULL_VOID(component); in SetType() 237 CHECK_NULL_VOID(component); in SetPlaceholderColor() 246 CHECK_NULL_VOID(component); in SetPlaceholderFont() 267 CHECK_NULL_VOID(component); in SetEnterKeyType() 275 CHECK_NULL_VOID(component); in SetTextAlign() 283 CHECK_NULL_VOID(component); in SetInputStyle() 291 CHECK_NULL_VOID(component); in SetCaretColor() 303 CHECK_NULL_VOID(component); in SetMaxLength() 311 CHECK_NULL_VOID(component); in SetMaxLines() 322 CHECK_NULL_VOID(component); in SetFontSize() [all …]
|
H A D | swiper_model_impl.cpp | 37 component->SetIndicator(indicator); in Create() 38 component->SetMainSwiperSize(MainSwiperSize::MIN); in Create() 39 component->SetCachedSize(DEFAULT_SWIPER_CACHED_COUNT); in Create() 40 component->SetCurve(Curves::LINEAR); in Create() 41 ViewStackProcessor::GetInstance()->ClaimElementId(component); in Create() 42 ViewStackProcessor::GetInstance()->Push(component); in Create() 45 return component->GetSwiperController(); in Create() 50 auto component = ViewStackProcessor::GetInstance()->GetMainComponent(); in SetDirection() local 59 auto component = ViewStackProcessor::GetInstance()->GetMainComponent(); in SetIndex() local 68 auto component = ViewStackProcessor::GetInstance()->GetMainComponent(); in SetDisplayMode() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/ |
H A D | dom_textfield_util.cpp | 62 component->SetTextStyle(textStyle); in InitDefaultValue() 85 component->SetDecoration(decoration); in InitDefaultValue() 96 if (!component || !theme) { in SetDisableStyle() 102 component->SetTextStyle(textStyle); in SetDisableStyle() 108 if (component) { in InitController() 121 InitController(component); in CreateComponentAndSetChildAttr() 126 if (!component->IsEnabled()) { in CreateComponentAndSetChildAttr() 130 return component; in CreateComponentAndSetChildAttr() 136 if (!component) { in SetChildAttr() 209 if (!component) { in SetChildStyle() [all …]
|
H A D | dom_button_util.cpp | 38 component->SetCatchMode(false); in InitDefaultValue() 62 return component; in CreateComponentAndSetChildAttr() 68 component->AppendChild(padding); in CreateComponentAndSetChildAttr() 79 return component; in CreateComponentAndSetChildAttr() 93 component->SetInputButton(true); in CreateComponentAndSetChildAttr() 95 component->SetRectRadius(component->GetHeight() / 2); in CreateComponentAndSetChildAttr() 99 return component; in CreateComponentAndSetChildAttr() 105 if (!component) { in SetChildAttr() 137 if (!boxComponent || !component) { in SetChildStyle() 222 … component->SetClickedColor(component->GetBackgroundColor().BlendColor(theme->GetClickedColor())); in SetChildStyle() [all …]
|
H A D | dom_radio_util.cpp | 59 InitDefaultValue(component); in CreateComponentAndSetChildAttr() 90 SetChildAttr(node, component, attrs); in CreateComponentAndSetChildAttr() 92 return component; in CreateComponentAndSetChildAttr() 98 if (!component) { in SetChildAttr() 114 component->SetGroupValue(component->GetValue()); in SetChildAttr() 117 component->SetGroupValue(""); in SetChildAttr() 124 if (!component) { in SetChildStyle() 143 if (!component) { in AddChildEvent() 163 if (!component) { in RemoveRadioComponent() 198 component->SetGroupName(name); in CheckRadioGroup() [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-ace.md | 22 | Basic component | Swiper | Added | Added the **disableSwipe** attribut… 25 | Basic component | Marquee | Added | Added the **\<Marquee>** component.… 26 | Basic component | Gauge | Added | Added the **\<Gauge>** component. … 28 | Basic component | TextArea | Added | Added the **\<TextArea>** component… 30 | Basic component | Toggle | Added | Added the **\<Toggle>** component. … 31 | Container component | List | Added | Added the **\<List>** component… 34 | Container component | Stepper | Added | Added the **\<Stepper>** compon… 35 | Container component | StepperItem | Added | Added the **\<StepperItem>** co… 39 | Basic component | Web | Added | Added the **\<Web>** component. … 43 | Basic component | TextPicker | Added | Added the **\<TextPicker>** compone… [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 488 component->paint_.SetStrokeWidth(component->lineWidthValue_); in LineWidthSetter() 1183 component->paint_.SetStyle(component->paint_.FILL_STYLE); in FillRect() 1218 component->paint_.SetStyle(component->paint_.STROKE_STYLE); in StrokeRect() 1258 component->paint_.SetStyle(component->paint_.FILL_STYLE); in FillText() 1274 …component->canvas_.DrawLabel(startPoint, textValue, maxWidth, component->fontStyle_, component->pa… in FillText() 1311 component->paint_.SetStyle(component->paint_.FILL_STYLE); in StrokeText() 1327 component->canvas_.StrokeText(textValue, startPoint, component->fontStyle_, component->paint_); in StrokeText() 1518 component->canvas_.Save(component->paint_); in Save() 1537 component->paint_ = component->canvas_.Restore(); in Restore() 1805 component->canvas_.DrawPath(component->paint_); in Stroke() [all …]
|
H A D | component_factory.h | 84 Component* component; in CreateComponent() local 97 component = new DivComponent(options, children, styleManager); in CreateComponent() 100 component = new StackComponent(options, children, styleManager); in CreateComponent() 103 component = new ImageComponent(options, children, styleManager); in CreateComponent() 126 component = new TabsComponent(options, children, styleManager); in CreateComponent() 130 component = new TextComponent(options, children, styleManager); in CreateComponent() 142 component = new ListComponent(options, children, styleManager); in CreateComponent() 145 component = new DivComponent(options, children, styleManager); in CreateComponent() 193 component = nullptr; in CreateComponent() 197 FatalHandler::GetInstance().AttachComponentNode(component); in CreateComponent() [all …]
|