summaryrefslogtreecommitdiffstats
path: root/ui/res
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-08-06 10:09:40 -0700
committerJeff Sharkey <jsharkey@android.com>2014-08-06 10:09:40 -0700
commit35b0a916ca7fd9a3c0cbfec6eab4fe87c0f4ac13 (patch)
tree9abdd23d2d727559dea7428bb11e857aac64bccb /ui/res
parent2e16979a9133ef83f6e513eaa4b84de40350a2dd (diff)
downloadandroid_packages_providers_DownloadProvider-35b0a916ca7fd9a3c0cbfec6eab4fe87c0f4ac13.tar.gz
android_packages_providers_DownloadProvider-35b0a916ca7fd9a3c0cbfec6eab4fe87c0f4ac13.tar.bz2
android_packages_providers_DownloadProvider-35b0a916ca7fd9a3c0cbfec6eab4fe87c0f4ac13.zip
Remove unused Downloads code/resources.
Change-Id: Ie9be11140fd8f235eae6455bc4ecf8a938488d04
Diffstat (limited to 'ui/res')
-rw-r--r--ui/res/anim/footer_appear.xml25
-rw-r--r--ui/res/anim/footer_disappear.xml25
-rw-r--r--ui/res/drawable-hdpi/ic_download_misc_file_type.pngbin2405 -> 0 bytes
-rw-r--r--ui/res/drawable-hdpi/ic_launcher_drm_file.pngbin4501 -> 0 bytes
-rw-r--r--ui/res/drawable-hdpi/ic_menu_desk_clock.pngbin2171 -> 0 bytes
-rw-r--r--ui/res/drawable-mdpi/ic_download_misc_file_type.pngbin1624 -> 0 bytes
-rw-r--r--ui/res/drawable-mdpi/ic_launcher_drm_file.pngbin2738 -> 0 bytes
-rw-r--r--ui/res/layout/download_list.xml71
-rw-r--r--ui/res/layout/download_list_item.xml85
-rw-r--r--ui/res/layout/list_group_header.xml23
-rw-r--r--ui/res/menu/download_menu.xml27
-rw-r--r--ui/res/values/dimen.xml19
12 files changed, 0 insertions, 275 deletions
diff --git a/ui/res/anim/footer_appear.xml b/ui/res/anim/footer_appear.xml
deleted file mode 100644
index aacfd035..00000000
--- a/ui/res/anim/footer_appear.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-** Copyright 2010, Google Inc.
-**
-** 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.
-*/
--->
-
-<set xmlns:android="http://schemas.android.com/apk/res/android" >
- <translate
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromYDelta="+12%p"
- android:toYDelta="0"
- android:duration="300" />
-</set>
diff --git a/ui/res/anim/footer_disappear.xml b/ui/res/anim/footer_disappear.xml
deleted file mode 100644
index d87be6ab..00000000
--- a/ui/res/anim/footer_disappear.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-** Copyright 2010, Google Inc.
-**
-** 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.
-*/
--->
-
-<set xmlns:android="http://schemas.android.com/apk/res/android" >
- <translate
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromYDelta="0"
- android:toYDelta="+12%p"
- android:duration="300" />
-</set>
diff --git a/ui/res/drawable-hdpi/ic_download_misc_file_type.png b/ui/res/drawable-hdpi/ic_download_misc_file_type.png
deleted file mode 100644
index dab3b6e1..00000000
--- a/ui/res/drawable-hdpi/ic_download_misc_file_type.png
+++ /dev/null
Binary files differ
diff --git a/ui/res/drawable-hdpi/ic_launcher_drm_file.png b/ui/res/drawable-hdpi/ic_launcher_drm_file.png
deleted file mode 100644
index 9df1c556..00000000
--- a/ui/res/drawable-hdpi/ic_launcher_drm_file.png
+++ /dev/null
Binary files differ
diff --git a/ui/res/drawable-hdpi/ic_menu_desk_clock.png b/ui/res/drawable-hdpi/ic_menu_desk_clock.png
deleted file mode 100644
index 4101434e..00000000
--- a/ui/res/drawable-hdpi/ic_menu_desk_clock.png
+++ /dev/null
Binary files differ
diff --git a/ui/res/drawable-mdpi/ic_download_misc_file_type.png b/ui/res/drawable-mdpi/ic_download_misc_file_type.png
deleted file mode 100644
index ceed70cf..00000000
--- a/ui/res/drawable-mdpi/ic_download_misc_file_type.png
+++ /dev/null
Binary files differ
diff --git a/ui/res/drawable-mdpi/ic_launcher_drm_file.png b/ui/res/drawable-mdpi/ic_launcher_drm_file.png
deleted file mode 100644
index 57378b23..00000000
--- a/ui/res/drawable-mdpi/ic_launcher_drm_file.png
+++ /dev/null
Binary files differ
diff --git a/ui/res/layout/download_list.xml b/ui/res/layout/download_list.xml
deleted file mode 100644
index a0ff5ff2..00000000
--- a/ui/res/layout/download_list.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2010, 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"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:divider="?android:attr/dividerHorizontal"
- android:showDividers="middle"
- android:dividerPadding="16dip">
-
- <!-- The main area showing the list of downloads -->
- <FrameLayout android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1">
-
- <ExpandableListView android:id="@+id/date_ordered_list"
- android:paddingStart="16dip"
- android:paddingEnd="16dip"
- android:paddingBottom="16dip"
- android:clipToPadding="false"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbarStyle="outsideOverlay" />
- <ListView android:id="@+id/size_ordered_list"
- android:paddingStart="16dip"
- android:paddingEnd="16dip"
- android:paddingBottom="16dip"
- android:clipToPadding="false"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbarStyle="outsideOverlay" />
- <TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/empty"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/no_downloads"
- android:gravity="center"
- android:textStyle="bold"/>
- </FrameLayout>
-
- <!-- The selection menu that pops up from the bottom of the screen -->
- <LinearLayout android:id="@+id/sort_menu"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- style="?android:attr/buttonBarStyle">
-
- <Button android:id="@+id/sort_button"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="match_parent"/>
- </LinearLayout>
-</LinearLayout>
diff --git a/ui/res/layout/download_list_item.xml b/ui/res/layout/download_list_item.xml
deleted file mode 100644
index 2435ba7f..00000000
--- a/ui/res/layout/download_list_item.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2010, 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.
-*/
--->
-
-<com.android.providers.downloads.ui.DownloadItem
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="?android:attr/listPreferredItemHeight"
- android:paddingStart="?android:attr/listPreferredItemPaddingStart"
- android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
- android:paddingTop="8dip"
- android:paddingBottom="8dip"
- android:columnCount="4"
- android:descendantFocusability="blocksDescendants">
-
- <!-- Clicks are handled directly by DownloadItem -->
- <CheckBox
- android:id="@+id/download_checkbox"
- android:layout_rowSpan="3"
- android:layout_gravity="center_vertical"
- android:clickable="false" />
-
- <ImageView
- android:id="@+id/download_icon"
- android:layout_width="@android:dimen/app_icon_size"
- android:layout_height="@android:dimen/app_icon_size"
- android:layout_rowSpan="3"
- android:layout_marginEnd="8dip"
- android:layout_gravity="center_vertical"
- android:scaleType="centerInside"
- android:contentDescription="@null" />
-
- <TextView
- android:id="@+id/download_title"
- android:layout_width="0dip"
- android:layout_columnSpan="2"
- android:layout_gravity="fill_horizontal"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:textStyle="bold"
- android:textAppearance="?android:attr/textAppearance"
- android:textAlignment="viewStart" />
-
- <TextView
- android:id="@+id/domain"
- android:layout_width="0dip"
- android:layout_columnSpan="2"
- android:layout_gravity="fill_horizontal"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textAlignment="viewStart" />
-
- <TextView
- android:id="@+id/size_text"
- android:layout_width="0dip"
- android:layout_gravity="fill_horizontal"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textAlignment="viewStart" />
-
- <TextView
- android:id="@+id/status_text"
- android:layout_marginStart="8dip"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textAlignment="viewStart" />
-
-</com.android.providers.downloads.ui.DownloadItem>
diff --git a/ui/res/layout/list_group_header.xml b/ui/res/layout/list_group_header.xml
deleted file mode 100644
index 466cd6c6..00000000
--- a/ui/res/layout/list_group_header.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2010 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.
--->
-
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@android:id/text1"
- android:layout_width="match_parent"
- android:layout_height="?android:attr/listPreferredItemHeight"
- android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:gravity="center_vertical" />
diff --git a/ui/res/menu/download_menu.xml b/ui/res/menu/download_menu.xml
deleted file mode 100644
index a33dd52b..00000000
--- a/ui/res/menu/download_menu.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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.
--->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:id="@+id/share_download"
- android:icon="@android:drawable/ic_menu_share"
- android:title="@string/download_share_dialog"
- android:showAsAction="always" />
-
- <item android:id="@+id/delete_download"
- android:icon="@android:drawable/ic_menu_delete"
- android:title="@string/delete_download"
- android:showAsAction="always" />
-</menu>
diff --git a/ui/res/values/dimen.xml b/ui/res/values/dimen.xml
deleted file mode 100644
index 7519b878..00000000
--- a/ui/res/values/dimen.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2010 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.
--->
-
-<resources>
- <dimen name="checkmark_area">48dip</dimen>
-</resources>