From c0be1faf6fa10b7b4ab025012cdffd98a5be7148 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 11 Jul 2014 15:50:00 -0700 Subject: Show different glowpad options for incoming video call. - Refactor code be more flexibile/specific in specifying the targets for the glow pad; went from "n-way" labeling of different target sets to more explicit labeling of scenarios, such as "audio without sms". - Add target sets and cases for showing targest in AnswerFragment. - Added new drawable for the target to answer a video call. - Add method to GlowPadView to allow changing the handle (now it may be either a videocamera or phone icon, depending on the scenario). - Add a new video handle for incoming video calls. - TODO: Hook this up to show these glowpads if there is an incoming video call. - Deleted some unused resource files. Bug: 16015750 Change-Id: I77ff08f45f57cd2817866b5d78648af8891bb675 --- InCallUI/res/drawable/ic_in_call_touch_handle.xml | 40 --------------------- InCallUI/res/drawable/ic_incall_audio_handle.xml | 40 +++++++++++++++++++++ InCallUI/res/drawable/ic_incall_video_handle.xml | 41 ++++++++++++++++++++++ .../res/drawable/ic_lockscreen_answer_video.xml | 28 +++++++++++++++ .../ic_lockscreen_answer_video_activated_layer.xml | 25 +++++++++++++ .../ic_lockscreen_answer_video_normal_layer.xml | 33 +++++++++++++++++ 6 files changed, 167 insertions(+), 40 deletions(-) delete mode 100644 InCallUI/res/drawable/ic_in_call_touch_handle.xml create mode 100644 InCallUI/res/drawable/ic_incall_audio_handle.xml create mode 100644 InCallUI/res/drawable/ic_incall_video_handle.xml create mode 100644 InCallUI/res/drawable/ic_lockscreen_answer_video.xml create mode 100644 InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml create mode 100644 InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml (limited to 'InCallUI/res/drawable') diff --git a/InCallUI/res/drawable/ic_in_call_touch_handle.xml b/InCallUI/res/drawable/ic_in_call_touch_handle.xml deleted file mode 100644 index 47d902bb7..000000000 --- a/InCallUI/res/drawable/ic_in_call_touch_handle.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/InCallUI/res/drawable/ic_incall_audio_handle.xml b/InCallUI/res/drawable/ic_incall_audio_handle.xml new file mode 100644 index 000000000..fd40e517c --- /dev/null +++ b/InCallUI/res/drawable/ic_incall_audio_handle.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + diff --git a/InCallUI/res/drawable/ic_incall_video_handle.xml b/InCallUI/res/drawable/ic_incall_video_handle.xml new file mode 100644 index 000000000..80636afec --- /dev/null +++ b/InCallUI/res/drawable/ic_incall_video_handle.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_video.xml b/InCallUI/res/drawable/ic_lockscreen_answer_video.xml new file mode 100644 index 000000000..05577979a --- /dev/null +++ b/InCallUI/res/drawable/ic_lockscreen_answer_video.xml @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml new file mode 100644 index 000000000..3cb769223 --- /dev/null +++ b/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml new file mode 100644 index 000000000..708bbcc9c --- /dev/null +++ b/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + -- cgit v1.2.3