summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-03-29 18:54:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-29 18:54:15 +0000
commitfb5e953c8e62a51930059f2f51ebbff36ac0a6e4 (patch)
treea2da1ea4f1ac27b6a3910f242dc6a00936cfcb5b
parent82c8be24c1db17a6c504b89f801f8ad1bbed7aae (diff)
parent6ca8c72289f7bbaab3bf0ae3a37cc26d9cb93923 (diff)
Merge "Replace png icons with vector drawable for video call screen."
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_24.pngbin438 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_36.pngbin579 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_24.pngbin350 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_36.pngbin511 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_black_24.pngbin402 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_24.pngbin428 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_36.pngbin578 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_24.pngbin483 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_36.pngbin704 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_swap_calls_white_36.pngbin447 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_videocam_off_white_24.pngbin271 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_24.pngbin365 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_36.pngbin518 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_24.pngbin297 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_36.pngbin438 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_24.pngbin238 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_36.pngbin350 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_black_24.pngbin271 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_24.pngbin288 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_36.pngbin428 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_24.pngbin325 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_36.pngbin483 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_swap_calls_white_36.pngbin314 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_videocam_off_white_24.pngbin198 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_24.pngbin251 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_36.pngbin365 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_24.pngbin515 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_36.pngbin778 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_24.pngbin433 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_36.pngbin610 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_black_24.pngbin454 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_24.pngbin484 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_36.pngbin713 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_24.pngbin601 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_36.pngbin882 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_swap_calls_white_36.pngbin484 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_videocam_off_white_24.pngbin296 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_24.pngbin455 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_36.pngbin654 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_24.pngbin778 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_36.pngbin1080 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_24.pngbin610 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_36.pngbin936 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_black_24.pngbin671 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_24.pngbin713 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_36.pngbin1044 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_24.pngbin882 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_36.pngbin1342 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_swap_calls_white_36.pngbin827 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_videocam_off_white_24.pngbin412 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_24.pngbin654 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_36.pngbin998 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_24.pngbin945 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_36.pngbin1391 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_24.pngbin838 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_36.pngbin1246 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_black_24.pngbin832 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_24.pngbin902 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_36.pngbin1326 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_24.pngbin1162 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_36.pngbin1729 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_swap_calls_white_36.pngbin1008 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_videocam_off_white_24.pngbin495 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_24.pngbin878 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_36.pngbin1304 -> 0 bytes
-rw-r--r--assets/quantum/res/drawable/quantum_ic_videocam_off_vd_theme_24.xml26
-rw-r--r--java/com/android/dialer/app/voicemail/VoicemailPlaybackLayout.java2
-rw-r--r--java/com/android/incallui/ReturnToCallController.java5
-rw-r--r--java/com/android/incallui/StatusBarNotifier.java4
-rw-r--r--java/com/android/incallui/answer/impl/AnswerFragment.java2
-rw-r--r--java/com/android/incallui/incall/impl/ButtonController.java3
-rw-r--r--java/com/android/incallui/rtt/impl/RttOverflowMenu.java3
-rw-r--r--java/com/android/incallui/speakerbuttonlogic/SpeakerButtonInfo.java27
-rw-r--r--java/com/android/incallui/video/impl/SpeakerButtonController.java12
-rw-r--r--java/com/android/incallui/video/impl/res/layout-land/videocall_controls_surfaceview.xml16
-rw-r--r--java/com/android/incallui/video/impl/res/layout-v21/switch_camera_button.xml15
-rw-r--r--java/com/android/incallui/video/impl/res/layout/frag_videocall.xml19
-rw-r--r--java/com/android/incallui/video/impl/res/layout/frag_videocall_land.xml19
-rw-r--r--java/com/android/incallui/video/impl/res/layout/frag_videocall_surfaceview.xml5
-rw-r--r--java/com/android/incallui/video/impl/res/layout/switch_camera_button.xml14
-rw-r--r--java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml14
-rw-r--r--java/com/android/incallui/video/impl/res/layout/videocall_controls.xml30
-rw-r--r--java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml32
-rw-r--r--java/com/android/incallui/video/impl/res/layout/videocall_controls_surfaceview.xml16
-rw-r--r--java/com/android/incallui/video/impl/res/values-h580dp/dimens.xml1
-rw-r--r--java/com/android/incallui/video/impl/res/values-w460dp/dimens.xml1
-rw-r--r--java/com/android/incallui/video/impl/res/values/dimens.xml1
-rw-r--r--java/com/android/incallui/video/impl/res/values/styles.xml5
88 files changed, 177 insertions, 95 deletions
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_24.png
deleted file mode 100644
index 046372d0d..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_36.png
deleted file mode 100644
index 398f0a938..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_bluetooth_audio_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_24.png
deleted file mode 100644
index d25d3888e..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_36.png
deleted file mode 100644
index f77f24767..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_headset_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_black_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_black_24.png
deleted file mode 100644
index 1755dbf3f..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_black_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_24.png
deleted file mode 100644
index 6fccf5d09..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_36.png
deleted file mode 100644
index 203cb8a9f..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_mic_off_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_24.png
deleted file mode 100644
index f2c89424e..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_36.png
deleted file mode 100644
index ec67c6ef9..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_phone_in_talk_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_swap_calls_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_swap_calls_white_36.png
deleted file mode 100644
index 8c3a0edaa..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_swap_calls_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_videocam_off_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_videocam_off_white_24.png
deleted file mode 100644
index aaf5ac208..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_videocam_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_24.png b/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_24.png
deleted file mode 100644
index 57d787163..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_36.png b/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_36.png
deleted file mode 100644
index 62d22bec8..000000000
--- a/assets/quantum/res/drawable-hdpi/quantum_ic_volume_up_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_24.png
deleted file mode 100644
index ddffcf1f9..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_36.png
deleted file mode 100644
index 046372d0d..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_bluetooth_audio_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_24.png
deleted file mode 100644
index df063799d..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_36.png
deleted file mode 100644
index d25d3888e..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_headset_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_black_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_black_24.png
deleted file mode 100644
index da605a5a1..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_black_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_24.png
deleted file mode 100644
index 15094d884..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_36.png
deleted file mode 100644
index 6fccf5d09..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_mic_off_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_24.png
deleted file mode 100644
index e6f98af95..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_36.png
deleted file mode 100644
index f2c89424e..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_phone_in_talk_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_swap_calls_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_swap_calls_white_36.png
deleted file mode 100644
index 9491f2d1a..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_swap_calls_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_videocam_off_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_videocam_off_white_24.png
deleted file mode 100644
index d1cca6f0a..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_videocam_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_24.png b/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_24.png
deleted file mode 100644
index 7cfd4c7b8..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_36.png b/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_36.png
deleted file mode 100644
index 57d787163..000000000
--- a/assets/quantum/res/drawable-mdpi/quantum_ic_volume_up_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_24.png
deleted file mode 100644
index b494eb361..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_36.png
deleted file mode 100644
index d5022d063..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_bluetooth_audio_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_24.png
deleted file mode 100644
index d7a741b61..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_36.png
deleted file mode 100644
index 82db5427b..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_headset_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_black_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_black_24.png
deleted file mode 100644
index fa741be1c..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_black_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_24.png
deleted file mode 100644
index bb7915f33..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_36.png
deleted file mode 100644
index 7a15a9ea9..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_mic_off_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_24.png
deleted file mode 100644
index a2d78b221..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_36.png
deleted file mode 100644
index 9c002da0a..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_phone_in_talk_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_swap_calls_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_swap_calls_white_36.png
deleted file mode 100644
index 698cd5d75..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_swap_calls_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_videocam_off_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_videocam_off_white_24.png
deleted file mode 100644
index 5d540589b..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_videocam_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_24.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_24.png
deleted file mode 100644
index 2ed00343b..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_36.png b/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_36.png
deleted file mode 100644
index 2e751a40f..000000000
--- a/assets/quantum/res/drawable-xhdpi/quantum_ic_volume_up_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_24.png
deleted file mode 100644
index d5022d063..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_36.png
deleted file mode 100644
index 6842da6d0..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_bluetooth_audio_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_24.png
deleted file mode 100644
index 82db5427b..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_36.png
deleted file mode 100644
index a0d8b14c0..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_headset_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_black_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_black_24.png
deleted file mode 100644
index 084bf3c9f..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_black_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_24.png
deleted file mode 100644
index 7a15a9ea9..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_36.png
deleted file mode 100644
index 585d38326..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_mic_off_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_24.png
deleted file mode 100644
index 9c002da0a..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_36.png
deleted file mode 100644
index 5bb683f6e..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_phone_in_talk_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_swap_calls_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_swap_calls_white_36.png
deleted file mode 100644
index 140da28a8..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_swap_calls_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_videocam_off_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_videocam_off_white_24.png
deleted file mode 100644
index 69565f2c7..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_videocam_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_24.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_24.png
deleted file mode 100644
index 2e751a40f..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_36.png b/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_36.png
deleted file mode 100644
index 96c1f982f..000000000
--- a/assets/quantum/res/drawable-xxhdpi/quantum_ic_volume_up_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_24.png
deleted file mode 100644
index 8e1fa206b..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_36.png
deleted file mode 100644
index 3fe7c2350..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_bluetooth_audio_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_24.png
deleted file mode 100644
index 0f0b2e154..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_36.png
deleted file mode 100644
index 89b991047..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_headset_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_black_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_black_24.png
deleted file mode 100644
index 90d0606a4..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_black_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_24.png
deleted file mode 100644
index 22ca19ae4..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_36.png
deleted file mode 100644
index b0a10fbf6..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_mic_off_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_24.png
deleted file mode 100644
index 36be1da99..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_36.png
deleted file mode 100644
index 1257e66c5..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_phone_in_talk_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_swap_calls_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_swap_calls_white_36.png
deleted file mode 100644
index f8470b5dc..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_swap_calls_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_videocam_off_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_videocam_off_white_24.png
deleted file mode 100644
index bf37b57f9..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_videocam_off_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_24.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_24.png
deleted file mode 100644
index 82972b4e5..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_24.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_36.png b/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_36.png
deleted file mode 100644
index fd633b6cb..000000000
--- a/assets/quantum/res/drawable-xxxhdpi/quantum_ic_volume_up_white_36.png
+++ /dev/null
Binary files differ
diff --git a/assets/quantum/res/drawable/quantum_ic_videocam_off_vd_theme_24.xml b/assets/quantum/res/drawable/quantum_ic_videocam_off_vd_theme_24.xml
new file mode 100644
index 000000000..cce9eab3b
--- /dev/null
+++ b/assets/quantum/res/drawable/quantum_ic_videocam_off_vd_theme_24.xml
@@ -0,0 +1,26 @@
+<!--
+ ~ Copyright (C) 2018 The Android Open Source Project
+ ~
+ ~ 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.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License
+ -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0"
+ android:tint="?attr/colorControlNormal">
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M21,6.5l-4,4V7c0,-0.55 -0.45,-1 -1,-1H9.82L21,17.18V6.5zM3.27,2L2,3.27 4.73,6H4c-0.55,0 -1,0.45 -1,1v10c0,0.55 0.45,1 1,1h12c0.21,0 0.39,-0.08 0.54,-0.18L19.73,21 21,19.73 3.27,2z"/>
+</vector>
+
diff --git a/java/com/android/dialer/app/voicemail/VoicemailPlaybackLayout.java b/java/com/android/dialer/app/voicemail/VoicemailPlaybackLayout.java
index 009fb9e10..3a1e196e2 100644
--- a/java/com/android/dialer/app/voicemail/VoicemailPlaybackLayout.java
+++ b/java/com/android/dialer/app/voicemail/VoicemailPlaybackLayout.java
@@ -276,7 +276,7 @@ public class VoicemailPlaybackLayout extends LinearLayout
@Override
public void onSpeakerphoneOn(boolean on) {
if (on) {
- playbackSpeakerphone.setImageResource(R.drawable.quantum_ic_volume_up_white_24);
+ playbackSpeakerphone.setImageResource(R.drawable.quantum_ic_volume_up_vd_theme_24);
// Speaker is now on, tapping button will turn it off.
playbackSpeakerphone.setContentDescription(context.getString(R.string.voicemail_speaker_off));
} else {
diff --git a/java/com/android/incallui/ReturnToCallController.java b/java/com/android/incallui/ReturnToCallController.java
index 9dfb73bae..d5e6a1001 100644
--- a/java/com/android/incallui/ReturnToCallController.java
+++ b/java/com/android/incallui/ReturnToCallController.java
@@ -44,7 +44,6 @@ import com.android.incallui.call.CallList;
import com.android.incallui.call.CallList.Listener;
import com.android.incallui.call.DialerCall;
import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo;
-import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo.IconSize;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
@@ -280,7 +279,7 @@ public class ReturnToCallController implements InCallUiListener, Listener, Audio
@NonNull
private List<Action> generateActions() {
List<Action> actions = new ArrayList<>();
- SpeakerButtonInfo speakerButtonInfo = new SpeakerButtonInfo(audioState, IconSize.SIZE_24_DP);
+ SpeakerButtonInfo speakerButtonInfo = new SpeakerButtonInfo(audioState);
// Return to call
actions.add(
@@ -294,7 +293,7 @@ public class ReturnToCallController implements InCallUiListener, Listener, Audio
// Mute/unmute
actions.add(
Action.builder()
- .setIconDrawable(context.getDrawable(R.drawable.quantum_ic_mic_off_white_24))
+ .setIconDrawable(context.getDrawable(R.drawable.quantum_ic_mic_off_vd_theme_24))
.setChecked(audioState.isMuted())
.setIntent(toggleMute)
.setName(context.getText(R.string.incall_label_mute))
diff --git a/java/com/android/incallui/StatusBarNotifier.java b/java/com/android/incallui/StatusBarNotifier.java
index 503df6c88..9a2753219 100644
--- a/java/com/android/incallui/StatusBarNotifier.java
+++ b/java/com/android/incallui/StatusBarNotifier.java
@@ -916,7 +916,7 @@ public class StatusBarNotifier
createNotificationPendingIntent(context, ACTION_TURN_ON_SPEAKER);
builder.addAction(
new Notification.Action.Builder(
- Icon.createWithResource(context, R.drawable.quantum_ic_volume_up_white_24),
+ Icon.createWithResource(context, R.drawable.quantum_ic_volume_up_vd_theme_24),
context.getText(R.string.notification_action_speaker_on),
speakerOnPendingIntent)
.build());
@@ -930,7 +930,7 @@ public class StatusBarNotifier
createNotificationPendingIntent(context, ACTION_TURN_OFF_SPEAKER);
builder.addAction(
new Notification.Action.Builder(
- Icon.createWithResource(context, R.drawable.quantum_ic_phone_in_talk_white_24),
+ Icon.createWithResource(context, R.drawable.quantum_ic_phone_in_talk_vd_theme_24),
context.getText(R.string.notification_action_speaker_off),
speakerOffPendingIntent)
.build());
diff --git a/java/com/android/incallui/answer/impl/AnswerFragment.java b/java/com/android/incallui/answer/impl/AnswerFragment.java
index e5271f5c2..77352f94b 100644
--- a/java/com/android/incallui/answer/impl/AnswerFragment.java
+++ b/java/com/android/incallui/answer/impl/AnswerFragment.java
@@ -174,7 +174,7 @@ public class AnswerFragment extends Fragment
},
ANSWER_VIDEO_AS_AUDIO(
- R.drawable.quantum_ic_videocam_off_white_24,
+ R.drawable.quantum_ic_videocam_off_vd_theme_24,
R.string.a11y_description_incoming_call_answer_video_as_audio,
R.string.a11y_incoming_call_answer_video_as_audio,
R.string.call_incoming_swipe_to_answer_video_as_audio) {
diff --git a/java/com/android/incallui/incall/impl/ButtonController.java b/java/com/android/incallui/incall/impl/ButtonController.java
index dd11fff33..98460c704 100644
--- a/java/com/android/incallui/incall/impl/ButtonController.java
+++ b/java/com/android/incallui/incall/impl/ButtonController.java
@@ -31,7 +31,6 @@ import com.android.incallui.incall.protocol.InCallButtonIds;
import com.android.incallui.incall.protocol.InCallButtonUiDelegate;
import com.android.incallui.incall.protocol.InCallScreenDelegate;
import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo;
-import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo.IconSize;
/** Manages a single button. */
interface ButtonController {
@@ -379,7 +378,7 @@ interface ButtonController {
}
public void setAudioState(CallAudioState audioState) {
- SpeakerButtonInfo info = new SpeakerButtonInfo(audioState, IconSize.SIZE_36_DP);
+ SpeakerButtonInfo info = new SpeakerButtonInfo(audioState);
checkable = info.checkable;
isChecked = info.isChecked;
diff --git a/java/com/android/incallui/rtt/impl/RttOverflowMenu.java b/java/com/android/incallui/rtt/impl/RttOverflowMenu.java
index 2a061c546..6a7aeba96 100644
--- a/java/com/android/incallui/rtt/impl/RttOverflowMenu.java
+++ b/java/com/android/incallui/rtt/impl/RttOverflowMenu.java
@@ -24,7 +24,6 @@ import com.android.incallui.incall.protocol.InCallButtonUiDelegate;
import com.android.incallui.incall.protocol.InCallScreenDelegate;
import com.android.incallui.rtt.impl.RttCheckableButton.OnCheckedChangeListener;
import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo;
-import com.android.incallui.speakerbuttonlogic.SpeakerButtonInfo.IconSize;
/** Overflow menu for RTT call. */
public class RttOverflowMenu extends PopupWindow implements OnCheckedChangeListener {
@@ -89,7 +88,7 @@ public class RttOverflowMenu extends PopupWindow implements OnCheckedChangeListe
}
void setAudioState(CallAudioState audioState) {
- SpeakerButtonInfo info = new SpeakerButtonInfo(audioState, IconSize.SIZE_24_DP);
+ SpeakerButtonInfo info = new SpeakerButtonInfo(audioState);
if (info.checkable) {
speakerButton.setChecked(info.isChecked);
speakerButton.setOnClickListener(null);
diff --git a/java/com/android/incallui/speakerbuttonlogic/SpeakerButtonInfo.java b/java/com/android/incallui/speakerbuttonlogic/SpeakerButtonInfo.java
index 5ab821be0..58fd40fb4 100644
--- a/java/com/android/incallui/speakerbuttonlogic/SpeakerButtonInfo.java
+++ b/java/com/android/incallui/speakerbuttonlogic/SpeakerButtonInfo.java
@@ -42,7 +42,7 @@ public class SpeakerButtonInfo {
public final boolean checkable;
public final boolean isChecked;
- public SpeakerButtonInfo(CallAudioState audioState, @IconSize int iconSize) {
+ public SpeakerButtonInfo(CallAudioState audioState) {
if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH)
== CallAudioState.ROUTE_BLUETOOTH) {
checkable = false;
@@ -51,40 +51,25 @@ public class SpeakerButtonInfo {
if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH)
== CallAudioState.ROUTE_BLUETOOTH) {
- icon =
- iconSize == IconSize.SIZE_36_DP
- ? R.drawable.quantum_ic_bluetooth_audio_white_36
- : R.drawable.quantum_ic_bluetooth_audio_white_24;
+ icon = R.drawable.quantum_ic_bluetooth_audio_vd_theme_24;
contentDescription = R.string.incall_content_description_bluetooth;
} else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER)
== CallAudioState.ROUTE_SPEAKER) {
- icon =
- iconSize == IconSize.SIZE_36_DP
- ? R.drawable.quantum_ic_volume_up_white_36
- : R.drawable.quantum_ic_volume_up_white_24;
+ icon = R.drawable.quantum_ic_volume_up_vd_theme_24;
contentDescription = R.string.incall_content_description_speaker;
} else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET)
== CallAudioState.ROUTE_WIRED_HEADSET) {
- icon =
- iconSize == IconSize.SIZE_36_DP
- ? R.drawable.quantum_ic_headset_white_36
- : R.drawable.quantum_ic_headset_white_24;
+ icon = R.drawable.quantum_ic_headset_vd_theme_24;
contentDescription = R.string.incall_content_description_headset;
} else {
- icon =
- iconSize == IconSize.SIZE_36_DP
- ? R.drawable.quantum_ic_phone_in_talk_white_36
- : R.drawable.quantum_ic_phone_in_talk_white_24;
+ icon = R.drawable.quantum_ic_phone_in_talk_vd_theme_24;
contentDescription = R.string.incall_content_description_earpiece;
}
} else {
checkable = true;
isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER;
label = R.string.incall_label_speaker;
- icon =
- iconSize == IconSize.SIZE_36_DP
- ? R.drawable.quantum_ic_volume_up_white_36
- : R.drawable.quantum_ic_volume_up_white_24;
+ icon = R.drawable.quantum_ic_volume_up_vd_theme_24;
contentDescription = R.string.incall_content_description_speaker;
}
}
diff --git a/java/com/android/incallui/video/impl/SpeakerButtonController.java b/java/com/android/incallui/video/impl/SpeakerButtonController.java
index d98545feb..e17cf7b9f 100644
--- a/java/com/android/incallui/video/impl/SpeakerButtonController.java
+++ b/java/com/android/incallui/video/impl/SpeakerButtonController.java
@@ -36,7 +36,7 @@ public class SpeakerButtonController implements OnCheckedChangeListener, OnClick
@NonNull private CheckableImageButton button;
- @DrawableRes private int icon = R.drawable.quantum_ic_volume_up_white_36;
+ @DrawableRes private int icon = R.drawable.quantum_ic_volume_up_vd_theme_24;
private boolean isChecked;
private boolean checkable;
@@ -77,24 +77,24 @@ public class SpeakerButtonController implements OnCheckedChangeListener, OnClick
if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH)
== CallAudioState.ROUTE_BLUETOOTH) {
- icon = R.drawable.quantum_ic_bluetooth_audio_white_36;
+ icon = R.drawable.quantum_ic_bluetooth_audio_vd_theme_24;
contentDescriptionResId = R.string.incall_content_description_bluetooth;
} else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER)
== CallAudioState.ROUTE_SPEAKER) {
- icon = R.drawable.quantum_ic_volume_up_white_36;
+ icon = R.drawable.quantum_ic_volume_up_vd_theme_24;
contentDescriptionResId = R.string.incall_content_description_speaker;
} else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET)
== CallAudioState.ROUTE_WIRED_HEADSET) {
- icon = R.drawable.quantum_ic_headset_white_36;
+ icon = R.drawable.quantum_ic_headset_vd_theme_24;
contentDescriptionResId = R.string.incall_content_description_headset;
} else {
- icon = R.drawable.quantum_ic_phone_in_talk_white_36;
+ icon = R.drawable.quantum_ic_phone_in_talk_vd_theme_24;
contentDescriptionResId = R.string.incall_content_description_earpiece;
}
} else {
checkable = true;
isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER;
- icon = R.drawable.quantum_ic_volume_up_white_36;
+ icon = R.drawable.quantum_ic_volume_up_vd_theme_24;
contentDescriptionResId = R.string.incall_content_description_speaker;
}
diff --git a/java/com/android/incallui/video/impl/res/layout-land/videocall_controls_surfaceview.xml b/java/com/android/incallui/video/impl/res/layout-land/videocall_controls_surfaceview.xml
index 40b50bc70..9a3682f02 100644
--- a/java/com/android/incallui/video/impl/res/layout-land/videocall_controls_surfaceview.xml
+++ b/java/com/android/incallui/video/impl/res/layout-land/videocall_controls_surfaceview.xml
@@ -60,33 +60,25 @@
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_speaker_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
android:checked="true"
- android:src="@drawable/quantum_ic_volume_up_white_36"
+ android:src="@drawable/quantum_ic_volume_up_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_speaker"
app:contentDescriptionUnchecked="@string/incall_content_description_earpiece"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_white_36"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_muted"
app:contentDescriptionUnchecked="@string/incall_content_description_unmuted"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_video"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_36"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_video_off"
app:contentDescriptionUnchecked="@string/incall_content_description_video_on"
/>
@@ -111,7 +103,7 @@
android:layout_width="@dimen/videocall_button_size"
android:layout_height="@dimen/videocall_button_size"
android:contentDescription="@string/incall_content_description_swap_calls"
- android:src="@drawable/quantum_ic_swap_calls_white_36"
+ android:src="@drawable/quantum_ic_swap_calls_vd_theme_24"
android:visibility="gone"
tools:visibility="visible"
/>
diff --git a/java/com/android/incallui/video/impl/res/layout-v21/switch_camera_button.xml b/java/com/android/incallui/video/impl/res/layout-v21/switch_camera_button.xml
index 1fb1bb088..66602837e 100644
--- a/java/com/android/incallui/video/impl/res/layout-v21/switch_camera_button.xml
+++ b/java/com/android/incallui/video/impl/res/layout-v21/switch_camera_button.xml
@@ -1,6 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/videocall_switch_video"
style="@style/Incall.Button.VideoCall"
android:contentDescription="@string/incall_content_description_swap_video"
+ android:scaleType="center"
android:src="@drawable/front_back_switch_button_animation"/>
diff --git a/java/com/android/incallui/video/impl/res/layout/frag_videocall.xml b/java/com/android/incallui/video/impl/res/layout/frag_videocall.xml
index f8c6fc3c7..ed32ae235 100644
--- a/java/com/android/incallui/video/impl/res/layout/frag_videocall.xml
+++ b/java/com/android/incallui/video/impl/res/layout/frag_videocall.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -85,7 +99,7 @@
android:layout_alignRight="@+id/videocall_video_preview"
android:layout_alignTop="@+id/videocall_video_preview"
android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_24"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
android:tint="@color/videocall_camera_off_tint"
android:tintMode="src_in"
android:visibility="gone"
@@ -101,7 +115,8 @@
android:background="@drawable/videocall_background_circle_white"
android:contentDescription="@string/incall_content_description_muted"
android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_black_24"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
+ android:tint="@android:color/black"
android:visibility="gone"
tools:visibility="visible"/>
diff --git a/java/com/android/incallui/video/impl/res/layout/frag_videocall_land.xml b/java/com/android/incallui/video/impl/res/layout/frag_videocall_land.xml
index 2353deea1..f74456963 100644
--- a/java/com/android/incallui/video/impl/res/layout/frag_videocall_land.xml
+++ b/java/com/android/incallui/video/impl/res/layout/frag_videocall_land.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -79,7 +93,7 @@
android:layout_alignRight="@+id/videocall_video_preview"
android:layout_alignTop="@+id/videocall_video_preview"
android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_36"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
android:visibility="gone"
android:importantForAccessibility="no"
tools:visibility="visible"/>
@@ -93,7 +107,8 @@
android:background="@drawable/videocall_background_circle_white"
android:contentDescription="@string/incall_content_description_muted"
android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_black_24"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
+ android:tint="@android:color/black"
android:visibility="gone"
tools:visibility="visible"/>
diff --git a/java/com/android/incallui/video/impl/res/layout/frag_videocall_surfaceview.xml b/java/com/android/incallui/video/impl/res/layout/frag_videocall_surfaceview.xml
index 1a2bc2429..dd1bd61c2 100644
--- a/java/com/android/incallui/video/impl/res/layout/frag_videocall_surfaceview.xml
+++ b/java/com/android/incallui/video/impl/res/layout/frag_videocall_surfaceview.xml
@@ -65,7 +65,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_24"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
android:tint="@color/videocall_camera_off_tint"
android:tintMode="src_in"
android:visibility="gone"
@@ -84,7 +84,8 @@
android:background="@drawable/videocall_background_circle_white"
android:contentDescription="@string/incall_content_description_muted"
android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_black_24"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
+ android:tint="@android:color/black"
android:visibility="gone"
tools:visibility="visible"/>
diff --git a/java/com/android/incallui/video/impl/res/layout/switch_camera_button.xml b/java/com/android/incallui/video/impl/res/layout/switch_camera_button.xml
index 87c2e1b6c..f473dd8c3 100644
--- a/java/com/android/incallui/video/impl/res/layout/switch_camera_button.xml
+++ b/java/com/android/incallui/video/impl/res/layout/switch_camera_button.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/videocall_switch_video"
style="@style/Incall.Button.VideoCall"
diff --git a/java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml b/java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml
index 3cf050467..56797d92e 100644
--- a/java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml
+++ b/java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
diff --git a/java/com/android/incallui/video/impl/res/layout/videocall_controls.xml b/java/com/android/incallui/video/impl/res/layout/videocall_controls.xml
index b3141bdf3..70cbac8d2 100644
--- a/java/com/android/incallui/video/impl/res/layout/videocall_controls.xml
+++ b/java/com/android/incallui/video/impl/res/layout/videocall_controls.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -46,31 +60,25 @@
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_speaker_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
android:checked="true"
- android:src="@drawable/quantum_ic_volume_up_white_36"
+ android:src="@drawable/quantum_ic_volume_up_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_speaker"
app:contentDescriptionUnchecked="@string/incall_content_description_earpiece"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
- android:src="@drawable/quantum_ic_mic_off_white_36"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_muted"
app:contentDescriptionUnchecked="@string/incall_content_description_unmuted"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_video"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
- android:src="@drawable/quantum_ic_videocam_off_white_36"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_video_off"
app:contentDescriptionUnchecked="@string/incall_content_description_video_on"
/>
@@ -92,10 +100,8 @@
<ImageButton
android:id="@+id/videocall_switch_on_hold"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:contentDescription="@string/incall_content_description_swap_calls"
- android:src="@drawable/quantum_ic_swap_calls_white_36"
+ android:src="@drawable/quantum_ic_swap_calls_vd_theme_24"
android:visibility="gone"
tools:visibility="visible"
/>
diff --git a/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml b/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml
index d71b3c00e..404e5c842 100644
--- a/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml
+++ b/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -45,33 +59,25 @@
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_speaker_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
android:checked="true"
- android:src="@drawable/quantum_ic_volume_up_white_36"
+ android:src="@drawable/quantum_ic_volume_up_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_speaker"
app:contentDescriptionUnchecked="@string/incall_content_description_earpiece"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_white_36"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_muted"
app:contentDescriptionUnchecked="@string/incall_content_description_unmuted"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_video"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginEnd="24dp"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_36"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_video_off"
app:contentDescriptionUnchecked="@string/incall_content_description_video_on"
/>
@@ -93,10 +99,8 @@
<ImageButton
android:id="@+id/videocall_switch_on_hold"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:contentDescription="@string/incall_content_description_swap_calls"
- android:src="@drawable/quantum_ic_swap_calls_white_36"
+ android:src="@drawable/quantum_ic_swap_calls_vd_theme_24"
android:visibility="gone"
tools:visibility="visible"
/>
diff --git a/java/com/android/incallui/video/impl/res/layout/videocall_controls_surfaceview.xml b/java/com/android/incallui/video/impl/res/layout/videocall_controls_surfaceview.xml
index d2dc992b7..7cea79267 100644
--- a/java/com/android/incallui/video/impl/res/layout/videocall_controls_surfaceview.xml
+++ b/java/com/android/incallui/video/impl/res/layout/videocall_controls_surfaceview.xml
@@ -61,33 +61,25 @@
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_speaker_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
android:checked="true"
- android:src="@drawable/quantum_ic_volume_up_white_36"
+ android:src="@drawable/quantum_ic_volume_up_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_speaker"
app:contentDescriptionUnchecked="@string/incall_content_description_earpiece"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_button"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_mic_off_white_36"
+ android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_muted"
app:contentDescriptionUnchecked="@string/incall_content_description_unmuted"
/>
<com.android.incallui.video.impl.CheckableImageButton
android:id="@+id/videocall_mute_video"
style="@style/Incall.Button.VideoCall"
- android:layout_width="@dimen/videocall_button_size"
- android:layout_height="@dimen/videocall_button_size"
android:layout_marginBottom="@dimen/videocall_button_spacing"
- android:scaleType="center"
- android:src="@drawable/quantum_ic_videocam_off_white_36"
+ android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
app:contentDescriptionChecked="@string/incall_content_description_video_off"
app:contentDescriptionUnchecked="@string/incall_content_description_video_on"
/>
@@ -112,7 +104,7 @@
android:layout_width="@dimen/videocall_button_size"
android:layout_height="@dimen/videocall_button_size"
android:contentDescription="@string/incall_content_description_swap_calls"
- android:src="@drawable/quantum_ic_swap_calls_white_36"
+ android:src="@drawable/quantum_ic_swap_calls_vd_theme_24"
android:visibility="gone"
tools:visibility="visible"
/>
diff --git a/java/com/android/incallui/video/impl/res/values-h580dp/dimens.xml b/java/com/android/incallui/video/impl/res/values-h580dp/dimens.xml
index e9e7f9e8b..d4a5e17d6 100644
--- a/java/com/android/incallui/video/impl/res/values-h580dp/dimens.xml
+++ b/java/com/android/incallui/video/impl/res/values-h580dp/dimens.xml
@@ -17,6 +17,7 @@
<resources>
<dimen name="videocall_button_spacing">16dp</dimen>
<dimen name="videocall_button_size">72dp</dimen>
+ <dimen name="videocall_button_padding">18dp</dimen>
<dimen name="videocall_preview_width">88dp</dimen>
<dimen name="videocall_preview_height">88dp</dimen>
<dimen name="videocall_preview_long">116dp</dimen>
diff --git a/java/com/android/incallui/video/impl/res/values-w460dp/dimens.xml b/java/com/android/incallui/video/impl/res/values-w460dp/dimens.xml
index e9e7f9e8b..d4a5e17d6 100644
--- a/java/com/android/incallui/video/impl/res/values-w460dp/dimens.xml
+++ b/java/com/android/incallui/video/impl/res/values-w460dp/dimens.xml
@@ -17,6 +17,7 @@
<resources>
<dimen name="videocall_button_spacing">16dp</dimen>
<dimen name="videocall_button_size">72dp</dimen>
+ <dimen name="videocall_button_padding">18dp</dimen>
<dimen name="videocall_preview_width">88dp</dimen>
<dimen name="videocall_preview_height">88dp</dimen>
<dimen name="videocall_preview_long">116dp</dimen>
diff --git a/java/com/android/incallui/video/impl/res/values/dimens.xml b/java/com/android/incallui/video/impl/res/values/dimens.xml
index 606b158d9..b6449a6d1 100644
--- a/java/com/android/incallui/video/impl/res/values/dimens.xml
+++ b/java/com/android/incallui/video/impl/res/values/dimens.xml
@@ -23,4 +23,5 @@
<dimen name="videocall_preview_margin_end">24dp</dimen>
<dimen name="videocall_button_spacing">8dp</dimen>
<dimen name="videocall_button_size">60dp</dimen>
+ <dimen name="videocall_button_padding">12dp</dimen>
</resources>
diff --git a/java/com/android/incallui/video/impl/res/values/styles.xml b/java/com/android/incallui/video/impl/res/values/styles.xml
index 010aca2d1..03395d989 100644
--- a/java/com/android/incallui/video/impl/res/values/styles.xml
+++ b/java/com/android/incallui/video/impl/res/values/styles.xml
@@ -16,10 +16,13 @@
-->
<resources>
<style name="Incall.Button.VideoCall" parent="Widget.AppCompat.ImageButton">
+ <item name="android:layout_height">@dimen/videocall_button_size</item>
+ <item name="android:layout_width">@dimen/videocall_button_size</item>
<item name="android:background">@drawable/videocall_video_button_background</item>
- <item name="android:scaleType">center</item>
<item name="android:tint">@color/videocall_button_icon_tint</item>
<item name="android:tintMode">src_atop</item>
+ <item name="android:padding">@dimen/videocall_button_padding</item>
+ <item name="android:scaleType">fitCenter</item>
<item name="android:stateListAnimator">@animator/disabled_alpha</item>
</style>
<style name="VideoPreviewHolder">