/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 38 enableAnimation_(true), in UIButton() 164 if (enableAnimation_) { in OnPressEvent() 178 if (enableAnimation_) { in OnReleaseEvent() 192 if (enableAnimation_) { in OnCancelEvent() 291 if (state_ == ButtonState::PRESSED && enableAnimation_) { in OnPostDraw()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_button.h | 423 enableAnimation_ = enable; in EnableButtonAnimation() 430 * @return Returns enableAnimation_. 434 return enableAnimation_; in GetEnableButtonAnimation() 453 bool enableAnimation_; member in OHOS::UIButton
|
/foundation/window/window_manager/previewer/include/ |
H A D | wm_common.h | 524 bool enableAnimation_; member 527 enableAnimation_(false), settingFlag_(SystemBarSettingFlag::DEFAULT_SETTING) {} in SystemBarProperty() 529 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty() 532 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(false), in SystemBarProperty() 536 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty() 542 enableAnimation_ == a.enableAnimation_); in operator ==()
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | wm_common.h | 656 bool enableAnimation_; member 659 enableAnimation_(false), settingFlag_(SystemBarSettingFlag::DEFAULT_SETTING) {} in SystemBarProperty() 661 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(false), in SystemBarProperty() 664 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty() 668 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty() 673 enableAnimation_ == a.enableAnimation_); in operator ==()
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.cpp | 506 CreateJsValue(env, status.enableAnimation_));
in CreateJsSystemBarPropertiesObject() 508 CreateJsValue(env, navi.enableAnimation_));
in CreateJsSystemBarPropertiesObject() 741 systemBarProperties[type].enableAnimation_ = newSystemBarProperties[type].enableAnimation_;
in GetSpecificBarStatus() 776 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_ = enableAnimation;
in GetSpecificBarStatus() 779 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR].enableAnimation_ = enableAnimation;
in GetSpecificBarStatus() 782 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_INDICATOR].enableAnimation_ = enableAnimation;
in GetSpecificBarStatus() 888 properties[type].enableAnimation_ = newProperties[type].enableAnimation_;
in GetSystemBarPropertiesFromJs() 918 properties[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_ in SetSystemBarPropertiesFromJs() [all...] |
H A D | js_window.cpp | 981 systemBarProperties[type].enableAnimation_ = property.enableAnimation_;
in UpdateSystemBarProperties()
|
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_session_impl_test.cpp | 971 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() 973 property.enableAnimation_ = false; in HWTEST_F() 975 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() 999 property.enableAnimation_ = true; in HWTEST_F() 1001 ASSERT_TRUE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() 1045 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() 1047 property.enableAnimation_ = false; in HWTEST_F() 1049 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() 1073 property.enableAnimation_ = true; in HWTEST_F() 1075 ASSERT_TRUE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/uitest/test_button/ |
H A D | ui_test_button.cpp | 605 TestBtnAnimationListener(UIView* uiView, bool enableAnimation) : uiView_(uiView), enableAnimation_(enableAnimation) in TestBtnAnimationListener() 613 static_cast<UIButton*>(uiView_)->EnableButtonAnimation(enableAnimation_); variable 619 bool enableAnimation_; member in OHOS::TestBtnAnimationListener
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_immersive_test2.cpp | 272 systemBarProperties[type].enableAnimation_ = property.enableAnimation_;
in UpdateSystemBarProperties()
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | window_session_property.cpp | 671 parcel.WriteUint32(it.second.contentColor_) && parcel.WriteBool(it.second.enableAnimation_) && in MarshallingSystemBarMap()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 1332 napi_set_named_property(env, objValue, "enableAnimation", CreateJsValue(env, property.enableAnimation_)); in CreateJsSystemBarPropertyObject()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_scene_session_impl.cpp | 2044 property.enableAnimation_); in SetSpecificBarProperty() 2051 property.backgroundColor_, property.contentColor_, property.enableAnimation_, property.settingFlag_); in SetSpecificBarProperty()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 1287 systemBarProperty.enableAnimation_, systemBarProperty.settingFlag_); in SetSystemBarProperty()
|