Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dpointer_drawing_manager.cpp922 const int32_t cursorUnit = 16; in FixCursorPosition() local
925 if (physicalX > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
926 physicalX = displayInfo_.width - imageWidth_ / cursorUnit; in FixCursorPosition()
929 physicalY = displayInfo_.height - imageHeight_ / cursorUnit; in FixCursorPosition()
933 physicalX = displayInfo_.height - imageHeight_ / cursorUnit; in FixCursorPosition()
935 if (physicalY > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
936 physicalY = displayInfo_.width - imageWidth_ / cursorUnit; in FixCursorPosition()
940 if (physicalX > (displayInfo_.width - imageWidth_ / cursorUnit)) { in FixCursorPosition()
941 physicalX = displayInfo_.width - imageWidth_ / cursorUnit; in FixCursorPosition()
943 if (physicalY > (displayInfo_.height - imageHeight_ / cursorUnit)) { in FixCursorPosition()
[all …]