diff --git a/Android.mk b/Android.mk index 916b0128a..ce4d98d67 100644 --- a/Android.mk +++ b/Android.mk @@ -29,6 +29,8 @@ LOCAL_SRC_FILES += \ LOCAL_PACKAGE_NAME := Phone LOCAL_CERTIFICATE := platform +LOCAL_PROGUARD_FLAG_FILES := proguard.flags + include $(BUILD_PACKAGE) # Build the test package diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 06a06e2dd..cc8ed03ca 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -42,7 +42,9 @@ + + @@ -58,6 +60,7 @@ + @@ -79,6 +82,7 @@ + + + + + + @@ -135,8 +148,9 @@ @@ -253,9 +267,9 @@ - + @@ -264,6 +278,9 @@ + + @@ -394,7 +411,7 @@ - + @@ -443,6 +460,9 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/dial_num_1_no_vm.xml b/lint.xml similarity index 70% rename from res/drawable/dial_num_1_no_vm.xml rename to lint.xml index 84a93940c..77207455b 100644 --- a/res/drawable/dial_num_1_no_vm.xml +++ b/lint.xml @@ -1,5 +1,5 @@ - - - - - + + + + + + diff --git a/proguard.flags b/proguard.flags new file mode 100644 index 000000000..c5f4c7229 --- /dev/null +++ b/proguard.flags @@ -0,0 +1,6 @@ +# Keep names that are used only by animation framework. +-keepclasseswithmembers class com.android.phone.AnimationUtils$CrossFadeDrawable { + *** setCrossFadeAlpha(...); +} + +-verbose \ No newline at end of file diff --git a/res/anim/activity_close_enter.xml b/res/anim/activity_close_enter.xml new file mode 100644 index 000000000..a526fe1b3 --- /dev/null +++ b/res/anim/activity_close_enter.xml @@ -0,0 +1,24 @@ + + + + + + diff --git a/res/anim/activity_close_exit.xml b/res/anim/activity_close_exit.xml new file mode 100644 index 000000000..b879bdb49 --- /dev/null +++ b/res/anim/activity_close_exit.xml @@ -0,0 +1,32 @@ + + + + + + + diff --git a/res/color/dialer_button_text.xml b/res/color/dialer_button_text.xml deleted file mode 100644 index a841adc82..000000000 --- a/res/color/dialer_button_text.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/res/drawable-hdpi/btn_dial_textfield_normal.9.png b/res/drawable-hdpi/btn_dial_textfield_normal.9.png deleted file mode 100644 index 1718372d0..000000000 Binary files a/res/drawable-hdpi/btn_dial_textfield_normal.9.png and /dev/null differ diff --git a/res/drawable-hdpi/btn_dial_textfield_pressed.9.png b/res/drawable-hdpi/btn_dial_textfield_pressed.9.png deleted file mode 100644 index eb1fda0f9..000000000 Binary files a/res/drawable-hdpi/btn_dial_textfield_pressed.9.png and /dev/null differ diff --git a/res/drawable-hdpi/btn_dial_textfield_selected.9.png b/res/drawable-hdpi/btn_dial_textfield_selected.9.png deleted file mode 100644 index 5ad7b563b..000000000 Binary files a/res/drawable-hdpi/btn_dial_textfield_selected.9.png and /dev/null differ diff --git a/res/drawable-hdpi/dialog_bg_calling_via.9.png b/res/drawable-hdpi/dialog_bg_calling_via.9.png deleted file mode 100644 index ab5ded71c..000000000 Binary files a/res/drawable-hdpi/dialog_bg_calling_via.9.png and /dev/null differ diff --git a/res/drawable-hdpi/endcall_active.png b/res/drawable-hdpi/endcall_active.png new file mode 100644 index 000000000..38f1e1ce1 Binary files /dev/null and b/res/drawable-hdpi/endcall_active.png differ diff --git a/res/drawable-hdpi/endcall_disable.png b/res/drawable-hdpi/endcall_disable.png new file mode 100644 index 000000000..6a0f65867 Binary files /dev/null and b/res/drawable-hdpi/endcall_disable.png differ diff --git a/res/drawable-hdpi/ic_active_state_dialer_holo_dark.png b/res/drawable-hdpi/ic_active_state_dialer_holo_dark.png index 341c630cc..f4a08bea0 100644 Binary files a/res/drawable-hdpi/ic_active_state_dialer_holo_dark.png and b/res/drawable-hdpi/ic_active_state_dialer_holo_dark.png differ diff --git a/res/drawable-hdpi/ic_button_conference_end.png b/res/drawable-hdpi/ic_button_conference_end.png deleted file mode 100644 index a07599936..000000000 Binary files a/res/drawable-hdpi/ic_button_conference_end.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_button_conference_private.png b/res/drawable-hdpi/ic_button_conference_private.png deleted file mode 100644 index 76090895d..000000000 Binary files a/res/drawable-hdpi/ic_button_conference_private.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_dial_action_search.png b/res/drawable-hdpi/ic_dial_action_search.png deleted file mode 100644 index e87152d7d..000000000 Binary files a/res/drawable-hdpi/ic_dial_action_search.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_dial_end_call.png b/res/drawable-hdpi/ic_dial_end_call.png new file mode 100644 index 000000000..ab3adb443 Binary files /dev/null and b/res/drawable-hdpi/ic_dial_end_call.png differ diff --git a/res/drawable-hdpi/ic_end_call.png b/res/drawable-hdpi/ic_end_call.png deleted file mode 100644 index be6cdfc8b..000000000 Binary files a/res/drawable-hdpi/ic_end_call.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_end_call_holo_dark.png b/res/drawable-hdpi/ic_end_call_holo_dark.png new file mode 100644 index 000000000..0f373bb26 Binary files /dev/null and b/res/drawable-hdpi/ic_end_call_holo_dark.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_answer_activated.png b/res/drawable-hdpi/ic_lockscreen_answer_activated.png new file mode 100644 index 000000000..3d2752fa7 Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_answer_activated.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_answer_normal.png b/res/drawable-hdpi/ic_lockscreen_answer_normal.png new file mode 100644 index 000000000..9e26edaf5 Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_answer_normal.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_decline_activated.png b/res/drawable-hdpi/ic_lockscreen_decline_activated.png new file mode 100644 index 000000000..b7a438f2e Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_decline_activated.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_decline_normal.png b/res/drawable-hdpi/ic_lockscreen_decline_normal.png new file mode 100644 index 000000000..a687ae3ee Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_decline_normal.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_text_activated.png b/res/drawable-hdpi/ic_lockscreen_text_activated.png new file mode 100644 index 000000000..22cf07c5d Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_text_activated.png differ diff --git a/res/drawable-hdpi/ic_lockscreen_text_normal.png b/res/drawable-hdpi/ic_lockscreen_text_normal.png new file mode 100644 index 000000000..db6c05d6c Binary files /dev/null and b/res/drawable-hdpi/ic_lockscreen_text_normal.png differ diff --git a/res/drawable-hdpi/ic_split_holo_dark.png b/res/drawable-hdpi/ic_split_holo_dark.png new file mode 100644 index 000000000..5b10cf948 Binary files /dev/null and b/res/drawable-hdpi/ic_split_holo_dark.png differ diff --git a/res/drawable-hdpi/ic_text_holo_dark.png b/res/drawable-hdpi/ic_text_holo_dark.png new file mode 100644 index 000000000..6d21e42c5 Binary files /dev/null and b/res/drawable-hdpi/ic_text_holo_dark.png differ diff --git a/res/drawable-hdpi/stat_sys_phone_call.png b/res/drawable-hdpi/stat_sys_phone_call.png index d6f921c48..7eda84ca5 100644 Binary files a/res/drawable-hdpi/stat_sys_phone_call.png and b/res/drawable-hdpi/stat_sys_phone_call.png differ diff --git a/res/drawable-hdpi/stat_sys_phone_call_bluetooth.png b/res/drawable-hdpi/stat_sys_phone_call_bluetooth.png deleted file mode 100644 index aec4efc49..000000000 Binary files a/res/drawable-hdpi/stat_sys_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable-hdpi/stat_sys_phone_call_end.png b/res/drawable-hdpi/stat_sys_phone_call_end.png new file mode 100644 index 000000000..bc7493751 Binary files /dev/null and b/res/drawable-hdpi/stat_sys_phone_call_end.png differ diff --git a/res/drawable-hdpi/stat_sys_phone_call_ringing.png b/res/drawable-hdpi/stat_sys_phone_call_ringing.png deleted file mode 100644 index d6f921c48..000000000 Binary files a/res/drawable-hdpi/stat_sys_phone_call_ringing.png and /dev/null differ diff --git a/res/drawable-hdpi/stat_sys_vp_phone_call_bluetooth.png b/res/drawable-hdpi/stat_sys_vp_phone_call_bluetooth.png deleted file mode 100644 index ad74cb596..000000000 Binary files a/res/drawable-hdpi/stat_sys_vp_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable-mdpi/btn_dial_textfield_normal.9.png b/res/drawable-mdpi/btn_dial_textfield_normal.9.png deleted file mode 100644 index 277400bf9..000000000 Binary files a/res/drawable-mdpi/btn_dial_textfield_normal.9.png and /dev/null differ diff --git a/res/drawable-mdpi/btn_dial_textfield_pressed.9.png b/res/drawable-mdpi/btn_dial_textfield_pressed.9.png deleted file mode 100644 index 57a8dd977..000000000 Binary files a/res/drawable-mdpi/btn_dial_textfield_pressed.9.png and /dev/null differ diff --git a/res/drawable-mdpi/btn_dial_textfield_selected.9.png b/res/drawable-mdpi/btn_dial_textfield_selected.9.png deleted file mode 100644 index 5956668ce..000000000 Binary files a/res/drawable-mdpi/btn_dial_textfield_selected.9.png and /dev/null differ diff --git a/res/drawable-mdpi/dialog_bg_calling_via.9.png b/res/drawable-mdpi/dialog_bg_calling_via.9.png deleted file mode 100644 index 809560474..000000000 Binary files a/res/drawable-mdpi/dialog_bg_calling_via.9.png and /dev/null differ diff --git a/res/drawable-mdpi/endcall_active.png b/res/drawable-mdpi/endcall_active.png new file mode 100644 index 000000000..a82738bfc Binary files /dev/null and b/res/drawable-mdpi/endcall_active.png differ diff --git a/res/drawable-mdpi/endcall_disable.png b/res/drawable-mdpi/endcall_disable.png new file mode 100644 index 000000000..bd1a2f380 Binary files /dev/null and b/res/drawable-mdpi/endcall_disable.png differ diff --git a/res/drawable-mdpi/ic_active_state_dialer_holo_dark.png b/res/drawable-mdpi/ic_active_state_dialer_holo_dark.png index 880cf343e..6ff8e4844 100644 Binary files a/res/drawable-mdpi/ic_active_state_dialer_holo_dark.png and b/res/drawable-mdpi/ic_active_state_dialer_holo_dark.png differ diff --git a/res/drawable-mdpi/ic_button_conference_end.png b/res/drawable-mdpi/ic_button_conference_end.png deleted file mode 100644 index 389c7c0bc..000000000 Binary files a/res/drawable-mdpi/ic_button_conference_end.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_button_conference_private.png b/res/drawable-mdpi/ic_button_conference_private.png deleted file mode 100644 index 4ee6050d8..000000000 Binary files a/res/drawable-mdpi/ic_button_conference_private.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_dial_action_search.png b/res/drawable-mdpi/ic_dial_action_search.png deleted file mode 100644 index 0b0e0dad7..000000000 Binary files a/res/drawable-mdpi/ic_dial_action_search.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_dial_end_call.png b/res/drawable-mdpi/ic_dial_end_call.png new file mode 100644 index 000000000..c47664226 Binary files /dev/null and b/res/drawable-mdpi/ic_dial_end_call.png differ diff --git a/res/drawable-mdpi/ic_end_call.png b/res/drawable-mdpi/ic_end_call.png deleted file mode 100644 index e76553bef..000000000 Binary files a/res/drawable-mdpi/ic_end_call.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_end_call_holo_dark.png b/res/drawable-mdpi/ic_end_call_holo_dark.png new file mode 100644 index 000000000..e090cc806 Binary files /dev/null and b/res/drawable-mdpi/ic_end_call_holo_dark.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_answer_activated.png b/res/drawable-mdpi/ic_lockscreen_answer_activated.png new file mode 100644 index 000000000..6a78f817e Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_answer_activated.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_answer_normal.png b/res/drawable-mdpi/ic_lockscreen_answer_normal.png new file mode 100644 index 000000000..da15c33c7 Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_answer_normal.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_decline_activated.png b/res/drawable-mdpi/ic_lockscreen_decline_activated.png new file mode 100644 index 000000000..649662681 Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_decline_activated.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_decline_normal.png b/res/drawable-mdpi/ic_lockscreen_decline_normal.png new file mode 100644 index 000000000..27fe09306 Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_decline_normal.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_text_activated.png b/res/drawable-mdpi/ic_lockscreen_text_activated.png new file mode 100644 index 000000000..e3e4fc13d Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_text_activated.png differ diff --git a/res/drawable-mdpi/ic_lockscreen_text_normal.png b/res/drawable-mdpi/ic_lockscreen_text_normal.png new file mode 100644 index 000000000..4a2a54b01 Binary files /dev/null and b/res/drawable-mdpi/ic_lockscreen_text_normal.png differ diff --git a/res/drawable-mdpi/ic_split_holo_dark.png b/res/drawable-mdpi/ic_split_holo_dark.png new file mode 100644 index 000000000..3980acbb8 Binary files /dev/null and b/res/drawable-mdpi/ic_split_holo_dark.png differ diff --git a/res/drawable-mdpi/ic_text_holo_dark.png b/res/drawable-mdpi/ic_text_holo_dark.png new file mode 100644 index 000000000..80b95eec1 Binary files /dev/null and b/res/drawable-mdpi/ic_text_holo_dark.png differ diff --git a/res/drawable-mdpi/stat_sys_phone_call.png b/res/drawable-mdpi/stat_sys_phone_call.png index 76ca72013..70a4bbe71 100644 Binary files a/res/drawable-mdpi/stat_sys_phone_call.png and b/res/drawable-mdpi/stat_sys_phone_call.png differ diff --git a/res/drawable-mdpi/stat_sys_phone_call_bluetooth.png b/res/drawable-mdpi/stat_sys_phone_call_bluetooth.png deleted file mode 100644 index 6ca152c7d..000000000 Binary files a/res/drawable-mdpi/stat_sys_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable-mdpi/stat_sys_phone_call_end.png b/res/drawable-mdpi/stat_sys_phone_call_end.png new file mode 100644 index 000000000..15e7e67fc Binary files /dev/null and b/res/drawable-mdpi/stat_sys_phone_call_end.png differ diff --git a/res/drawable-mdpi/stat_sys_phone_call_ringing.png b/res/drawable-mdpi/stat_sys_phone_call_ringing.png deleted file mode 100644 index 76ca72013..000000000 Binary files a/res/drawable-mdpi/stat_sys_phone_call_ringing.png and /dev/null differ diff --git a/res/drawable-mdpi/stat_sys_vp_phone_call_bluetooth.png b/res/drawable-mdpi/stat_sys_vp_phone_call_bluetooth.png deleted file mode 100644 index 339fe4349..000000000 Binary files a/res/drawable-mdpi/stat_sys_vp_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable-xhdpi/btn_dial_textfield_normal.9.png b/res/drawable-xhdpi/btn_dial_textfield_normal.9.png deleted file mode 100644 index 990362415..000000000 Binary files a/res/drawable-xhdpi/btn_dial_textfield_normal.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/btn_dial_textfield_pressed.9.png b/res/drawable-xhdpi/btn_dial_textfield_pressed.9.png deleted file mode 100644 index 00e2e7ea7..000000000 Binary files a/res/drawable-xhdpi/btn_dial_textfield_pressed.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/btn_dial_textfield_selected.9.png b/res/drawable-xhdpi/btn_dial_textfield_selected.9.png deleted file mode 100644 index bf2e27f5b..000000000 Binary files a/res/drawable-xhdpi/btn_dial_textfield_selected.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/dialog_bg_calling_via.9.png b/res/drawable-xhdpi/dialog_bg_calling_via.9.png deleted file mode 100644 index 15e46f85c..000000000 Binary files a/res/drawable-xhdpi/dialog_bg_calling_via.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/endcall_active.png b/res/drawable-xhdpi/endcall_active.png new file mode 100644 index 000000000..5347ed29e Binary files /dev/null and b/res/drawable-xhdpi/endcall_active.png differ diff --git a/res/drawable-xhdpi/endcall_disable.png b/res/drawable-xhdpi/endcall_disable.png new file mode 100644 index 000000000..fa10196c7 Binary files /dev/null and b/res/drawable-xhdpi/endcall_disable.png differ diff --git a/res/drawable-xhdpi/ic_active_state_dialer_holo_dark.png b/res/drawable-xhdpi/ic_active_state_dialer_holo_dark.png index 64fd89e25..0211d69b9 100644 Binary files a/res/drawable-xhdpi/ic_active_state_dialer_holo_dark.png and b/res/drawable-xhdpi/ic_active_state_dialer_holo_dark.png differ diff --git a/res/drawable-xhdpi/ic_button_conference_end.png b/res/drawable-xhdpi/ic_button_conference_end.png deleted file mode 100644 index c31e6f015..000000000 Binary files a/res/drawable-xhdpi/ic_button_conference_end.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_button_conference_private.png b/res/drawable-xhdpi/ic_button_conference_private.png deleted file mode 100644 index 19b17b2e0..000000000 Binary files a/res/drawable-xhdpi/ic_button_conference_private.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_dial_action_search.png b/res/drawable-xhdpi/ic_dial_action_search.png deleted file mode 100644 index 020fab560..000000000 Binary files a/res/drawable-xhdpi/ic_dial_action_search.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_dial_end_call.png b/res/drawable-xhdpi/ic_dial_end_call.png new file mode 100644 index 000000000..c24ec9872 Binary files /dev/null and b/res/drawable-xhdpi/ic_dial_end_call.png differ diff --git a/res/drawable-xhdpi/ic_end_call.png b/res/drawable-xhdpi/ic_end_call.png deleted file mode 100644 index c464a6dc5..000000000 Binary files a/res/drawable-xhdpi/ic_end_call.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_end_call_holo_dark.png b/res/drawable-xhdpi/ic_end_call_holo_dark.png new file mode 100644 index 000000000..f64f5e3d9 Binary files /dev/null and b/res/drawable-xhdpi/ic_end_call_holo_dark.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_answer_activated.png b/res/drawable-xhdpi/ic_lockscreen_answer_activated.png new file mode 100644 index 000000000..cd6a6abb2 Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_answer_activated.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_answer_normal.png b/res/drawable-xhdpi/ic_lockscreen_answer_normal.png new file mode 100644 index 000000000..983d5d941 Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_answer_normal.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_decline_activated.png b/res/drawable-xhdpi/ic_lockscreen_decline_activated.png new file mode 100644 index 000000000..317b3296c Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_decline_activated.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_decline_normal.png b/res/drawable-xhdpi/ic_lockscreen_decline_normal.png new file mode 100644 index 000000000..2cb03e7b1 Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_decline_normal.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_text_activated.png b/res/drawable-xhdpi/ic_lockscreen_text_activated.png new file mode 100644 index 000000000..41ea18af0 Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_text_activated.png differ diff --git a/res/drawable-xhdpi/ic_lockscreen_text_normal.png b/res/drawable-xhdpi/ic_lockscreen_text_normal.png new file mode 100644 index 000000000..15e477934 Binary files /dev/null and b/res/drawable-xhdpi/ic_lockscreen_text_normal.png differ diff --git a/res/drawable-xhdpi/ic_split_holo_dark.png b/res/drawable-xhdpi/ic_split_holo_dark.png new file mode 100644 index 000000000..db558e49a Binary files /dev/null and b/res/drawable-xhdpi/ic_split_holo_dark.png differ diff --git a/res/drawable-xhdpi/ic_text_holo_dark.png b/res/drawable-xhdpi/ic_text_holo_dark.png new file mode 100644 index 000000000..e80a04234 Binary files /dev/null and b/res/drawable-xhdpi/ic_text_holo_dark.png differ diff --git a/res/drawable-xhdpi/stat_sys_phone_call.png b/res/drawable-xhdpi/stat_sys_phone_call.png index db42b7cd9..1bb434076 100644 Binary files a/res/drawable-xhdpi/stat_sys_phone_call.png and b/res/drawable-xhdpi/stat_sys_phone_call.png differ diff --git a/res/drawable-xhdpi/stat_sys_phone_call_bluetooth.png b/res/drawable-xhdpi/stat_sys_phone_call_bluetooth.png deleted file mode 100644 index b0ecb9101..000000000 Binary files a/res/drawable-xhdpi/stat_sys_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable-xhdpi/stat_sys_phone_call_end.png b/res/drawable-xhdpi/stat_sys_phone_call_end.png new file mode 100644 index 000000000..b0b1bc1c8 Binary files /dev/null and b/res/drawable-xhdpi/stat_sys_phone_call_end.png differ diff --git a/res/drawable-xhdpi/stat_sys_phone_call_ringing.png b/res/drawable-xhdpi/stat_sys_phone_call_ringing.png deleted file mode 100644 index db42b7cd9..000000000 Binary files a/res/drawable-xhdpi/stat_sys_phone_call_ringing.png and /dev/null differ diff --git a/res/drawable-xhdpi/stat_sys_vp_phone_call_bluetooth.png b/res/drawable-xhdpi/stat_sys_vp_phone_call_bluetooth.png deleted file mode 100644 index 833cd1fa6..000000000 Binary files a/res/drawable-xhdpi/stat_sys_vp_phone_call_bluetooth.png and /dev/null differ diff --git a/res/drawable/btn_call.xml b/res/drawable/btn_call.xml index 73ff87b11..abce98313 100644 --- a/res/drawable/btn_call.xml +++ b/res/drawable/btn_call.xml @@ -17,8 +17,7 @@ - + diff --git a/res/drawable/btn_compound_audio.xml b/res/drawable/btn_compound_audio.xml index 30251ae85..c348c98c1 100644 --- a/res/drawable/btn_compound_audio.xml +++ b/res/drawable/btn_compound_audio.xml @@ -80,12 +80,18 @@ android:gravity="center" /> - - + + + + + + + @@ -96,13 +102,4 @@ --> - - - - diff --git a/res/drawable/dial_num_2.xml b/res/drawable/clickable_dim_effect.xml similarity index 68% rename from res/drawable/dial_num_2.xml rename to res/drawable/clickable_dim_effect.xml index ceb868961..e4b4f6fd6 100644 --- a/res/drawable/dial_num_2.xml +++ b/res/drawable/clickable_dim_effect.xml @@ -1,5 +1,5 @@ - + - - + + + + diff --git a/res/drawable/dial_num_1_no_vm_wht.xml b/res/drawable/dial_num_1_no_vm_wht.xml deleted file mode 100644 index 84a93940c..000000000 --- a/res/drawable/dial_num_1_no_vm_wht.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - diff --git a/res/drawable/dial_num_3.xml b/res/drawable/dial_num_3.xml deleted file mode 100644 index 62528e7bc..000000000 --- a/res/drawable/dial_num_3.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_4.xml b/res/drawable/dial_num_4.xml deleted file mode 100644 index 9e1b168e2..000000000 --- a/res/drawable/dial_num_4.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_5.xml b/res/drawable/dial_num_5.xml deleted file mode 100644 index 7c1fdcc0f..000000000 --- a/res/drawable/dial_num_5.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_6.xml b/res/drawable/dial_num_6.xml deleted file mode 100644 index 3ed5052e3..000000000 --- a/res/drawable/dial_num_6.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_7.xml b/res/drawable/dial_num_7.xml deleted file mode 100644 index cd5624a9b..000000000 --- a/res/drawable/dial_num_7.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_8.xml b/res/drawable/dial_num_8.xml deleted file mode 100644 index b93567be1..000000000 --- a/res/drawable/dial_num_8.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_9.xml b/res/drawable/dial_num_9.xml deleted file mode 100644 index c12d98922..000000000 --- a/res/drawable/dial_num_9.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/res/drawable/dial_num_pound.xml b/res/drawable/dial_num_pound.xml deleted file mode 100644 index c9c1e6f8c..000000000 --- a/res/drawable/dial_num_pound.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - diff --git a/res/drawable/dial_num_star.xml b/res/drawable/dial_num_star.xml deleted file mode 100644 index af3c20e5b..000000000 --- a/res/drawable/dial_num_star.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - diff --git a/res/drawable/end_call_background.xml b/res/drawable/end_call_background.xml index efd13a425..33ec22fa1 100644 --- a/res/drawable/end_call_background.xml +++ b/res/drawable/end_call_background.xml @@ -14,6 +14,32 @@ limitations under the License. --> - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_in_call_touch_handle.xml b/res/drawable/ic_in_call_touch_handle.xml index 5c52fe7d7..e657e92ed 100644 --- a/res/drawable/ic_in_call_touch_handle.xml +++ b/res/drawable/ic_in_call_touch_handle.xml @@ -14,7 +14,7 @@ limitations under the License. --> - + - - + + android:state_enabled="true" android:state_active="false" android:state_focused="false" + android:drawable="@drawable/ic_lockscreen_answer_normal_layer"/> + + diff --git a/res/drawable/ic_lockscreen_answer_activated_layer.xml b/res/drawable/ic_lockscreen_answer_activated_layer.xml new file mode 100644 index 000000000..6889581c7 --- /dev/null +++ b/res/drawable/ic_lockscreen_answer_activated_layer.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/res/drawable/ic_lockscreen_answer_normal_layer.xml b/res/drawable/ic_lockscreen_answer_normal_layer.xml new file mode 100644 index 000000000..083fe3fbd --- /dev/null +++ b/res/drawable/ic_lockscreen_answer_normal_layer.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + diff --git a/res/drawable/btn_dial_textfield.xml b/res/drawable/ic_lockscreen_decline.xml similarity index 52% rename from res/drawable/btn_dial_textfield.xml rename to res/drawable/ic_lockscreen_decline.xml index 4eabf1856..6643816d9 100644 --- a/res/drawable/btn_dial_textfield.xml +++ b/res/drawable/ic_lockscreen_decline.xml @@ -1,5 +1,5 @@ - - + - - + android:state_enabled="true" android:state_active="false" android:state_focused="false" + android:drawable="@drawable/ic_lockscreen_decline_normal_layer" /> + + - diff --git a/res/drawable/ic_lockscreen_decline_activated_layer.xml b/res/drawable/ic_lockscreen_decline_activated_layer.xml new file mode 100644 index 000000000..e3606d1e7 --- /dev/null +++ b/res/drawable/ic_lockscreen_decline_activated_layer.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/res/drawable/ic_lockscreen_decline_normal_layer.xml b/res/drawable/ic_lockscreen_decline_normal_layer.xml new file mode 100644 index 000000000..2896bef80 --- /dev/null +++ b/res/drawable/ic_lockscreen_decline_normal_layer.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + diff --git a/res/drawable/dial_num_0_no_plus.xml b/res/drawable/ic_lockscreen_text.xml similarity index 52% rename from res/drawable/dial_num_0_no_plus.xml rename to res/drawable/ic_lockscreen_text.xml index 470ddf469..f9caac818 100644 --- a/res/drawable/dial_num_0_no_plus.xml +++ b/res/drawable/ic_lockscreen_text.xml @@ -1,5 +1,5 @@ - - + + android:state_enabled="true" android:state_active="false" android:state_focused="false" + android:drawable="@drawable/ic_lockscreen_text_normal_layer" /> + + diff --git a/res/drawable/ic_lockscreen_text_activated_layer.xml b/res/drawable/ic_lockscreen_text_activated_layer.xml new file mode 100644 index 000000000..95141e5ce --- /dev/null +++ b/res/drawable/ic_lockscreen_text_activated_layer.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/res/drawable/ic_lockscreen_text_normal_layer.xml b/res/drawable/ic_lockscreen_text_normal_layer.xml new file mode 100644 index 000000000..42fd51de6 --- /dev/null +++ b/res/drawable/ic_lockscreen_text_normal_layer.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + diff --git a/res/layout-land/emergency_dialer.xml b/res/layout-land/emergency_dialer.xml index d6b8eaa6f..7d8ed3ffa 100644 --- a/res/layout-land/emergency_dialer.xml +++ b/res/layout-land/emergency_dialer.xml @@ -19,26 +19,61 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" -> + android:layout_marginLeft="@dimen/dialpad_horizontal_margin" + android:layout_marginRight="@dimen/dialpad_horizontal_margin"> - - - - - + android:background="@drawable/dialpad_background" > + + + + + + + + + + + diff --git a/res/layout/adn_list.xml b/res/layout/adn_list.xml index 233221a04..8bb3ebb14 100644 --- a/res/layout/adn_list.xml +++ b/res/layout/adn_list.xml @@ -14,11 +14,7 @@ limitations under the License. --> - - + - + diff --git a/res/layout/call_card.xml b/res/layout/call_card.xml index 45da49e8d..aac9c1c29 100644 --- a/res/layout/call_card.xml +++ b/res/layout/call_card.xml @@ -14,27 +14,23 @@ limitations under the License. --> - - + android:orientation="vertical"> - + - This is because the the in-call visual design is still in - flux, and it's easier to shuffle layouts around this way - rather than having sub-components in separate XML files. + + - But once the in-call visual design is final, let's - rearrange this XML to be more object-oriented: - - - Have the "call banners" (or at least the banner for call - #1) come from separate XML files that get d when - needed. Consider making "CallBanner" an actual widget. - - (Note: if we end up including the same XML file multiple - times, like for both call banners, we won't have separate - XML ids for (for example) "name" and "secondaryCallName". - So CallCard.java will need to look up those views - separately by calling findViewById on the specific - container around each banner.) - - - Move any remaining hardcoded margin / padding / size - constants (both here and in incall_touch_ui.xml) out to - dimens.xml or styles.xml. - --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/res/layout/caller_in_conference.xml b/res/layout/caller_in_conference.xml index 93406ec91..f4aa6095e 100644 --- a/res/layout/caller_in_conference.xml +++ b/res/layout/caller_in_conference.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -14,102 +14,94 @@ limitations under the License. --> - - + - - + + android:contentDescription="@string/goPrivate"/> - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="8dp" + android:gravity="center_vertical" + android:orientation="vertical"> + android:id="@+id/conferenceCallerName" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textSize="18sp" + android:singleLine="true" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginRight="2dp" + /> + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:orientation="horizontal" + android:gravity="bottom"> + + + - - - + android:textAllCaps="true" + android:gravity="left" /> + - - - - - - - + + - + diff --git a/res/layout/dialpad.xml b/res/layout/dialpad.xml index bdb135ab9..e112e1c93 100644 --- a/res/layout/dialpad.xml +++ b/res/layout/dialpad.xml @@ -33,13 +33,13 @@ android:layout_height="0px" android:layout_weight="1"> @@ -47,13 +47,13 @@ android:layout_height="0px" android:layout_weight="1"> @@ -61,13 +61,13 @@ android:layout_height="0px" android:layout_weight="1"> @@ -75,13 +75,13 @@ android:layout_height="0px" android:layout_weight="1"> diff --git a/res/layout/dialpad_additional_buttons.xml b/res/layout/dialpad_additional_buttons.xml deleted file mode 100644 index 9f5f27a5e..000000000 --- a/res/layout/dialpad_additional_buttons.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/res/layout/emergency_dialer.xml b/res/layout/emergency_dialer.xml index 7216e7ed9..1f2b6eda3 100644 --- a/res/layout/emergency_dialer.xml +++ b/res/layout/emergency_dialer.xml @@ -24,25 +24,67 @@ android:layout_marginRight="@dimen/dialpad_horizontal_margin"> - - + android:background="@drawable/dialpad_background" > + + + + + - - + + + + + + + + diff --git a/res/layout/extra_button_row.xml b/res/layout/extra_button_row.xml new file mode 100644 index 000000000..1144661cf --- /dev/null +++ b/res/layout/extra_button_row.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/get_pin2_screen.xml b/res/layout/get_pin2_screen.xml index 27073a954..35c20c6ab 100644 --- a/res/layout/get_pin2_screen.xml +++ b/res/layout/get_pin2_screen.xml @@ -34,15 +34,27 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/enter_pin2_text" /> - + android:orientation="horizontal"> + +