<commit_before>package org.andengine.util.color;

/**
 * (c) Zynga 2011
 *
 * @author <NAME> <<EMAIL>>
 * @since 02:23:08 - 12.08.2011
 */
public class Color {
	// ===========================================================
	// Constants
	// ===========================================================

	public static final int ABGR_PACKED_RED_SHIFT = 0;
	public static final int ABGR_PACKED_GREEN_SHIFT = 8;
	public static final int ABGR_PACKED_BLUE_SHIFT = 16;
	public static final int ABGR_PACKED_ALPHA_SHIFT = 24;

	public static final int ABGR_PACKED_RED_CLEAR = 0X000000FF;
	public static final int ABGR_PACKED_GREEN_CLEAR = 0X0000FF00;
	public static final int ABGR_PACKED_BLUE_CLEAR = 0X00FF0000;
	public static final int ABGR_PACKED_ALPHA_CLEAR = 0XFF000000;

	public static final int ARGB_PACKED_BLUE_SHIFT = 0;
	public static final int ARGB_PACKED_GREEN_SHIFT = 8;
	public static final int ARGB_PACKED_RED_SHIFT = 16;
	public static final int ARGB_PACKED_ALPHA_SHIFT = 24;
	
	public static final int ARGB_PACKED_BLUE_CLEAR = 0X000000FF;
	public static final int ARGB_PACKED_GREEN_CLEAR = 0X0000FF00;
	public static final int ARGB_PACKED_RED_CLEAR = 0X00FF0000;
	public static final int ARGB_PACKED_ALPHA_CLEAR = 0XFF000000;

	public static final Color WHITE = new Color(1, 1, 1, 1);
	public static final Color BLACK = new Color(0, 0, 0, 1);
	public static final Color RED = new Color(1, 0, 0, 1);
	public static final Color YELLOW = new Color(1, 1, 0, 1);
	public static final Color GREEN = new Color(0, 1, 0, 1);
	public static final Color CYAN = new Color(0, 1, 1, 1);
	public static final Color BLUE = new Color(0, 0, 1, 1);
	public static final Color PINK = new Color(1, 0, 1, 1);
	public static final Color TRANSPARENT = new Color(0, 0, 0, 0);

	public static final int WHITE_ABGR_PACKED_INT = Color.WHITE.getABGRPackedInt();
	public static final int BLACK_ABGR_PACKED_INT = Color.BLACK.getABGRPackedInt();
	public static final int RED_ABGR_PACKED_INT = Color.RED.getABGRPackedInt();
	public static final int YELLOW_ABGR_PACKED_INT = Color.YELLOW.getABGRPackedInt();
	public static final int GREEN_ABGR_PACKED_INT = Color.GREEN.getABGRPackedInt();
	public static final int CYAN_ABGR_PACKED_INT = Color.CYAN.getABGRPackedInt();
	public static final int BLUE_ABGR_PACKED_INT = Color.BLUE.getABGRPackedInt();
	public static final int PINK_ABGR_PACKED_INT = Color.PINK.getABGRPackedInt();
	public static final int TRANSPARENT_ABGR_PACKED_INT = Color.TRANSPARENT.getABGRPackedInt();

	public static final float WHITE_ABGR_PACKED_FLOAT = Color.WHITE.getABGRPackedFloat();<commit_msg>Fixed binary masking fail in Color.<commit_after>package org.andengine.util.color;

/**
 * (c) Zynga 2011
 *
 * @author <NAME> <<EMAIL>>
 * @since 02:23:08 - 12.08.2011
 */
public class Color {
	// ===========================================================
	// Constants
	// ===========================================================

	public static final int ABGR_PACKED_RED_SHIFT = 0;
	public static final int ABGR_PACKED_GREEN_SHIFT = 8;
	public static final int ABGR_PACKED_BLUE_SHIFT = 16;
	public static final int ABGR_PACKED_ALPHA_SHIFT = 24;

	public static final int ABGR_PACKED_RED_CLEAR = 0XFFFFFF00;
	public static final int ABGR_PACKED_GREEN_CLEAR = 0XFFFF00FF;
	public static final int ABGR_PACKED_BLUE_CLEAR = 0XFF00FFFF;
	public static final int ABGR_PACKED_ALPHA_CLEAR = 0X00FFFFFF;

	public static final int ARGB_PACKED_BLUE_SHIFT = 0;
	public static final int ARGB_PACKED_GREEN_SHIFT = 8;
	public static final int ARGB_PACKED_RED_SHIFT = 16;
	public static final int ARGB_PACKED_ALPHA_SHIFT = 24;
	
	public static final int ARGB_PACKED_BLUE_CLEAR = 0XFFFFFF00;
	public static final int ARGB_PACKED_GREEN_CLEAR = 0XFFFF00FF;
	public static final int ARGB_PACKED_RED_CLEAR = 0XFF00FFFF;
	public static final int ARGB_PACKED_ALPHA_CLEAR = 0X00FFFFFF;

	public static final Color WHITE = new Color(1, 1, 1, 1);
	public static final Color BLACK = new Color(0, 0, 0, 1);
	public static final Color RED = new Color(1, 0, 0, 1);
	public static final Color YELLOW = new Color(1, 1, 0, 1);
	public static final Color GREEN = new Color(0, 1, 0, 1);
	public static final Color CYAN = new Color(0, 1, 1, 1);
	public static final Color BLUE = new Color(0, 0, 1, 1);
	public static final Color PINK = new Color(1, 0, 1, 1);
	public static final Color TRANSPARENT = new Color(0, 0, 0, 0);

	public static final int WHITE_ABGR_PACKED_INT = Color.WHITE.getABGRPackedInt();
	public static final int BLACK_ABGR_PACKED_INT = Color.BLACK.getABGRPackedInt();
	public static final int RED_ABGR_PACKED_INT = Color.RED.getABGRPackedInt();
	public static final int YELLOW_ABGR_PACKED_INT = Color.YELLOW.getABGRPackedInt();
	public static final int GREEN_ABGR_PACKED_INT = Color.GREEN.getABGRPackedInt();
	public static final int CYAN_ABGR_PACKED_INT = Color.CYAN.getABGRPackedInt();
	public static final int BLUE_ABGR_PACKED_INT = Color.BLUE.getABGRPackedInt();
	public static final int PINK_ABGR_PACKED_INT = Color.PINK.getABGRPackedInt();
	public static final int TRANSPARENT_ABGR_PACKED_INT = Color.TRANSPARENT.getABGRPackedInt();

	public static final float WHITE_ABGR_PACKED_FLOAT = Color.WHITE.getABGRPackedFloat();
{'fraction_non_alphanumeric': 0.1196236559139785, 'fraction_numerical': 0.040706605222734255, 'mean_word_length': 5.552201257861635, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4138889', 'n_tokens_mistral': 2011, 'n_tokens_neox': 1773, 'n_words': 526}