Home
last modified time | relevance | path

Searched refs:scalePercentNumerator (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/tools/inject_event/include/
H A Dinput_manager_command.h61 int32_t ActionPinchEvent(int32_t centerX, int32_t centerY, int32_t scalePercentNumerator);
/ohos5.0/foundation/multimodalinput/input/tools/inject_event/src/
H A Dinput_manager_command.cpp2096 int32_t scalePercentNumerator = 0; in ProcessPinchGesture() local
2108 (!StrToInt(argv[startPos + MOVE_POS_TWO], scalePercentNumerator))) { in ProcessPinchGesture()
2116 … if ((scalePercentNumerator <= minScaleNumerator) || (scalePercentNumerator > maxScaleNumerator)) { in ProcessPinchGesture()
2117 std::cout << "Invalid scale numberator:" << scalePercentNumerator << std::endl; in ProcessPinchGesture()
2126 return ActionPinchEvent(centerX, centerY, scalePercentNumerator); in ProcessPinchGesture()
2236 …utManagerCommand::ActionPinchEvent(int32_t centerX, int32_t centerY, int32_t scalePercentNumerator) in ActionPinchEvent() argument
2250 if (scalePercentNumerator > hundred) { in ActionPinchEvent()
2259 …double scalePinchChange = ((static_cast<double>(scalePercentNumerator) / hundred) - 1) / (times - … in ActionPinchEvent()