Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/window_manager/src/
H A Dpointer_drawing_manager.cpp1484 const int32_t cursorUnit = 16; in FixCursorPosition() local
1487 if (physicalX > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
1488 physicalX = displayInfo_.width - imageWidth_ / cursorUnit; in FixCursorPosition()
1490 if (physicalY > (displayInfo_.height - imageHeight_ / cursorUnit)) { in FixCursorPosition()
1491 physicalY = displayInfo_.height - imageHeight_ / cursorUnit; in FixCursorPosition()
1494 if (physicalX > (displayInfo_.height - imageHeight_ / cursorUnit)) { in FixCursorPosition()
1495 physicalX = displayInfo_.height - imageHeight_ / cursorUnit; in FixCursorPosition()
1497 if (physicalY > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
1498 physicalY = displayInfo_.width - imageWidth_ / cursorUnit; in FixCursorPosition()
1502 if (physicalX > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
[all...]

Completed in 3 milliseconds