Home | History | Annotate | Download | only in client

Lines Matching refs:SetChannel

103   void SetChannel(SkBitmap* pixels, int x, int y, int c, int v) {
451 SetChannel(output, dst_x, dst_y, channel,
525 SetChannel(&input_pixels, x, y, 0, x * 10);
526 SetChannel(&input_pixels, x, y, 1, y * 10);
527 SetChannel(&input_pixels, x, y, 2, (x + y) * 10);
528 SetChannel(&input_pixels, x, y, 3, 255);
531 SetChannel(&input_pixels, x, y, 0, x & 1 ? 255 : 0);
532 SetChannel(&input_pixels, x, y, 1, y & 1 ? 255 : 0);
533 SetChannel(&input_pixels, x, y, 2, (x + y) & 1 ? 255 : 0);
534 SetChannel(&input_pixels, x, y, 3, 255);
537 SetChannel(&input_pixels, x, y, 0, 10 + x/2 * 50);
538 SetChannel(&input_pixels, x, y, 1, 10 + y/3 * 50);
539 SetChannel(&input_pixels, x, y, 2, (x + y)/5 * 50 + 5);
540 SetChannel(&input_pixels, x, y, 3, 255);
788 SetChannel(&input_pixels, x, y, 0, x * 10);
789 SetChannel(&input_pixels, x, y, 1, y * 10);
790 SetChannel(&input_pixels, x, y, 2, (x + y) * 10);
791 SetChannel(&input_pixels, x, y, 3, 255);
794 SetChannel(&input_pixels, x, y, 0, x & 1 ? 255 : 0);
795 SetChannel(&input_pixels, x, y, 1, y & 1 ? 255 : 0);
796 SetChannel(&input_pixels, x, y, 2, (x + y) & 1 ? 255 : 0);
797 SetChannel(&input_pixels, x, y, 3, 255);
800 SetChannel(&input_pixels, x, y, 0, 10 + x/2 * 50);
801 SetChannel(&input_pixels, x, y, 1, 10 + y/3 * 50);
802 SetChannel(&input_pixels, x, y, 2, (x + y)/5 * 50 + 5);
803 SetChannel(&input_pixels, x, y, 3, 255);