Searched refs:screenSize (Results 1 – 5 of 5) sorted by relevance
/test/testfwk/arkxtest/uitest/input/ |
D | ui_input.cpp | 57 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/ |
D | widget_operator.cpp | 266 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()
|
D | frontend_api_handler.cpp | 923 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/ |
D | ui_record.cpp | 360 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/ |
D | system_ui_controller.cpp | 322 auto screenSize = GetDisplaySize(); in GetUiWindows() local 323 auto screenRect = Rect(0, screenSize.px_, 0, screenSize.py_); in GetUiWindows()
|