Ejemplo n.º 1
0
/*****************************************************************************
 * FUNCTION
 *  mmi_rmgr_show_trans_LSK_and_hint
 * DESCRIPTION
 *  Update and show trans LSK and hint
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
static void mmi_rmgr_show_trans_LSK_and_hint(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/
    U16 highlight_idx;

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    highlight_idx = GetCurrHiliteID();

    if (mmi_rmgr_p->trans_state)
    {
        ChangeLeftSoftkey(STR_GLOBAL_OFF, IMG_GLOBAL_OK);
        mmi_ucs2cpy((S8*) hintData[highlight_idx], (S8*) GetString(STR_GLOBAL_ON));
    }
    else
    {
        ChangeLeftSoftkey(STR_GLOBAL_ON, IMG_GLOBAL_OK);
        mmi_ucs2cpy((S8*) hintData[highlight_idx], (S8*) GetString(STR_GLOBAL_OFF));
    }

    Category52ChangeItemDescription(highlight_idx, hintData[highlight_idx]);
    RedrawCategoryFunction();
}
Ejemplo n.º 2
0
/*****************************************************************************
 * FUNCTION
 *  HighlightCHISTDeleteAllRecvd
 * DESCRIPTION
 *  Recd call list option Delete All handler
 * NA
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void HighlightCHISTDeleteAllRecvd(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    chis_p->isDeleteAll = FALSE;

    /* Check if the number of received calls is zero or not */
    if (chis_p->nRecvdCalls != 0)
    {
        /* received calls count is non zero */
        /* Change left soft key icon and label */
        ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
        /* Register function for left soft key */
        SetLeftSoftkeyFunction(EntryCHISTDeleteAllRecvdConfirm, KEY_EVENT_UP);
    }
    else
    {
        /* received calls count is zero then disable left soft key */
        ChangeLeftSoftkey(0, 0);
    }

    /* Change right soft key icon and label */
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    /* Register function for right soft key */
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    return;
}
Ejemplo n.º 3
0
/**************************************************************

	FUNCTION NAME		: HighlightCHISTDeleteAllLogs

  	PURPOSE				: Call list option Delete All handler

	INPUT PARAMETERS	: void

	OUTPUT PARAMETERS	: nil

	RETURNS				: void

 

**************************************************************/
void HighlightCHISTDeleteAllLogs( void )
{
   /* Check if the number of dialed calls is zero or not */
	if( chis_p->nDialedCalls != 0 )
	{
      chis_p->isDeleteAll = TRUE;
		/* dialed calls count is non zero */
		/* Change left soft key icon and label */
		ChangeLeftSoftkey( STR_GLOBAL_OK, IMG_GLOBAL_OK );
		/*3 Register function for left soft key */
		SetLeftSoftkeyFunction( EntryCHISTDeleteAllDialedConfirm,
		                        KEY_EVENT_UP );
	}
	else if ( chis_p->nMissedCalls != 0 )
	{
	   chis_p->isDeleteAll = TRUE;
		/* missed calls count is non zero */
		/* Change left soft key icon and label */
		ChangeLeftSoftkey( STR_GLOBAL_OK, IMG_GLOBAL_OK );
		/*3 Register function for left soft key */
		SetLeftSoftkeyFunction( EntryCHISTDeleteAllMissedConfirm,
		                        KEY_EVENT_UP );
   }
	else if ( chis_p->nRecvdCalls != 0 )
	{
		/* recd calls count is non zero */
		/* Change left soft key icon and label */
		ChangeLeftSoftkey( STR_GLOBAL_OK, IMG_GLOBAL_OK );
		/*3 Register function for left soft key */
		SetLeftSoftkeyFunction( EntryCHISTDeleteAllRecvdConfirm,
		                        KEY_EVENT_UP );
	}
  else if ( chis_p->nRejectedCalls != 0)
  {
    /* recd calls count is non zero */
		/* Change left soft key icon and label */
		ChangeLeftSoftkey( STR_GLOBAL_OK, IMG_GLOBAL_OK );
		/*3 Register function for left soft key */
		SetLeftSoftkeyFunction( EntryCHISTDeleteAllRejectedConfirm,
		                        KEY_EVENT_UP );
  }
	else
	{
		/* dialed calls count is zero then disable left soft key */
		ChangeLeftSoftkey( 0, 0);
	}

	/* Change right soft key icon and label */
	ChangeRightSoftkey( STR_GLOBAL_BACK, IMG_GLOBAL_BACK );
	/* Register function for right soft key */
	SetRightSoftkeyFunction( GoBackHistory, KEY_EVENT_UP );
	return;
}
Ejemplo n.º 4
0
/*****************************************************************************
* FUNCTION
*	HighlightBMIInlineEditor
* DESCRIPTION
*   Highlight handler of inline editor in input screen.
* PARAMETERS
*	None
* RETURNS
*	None
* GLOBALS AFFECTED
*	None
*****************************************************************************/
void HighlightBMIInlineEditor(S32 index) 
{
	g_bmi_cntx->CurrHilite = (U8)index;
	ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
	SetLeftSoftkeyFunction(BmiComputeResult,KEY_EVENT_UP);
	return;
}
Ejemplo n.º 5
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_scr_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler for the enter address screen
 * PARAMETERS
 *  index		[IN]
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_scr_highlight_hdlr(S32 index)
{
	g_brw_cntx.index_highlighted_item = index;

	if(index == 0)
	{
		ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
        SetLeftSoftkeyFunction(mmi_brw_address_list_pre_entry_enter_url, KEY_EVENT_UP);
	}
	else
	{
		ChangeLeftSoftkey(STR_GLOBAL_OPTIONS, IMG_GLOBAL_OPTIONS);
        SetLeftSoftkeyFunction(mmi_brw_address_list_entry_options, KEY_EVENT_UP);
        SetKeyHandler(mmi_brw_address_list_entry_options, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
	}
}
Ejemplo n.º 6
0
void Highlight_SP_MenuItem(void (*func)(void))
{
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK,IMG_GLOBAL_BACK);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
    SetLeftSoftkeyFunction(func,KEY_EVENT_UP);
    SetKeyHandler(func, KEY_RIGHT_ARROW,KEY_EVENT_DOWN);
    SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
}
Ejemplo n.º 7
0
void jWap_PopupCallBack()
{
	INT	 iErr ;
	ST_BE_PAGE_CONTENT 	 stPageCont ;

	jc_memset (&stPageCont, 0, sizeof (ST_BE_PAGE_CONTENT)) ;

	mmi_trace (1, "JDD_LOG: jWap_PopupCallBack starts") ;
	
	if((!isInWapApp())||isInCall())
	{
		GoBackHistory();
		mmi_trace (1, "JDD_LOG: go back screen ignoring") ;
		return;
	}
	
	if (E_WAP_EXIT_KEY_END == g_pstJWapAppInfo->stWapState.eWapExitKeyPressed)
	{
		mmi_trace (1, "JDD_LOG: aborting screen ignoring") ;
		return;
	}
	
	iErr = jdi_BEGetPageContent (g_pstJWapAppInfo->hBECore, &stPageCont) ;

	if (iErr)
	{
		// There is no content displayed on Primary MMI
		jWap_options_quit_handler () ;
	}
	else
	{
		if (!jWap_isBack ())
		{
			//ChangeRightSoftkey (STR_GLOBAL_QUIT, 0) ;
			//This is the first page. Remove RSK
			ClearKeyHandler (KEY_RSK, KEY_EVENT_DOWN) ;
		}
		else
		{
			// There are more than 1 page. Set to "Back"
			ChangeRightSoftkey (STR_GLOBAL_BACK, 0) ;
			SetRightSoftkeyFunction (jWap_back, KEY_EVENT_UP) ;
		}		
				
		ChangeLeftSoftkey (STR_GLOBAL_OPTIONS, 0) ;
		SetLeftSoftkeyFunction (jWap_options_handler, KEY_EVENT_UP) ;

		ChangeTitleIcon (IMG_ID_JATAAYU_WAP_END_ANIMATION_GIF) ;
		//setup_scrolling_title () ;
		draw_title () ;
		jmms_goto_primaryMMI();		
	}
	mmi_trace (1, "@@@ jWap_PopupCallBack end @@@") ;
}
Ejemplo n.º 8
0
/*****************************************************************************
 * FUNCTION
 *  mmi_idle_highlight_dial_pad_option_dial
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_idle_highlight_dial_pad_option_dial(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
#if defined(__MMI_WLAN_FEATURES__) && defined(__MMI_VOIP__)
    switch (mmi_netset_get_active_preferred_mode())
    {
        case P_WLAN_ONLY:
            ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
            ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
            SetLeftSoftkeyFunction(mmi_idle_entry_dial_voip_call, KEY_EVENT_UP);
            SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
            SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
            break;

        case P_GSM_PREFERRED:
        case P_WLAN_PREFERRED:
            ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
            ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
            SetLeftSoftkeyFunction(mmi_idle_entry_dial_selection, KEY_EVENT_UP);
            SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
            SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);

        case P_GSM_ONLY:
        default:
            MMI_ASSERT(0);  /* shall not enter this in GSM only mode */
            break;
    }
