Пример #1
0
void mt65xx_disp_show_battery_capacity(UINT32 capacity)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_battery_capacity)
    {
    	logo_cust_if->show_battery_capacity(capacity);
    }
    else
    {
        cust_show_battery_capacity(capacity);
    }

    return;
}
Пример #2
0
void mt65xx_disp_show_battery_full(void)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_battery_full)
    {
    	logo_cust_if->show_battery_full();
    }
    else
    {
        cust_show_battery_capacity(100);
    }

    return;
}
Пример #3
0
void mt65xx_disp_enter_charging_state(void)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->enter_charging_state)
    {
    	logo_cust_if->enter_charging_state();
    }
    else
    {

    }

    return;
}
Пример #4
0
void mt65xx_disp_show_low_battery(void)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_boot_logo)
    {
    	logo_cust_if->show_boot_logo();
    }
    else
    {
        show_logo(2);
        mt65xx_disp_update(0, 0, CFG_DISPLAY_WIDTH, CFG_DISPLAY_HEIGHT);
    }

    return;
}
Пример #5
0
void mt65xx_disp_show_boot_logo(void)
{
#ifndef CFG_MT6577_FPGA
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_boot_logo)
    {
    	logo_cust_if->show_boot_logo();
    }
    else
    {
        show_logo(0);
        mt65xx_disp_update(0, 0, CFG_DISPLAY_WIDTH, CFG_DISPLAY_HEIGHT);
    }

    return;
#endif
}
void mt65xx_disp_show_battery_capacity(UINT32 capacity)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_battery_capacity)
    {
    	logo_cust_if->show_battery_capacity(capacity);
    }
    else
    {   
        #ifdef ANIMATION_NEW
        cust_show_battery_capacity_new(capacity);
        #else
        cust_show_battery_capacity(capacity);
        #endif
    }

    return;
}
void mt65xx_disp_show_battery_full(void)
{
    mt65xx_logo_get_custom_if();

    if(logo_cust_if->show_battery_full)
    {
    	logo_cust_if->show_battery_full();
    }
    else
    {
        #ifdef ANIMATION_NEW
        cust_show_battery_capacity_new(100);
        #else
        cust_show_battery_capacity(100);
        #endif
    }

    return;
}