Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp3745 if (integerX < 0) { in UpdateDisplayInfo()
3746 integerX = 0; in UpdateDisplayInfo()
3748 if (integerX >= width) { in UpdateDisplayInfo()
3749 integerX = width - 1; in UpdateDisplayInfo()
3834 int32_t integerX = static_cast<int32_t>(x); in UpdateDisplayInfo() local
3837 if (!IsInsideDisplay(*displayInfo, integerX, integerY)) { in UpdateDisplayInfo()
3838 FindPhysicalDisplay(*displayInfo, integerX, integerY, displayId); in UpdateDisplayInfo()
3847 CoordinateCorrection(width, height, integerX, integerY); in UpdateDisplayInfo()
3848 x = static_cast<double>(integerX) + (x - floor(x)); in UpdateDisplayInfo()
3853 .x = integerX, in UpdateDisplayInfo()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dinput_windows_manager_test.cpp1234 int32_t integerX = -1; variable
1236 WIN_MGR->CoordinateCorrection(width, height, integerX, integerY);
1237 EXPECT_EQ(integerX, 0);
1251 int32_t integerX = 150; variable
1253 WIN_MGR->CoordinateCorrection(width, height, integerX, integerY);
1254 EXPECT_EQ(integerX, 99);
1268 int32_t integerX = 1; variable
1270 WIN_MGR->CoordinateCorrection(width, height, integerX, integerY);
1285 int32_t integerX = 100; variable
1287 WIN_MGR->CoordinateCorrection(width, height, integerX, integerY);
/ohos5.0/foundation/multimodalinput/input/service/window_manager/include/
H A Dinput_windows_manager.h217 void CoordinateCorrection(int32_t width, int32_t height, int32_t &integerX, int32_t &integerY);