void is_negative_on(void)
{
	DPRINT("is negative Mode On = %d\n", mdnie_tun_state.negative);

	if (mdnie_tun_state.negative) {
		DPRINT("mDNIe_Set_Negative = %d\n", mdnie_tun_state.negative);
		DPRINT(" = NEGATIVE MODE =\n");

		mdss_negative_color(mdnie_tun_state.negative);
	} else {
		/* check the mode and tuning again when wake up*/
		DPRINT("negative off when resume, tuning again!\n");
		mdss_negative_color(mdnie_tun_state.negative);
#if !defined(CONFIG_SEC_MATISSE_PROJECT)  && !defined(CONFIG_MDP_NEGATIVE_SUPPORT)
#if defined(CONFIG_SEC_RUBENS_PROJECT)
		if (mdnie_msd->dstat.auto_brightness >= 6)
			mDNIe_Set_Mode(mDNIE_OUTDOOR_MODE);
		else
			mDNIe_Set_Mode(mdnie_tun_state.scenario);
#else
		mDNIe_Set_Mode(mdnie_tun_state.scenario);
#endif
#endif
	}
}
Exemplo n.º 2
0
void is_negative_on(void)
{
	DPRINT("is negative Mode On = %d\n", mdnie_tun_state.negative);

	if (mdnie_tun_state.negative) {
		DPRINT("mDNIe_Set_Negative = %d\n", mdnie_tun_state.negative);
		DPRINT(" = NEGATIVE MODE =\n");

		mdss_negative_color(mdnie_tun_state.negative);
	} else {
		/* check the mode and tuning again when wake up*/
		DPRINT("negative off when resume, tuning again!\n");
		mdss_negative_color(mdnie_tun_state.negative);
		mDNIe_Set_Mode(mdnie_tun_state.scenario);
	}
}
Exemplo n.º 3
0
void mDNIe_set_negative(enum Lcd_mDNIe_Negative negative)
{
	DPRINT("mDNIe_Set_Negative state:%d\n",negative);
	mdss_negative_color(negative);
}