#else /* defined(__MMI_WLAN_FEATURES__) && defined(__MMI_VOIP__) */ 
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_idle_entry_dial_selection, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
#endif /* defined(__MMI_WLAN_FEATURES__) && defined(__MMI_VOIP__) */ 
}
Ejemplo n.º 9
0
/*****************************************************************************
 * FUNCTION
 *  HighlightGPRSCountLastSent
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void HighlightGPRSCountLastSent(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(0, 0);
    return;
}
Ejemplo n.º 10
0
/*****************************************************************************
 * FUNCTION
 *  HighlightGPRSCountAllReceived
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void HighlightGPRSCountAllReceived(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(0, 0);
    return;
}
Ejemplo n.º 11
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_enter_url_editor_done_option_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler of Enter Address DeleteAll Menu item.
 *  Register key handlers.
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_enter_url_editor_done_option_highlight_hdlr(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_brw_address_list_add_item, KEY_EVENT_UP);
}
Ejemplo n.º 12
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_set_as_homepage_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler of Enter Address set as homepage Menu item.
 *  Register key handlers
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_set_as_homepage_highlight_hdlr(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_brw_address_list_set_as_homepage, KEY_EVENT_UP);
}
Ejemplo n.º 13
0
/*****************************************************************************
 * FUNCTION
 *  HighlightGPRSCountCounterReset
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void HighlightGPRSCountCounterReset(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    if (gprsTotalSent == 0 &&
        gprsTotalReceived == 0 &&
        gprsLastSent ==   0 &&
        gprsLastReceived == 0)
    {
        ChangeLeftSoftkey(0, 0);
    }
    else
    {
        ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
        SetLeftSoftkeyFunction(EntryScrGPRSRecvCounterResetConfirmation, KEY_EVENT_UP);
    }
}
Ejemplo n.º 14
0
/**************************************************************

	FUNCTION NAME		: ScrBarringPasswordaValidation(void)

  	PURPOSE				: validating the call barring passwords

	INPUT PARAMETERS	: 

	OUTPUT PARAMETERS	: nil

	RETURNS				: void

 

**************************************************************/
void ScrBarringPasswordaValidation(U8* text,U8* cursor,S32 length)
{

	if((length) < BARR_SIM_PASS_LEN)
		ChangeLeftSoftkey(0,0);
	else
	{
		ChangeLeftSoftkey(STR_GLOBAL_OK,IMG_GLOBAL_OK);
		/* check the screen from which validation came */
		switch (g_callset_cntx_p->SSBarPassStep)
		{
		/* if the call barring options is selected */
		case 0 :
			{
				SetLeftSoftkeyFunction(CallBarrOption,KEY_EVENT_UP);
				break;
			}
		/* if the flow is from call barring new passwords screen */
		case 1:
			{
				SetLeftSoftkeyFunction(EntryCALLSETBarringNewPass,KEY_EVENT_UP);
				break;
			}
		/* if the flow is from confirmation screen of call barring password screen */
		case 2:
			{
				SetLeftSoftkeyFunction(EntryCALLSETBarringCfrmPass,KEY_EVENT_UP);
				break;
			}
		/* if the call barring options is selected */
		case 3:
			{
				SetLeftSoftkeyFunction(CallBarrOption,KEY_EVENT_UP);
				break;
			}
		}
	}
	return;
}
Ejemplo n.º 15
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_delete_all_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler of Enter Address DeleteAll Menu item.
 *  Register key handlers.
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_delete_all_highlight_hdlr(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_brw_address_list_delete_all_confirm, KEY_EVENT_UP);
}
Ejemplo n.º 16
0
/**************************************************************

	FUNCTION NAME		: HighlightCALLSETCallBarring(void)

  	PURPOSE				: highlite handler for call barring menu item

	INPUT PARAMETERS	: nil

	OUTPUT PARAMETERS	: nil

	RETURNS				: void

 

**************************************************************/
void HighlightCALLSETCallBarring(void)
{
	/* Change left/right soft key icon and label */
	ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
	ChangeRightSoftkey(STR_GLOBAL_BACK,IMG_GLOBAL_BACK);
	/* set the left/right soft key functions handlers */	
	SetLeftSoftkeyFunction (EntryCALLSETBarringMain,KEY_EVENT_UP);
	SetRightSoftkeyFunction (GoBackHistory,KEY_EVENT_UP);
	/* set the left/right arrow key function handlers */
	SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW,KEY_EVENT_DOWN);
	SetKeyHandler(EntryCALLSETBarringMain, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
	return;
}
Ejemplo n.º 17
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_send_address_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler of Enter Address to send the URL to some other device
 *  Register key handlers
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_send_address_highlight_hdlr(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_brw_address_list_pre_entry_send_address, KEY_EVENT_UP);
    SetKeyHandler(mmi_brw_address_list_pre_entry_send_address, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
}
Ejemplo n.º 18
0
 /***************************************************************************
 * All Local Function Definitions
 ***************************************************************************/
