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

/xsrc/external/mit/xf86-input-synaptics/dist/test/
H A Dfake-symbols.c112 xf86ScaleAxis(int Cx, int to_max, int to_min, int from_max, int from_min) argument
115 int64_t to_width = to_max - to_min;
119 X = (int) (((to_width * (Cx - from_min)) / from_width) + to_min);
128 if (X < to_min)
129 X = to_min;
H A Dfake-symbols.h34 xf86ScaleAxis(int Cx, int to_max, int to_min, int from_max, int from_min);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86Xinput.h145 extern _X_EXPORT int xf86ScaleAxis(int Cx, int to_max, int to_min, int from_max, int from_min);
H A Dxf86Xinput.c1293 * to_min - scaled lowest dimension
1308 int to_min,
1313 int64_t to_width = to_max - to_min;
1317 X = (int)(((to_width * (Cx - from_min)) / from_width) + to_min);
1326 if (X < to_min)
1327 X = to_min;
1306 xf86ScaleAxis(int Cx,int to_max,int to_min,int from_max,int from_min) argument
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86Xinput.h176 extern _X_EXPORT int xf86ScaleAxis(int Cx, int to_max, int to_min, int from_max,
H A Dxf86Xinput.c1473 * to_min - scaled lowest dimension
1486 xf86ScaleAxis(int Cx, int to_max, int to_min, int from_max, int from_min) argument
1489 int64_t to_width = to_max - to_min;
1493 X = (int) (((to_width * (Cx - from_min)) / from_width) + to_min);
1502 if (X < to_min)
1503 X = to_min;

Completed in 7 milliseconds