/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/fullscreenlaunchcomponent/interfaces/ |
H A D | fullscreenlaunchcomponent.js | 52 if (u.isShow !== undefined) { 53 this.isShow = u.isShow; 73 get isShow() { 77 set isShow(r) { 101 this.isShow = false; 146 this.isShow = true; 159 this.isShow = false; 176 Row.bindContentCover({ value: this.isShow, changeEvent: l => { 177 this.isShow = l; 196 this.isShow = false; [all …]
|
H A D | fullscreenlaunchcomponent_preview.js | 48 if (i.isShow !== undefined) { 49 this.isShow = i.isShow; 62 get isShow() { 65 set isShow(f) {
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_test_update_ng.cpp | 228 bool isShow = true; variable 289 bool isShow = true; variable 350 bool isShow = true; variable 411 bool isShow = true; variable 472 bool isShow = true; variable 533 bool isShow = true; variable 594 bool isShow = true; variable 655 bool isShow = true; variable 716 bool isShow = true; variable 777 bool isShow = true; variable [all …]
|
H A D | overlay_manager_content_test_ng.cpp | 256 bool isShow = true; variable 320 bool isShow = true; variable 386 bool isShow = true; variable 450 bool isShow = true; variable 516 bool isShow = true; variable 580 bool isShow = true; variable 646 bool isShow = true; variable 710 bool isShow = true; variable 776 bool isShow = true; variable 840 bool isShow = true; variable [all …]
|
H A D | overlay_manager_test_ng.cpp | 273 bool isShow = true; variable 338 bool isShow = true; variable 829 bool isShow = true; variable 881 bool isShow = true; variable 983 bool isShow = true; variable 1072 bool isShow = true; variable 1144 bool isShow = true; variable 1228 bool isShow = true; variable 1295 bool isShow = true; variable 1356 bool isShow = true; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/innerfullscreenlaunchcomponent/interfaces/ |
H A D | innerfullscreenlaunchcomponent.js | 67 if (c1.isShow !== undefined) { 68 this.isShow = c1.isShow; 87 get isShow() { 90 set isShow(z) { 113 this.isShow = false; 153 this.isShow = true; 166 this.isShow = false; 179 …Row.bindContentCover({ value: this.isShow, changeEvent: k => { this.isShow = k; } }, { builder: ()… 199 this.isShow = false; 202 this.isShow = false;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-modal-transition.md | 59 @State isShow: boolean = false 105 this.isShow = false; 117 this.isShow = true 215 this.isShow = false; 229 this.isShow = true 317 this.isShow = false; 329 this.isShow = true 416 this.isShow = false; 428 this.isShow = true 533 this.isShow = true [all …]
|
H A D | ts-universal-attributes-sheet-transition.md | 33 > 2. 为了使isShow参数值与半模态界面的状态同步,建议使用[$$](../../../quick-start/arkts-two-way-sync.md)双向绑定isShow参数。 170 @State isShow: boolean = false 195 this.isShow = false; 206 this.isShow = true 248 @State isShow: boolean = false 268 this.isShow = true 300 @State isShow: boolean = false 320 this.isShow = true 373 this.isShow = true 432 this.isShow = true; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-new-binding.md | 72 !!运算符为系统内置组件提供TS变量的引用,使得TS变量和系统内置组件的内部状态保持同步。添加方式是在变量名后添加,例如isShow!!。 74 …什么取决于组件。例如,[bindMenu](../reference/apis-arkui/arkui-ts/ts-universal-attributes-menu.md)组件的isShow参数。 82 …/reference/apis-arkui/arkui-ts/ts-universal-attributes-menu.md#bindmenu11) | isShow | 13 | 91 bindMenu接口isShow参数双向绑定功能 97 @Local isShow: boolean = false; 103 .bindMenu(this.isShow!!, // 双向绑定 119 Text("当前isShow: " + this.isShow).fontSize(18).fontColor(Color.Red) 123 this.isShow = true;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_content_modifier.h | 77 void SetFirstHandleIsShow(bool isShow) in SetFirstHandleIsShow() argument 80 firstHandleIsShow_->Set(isShow); in SetFirstHandleIsShow() 83 void SetFirstCircleIsShow(bool isShow) in SetFirstCircleIsShow() argument 86 firstCircleIsShow_->Set(isShow); in SetFirstCircleIsShow() 89 void SetSecondHandleIsShow(bool isShow) in SetSecondHandleIsShow() argument 92 secondHandleIsShow_->Set(isShow); in SetSecondHandleIsShow() 95 void SetSecondCircleIsShow(bool isShow) in SetSecondCircleIsShow() argument 98 secondCircleIsShow_->Set(isShow); in SetSecondCircleIsShow() 107 void SetIsHandleLineShow(bool isShow) in SetIsHandleLineShow() argument 110 isHandleLineShow_->Set(isShow); in SetIsHandleLineShow()
|
H A D | select_overlay_layout_algorithm.cpp | 189 !info_->firstHandle.isShow && !info_->secondHandle.isShow && !info_->isSelectRegionVisible; in LayoutChild() 322 if (!info_->firstHandle.isShow) { in ComputeSelectMenuPosition() 339 if (!info_->firstHandle.isShow && info_->secondHandle.isShow && !info_->handleReverse) { in ComputeSelectMenuPosition() 342 if (info_->firstHandle.isShow && !info_->secondHandle.isShow && info_->handleReverse) { in ComputeSelectMenuPosition() 345 if (info_->firstHandle.isShow && info_->secondHandle.isShow && in ComputeSelectMenuPosition() 350 if (!info_->firstHandle.isShow && info_->secondHandle.isShow) { in ComputeSelectMenuPosition() 353 if (info_->firstHandle.isShow && !info_->secondHandle.isShow) { in ComputeSelectMenuPosition() 409 if (info_->firstHandle.isShow && info_->secondHandle.isShow && in ComputeSelectMenuPosition() 463 CHECK_NULL_RETURN((info_->firstHandle.isShow || info_->secondHandle.isShow), in AdjustSelectMenuOffset() 472 if (!info_->isSingleHandle && upHandle.isShow && !downHandle.isShow) { in AdjustSelectMenuOffset() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.5/ |
H A D | changelogs-arkui.md | 183 ## cl.arkui.5 bindmenu使用isShow时点击事件变更 191 在bindMenu使用isShow时,只允许isShow控制menu的开启。 195 该变更为非兼容性变更,变更后在bindMenu使用isShow的情况下,点击父组件不会弹出menu。 211 @State isShow: boolean = false 243 this.isShow = true 245 .bindMenu(this.isShow, this.MenuBuilder, 248 this.isShow = false 266 …isShow后,需要在其他事件中将isShow从false改成true,menu才会弹出,例如点击事件、手势事件以及hover等,如果出现修改isShow的值后,菜单无法弹出,可以在isShow修…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-modal-transition.md | 59 @State isShow: boolean = false 105 this.isShow = false; 117 this.isShow = true 215 this.isShow = false; 229 this.isShow = true 317 this.isShow = false; 329 this.isShow = true 416 this.isShow = false; 428 this.isShow = true 533 this.isShow = true [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_side_bar_container_ffi.cpp | 76 void FfiOHOSAceFrameworkSideBarShowSideBar(bool isShow) in FfiOHOSAceFrameworkSideBarShowSideBar() argument 78 SideBarContainerModel::GetInstance()->SetShowSideBar(isShow); in FfiOHOSAceFrameworkSideBarShowSideBar() 107 void FfiOHOSAceFrameworkSideBarShowControlButton(bool isShow) in FfiOHOSAceFrameworkSideBarShowControlButton() argument 109 SideBarContainerModel::GetInstance()->SetShowControlButton(isShow); in FfiOHOSAceFrameworkSideBarShowControlButton() 111 void FfiOHOSAceFrameworkSideBarOnChange(void (*callback)(bool isShow)) in FfiOHOSAceFrameworkSideBarOnChange() argument 113 … auto onChange = [ffiCallback = CJLambda::Create(callback)](bool isShow) { ffiCallback(isShow); }; in FfiOHOSAceFrameworkSideBarOnChange() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/side_bar/ |
H A D | side_bar_declaration.h | 23 bool isShow = true; member 50 return attribute.isShow; in IsShowSideBar() 53 void SetShowSideBar(bool isShow) in SetShowSideBar() argument 56 attribute.isShow = isShow; in SetShowSideBar() 77 void SetShowControlButton(bool isShow) in SetShowControlButton() argument 80 attribute.isShowButton = isShow; in SetShowControlButton()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | transition-animation.md | 53 * 当isShow状态更新为true时,插入Image组件,同时插入动效生效。 384 // isShow为True,插入Image组件,同时插入动效生效;isShow为False,删除隐藏Image组件,同时删除动效生效 385 if (this.isShow) { 410 this.isShow = !this.isShow; 453 // isShow为True,插入Image组件,同时插入动效生效;isShow为False,删除隐藏Image组件,同时删除动效生效 454 if (this.isShow) { 489 this.isShow = !this.isShow; 775 @State isShow: boolean = false; 801 // isShow为True,插入Image组件,同时插入动效生效;isShow为False,删除隐藏Image组件,同时删除动效生效 802 if (this.isShow) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/ |
H A D | container_modal_pattern_enhance.cpp | 52 void ContainerModalPatternEnhance::ShowTitle(bool isShow, bool hasDeco, bool needUpdate) in ShowTitle() argument 75 isShow = isShow && hasDeco; in ShowTitle() 77 pipelineContext->SetContainerWindow(isShow); in ShowTitle() 84 borderWidth.SetBorderWidth((isFloatingWindow && isShow) ? CONTAINER_BORDER_WIDTH : 0.0_vp); in ShowTitle() 91 borderRadius.SetRadius((isFloatingWindow && isShow) ? CONTAINER_OUTER_RADIUS : 0.0_vp); in ShowTitle() 104 stageBorderRadius.SetRadius((isFloatingWindow && isShow) ? GetStackNodeRadius() : 0.0_vp); in ShowTitle() 110 (isShow && customTitleSettedShow_) ? VisibleType::VISIBLE : VisibleType::GONE); in ShowTitle() 125 SetControlButtonVisibleBeforeAnim(isShow ? VisibleType::VISIBLE : VisibleType::GONE); in ShowTitle() 269 void ContainerModalPatternEnhance::UpdateTitleInTargetPos(bool isShow, int32_t height) in UpdateTitleInTargetPos() argument 291 if (isShow && CanShowFloatingTitle()) { in UpdateTitleInTargetPos() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_event_test_ng.cpp | 659 bool isShow = false; variable 662 std::function<void()> showEvent = [&isShow]() { isShow = true; }; in __anon655b7e4a0c02() 663 std::function<void()> hideEvent = [&isShow]() { isShow = false; }; in __anon655b7e4a0d02() 675 EXPECT_TRUE(isShow); 701 EXPECT_TRUE(isShow); 723 bool isShow = false; variable 726 std::function<void()> showEvent = [&isShow]() { isShow = true; }; in __anon655b7e4a0e02() 727 std::function<void()> hideEvent = [&isShow]() { isShow = false; }; in __anon655b7e4a0f02() 761 EXPECT_TRUE(isShow); 783 int isShow = 0; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/side_bar/ |
H A D | side_bar_container_component.h | 44 void SetShowSideBar(bool isShow) in SetShowSideBar() argument 46 if (isShow) { in SetShowSideBar() 51 isShow_ = isShow; in SetShowSideBar() 69 void SetShowControlButton(bool isShow) in SetShowControlButton() argument 71 declaration_->SetShowControlButton(isShow); in SetShowControlButton()
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-new-binding.md | 72 …t component are kept in sync. Add this operator after the variable name, for example, **isShow!!**. 74 What the internal state is depends on the component. For example, the **isShow** parameter of the [… 82 …/reference/apis-arkui/arkui-ts/ts-universal-attributes-menu.md#bindmenu11) | isShow | 13 | 91 Two-way binding of the **isShow** parameter of the **bindMenu** API: 97 @Local isShow: boolean = false; 103 .bindMenu(this.isShow!!, // Two-way binding. 119 Text("isShow: " + this.isShow).fontSize(18).fontColor(Color.Red) 123 this.isShow = true;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/span/ |
H A D | span_declaration.h | 26 bool isShow = true; member 67 return attribute.isShow; in IsShow() 70 void SetIsShow(bool isShow) in SetIsShow() argument 73 attribute.isShow = isShow; in SetIsShow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_content_overlay/ |
H A D | select_content_overlay_pattern.cpp | 156 if (!info_->firstHandle.isShow && info_->secondHandle.isShow) { in UpdateHandleHotZoneWithPoint() 232 void SelectContentOverlayPattern::SetHandleCircleIsShow(bool isFirst, bool isShow) in SetHandleCircleIsShow() argument 235 if (handleInfo.isCircleShow != isShow) { in SetHandleCircleIsShow() 236 handleInfo.isCircleShow = isShow; in SetHandleCircleIsShow() 243 void SelectContentOverlayPattern::SetIsHandleLineShow(bool isShow) in SetIsHandleLineShow() argument 245 if (info_->isHandleLineShow != isShow) { in SetIsHandleLineShow() 246 info_->isHandleLineShow = isShow; in SetIsHandleLineShow()
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | touch_drawing_manager_test.cpp | 577 TOUCH_DRAWING_MGR->pointerMode_.isShow = true; 702 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; 703 TOUCH_DRAWING_MGR->pointerMode_.isShow = true; 716 TOUCH_DRAWING_MGR->bubbleMode_.isShow = false; 730 TOUCH_DRAWING_MGR->bubbleMode_.isShow = false; 775 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; 804 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; 820 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; 836 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; 852 TOUCH_DRAWING_MGR->bubbleMode_.isShow = true; [all …]
|
H A D | touch_drawing_manager_ai_test.cpp | 96 touchDrawMgr.bubbleMode_.isShow = true; 98 touchDrawMgr.pointerMode_.isShow = true; 103 touchDrawMgr.bubbleMode_.isShow = false; 104 touchDrawMgr.pointerMode_.isShow = false; 183 touchDrawingMgr.pointerMode_.isShow = true; 185 touchDrawingMgr.pointerMode_.isShow = false; 206 touchDrawingMgr.bubbleMode_.isShow = false; 209 touchDrawingMgr.bubbleMode_.isShow = true; 237 touchDrawingMgr.pointerMode_.isShow = true; 238 touchDrawingMgr.bubbleMode_.isShow = true; [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/views/ |
H A D | ColorEffectComponent.ets | 23 @StorageLink('colorEffectComponentIsShow') isShow: boolean = true; 34 if (this.isShow) { 46 this.isShow = false; 58 this.isShow = true; 72 this.isShow = true;
|