Question #240511 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240511

HAL-9000 posted a new comment:
If you are scripting to target Android emulators there are a couple
things to remember:

Display Scaling:
Screen Size, Scale, and Monitor DPI all appear in making Android emulator. 
Hence two emulators can have the same screen size, yet appear totally different 
on the computer monitor. However, so long as Monitor DPI and Scaling values are 
the same, the icons etc. should appear the same on the computer monitor no 
matter the 'screen size' of the Emulator.

Scaling to Whole Integers:
Scaling is important in Android emulators. You always want the Scale to div a 
whole integer into the screen size. 1 is obviously perfect, but 0.5 is always 
perfect as well (every X,Y of monitor resolution always can always div 2). So, 
if you're hypothetical emulator is 320x640, with a scaling factor of 0.5 the 
on-screen res of that emulator will be 640x1280 - note the numbers guarantee 
the pixels will be addressed to real monitor pixels perfectly.

If the Scale factor cannot divide as a whole integer, the emulator
display aliases the pixels, which makes the graphics different, and
breaks Sikuli. It also places unnecessary clock cycles on the host
machine aliasing all those pixels.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to