Home
last modified time | relevance | path

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

/external/qemu/android/skin/
Dtrackball.c167 #define DOT_GRID 3 /* number of horizontal and vertical cells per si… macro
169 #define DOT_MAX (6*DOT_GRID*DOT_GRID*DOT_CELLS) /* total number of dots */
277 for (xx = 0; xx < DOT_GRID; xx++) { in trackball_init()
278 double tx = xx*(2./DOT_GRID); in trackball_init()
279 for (yy = 0; yy < DOT_GRID; yy++) { in trackball_init()
280 double ty = yy*(2./DOT_GRID); in trackball_init()
286 double h = (rand() % DOT_RANDOM_X)/((double)DOT_RANDOM_X*DOT_GRID/2); in trackball_init()
287 double v = (rand() % DOT_RANDOM_Y)/((double)DOT_RANDOM_Y*DOT_GRID/2); in trackball_init()