1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef FOUNDATION_ACE_FRAMEWORKS_CORE_PIPELINE_NG_TEST_UNITTEST_COMMON_CONSTANTS_H 16 #define FOUNDATION_ACE_FRAMEWORKS_CORE_PIPELINE_NG_TEST_UNITTEST_COMMON_CONSTANTS_H 17 18 #include <cstdint> 19 20 namespace OHOS::Ace { 21 constexpr int32_t DEFAULT_TEST_FLAG = 0; 22 constexpr int32_t TOUCH_TEST_FLAG = 1; 23 constexpr int32_t MOUSE_TEST_FLAG = 1 << 1; 24 constexpr int32_t AXIS_TEST_FLAG = 1 << 2; 25 constexpr int32_t DISPATCH_TOUCH_EVENT_TOUCH_EVENT_FLAG = 1 << 3; 26 constexpr int32_t DISPATCH_TOUCH_EVENT_AXIS_EVENT_FLAG = 1 << 4; 27 constexpr int32_t DISPATCH_MOUSE_EVENT_NG_FLAG = 1 << 5; 28 constexpr int32_t DISPATCH_MOUSE_HOVER_ANIMATION_NG_FLAG = 1 << 6; 29 constexpr int32_t DISPATCH_MOUSE_HOVER_EVENT_NG_FLAG = 1 << 7; 30 constexpr int32_t DISPATCH_AXIS_EVENT_FLAG = 1 << 8; 31 constexpr int32_t DISPATCH_AXIS_EVENT_NG_FLAG = 1 << 9; 32 } // namespace OHOS::Ace 33 #endif // FOUNDATION_ACE_FRAMEWORKS_CORE_PIPELINE_NG_TEST_UNITTEST_COMMON_CONSTANTS_H 34