Home
last modified time | relevance | path

Searched refs:screenSize (Results 1 - 4 of 4) sorted by relevance

/test/testfwk/arkxtest/uitest/input/
H A Dui_input.cpp59 static bool CreateFlingPoint(Point &to, Point &from, Point screenSize, Direction direction) in CreateFlingPoint() argument
61 to = Point(screenSize.px_ / INDEX_TWO, screenSize.py_ / INDEX_TWO); in CreateFlingPoint()
64 from.px_ = to.px_ - screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
68 from.px_ = to.px_ + screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
73 from.py_ = to.py_ - screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
77 from.py_ = to.py_ + screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
128 Point screenSize; in FlingActionInput() local
134 screenSize = driver.GetDisplaySize(exception_); in FlingActionInput()
135 if (!CreateFlingPoint(to, from, screenSize, directio in FlingActionInput()
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dui_record.cpp359 auto screenSize = driver.GetDisplaySize(err); in RecordInitEnv() local
360 Rect windowBounds = Rect(0, screenSize.px_, 0, screenSize.py_); in RecordInitEnv()
/test/testfwk/arkxtest/uitest/core/
H A Dwidget_operator.cpp260 auto screenSize = driver_.GetDisplaySize(error); in TurnPage() local
261 auto gestureZone = screenSize.py_ / 20; in TurnPage()
262 if (screenSize.py_ - bounds.bottom_ <= gestureZone) { in TurnPage()
H A Dfrontend_api_handler.cpp937 static void CreateFlingPoint(Point &to, Point &from, Point screenSize, Direction direction) in CreateFlingPoint() argument
939 to = Point(screenSize.px_ / INDEX_TWO, screenSize.py_ / INDEX_TWO); in CreateFlingPoint()
942 from.px_ = to.px_ - screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
946 from.px_ = to.px_ + screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
951 from.py_ = to.py_ - screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
955 from.py_ = to.py_ + screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
973 auto screenSize = driver.GetDisplaySize(out.exception_); in RegisterUiDriverFlingOperators()
975 CreateFlingPoint(to, from, screenSize, direction); in RegisterUiDriverFlingOperators()

Completed in 5 milliseconds