/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | touch_listener_component.h | 71 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_DOWN] = onTouchDownId; in SetOnTouchDownId() 75 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_MOVE] = onTouchMoveId; in SetOnTouchMoveId() 79 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_UP] = onTouchUpId; in SetOnTouchUpId() 83 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_CANCEL] = onTouchCancel; in SetOnTouchCancel() 97 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_DOWN]; in GetOnTouchDownId() 101 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_MOVE]; in GetOnTouchMoveId() 105 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_UP]; in GetOnTouchUpId() 109 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_CANCEL]; in GetOnTouchCancelId()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | response_ctrl.cpp | 23 if (state_ != MonopolizeState::ON) { in ShouldResponse() 36 state_ = node->GetMonopolizeEvents() ? MonopolizeState::ON : MonopolizeState::OFF; in TrySetFirstResponse() 38 if (state_ == MonopolizeState::ON) { in TrySetFirstResponse() 47 if (state_ == MonopolizeState::ON) { in Reset()
|
H A D | response_ctrl.h | 35 enum class MonopolizeState { INIT, ON, OFF }; member in OHOS::Ace::NG::ResponseCtrl::MonopolizeState
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/ |
H A D | scroll_bar_layout_test_ng.cpp | 42 CreateScrollBar(true, true, Axis::HORIZONTAL, DisplayMode::ON); in HWTEST_F() 56 CreateScrollBar(true, true, Axis::HORIZONTAL, DisplayMode::ON); in HWTEST_F() 71 CreateScrollBar(true, true, Axis::HORIZONTAL, DisplayMode::ON); in HWTEST_F() 88 * @tc.steps: step1. DisplayMode::ON in HWTEST_F() 93 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 102 * @tc.steps: step2. DisplayMode::ON in HWTEST_F() 105 layoutProperty_->UpdateDisplayMode(DisplayMode::ON); in HWTEST_F() 142 * @tc.steps: step5. DisplayMode::ON in HWTEST_F() 145 layoutProperty_->UpdateDisplayMode(DisplayMode::ON); in HWTEST_F() 184 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() [all...] |
H A D | scroll_bar_accessibility_test_ng.cpp | 42 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 75 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 102 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 152 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 168 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 223 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F()
|
H A D | scroll_bar_event_test_ng.cpp | 71 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 211 CreateScrollBar(true, true, Axis::HORIZONTAL, DisplayMode::ON); in HWTEST_F() 274 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 317 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 359 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 401 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 420 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 440 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 465 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 487 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() [all...] |
H A D | scroll_bar_test_ng.cpp | 259 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 277 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 297 scrollBarModel.Create(scrollBarProxy, true, true, directionValue, static_cast<int>(DisplayMode::ON)); in HWTEST_F() 319 scrollBarModel.Create(scrollBarProxy, true, true, directionValue, static_cast<int>(DisplayMode::ON)); in HWTEST_F() 340 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F() 370 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.h | 746 if (action == EventAction::ON && stage == EventStage::CAPTURE) { in GetSwipeId() 750 } else if (action == EventAction::ON && stage == EventStage::BUBBLE) { in GetSwipeId() 768 if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_CANCEL) { in GetTouchId() 770 } else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_UP) { in GetTouchId() 772 } else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_MOVE) { in GetTouchId() 774 } else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_DOWN) { in GetTouchId() 792 } else if (action == EventAction::ON && stage == EventStage::BUBBLE && type == EventType::TOUCH_CANCEL) { in GetTouchId() 794 } else if (action == EventAction::ON && stage == EventStage::BUBBLE && type == EventType::TOUCH_UP) { in GetTouchId() 796 } else if (action == EventAction::ON && stage == EventStage::BUBBLE && type == EventType::TOUCH_MOVE) { in GetTouchId() 798 } else if (action == EventAction::ON in GetTouchId() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_scrollbar_ffi.cpp | 28 const std::vector<DisplayMode> DISPLAY_MODE = { DisplayMode::OFF, DisplayMode::AUTO, DisplayMode::ON };
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | rosen_render_grid_scroll.cpp | 47 if (scrollBar_->IsActive() || scrollBar_->GetDisplayMode() == DisplayMode::ON) { in Paint()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/include/ |
H A D | vpn_connection_ext.h | 34 constexpr const char *ON = "on"; member
|
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_predicates_def.h | 102 /** Indicates the parameters is ON.*/
103 ON,
enumerator
|
/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/ |
H A D | vpn_module.cpp | 39 constexpr const char *ON = "on"; member 121 DECLARE_NAPI_FUNCTION(ON, On), in RegisterVpnModule()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | rosen_render_multi_child_scroll.cpp | 59 if (scrollBar_->IsActive() || scrollBar_->GetDisplayMode() == DisplayMode::ON) { in Paint()
|
H A D | rosen_render_single_child_scroll.cpp | 51 if (scrollBar_->IsActive() || scrollBar_->GetDisplayMode() == DisplayMode::ON) { in Paint()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | scroll_bar_model_impl.cpp | 22 const std::vector<DisplayMode> DISPLAY_MODE = { DisplayMode::OFF, DisplayMode::AUTO, DisplayMode::ON };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_layout_property.h | 64 { DisplayMode::ON, "BarState.On" }
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | rosen_render_water_flow.cpp | 47 if (scrollBar_->IsActive() || scrollBar_->GetDisplayMode() == DisplayMode::ON) { in Paint()
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | response_ctrl_test_ng.cpp | 183 * @tc.expected: state equal to ResponseCtrl::MonopolizeState::ON. in HWTEST_F() 186 EXPECT_EQ(responseCtrl->state_, ResponseCtrl::MonopolizeState::ON); in HWTEST_F() 230 * @tc.expected: state equal to ResponseCtrl::MonopolizeState::ON. in HWTEST_F() 233 EXPECT_EQ(responseCtrl->state_, ResponseCtrl::MonopolizeState::ON); in HWTEST_F() 409 * @tc.expected: state equal to ResponseCtrl::MonopolizeState::ON. in HWTEST_F() 412 EXPECT_EQ(responseCtrl->state_, ResponseCtrl::MonopolizeState::ON); in HWTEST_F() 599 * @tc.expected: state equal to ResponseCtrl::MonopolizeState::ON. in HWTEST_F() 602 EXPECT_EQ(responseCtrl->state_, ResponseCtrl::MonopolizeState::ON); in HWTEST_F()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_power_test.cpp | 65 DisplayState state_ { DisplayState::ON };
196 DisplayState stateToSet = (initialState == DisplayState::OFF ? DisplayState::ON : DisplayState::OFF);
in HWTEST_F() 243 DisplayState stateToSet = (initialState == DisplayState::OFF ? DisplayState::ON : DisplayState::OFF);
in HWTEST_F() 341 * @tc.desc: Call SetScreenPowerForAll ON and check the OnDisplayPowerEvent callback is called
376 DisplayState stateToSet = (initialState == DisplayState::OFF ? DisplayState::ON : DisplayState::OFF);
in HWTEST_F() 400 * @tc.desc: Call SetScreenPowerForAll ON and check the GetScreenPower return value
|
/foundation/window/window_manager/dm_lite/test/unittest/ |
H A D | display_lite_power_unit_test.cpp | 182 DisplayState stateToSet = (initialState_ == DisplayState::OFF ? DisplayState::ON : DisplayState::OFF); in HWTEST_F() 205 DisplayState stateToSet = (initialState_ == DisplayState::OFF ? DisplayState::ON : DisplayState::OFF); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | scroll_bar_composed_element.cpp | 75 case DisplayMode::ON: in GetBarState()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_paint_property.cpp | 77 case DisplayMode::ON: in GetBarStateString()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | raw_recognizer.h | 27 constexpr uint32_t ON = 0; member
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_adapter_manager.h | 70 ON, member in OHOS::bluetooth::BTSystemState
|