拨号盘提供的入口,在DialpadFragment.java 文件中的onMenuItemClick :
资源加载在DialtactsActivity.java中setupMenuItems.
public boolean onMenuItemClick(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_2s_pause:
updateDialString(PAUSE);
return true;
case R.id.menu_add_wait:
updateDialString(WAIT);
return true;
case R.id.menu_call_settings:
DialtactsActivity.openTelephonySetting(getActivity());
return true;
case R.id.menu_search_by_name:
changeSearchMode(false);
return true;
case R.id.menu_search_by_number:
changeSearchMode(true);
return true;
case R.id.menu_video_call:
if (MoreContactUtils.isCSVTSupported()) {
final CharSequence digits = mDigits.getText();
startActivity(getVTCallIntent(digits.toString()));
hideAndClearDialpad(false);
} else if (MoreContactUtils.isImsRegistered()) {
placeIMSVTCall();
}
return true;
case R.id.menu_video_call_settings:
startActivity(getVTCallSettingsIntent());
return true;
case R.id.menu_add_to_4g_conference_call:
final CharSequence digits = mDigits.getText();
startActivity(get4GConferenceCallIntent(digits.toString()));
hideAndClearDialpad(false);
return true;
case R.id.menu_ip_call_by_slot1:
ipCallBySlot(PhoneConstants.SUB1);
return true;
case R.id.menu_ip_call_by_slot2:
ipCallBySlot(PhoneConstants.SUB2);
return true;
case R.id.menu_add_contacts:
账户设置界面:
PhoneAccountSettingsFragment.java
phone_account_settings.xml
通话设置界面:
CallFeatureSetting.java
call_feature_setting.xml
语音信箱设置界面:
VoicemailSettingsActivity.java
voicemail_settings.xml
呼叫转移设置界面:
GsmUmtsCallForwardOptions.java
callforward_options.xml
呼叫限制设置界面:
CallBarring.java
call_barring.xml
其他设置界面:
GsmUmtsAdditionalCallOptions.java
gsm_umts_additional_options.xml
{CLIR \ CW}
固定拨号设置:
FdnSetting.java
fdn_setting.xml