Searched refs:screenSize (Results 1 - 4 of 4) sorted by relevance
/test/testfwk/arkxtest/uitest/input/ |
H A D | ui_input.cpp | 59 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 D | ui_record.cpp | 359 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 D | widget_operator.cpp | 260 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 D | frontend_api_handler.cpp | 937 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