void jWap_endDispHandler (ST_BE_END_PAGE_INFO* pstCallbackInfo)
{
	mmi_trace (1, "JDD_LOG: jWap_endDispHandler rCode [%X], eStatus [%d], rPageStatusCode [%X], bRequestPending [%d]",
		-pstCallbackInfo->rCode, pstCallbackInfo->eStatus,
		-pstCallbackInfo->rPageStatusCode, pstCallbackInfo->bRequestPending) ;

	/* See whether Authorization Info is set */
	if (g_pstJWapAppInfo->pstFetchReq)
	{
		DisplayPopupCallBack((PU8)GetString(STR_ID_WAP_AUTHORIZATION), IMG_GLOBAL_INFO, 1, \
				3000, 1, jWap_showAuthUserNameScreen); //Last argument is tone id. 1 = ERROR tone
	}
	else if (!pstCallbackInfo->stNavg.bBackNavigation && GetActiveScreenId() == SCR_ID_WAP_HOMEPAGE_SCREEN)
	{		
		/* This is the first page. Remove LSK */
		ClearKeyHandler (KEY_RSK, KEY_EVENT_DOWN) ;
		ChangeRightSoftkey (0, 0) ;

		ChangeLeftSoftkey (STR_GLOBAL_OPTIONS, 0) ;
		SetLeftSoftkeyFunction (jWap_options_handler, KEY_EVENT_UP) ;
		
		ChangeTitleIcon (IMG_ID_JATAAYU_WAP_END_ANIMATION_GIF) ;
		draw_title () ;
	}
	else if(GetActiveScreenId() == SCR_ID_WAP_HOMEPAGE_SCREEN)
	{
		/* There are more than 1 page. Set to "Back"  */
		ChangeRightSoftkey (STR_GLOBAL_BACK, 0) ;
		SetRightSoftkeyFunction (jWap_back, KEY_EVENT_UP);

		ChangeLeftSoftkey (STR_GLOBAL_OPTIONS, 0) ;
		SetLeftSoftkeyFunction (jWap_options_handler, KEY_EVENT_UP) ;		
		
		ChangeTitleIcon (IMG_ID_JATAAYU_WAP_END_ANIMATION_GIF) ;
		draw_title () ;
	}	
}
Ejemplo n.º 19
0
/**************************************************************

	FUNCTION NAME		: HighlightScrEditFDL(void)
  	PURPOSE				: Highlight Edit option
	INPUT PARAMETERS	: nil
	OUTPUT PARAMETERS	: nil
	RETURNS				: void
  	Author				: Vanita Jain
 

**************************************************************/
void HighlightScrEditFDL()
{
	ChangeLeftSoftkey(STR_GLOBAL_OK, 0);

	ChangeRightSoftkey(STR_GLOBAL_BACK,0);
	SetKeyHandler(EntrySECSETFDNDetails, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
	SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);

	SetLeftSoftkeyFunction(EntrySECSETFDNDetails,KEY_EVENT_UP);
	SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
	pfnUnicodeStrcpy((S8*)gpFDLBDLContext->FDLBDLName,(S8*)gpFDLBDLContext->FDLBDLEntries[gpFDLBDLContext->HighlightedFDN].alpha_id.name);
	pfnUnicodeStrcpy((S8*)gpFDLBDLContext->FDLBDLNumber,(S8*)gpFDLBDLContext->FDLBDLEntries[gpFDLBDLContext->HighlightedFDN].tel.number);
	gpFDLBDLContext->FDNBDNEdit = TRUE ;

}
Ejemplo n.º 20
0
/*****************************************************************************
 * FUNCTION
 *  DataConnectHiliteHandler
 * DESCRIPTION
 *  Hilite Handler for Data Connect Sub Menu
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void DataConnectHiliteHandler(void)
{
#ifdef __TCPIP__
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    SetLeftSoftkeyFunction(EntryDTCNTMain, KEY_EVENT_UP);
    SetKeyHandler(EntryDTCNTMain, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
#endif /* __TCPIP__ */ 
}
Ejemplo n.º 21
0
/*****************************************************************************
 * FUNCTION
 *  mmi_netset_highlight_user_ctrl_plmn
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_netset_highlight_user_ctrl_plmn(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetLeftSoftkeyFunction(mmi_netset_show_user_ctrl_plmn_list, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    SetKeyHandler(mmi_netset_show_user_ctrl_plmn_list, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
Ejemplo n.º 22
0
INT jWap_beginDispHandler ()
{
	/* Disable LSK when fetching is in progress */	
	if(GetActiveScreenId() == SCR_ID_WAP_HOMEPAGE_SCREEN)
	{
		ClearKeyHandler (KEY_LSK, KEY_EVENT_DOWN) ;
		ChangeLeftSoftkey (0, 0) ;

		/* Set RSK to cancel */
		ChangeRightSoftkey (STR_GLOBAL_CANCEL, KEY_EVENT_UP) ;
		SetRightSoftkeyFunction (jWap_priMmi_cancel_handler, KEY_EVENT_UP) ;

		ChangeTitleIcon (IMG_ID_JATAAYU_WAP_ANIMATION_GIF) ;
		draw_title();
	}	
	return (JC_OK) ;
}
Ejemplo n.º 23
0
/**************************************************************

	FUNCTION NAME		: HighlightInputMehtodSetting

  	PURPOSE				: highlight handler for input method selection

	INPUT PARAMETERS	: nil

	OUTPUT PARAMETERS	: nil

	RETURNS				: void



**************************************************************/
void HighlightInputMehtodSetting(void)
{
    /*1 Change left soft key icon and label */
    ChangeLeftSoftkey(STR_GLOBAL_OK, 0);

    /*2 Change right soft key icon and label */
    ChangeRightSoftkey(STR_GLOBAL_BACK,0);

    /* set the left/right soft key functions handlers */
    SetLeftSoftkeyFunction(EntryScrPreferedInputMethodList,KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);

    /* set the left/right arrow key function handlers */
    SetKeyHandler(EntryScrPreferedInputMethodList, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
    return;
}
Ejemplo n.º 24
0
/**************************************************************

	FUNCTION NAME		: HighlighSrcAddFDL(void)
  	PURPOSE				: add option
	INPUT PARAMETERS	: nil
	OUTPUT PARAMETERS	: nil
	RETURNS				: void
  	Author				: Vanita Jain
 

**************************************************************/
void HighlighSrcAddFDL()
{
	/*1 Change left soft key icon and label */
	ChangeLeftSoftkey(STR_GLOBAL_OK, 0);

	/*2 Change right soft key icon and label */
	ChangeRightSoftkey(STR_GLOBAL_BACK,0);
	SetKeyHandler(EntrySECSETFDNDetails, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
	SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);

	SetLeftSoftkeyFunction(EntrySECSETFDNDetails,KEY_EVENT_UP);
	SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);

	gpFDLBDLContext->FDNBDNEdit = FALSE ;
	memset(gpFDLBDLContext->FDLBDLName,0,(MAX_NAME_LEN_FSB_LIST+1)*ENCODING_LENGTH);
	memset(gpFDLBDLContext->FDLBDLNumber,0,(MAX_NUMBER_LEN_FSB_LIST+1+1)*ENCODING_LENGTH);
}
Ejemplo n.º 25
0
/*****************************************************************************
 * FUNCTION
 *  mmi_umms_highlight_save_image_object
 * DESCRIPTION
 *  Highlight Handler for the Image Option in Save Objects
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_umms_highlight_save_image_object(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    mmi_umms_set_menu_id(MENU_ID_UMMS_SAVE_OBJECT_OPTIONS_SAVE_IMAGE_AS);
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    SetLeftSoftkeyFunction(mmi_umms_entry_save_media_as, KEY_EVENT_UP);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
    SetKeyHandler(mmi_umms_entry_save_media_as, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
}
Ejemplo n.º 26
0
/*****************************************************************************
 * FUNCTION
 *  mmi_rmgr_highlight_hdlr
 * DESCRIPTION
 *  Highlight handler of the rights manager main screen
 * PARAMETERS
 *  menu_idx        [IN]        Menu item index
 * RETURNS
 *  void
 *****************************************************************************/
