Lines Matching defs:jpeg
39 NetworkResponse jpeg = new NetworkResponse(jpegBytes);
42 verifyResize(jpeg, 512, 250, 512, 250); // exactly half
43 verifyResize(jpeg, 511, 249, 509, 249); // just under half
44 verifyResize(jpeg, 1080, 500, 1024, 500); // larger
45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio
48 verifyResize(jpeg, 512, 0, 512, 250);
49 verifyResize(jpeg, 800, 0, 800, 390);
50 verifyResize(jpeg, 1024, 0, 1024, 500);
53 verifyResize(jpeg, 0, 250, 512, 250);
54 verifyResize(jpeg, 0, 391, 800, 391);
55 verifyResize(jpeg, 0, 500, 1024, 500);
58 verifyResize(jpeg, 0, 0, 1024, 500);