Home
last modified time | relevance | path

Searched refs:gesturePoints (Results 1 - 2 of 2) sorted by relevance

/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp764 MMI_HILOGI("Knuckle gesturePoints size:%{public}zu, isGesturing:%{public}d, isLetterGesturing:%{public}d", in HandleKnuckleGestureTouchUp()
885 bool KeyCommandHandler::IsMatchedAbility(std::vector<float> gesturePoints, in IsMatchedAbility() argument
888 if (gesturePoints.size() < POINTER_NUMBER) { in IsMatchedAbility()
892 float gestureFirstX = gesturePoints[0]; in IsMatchedAbility()
893 float gestureFirstY = gesturePoints[1]; in IsMatchedAbility()
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp5395 std::vector<float> gesturePoints;
5398 gesturePoints.push_back(10.0f);
5399 EXPECT_FALSE(handler.IsMatchedAbility(gesturePoints, gestureLastX, gestureLastY));
5401 gesturePoints.push_back(15.0f);
5402 gesturePoints.push_back(20.0f);
5403 EXPECT_TRUE(handler.IsMatchedAbility(gesturePoints, gestureLastX, gestureLastY));

Completed in 10 milliseconds