From 32e1b940b71a96d55bd7b9cedf31fc4aacdbfec1 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Wed, 3 Jun 2015 18:13:24 -0700 Subject: Security and Privacy UI - new panel for site specific settings - hooked up favicon to site settings - new images for security icons - revamped settings panels to match the new ui layouts Change-Id: I1e872ce353e66f78e2b0530901fcbb7de69e28b4 --- res/drawable-xxhdpi/ic_action_trash_active.png | Bin 0 -> 923 bytes res/drawable-xxhdpi/ic_action_trash_disabled.png | Bin 0 -> 914 bytes res/drawable-xxhdpi/ic_action_trash_normal.png | Bin 1414 -> 923 bytes res/drawable-xxhdpi/ic_fav_overlay_good.png | Bin 0 -> 1224 bytes res/drawable-xxhdpi/ic_fav_overlay_normal.png | Bin 0 -> 1224 bytes res/drawable-xxhdpi/ic_fav_overlay_severe.png | Bin 0 -> 1224 bytes res/drawable-xxhdpi/ic_fav_overlay_warning.png | Bin 0 -> 1224 bytes res/drawable-xxhdpi/ic_sp_camera.png | Bin 0 -> 814 bytes res/drawable-xxhdpi/ic_sp_cookies.png | Bin 0 -> 2096 bytes res/drawable-xxhdpi/ic_sp_level_good.png | Bin 0 -> 4116 bytes res/drawable-xxhdpi/ic_sp_level_severe.png | Bin 0 -> 4056 bytes res/drawable-xxhdpi/ic_sp_level_warning.png | Bin 0 -> 4469 bytes res/drawable-xxhdpi/ic_sp_location.png | Bin 0 -> 1633 bytes res/drawable-xxhdpi/ic_sp_microphone.png | Bin 0 -> 1144 bytes res/drawable-xxhdpi/ic_sp_multi_choice.png | Bin 0 -> 1534 bytes res/drawable-xxhdpi/ic_sp_popups.png | Bin 0 -> 417 bytes res/drawable-xxhdpi/ic_sp_revert.png | Bin 0 -> 1106 bytes res/drawable-xxhdpi/ic_sp_secwarnings.png | Bin 0 -> 1684 bytes res/drawable-xxhdpi/ic_sp_storage.png | Bin 0 -> 434 bytes res/drawable-xxhdpi/ic_sp_thirdcookies.png | Bin 0 -> 1805 bytes res/drawable-xxhdpi/ic_sp_webrefiner.png | Bin 0 -> 1430 bytes res/drawable-xxhdpi/img_deco_dropshadow.png | Bin 0 -> 204 bytes res/drawable-xxhdpi/img_deco_intrapanel.png | Bin 0 -> 247 bytes res/drawable/ic_action_trash.xml | 44 ++++++ res/layout-v17/swe_preference_category.xml | 59 ++++++++ res/layout-v17/swe_preference_category_first.xml | 50 ++++++ res/layout-v21/swe_preference_category.xml | 60 ++++++++ res/layout-v21/swe_preference_category_first.xml | 55 +++++++ res/layout/site_specific_security_info.xml | 111 ++++++++++++++ res/layout/swe_preference.xml | 87 +++++++++++ res/layout/swe_preference_button.xml | 34 +++++ res/layout/swe_preference_custom_actionbar.xml | 39 +++++ res/layout/swe_preference_list_widget.xml | 33 ++++ res/layout/swe_preference_storage_widget.xml | 33 ++++ res/layout/swe_preference_trashcan_widget.xml | 33 ++++ res/layout/swe_website_settings.xml | 17 ++- res/layout/title_bar_nav.xml | 6 + res/layout/website_settings_row.xml | 29 ---- res/values/strings.xml | 38 ++++- res/xml/accessibility_preferences.xml | 6 +- res/xml/bandwidth_preferences.xml | 2 +- res/xml/content_preferences.xml | 67 +++++++++ res/xml/debug_preferences.xml | 31 ++-- res/xml/download_settings_preferences.xml | 7 +- res/xml/general_preferences.xml | 171 ++++----------------- res/xml/privacy_and_security_preferences.xml | 184 +++++++++++++++++++++++ res/xml/site_specific_preferences.xml | 119 +++++++++++++++ 47 files changed, 1123 insertions(+), 192 deletions(-) create mode 100644 res/drawable-xxhdpi/ic_action_trash_active.png create mode 100644 res/drawable-xxhdpi/ic_action_trash_disabled.png create mode 100644 res/drawable-xxhdpi/ic_fav_overlay_good.png create mode 100644 res/drawable-xxhdpi/ic_fav_overlay_normal.png create mode 100644 res/drawable-xxhdpi/ic_fav_overlay_severe.png create mode 100644 res/drawable-xxhdpi/ic_fav_overlay_warning.png create mode 100644 res/drawable-xxhdpi/ic_sp_camera.png create mode 100644 res/drawable-xxhdpi/ic_sp_cookies.png create mode 100644 res/drawable-xxhdpi/ic_sp_level_good.png create mode 100644 res/drawable-xxhdpi/ic_sp_level_severe.png create mode 100644 res/drawable-xxhdpi/ic_sp_level_warning.png create mode 100644 res/drawable-xxhdpi/ic_sp_location.png create mode 100644 res/drawable-xxhdpi/ic_sp_microphone.png create mode 100644 res/drawable-xxhdpi/ic_sp_multi_choice.png create mode 100644 res/drawable-xxhdpi/ic_sp_popups.png create mode 100644 res/drawable-xxhdpi/ic_sp_revert.png create mode 100644 res/drawable-xxhdpi/ic_sp_secwarnings.png create mode 100644 res/drawable-xxhdpi/ic_sp_storage.png create mode 100644 res/drawable-xxhdpi/ic_sp_thirdcookies.png create mode 100644 res/drawable-xxhdpi/ic_sp_webrefiner.png create mode 100644 res/drawable-xxhdpi/img_deco_dropshadow.png create mode 100644 res/drawable-xxhdpi/img_deco_intrapanel.png create mode 100644 res/drawable/ic_action_trash.xml create mode 100644 res/layout-v17/swe_preference_category.xml create mode 100644 res/layout-v17/swe_preference_category_first.xml create mode 100644 res/layout-v21/swe_preference_category.xml create mode 100644 res/layout-v21/swe_preference_category_first.xml create mode 100644 res/layout/site_specific_security_info.xml create mode 100644 res/layout/swe_preference.xml create mode 100644 res/layout/swe_preference_button.xml create mode 100644 res/layout/swe_preference_custom_actionbar.xml create mode 100644 res/layout/swe_preference_list_widget.xml create mode 100644 res/layout/swe_preference_storage_widget.xml create mode 100644 res/layout/swe_preference_trashcan_widget.xml create mode 100644 res/xml/content_preferences.xml create mode 100644 res/xml/privacy_and_security_preferences.xml create mode 100644 res/xml/site_specific_preferences.xml (limited to 'res') diff --git a/res/drawable-xxhdpi/ic_action_trash_active.png b/res/drawable-xxhdpi/ic_action_trash_active.png new file mode 100644 index 00000000..bb949ef0 Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_trash_active.png differ diff --git a/res/drawable-xxhdpi/ic_action_trash_disabled.png b/res/drawable-xxhdpi/ic_action_trash_disabled.png new file mode 100644 index 00000000..08d10320 Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_trash_disabled.png differ diff --git a/res/drawable-xxhdpi/ic_action_trash_normal.png b/res/drawable-xxhdpi/ic_action_trash_normal.png index a06804b0..cfcc525b 100644 Binary files a/res/drawable-xxhdpi/ic_action_trash_normal.png and b/res/drawable-xxhdpi/ic_action_trash_normal.png differ diff --git a/res/drawable-xxhdpi/ic_fav_overlay_good.png b/res/drawable-xxhdpi/ic_fav_overlay_good.png new file mode 100644 index 00000000..e5211a92 Binary files /dev/null and b/res/drawable-xxhdpi/ic_fav_overlay_good.png differ diff --git a/res/drawable-xxhdpi/ic_fav_overlay_normal.png b/res/drawable-xxhdpi/ic_fav_overlay_normal.png new file mode 100644 index 00000000..acab304b Binary files /dev/null and b/res/drawable-xxhdpi/ic_fav_overlay_normal.png differ diff --git a/res/drawable-xxhdpi/ic_fav_overlay_severe.png b/res/drawable-xxhdpi/ic_fav_overlay_severe.png new file mode 100644 index 00000000..4be624a5 Binary files /dev/null and b/res/drawable-xxhdpi/ic_fav_overlay_severe.png differ diff --git a/res/drawable-xxhdpi/ic_fav_overlay_warning.png b/res/drawable-xxhdpi/ic_fav_overlay_warning.png new file mode 100644 index 00000000..d3d52550 Binary files /dev/null and b/res/drawable-xxhdpi/ic_fav_overlay_warning.png differ diff --git a/res/drawable-xxhdpi/ic_sp_camera.png b/res/drawable-xxhdpi/ic_sp_camera.png new file mode 100644 index 00000000..4542530d Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_camera.png differ diff --git a/res/drawable-xxhdpi/ic_sp_cookies.png b/res/drawable-xxhdpi/ic_sp_cookies.png new file mode 100644 index 00000000..9ec2d0c0 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_cookies.png differ diff --git a/res/drawable-xxhdpi/ic_sp_level_good.png b/res/drawable-xxhdpi/ic_sp_level_good.png new file mode 100644 index 00000000..b6040998 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_level_good.png differ diff --git a/res/drawable-xxhdpi/ic_sp_level_severe.png b/res/drawable-xxhdpi/ic_sp_level_severe.png new file mode 100644 index 00000000..699b0f3d Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_level_severe.png differ diff --git a/res/drawable-xxhdpi/ic_sp_level_warning.png b/res/drawable-xxhdpi/ic_sp_level_warning.png new file mode 100644 index 00000000..5351e245 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_level_warning.png differ diff --git a/res/drawable-xxhdpi/ic_sp_location.png b/res/drawable-xxhdpi/ic_sp_location.png new file mode 100644 index 00000000..5ef0b873 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_location.png differ diff --git a/res/drawable-xxhdpi/ic_sp_microphone.png b/res/drawable-xxhdpi/ic_sp_microphone.png new file mode 100644 index 00000000..5c0ac083 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_microphone.png differ diff --git a/res/drawable-xxhdpi/ic_sp_multi_choice.png b/res/drawable-xxhdpi/ic_sp_multi_choice.png new file mode 100644 index 00000000..3525b380 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_multi_choice.png differ diff --git a/res/drawable-xxhdpi/ic_sp_popups.png b/res/drawable-xxhdpi/ic_sp_popups.png new file mode 100644 index 00000000..ad835032 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_popups.png differ diff --git a/res/drawable-xxhdpi/ic_sp_revert.png b/res/drawable-xxhdpi/ic_sp_revert.png new file mode 100644 index 00000000..7e20c342 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_revert.png differ diff --git a/res/drawable-xxhdpi/ic_sp_secwarnings.png b/res/drawable-xxhdpi/ic_sp_secwarnings.png new file mode 100644 index 00000000..6295586b Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_secwarnings.png differ diff --git a/res/drawable-xxhdpi/ic_sp_storage.png b/res/drawable-xxhdpi/ic_sp_storage.png new file mode 100644 index 00000000..e0b821b8 Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_storage.png differ diff --git a/res/drawable-xxhdpi/ic_sp_thirdcookies.png b/res/drawable-xxhdpi/ic_sp_thirdcookies.png new file mode 100644 index 00000000..833c00ee Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_thirdcookies.png differ diff --git a/res/drawable-xxhdpi/ic_sp_webrefiner.png b/res/drawable-xxhdpi/ic_sp_webrefiner.png new file mode 100644 index 00000000..f9ad396c Binary files /dev/null and b/res/drawable-xxhdpi/ic_sp_webrefiner.png differ diff --git a/res/drawable-xxhdpi/img_deco_dropshadow.png b/res/drawable-xxhdpi/img_deco_dropshadow.png new file mode 100644 index 00000000..1168599e Binary files /dev/null and b/res/drawable-xxhdpi/img_deco_dropshadow.png differ diff --git a/res/drawable-xxhdpi/img_deco_intrapanel.png b/res/drawable-xxhdpi/img_deco_intrapanel.png new file mode 100644 index 00000000..211dbf2e Binary files /dev/null and b/res/drawable-xxhdpi/img_deco_intrapanel.png differ diff --git a/res/drawable/ic_action_trash.xml b/res/drawable/ic_action_trash.xml new file mode 100644 index 00000000..061b3396 --- /dev/null +++ b/res/drawable/ic_action_trash.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + diff --git a/res/layout-v17/swe_preference_category.xml b/res/layout-v17/swe_preference_category.xml new file mode 100644 index 00000000..865e0a61 --- /dev/null +++ b/res/layout-v17/swe_preference_category.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout-v17/swe_preference_category_first.xml b/res/layout-v17/swe_preference_category_first.xml new file mode 100644 index 00000000..fa71affe --- /dev/null +++ b/res/layout-v17/swe_preference_category_first.xml @@ -0,0 +1,50 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/layout-v21/swe_preference_category.xml b/res/layout-v21/swe_preference_category.xml new file mode 100644 index 00000000..6ab34e2e --- /dev/null +++ b/res/layout-v21/swe_preference_category.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout-v21/swe_preference_category_first.xml b/res/layout-v21/swe_preference_category_first.xml new file mode 100644 index 00000000..39cc118f --- /dev/null +++ b/res/layout-v21/swe_preference_category_first.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/site_specific_security_info.xml b/res/layout/site_specific_security_info.xml new file mode 100644 index 00000000..31560df4 --- /dev/null +++ b/res/layout/site_specific_security_info.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/swe_preference.xml b/res/layout/swe_preference.xml new file mode 100644 index 00000000..41356ce1 --- /dev/null +++ b/res/layout/swe_preference.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/swe_preference_button.xml b/res/layout/swe_preference_button.xml new file mode 100644 index 00000000..41ad8868 --- /dev/null +++ b/res/layout/swe_preference_button.xml @@ -0,0 +1,34 @@ + + +