Searched refs:cursorUnit (Results 1 – 1 of 1) sorted by relevance
922 const int32_t cursorUnit = 16; in FixCursorPosition() local925 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 …]