/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___native_dialog_a_p_i__1.md | 6 Provides the custom dialog box APIs for the native side. 49 Closes a custom dialog box. If the dialog box has been closed, this API does not take effect. 69 Creates a custom dialog box and returns the pointer to the created dialog box. 87 Destroys a custom dialog box. 178 Removes the content of a custom dialog box. 251 Sets the background color for a custom dialog box. 276 Sets the content for a custom dialog box. 301 Sets the alignment mode for a custom dialog box. 381 Sets the mask for a custom dialog box. 407 Sets the modal mode for a custom dialog box. [all …]
|
H A D | js-apis-promptAction.md | 192 Shows a dialog box. This API uses a promise to return the result asynchronously. 259 Shows a dialog box. This API uses an asynchronous callback to return the result. 488 Opens a custom dialog box. 548 Text('In-component dialog box') 653 Closes the specified custom dialog box. 712 Describes the options for showing the dialog box. 734 Describes the dialog box response result. 785 …box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parameter is … 792 Defines the options of the dialog box. 803 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, while a … [all …]
|
H A D | native__dialog_8h.md | 6 Declares a set of custom dialog box APIs of ArkUI on the native side. 24 …_u_i___native_dialog_a_p_i__1.md) | Defines a struct for the custom dialog box APIs on the native … 31 …e_module.md#arkui_onwilldismissevent)) (int32_t reason) | Invoked when the dialog box is closed. | 32 …___native_module.md#arkui_dialogdismissevent) | Defines a struct for a dialog box dismiss event. | 39 …ark_u_i___native_module.md) } | Enumerates the actions for triggering closure of the dialog box. | 46 …bool shouldBlockDismiss) | Sets whether to block the system behavior of dismissing a dialog box. | 47 …ialogdismissevent) \*event) | Obtains the pointer to user data in a dialog box dismiss event objec… 48 …_dialogdismissevent) \*event) | Obtains the dismissal reason from a dialog box dismiss event objec…
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | heif_box.cpp | 176 std::shared_ptr<HeifBox> box; in MakeBox() local 202 return box; in MakeBox() 207 return box->GetBoxType() == BOX_TYPE_IPRP || box->GetBoxType() == BOX_TYPE_IPCO || in BoxContentChildren() 208 box->GetBoxType() == BOX_TYPE_META || box->GetBoxType() == BOX_TYPE_IINF; in BoxContentChildren() 223 box->SetHeaderInfo(headerBox); in MakeFromReader() 224 if (box->GetBoxSize() < box->GetHeaderSize()) { in MakeFromReader() 227 uint64_t boxContentSize = box->GetBoxSize() - box->GetHeaderSize(); in MakeFromReader() 232 if (BoxContentChildren(box)) { in MakeFromReader() 238 *result = std::move(box); in MakeFromReader() 285 boxSize_ = box.boxSize_; in SetHeaderInfo() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | render_indexer_item.cpp | 62 RefPtr<RenderBox> box; in PerformLayout() local 71 if (!box) { in PerformLayout() 76 if (!box->GetChildren().empty()) { in PerformLayout() 111 if (box && circleMode_) { in UpdateItemBackground() 112 box->SetColor(color, true); in UpdateItemBackground() 166 if (!box) { in OnMouseHoverExitTest() 204 if (!box) { in CreateColorAnimation() 209 auto box = weakBox.Upgrade(); in CreateColorAnimation() local 210 if (box) { in CreateColorAnimation() 212 box->MarkNeedRender(); in CreateColorAnimation() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_indexer_item.cpp | 58 RefPtr<RenderBox> box; in PerformLayout() local 67 if (!box) { in PerformLayout() 134 if (!box) { in OnMouseHoverExitTest() 172 if (!box) { in CreateColorAnimation() 175 auto weakBox = WeakClaim(RawPtr(box)); in CreateColorAnimation() 177 auto box = weakBox.Upgrade(); in CreateColorAnimation() local 178 if (box) { in CreateColorAnimation() 179 box->SetColor(value, true); in CreateColorAnimation() 180 box->MarkNeedRender(); in CreateColorAnimation() 202 if (!box) { in UpdateItemStyle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_component.cpp | 138 if (!box) { in BuildItems() 148 box->SetEnableDebugBoundary(true); in BuildItems() 149 box->SetPadding(labelPadding_); in BuildItems() 159 box->SetDeliverMinToChild(false); in BuildItems() 160 box->SetAlignment(itemAlignment_); in BuildItems() 161 items.push_back(box); in BuildItems() 171 box->SetPadding(labelPadding_); in UpdateItemStyle() 173 box->SetFlex(BoxFlex::FLEX_XY); in UpdateItemStyle() 176 box->SetFlex(BoxFlex::FLEX_X); in UpdateItemStyle() 181 box->SetDeliverMinToChild(false); in UpdateItemStyle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_value.cpp | 57 if (!box) { in HandleFocus() 62 box_ = box; in HandleFocus() 65 auto boxOldColor = box->GetColor(); in HandleFocus() 68 box->SetColor(focusBackColor_, true); in HandleFocus() 72 box->SetColor(normalBackColor_, true); in HandleFocus() 75 HandleAnimation(box); in HandleFocus() 104 if (!box) { in HandleAnimation() 115 box_ = box; in HandleAnimation() 117 auto width = box->GetLayoutSize().Width(); in HandleAnimation() 118 auto height = box->GetLayoutSize().Height(); in HandleAnimation() [all …]
|
H A D | picker_value_element.cpp | 37 auto box = AceType::DynamicCast<BoxElement>(element); in GetRenderBox() local 38 if (box) { in GetRenderBox() 39 return AceType::DynamicCast<RenderBox>(box->GetRenderNode()); in GetRenderBox() 54 auto box = GetRenderBox(); in HandleSelfFocus() local 55 if (!box) { in HandleSelfFocus() 60 render->HandleFocus(box, focus); in HandleSelfFocus() 71 auto box = GetRenderBox(); in HandleSelfFocus() local 72 if (!box) { in HandleSelfFocus() 77 render->HandleFocus(box); in HandleSelfFocus()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/ |
H A D | alert_dialog_component.cpp | 41 box->NeedMaterial(true); in BuildChild() 48 box->SetFlex(BoxFlex::FLEX_XY); in BuildChild() 50 box->SetFlex(BoxFlex::FLEX_X); in BuildChild() 52 box->SetBackDecoration(backDecoration); in BuildChild() 63 box->SetMargin(margin_); in BuildChild() 65 auto transition = BuildAnimation(box); in BuildChild() 87 box->SetChild(scroll); in BuildChild() 89 box->SetChild(focusCollaboration); in BuildChild() 132 box->SetMinWidth(BUTTON_WIDTH_MIN); in BuildActions() 133 box->SetMaxWidth(BUTTON_WIDTH_MAX); in BuildActions() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-base-dialog-overview.md | 3 …box is a modal window designed to temporarily display information or pending operations that requi… 5 * Custom dialog box: allows you to pass in custom components to define the appearance and behavior … 6 * Fixed-style dialog box: offers a predefined structure for simple and standard interactions. Avail… 12 …box independent of UI components (openCustomDialog)](arkts-uicontext-custom-dialog.md)| Used when … 13 …alog box (CustomDialog)](arkts-common-components-custom-dialog.md)| Used when you need to customiz… 14 …box (AlertDialog)](arkts-fixes-style-dialog.md#alert-dialog-box-alertdialog)| Usually used to disp… 16 |[Picker dialog box (PickerDialog)](arkts-fixes-style-dialog.md#picker-dialog-box-pickerdialog)| Us… 17 …dialog.md#common-dialog-box-showdialog)| Used when processing of results returned asynchronously i…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.cpp | 74 if (box) { in Update() 169 if (!box) { in Update() 179 if (!box) { in Update() 919 if (box) { in CreateFloatAnimation() 941 if (!box) { in CreateColorAnimation() 946 box->GetBackDecoration()->SetBackgroundColor(box->hoverColor_); in CreateColorAnimation() 947 box->GetBackDecoration()->SetAnimationColor(box->hoverColor_); in CreateColorAnimation() 1115 if (!box) { in GetColorPropertySetterMap() 1123 if (!box) { in GetColorPropertySetterMap() 1137 if (!box) { in GetColorPropertyGetterMap() [all …]
|
H A D | render_box_base.cpp | 721 if (box) { in Update() 728 flex_ = box->GetFlex(); in Update() 757 mask_ = box->GetMask(); in Update() 894 auto box = weak.Upgrade(); in GetFloatPropertySetterMap() local 895 if (!box) { in GetFloatPropertySetterMap() 899 box->SetWidth(value); in GetFloatPropertySetterMap() 915 if (!box) { in GetFloatPropertySetterMap() 919 box->SetHeight(value); in GetFloatPropertySetterMap() 931 if (!box) { in GetFloatPropertyGetterMap() 935 return box->GetWidth(); in GetFloatPropertyGetterMap() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | radio_model_impl.cpp | 50 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in Create() local 55 box->SetDeliverMinToChild(true); in Create() 56 box->SetWidth(radioTheme->GetWidth()); in Create() 57 box->SetHeight(radioTheme->GetHeight()); in Create() 80 auto box = stack->GetBoxComponent(); in SetWidth() local 85 box->SetWidth(width + padding * 2); in SetWidth() 92 auto box = stack->GetBoxComponent(); in SetHeight() local 97 box->SetHeight(height + padding * 2); in SetHeight() 105 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in SetPadding() local 138 box->SetResponseRegion(responseRegion); in SetResponseRegion() [all …]
|
H A D | toggle_model_impl.cpp | 76 box->SetDeliverMinToChild(true); in Create() 82 box->SetWidth(checkBoxTheme->GetWidth()); in Create() 89 box->SetWidth(switchTheme->GetWidth()); in Create() 145 auto box = stack->GetBoxComponent(); in SetWidth() local 150 box->SetWidth(width + padding * 2); in SetWidth() 156 box->SetWidth(width); in SetWidth() 163 auto box = stack->GetBoxComponent(); in SetHeight() local 169 box->SetHeight(height + padding * 2); in SetHeight() 175 box->SetHeight(height); in SetHeight() 183 auto box = stack->GetBoxComponent(); in IsToggle() local [all …]
|
H A D | view_abstract_model_impl.cpp | 238 box->SetMinWidth(minWidth); in SetMinWidth() 246 box->SetMinHeight(minHeight); in SetMinHeight() 254 box->SetMaxWidth(maxWidth); in SetMaxWidth() 262 box->SetMaxHeight(maxHeight); in SetMaxHeight() 366 box->SetPadding(padding); in SetPaddings() 393 box->SetMargin(margin); in SetMargins() 576 box->SetTextDirection( in SetLayoutDirection() 605 box->SetUseAlignSide(edge); in SetUseAlign() 925 box->SetClipPath(clipPath); in SetClipShape() 939 box->SetMask(maskPath); in SetMask() [all …]
|
H A D | checkbox_model_impl.cpp | 58 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in Create() local 63 box->SetWidth(checkBoxTheme->GetWidth()); in Create() 64 box->SetHeight(checkBoxTheme->GetHeight()); in Create() 93 auto box = stack->GetBoxComponent(); in SetWidth() local 98 box->SetWidth(width + padding * 2); in SetWidth() 105 auto box = stack->GetBoxComponent(); in SetHeight() local 111 box->SetHeight(height + padding * 2); in SetHeight() 122 auto box = stack->GetBoxComponent(); in SetPadding() local 129 box->SetHeight(height + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding() 130 box->SetWidth(width + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding()
|
H A D | checkboxgroup_model_impl.cpp | 56 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in Create() local 61 box->SetWidth(checkBoxTheme->GetWidth()); in Create() 62 box->SetHeight(checkBoxTheme->GetHeight()); in Create() 92 auto box = stack->GetBoxComponent(); in SetWidth() local 97 box->SetWidth(width + padding * 2); in SetWidth() 104 auto box = stack->GetBoxComponent(); in SetHeight() local 110 box->SetHeight(height + padding * 2); in SetHeight() 121 auto box = stack->GetBoxComponent(); in SetPadding() local 128 box->SetHeight(height + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding() 129 box->SetWidth(width + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding()
|
H A D | patternlock_model_impl.cpp | 43 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in Create() local 46 box->SetMinWidth(defaultSideLength); in Create() 47 box->SetMinHeight(defaultSideLength); in Create() 48 box->SetMaxHeight(defaultSideLength); in Create() 49 box->SetMaxWidth(defaultSideLength); in Create() 112 auto box = ViewStackProcessor::GetInstance()->GetBoxComponent(); in SetSideLength() local 113 box->SetMinWidth(sideLength); in SetSideLength() 114 box->SetMinHeight(sideLength); in SetSideLength() 115 box->SetMaxWidth(sideLength); in SetSideLength() 116 box->SetMaxHeight(sideLength); in SetSideLength()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | focus_box.cpp | 38 std::unique_ptr<JsonValue> FocusBox::ToJsonValue(const FocusBox& box) in ToJsonValue() argument 40 if (!box.HasCustomStyle()) { in ToJsonValue() 45 if (box.paintStyle_->strokeColor) { in ToJsonValue() 46 json->Put("strokeColor", box.paintStyle_->strokeColor.value().ToString().c_str()); in ToJsonValue() 48 if (box.paintStyle_->strokeWidth) { in ToJsonValue() 49 json->Put("strokeWidth", box.paintStyle_->strokeWidth.value().ToString().c_str()); in ToJsonValue() 51 if (box.paintStyle_->margin) { in ToJsonValue() 52 json->Put("margin", box.paintStyle_->margin.value().ToString().c_str()); in ToJsonValue()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-Dialog.md | 33 Displays an image-attached confirmation dialog box. If necessary, the confirmation dialog box can b… 61 Displays a dialog box from which the user can select options presented in a list or grid. 128 Displays a loading dialog box to inform the user of the operation progress. 146 Displays a dialog box that contains custom content and operation area. 171 Displays a popover dialog box that is positioned relative to the target component. This dialog box … 181 …@Link | Whether the popover dialog box is visible.<br>Default value: **false**, indicating that th… 182 …PopoverOptions](#popoveroptions14) | Yes| \@Prop<br>\@Require | Options of the popover dialog box.| 205 Defines a set of options used to configure the popover dialog box, including its content and positi… 470 This example implements a loading dialog box that contains a progress indicator. 597 This example implements a dialog box with custom content defined with **contentBuilder** and **butt… [all …]
|
H A D | ts-methods-custom-dialog-box.md | 3 …box is a dialog box you customize by using APIs of the **CustomDialogController** class. You can s… 14 Defines a custom dialog box. 18 > No parameters of the custom dialog box can be dynamically updated. 50 …| boolean | No| Whether the dialog box is a modal. A modal dialog box has a mask applied, while a … 65 > - Pressing the Back or ESC key closes the dialog box. 74 Provides information about the action to dismiss the dialog box. 103 Opens the content of the custom dialog box. This API can be called multiple times. If the dialog bo… 118 Closes the custom dialog box. If the dialog box is closed, this API does not take effect. 131 Text('I'm the second dialog box') 282 Text('Dialog box outside the main window') [all …]
|
H A D | ts-basic-components-checkbox.md | 19 Creates a check box. 31 | options | [CheckboxOptions](#checkboxoptions)| No | Check box parameters.| 51 Sets whether the check box is selected. 71 Sets the color of the check box when it is selected. 89 Sets the border color of the check box when it is not selected. 105 Sets the mark style of the check box. 121 Sets the shape of the check box. 159 Invoked when the selected state of the check box changes. 189 | value | boolean | Yes | Whether the check box is selected. The value **true** means that the ch… 212 | name | string | No| No|Name of the check box.| [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/ |
H A D | heif_box.h | 51 void SetHeaderInfo(const HeifBox &box); 64 for (auto &box: children_) { in GetChild() 65 if (box->GetBoxType() == boxType) { in GetChild() 66 return std::dynamic_pointer_cast<T>(box); in GetChild() 78 for (auto &box: children_) { in GetChildren() 79 if (box->GetBoxType() == boxType) { in GetChildren() 80 res.push_back(std::dynamic_pointer_cast<T>(box)); in GetChildren() 86 int AddChild(const std::shared_ptr<HeifBox> &box) in AddChild() argument 88 children_.push_back(box); in AddChild()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_component_v2.cpp | 74 auto box = CreateBox(popupTheme); in Initialization() local 75 box->SetChild(child); in Initialization() 76 SetChild(box); in Initialization() 114 auto box = AceType::MakeRefPtr<BoxComponent>(); in CreateButtons() local 115 box->SetChild(row); in CreateButtons() 116 return box; in CreateButtons() 172 auto box = AceType::MakeRefPtr<BoxComponent>(); in CreateBox() local 173 auto decoration = box->GetBackDecoration(); in CreateBox() 176 box->SetBackDecoration(decoration); in CreateBox() 182 box->SetPadding(padding); in CreateBox() [all …]
|