Home
last modified time | relevance | path

Searched refs:ySrcPosition (Results 1 – 3 of 3) sorted by relevance

/test/ostest/wukong/input_factory/src/
Dswap_input.cpp44 int ySrcPosition = swapPtr->startY_; in OrderInput() local
53 ySrcPosition = swapPtr->endY_; in OrderInput()
57 …result = MultimodeManager::GetInstance()->IntervalSwap(xSrcPosition, ySrcPosition, xDstPosition, y… in OrderInput()
70 int ySrcPosition = rand() % screenHeight; in RandomInput() local
73 …INFO_LOG_STR("Swap: (%d, %d) -> (%d, %d)", xSrcPosition, ySrcPosition, xDstPosition, yDstPosition); in RandomInput()
74 …result = MultimodeManager::GetInstance()->IntervalSwap(xSrcPosition, ySrcPosition, xDstPosition, y… in RandomInput()
/test/ostest/wukong/common/src/
Dmultimode_manager.cpp121 ErrCode MultimodeManager::IntervalSwap(int xSrcPosition, int ySrcPosition, int xDstPosition, int yD… in IntervalSwap() argument
124 …ErrCode result = multiinput->PointerInput(xSrcPosition, ySrcPosition, MMI::PointerEvent::SOURCE_TY… in IntervalSwap()
132 float secY = (yDstPosition - ySrcPosition) / (float)segment; in IntervalSwap()
136 int mPosY = int(ySrcPosition + secY * i); in IntervalSwap()
/test/ostest/wukong/common/include/
Dmultimode_manager.h72 ErrCode IntervalSwap(int xSrcPosition, int ySrcPosition, int xDstPosition, int yDstPosition);