Lines Matching refs:DISPLAY_WIDTH
40 DISPLAY_WIDTH = 512,
43 DISPLAY_SIZE = DISPLAY_WIDTH * DISPLAY_HEIGHT * PIXEL_SIZE,
75 DISPLAY_WIDTH, DISPLAY_HEIGHT));
116 for (int x = 0; x < DISPLAY_WIDTH; ++x) {
117 float realValue = static_cast<float>(x) / (DISPLAY_WIDTH - 1);
123 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE;
134 DISPLAY_WIDTH, DISPLAY_HEIGHT, 0, GL_RGBA, GL_UNSIGNED_BYTE,
217 ASSERT_EQ(mLockedBuffer.width, DISPLAY_WIDTH);
291 String8("SRGBTest Surface"), DISPLAY_WIDTH, DISPLAY_HEIGHT,
370 DISPLAY_WIDTH, DISPLAY_HEIGHT / 2));
374 DISPLAY_WIDTH, DISPLAY_HEIGHT / 2));
387 midRGBOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE;
388 midSRGBOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE;
406 DISPLAY_WIDTH, DISPLAY_HEIGHT));
418 middleOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE;
453 DISPLAY_WIDTH, DISPLAY_HEIGHT));