Home
last modified time | relevance | path

Searched refs:screenSize (Results 1 – 5 of 5) sorted by relevance

/test/testfwk/arkxtest/uitest/input/
Dui_input.cpp57 static bool CreateFlingPoint(Point &to, Point &from, Point screenSize, Direction direction) in CreateFlingPoint() argument
59 to = Point(screenSize.px_ / INDEX_TWO, screenSize.py_ / INDEX_TWO); in CreateFlingPoint()
62 from.px_ = to.px_ - screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
66 from.px_ = to.px_ + screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
71 from.py_ = to.py_ - screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
75 from.py_ = to.py_ + screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
125 Point screenSize; in FlingActionInput() local
131 screenSize = driver.GetDisplaySize(exception_); in FlingActionInput()
132 if (!CreateFlingPoint(to, from, screenSize, direction)) { in FlingActionInput()
/test/testfwk/arkxtest/uitest/core/
Dwidget_operator.cpp266 auto screenSize = driver_.GetDisplaySize(error); in TurnPage() local
267 auto gestureZone = screenSize.py_ / 20; in TurnPage()
268 if (screenSize.py_ - bounds.bottom_ <= gestureZone) { in TurnPage()
Dfrontend_api_handler.cpp923 static void CreateFlingPoint(Point &to, Point &from, Point screenSize, Direction direction) in CreateFlingPoint() argument
925 to = Point(screenSize.px_ / INDEX_TWO, screenSize.py_ / INDEX_TWO); in CreateFlingPoint()
928 from.px_ = to.px_ - screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
932 from.px_ = to.px_ + screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
937 from.py_ = to.py_ - screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
941 from.py_ = to.py_ + screenSize.py_ / INDEX_FOUR; in CreateFlingPoint()
959 auto screenSize = driver.GetDisplaySize(out.exception_); in RegisterUiDriverFlingOperators() local
961 CreateFlingPoint(to, from, screenSize, direction); in RegisterUiDriverFlingOperators()
/test/testfwk/arkxtest/uitest/record/
Dui_record.cpp360 auto screenSize = driver.GetDisplaySize(err); in RecordInitEnv() local
361 Rect windowBounds = Rect(0, screenSize.px_, 0, screenSize.py_); in RecordInitEnv()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp322 auto screenSize = GetDisplaySize(); in GetUiWindows() local
323 auto screenRect = Rect(0, screenSize.px_, 0, screenSize.py_); in GetUiWindows()