static void mmi_rmgr_highlight_hdlr(S32 menu_idx)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    mmi_rmgr_p->rmgr_sel_idx = menu_idx;

    if (GetSeqItemId(MENU_ID_RMGR, (U16) menu_idx) != MENU_ID_RMGR_TRANS)
    {
        ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    }

    ExecuteCurrHiliteHandler(menu_idx);
}
Ejemplo n.º 27
0
/*****************************************************************************
 * FUNCTION
 *  mmi_idle_highlight_dial_pad_option_input
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_idle_highlight_dial_pad_option_input(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    /* change left and right soft key */
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);

    /* set left and right soft key handler */
    SetLeftSoftkeyFunction(EntryAPRequiredInputMethodScreen, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    RegisterInputMethodScreenCloseFunction(mmi_voip_go_back_2_history);
}
Ejemplo n.º 28
0
/*****************************************************************************
 * FUNCTION
 *  mmi_vrsdscut_highlight_app
 * DESCRIPTION
 *  This function is just for template.
 * PARAMETERS
 *  void
 *  a(?)        [IN/OUT]        First variable, used as returns
 *  b(?)        [IN]            Second variable
 * RETURNS
 *  the description of return value, if any.(?)
 *****************************************************************************/
void mmi_vrsdscut_highlight_app(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);

    SetLeftSoftkeyFunction(mmi_vrsdscut_entry_list, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);

    SetKeyHandler(mmi_vrsdscut_entry_list, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);

}
Ejemplo n.º 29
0
/*****************************************************************************
 * FUNCTION
 *  mmi_brw_address_list_entry_options
 * DESCRIPTION
 *  Entry function for Enter Address Options screen.
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_brw_address_list_entry_options(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/
    U16* UC_list_of_items;
    U8 *guiBuffer;
    S32 num_of_items;

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    EntryNewScreen(SCR_ID_BRW_ENTER_ADDRESS_OPTIONS, NULL, mmi_brw_address_list_entry_options, NULL);
    guiBuffer = GetCurrGuiBuffer(SCR_ID_BRW_ENTER_ADDRESS_OPTIONS);

	/*it saves the current screen as the browser top most screen*/
	mmi_brw_set_top_screen_id();

    num_of_items = GetNumOfChild(MENU_ID_BRW_ENTER_ADR_OPTIONS);
	UC_list_of_items = OslMalloc(sizeof(U16)*num_of_items);
    GetSequenceStringIds(MENU_ID_BRW_ENTER_ADR_OPTIONS, UC_list_of_items);
    SetParentHandler(MENU_ID_BRW_ENTER_ADR_OPTIONS);
    RegisterHighlightHandler(ExecuteCurrHiliteHandler);

    ShowCategory15Screen(
        STR_GLOBAL_OPTIONS,
        GetRootTitleIcon(SERVICES_WAP_MENU_ID),
        STR_GLOBAL_OPTIONS,
        0,
        STR_GLOBAL_BACK,
        0,
        num_of_items,
        UC_list_of_items,
        (U16*) gIndexIconsImageList,
        LIST_MENU,
        0,
        guiBuffer);

	ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);

	OslMfree(UC_list_of_items);
}
Ejemplo n.º 30
0
/*****************************************************************************
 * FUNCTION
 *  mmi_idle_highlight_dial_pad_option_mode
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_idle_highlight_dial_pad_option_mode(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    /* change left and right soft key */
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);

    /* set left and right soft key handler */
    SetLeftSoftkeyFunction(mmi_netset_entry_change_dial_mode, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);

    /* set key handler for left and right arrow key */
    SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}