Convert "storage" icons to circles instead of squares
https://hsv.googleplex.com/4823036908797952
Flag: NONE not needed
Bug: 355462390
Change-Id: If65e39267a126cb611f77cd21365d5084d233870
diff --git a/Settings/res-twopanel/drawable/storage_indicator_apps.xml b/Settings/res-twopanel/drawable/storage_indicator_apps.xml
new file mode 100644
index 0000000..1a48e60
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_apps.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_apps_usage" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_available.xml b/Settings/res-twopanel/drawable/storage_indicator_available.xml
new file mode 100644
index 0000000..1ea04f2
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_available.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_avail" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_cache.xml b/Settings/res-twopanel/drawable/storage_indicator_cache.xml
new file mode 100644
index 0000000..fe64eb8
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_cache.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_cache" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_dcim.xml b/Settings/res-twopanel/drawable/storage_indicator_dcim.xml
new file mode 100644
index 0000000..56d7d8d
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_dcim.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_dcim" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_downloads.xml b/Settings/res-twopanel/drawable/storage_indicator_downloads.xml
new file mode 100644
index 0000000..83474f7
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_downloads.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_downloads" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_misc.xml b/Settings/res-twopanel/drawable/storage_indicator_misc.xml
new file mode 100644
index 0000000..1c467d8
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_misc.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_misc" />
+
+</shape>
diff --git a/Settings/res-twopanel/drawable/storage_indicator_music.xml b/Settings/res-twopanel/drawable/storage_indicator_music.xml
new file mode 100644
index 0000000..0bdf864
--- /dev/null
+++ b/Settings/res-twopanel/drawable/storage_indicator_music.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <size
+ android:height="@dimen/device_storage_usage_indicator_diameter_two_panel"
+ android:width="@dimen/device_storage_usage_indicator_diameter_two_panel" />
+
+ <solid android:color="@color/storage_music" />
+
+</shape>
diff --git a/Settings/res/values/dimens.xml b/Settings/res/values/dimens.xml
index de7dcba..cf044c0 100644
--- a/Settings/res/values/dimens.xml
+++ b/Settings/res/values/dimens.xml
@@ -30,6 +30,7 @@
<dimen name="text_size_description">24sp</dimen>
<dimen name="device_storage_usage_indicator_width">32dip</dimen>
<dimen name="device_storage_usage_indicator_height">32dip</dimen>
+ <dimen name="device_storage_usage_indicator_diameter_two_panel">36dp</dimen>
<dimen name="add_accessory_padding_start">50dp</dimen>
<dimen name="bt_secure_pair_hint_start_margin">5dp</dimen>
<dimen name="bt_secure_pair_hint_top_margin">3dp</dimen>