Searched refs:pixman_double_to_fixed (Results 1 - 18 of 18) sorted by relevance

/external/pixman/test/
H A Dgradient-crash-test.c40 { { { pixman_double_to_fixed (0), 0 },
41 { pixman_double_to_fixed (WIDTH / 8.), pixman_int_to_fixed (0) } },
42 { { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) },
43 { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) } }
48 { { pixman_double_to_fixed (2), pixman_double_to_fixed (0.5), pixman_double_to_fixed (-100), },
49 { pixman_double_to_fixed (
[all...]
H A Da1-trap-test.c24 trap.top.l = pixman_double_to_fixed (0.5);
25 trap.top.r = pixman_double_to_fixed (1.5);
26 trap.top.y = pixman_double_to_fixed (0.5);
28 trap.bot.l = pixman_double_to_fixed (0.5);
29 trap.bot.r = pixman_double_to_fixed (1.5);
30 trap.bot.y = pixman_double_to_fixed (1.5);
H A Dscaling-crash-test.c42 #define D(f) (pixman_double_to_fixed (f) + 0x0001)
H A Dalphamap.c200 pixman_transform_rotate (&t1, NULL, pixman_double_to_fixed (0.5), pixman_double_to_fixed (0.11));
/external/pixman/demos/
H A Dgradient-test.c21 pixman_point_fixed_t p1 = { pixman_double_to_fixed (50), 0 };
22 pixman_point_fixed_t p2 = { pixman_double_to_fixed (200), 0 };
25 { { pixman_double_to_fixed (2), pixman_double_to_fixed (0.5), pixman_double_to_fixed (-100), },
26 { pixman_double_to_fixed (0), pixman_double_to_fixed (3), pixman_double_to_fixed (0), },
27 { pixman_double_to_fixed (0), pixman_double_to_fixed (0.00
[all...]
H A Dclip-test.c45 { { pixman_double_to_fixed (1.3), pixman_double_to_fixed (0), pixman_double_to_fixed (-0.5), },
46 { pixman_double_to_fixed (0), pixman_double_to_fixed (1), pixman_double_to_fixed (-0.5), },
47 { pixman_double_to_fixed (0), pixman_double_to_fixed (0), pixman_double_to_fixed (1.0) }
53 c_inner.x = pixman_double_to_fixed (100.
[all...]
H A Dalpha-test.c25 pixman_point_fixed_t p1 = { pixman_double_to_fixed (0), 0 };
26 pixman_point_fixed_t p2 = { pixman_double_to_fixed (WIDTH),
30 { { pixman_double_to_fixed (2), pixman_double_to_fixed (0.5), pixman_double_to_fixed (-100), },
31 { pixman_double_to_fixed (0), pixman_double_to_fixed (3), pixman_double_to_fixed (0), },
32 { pixman_double_to_fixed (0), pixman_double_to_fixed (0.00
[all...]
H A Dclip-in.c22 { pixman_double_to_fixed (1.0), pixman_double_to_fixed (0), pixman_double_to_fixed (-0.1), },
23 { pixman_double_to_fixed (0), pixman_double_to_fixed (1), pixman_double_to_fixed (-0.1), },
24 { pixman_double_to_fixed (0), pixman_double_to_fixed (0), pixman_double_to_fixed (1.0) }
H A Dconical-test.c15 { pixman_double_to_fixed (offset), \
40 c.x = pixman_double_to_fixed (0);
41 c.y = pixman_double_to_fixed (0);
46 &c, pixman_double_to_fixed (angle), stops, NUM_STOPS);
67 pixman_double_to_fixed (0.5),
68 pixman_double_to_fixed (0.5));
71 pixman_double_to_fixed (SIZE),
72 pixman_double_to_fixed (SIZE));
74 pixman_double_to_fixed (0.5),
75 pixman_double_to_fixed (0.
[all...]
H A Dradial-test.c76 { pixman_double_to_fixed (offset), \
116 p0.x = pixman_double_to_fixed (x0);
117 p0.y = pixman_double_to_fixed (0);
119 p1.x = pixman_double_to_fixed (x1);
120 p1.y = pixman_double_to_fixed (0);
122 r0 = pixman_double_to_fixed (radius0);
123 r1 = pixman_double_to_fixed (radius1);
162 pixman_double_to_fixed (0.5),
163 pixman_double_to_fixed (0.5));
166 pixman_double_to_fixed (SIZ
[all...]
H A Dtri-test.c14 { pixman_double_to_fixed ((x)), pixman_double_to_fixed ((y)) }
H A Dcheckerboard.c15 #define D2F(d) (pixman_double_to_fixed(d))
H A Dconvolution-test.c12 #define d2f pixman_double_to_fixed
H A Dsrgb-trap-test.c6 pixman_double_to_fixed (x)
H A Dcomposite-test.c90 #define d2f pixman_double_to_fixed
/external/pixman/pixman/
H A Dpixman-android.c188 v.vector[0] = pixman_double_to_fixed((src_x + 0.5f) * scale);
189 v.vector[1] = pixman_double_to_fixed((src_y + 0.5f) * scale);
191 unit_x = unit_y = pixman_double_to_fixed(scale);
297 v.vector[0] = pixman_double_to_fixed((src_x + 0.5f) * scale);
298 v.vector[1] = pixman_double_to_fixed((src_y + 0.5f) * scale);
300 unit_x = unit_y = pixman_double_to_fixed(scale);
H A Dpixman-conical-gradient.c113 &walker, (pixman_fixed_48_16_t)pixman_double_to_fixed (t));
148 &walker, (pixman_fixed_48_16_t)pixman_double_to_fixed (t));
H A Dpixman.h132 #define pixman_double_to_fixed(d) ((pixman_fixed_t) ((d) * 65536.0)) macro

Completed in 100 milliseconds