Home
last modified time | relevance | path

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

/test/ostest/wukong/input_factory/src/
Dswap_input.cpp43 int xSrcPosition = swapPtr->startX_; in OrderInput() local
52 xSrcPosition = swapPtr->endX_; in OrderInput()
57 …result = MultimodeManager::GetInstance()->IntervalSwap(xSrcPosition, ySrcPosition, xDstPosition, y… in OrderInput()
69 int xSrcPosition = rand() % screenWidth; 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()
131 float secX = (xDstPosition - xSrcPosition) / (float)segment; in IntervalSwap()
135 int mPosX = int(xSrcPosition + secX * i); in IntervalSwap()
/test/ostest/wukong/common/include/
Dmultimode_manager.h72 ErrCode IntervalSwap(int xSrcPosition, int ySrcPosition, int xDstPosition, int yDstPosition);