diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-27 18:10:23 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-08-27 18:10:23 -0700 |
commit | fbfa2cc609782726047b28262bcd53a1ae8f07ef (patch) | |
tree | 556f360c9f1463b7e22040894bc9abed350d9777 | |
parent | d5058a534e1ec5cdf15682a604832c18f572299c (diff) | |
download | packages_apps_Trebuchet-fbfa2cc609782726047b28262bcd53a1ae8f07ef.tar.gz packages_apps_Trebuchet-fbfa2cc609782726047b28262bcd53a1ae8f07ef.tar.bz2 packages_apps_Trebuchet-fbfa2cc609782726047b28262bcd53a1ae8f07ef.zip |
Removing unused cling resources.
Change-Id: I97ff14f436f75a6345f719ef19146b02087e2221
76 files changed, 0 insertions, 191 deletions
diff --git a/res/drawable-hdpi/bg_cling1.png b/res/drawable-hdpi/bg_cling1.png Binary files differdeleted file mode 100644 index 0e1553299..000000000 --- a/res/drawable-hdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-hdpi/bg_cling2.png b/res/drawable-hdpi/bg_cling2.png Binary files differdeleted file mode 100644 index e65d9a21c..000000000 --- a/res/drawable-hdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-hdpi/bg_cling3.png b/res/drawable-hdpi/bg_cling3.png Binary files differdeleted file mode 100644 index ea71fbdb3..000000000 --- a/res/drawable-hdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-hdpi/bg_cling4.png b/res/drawable-hdpi/bg_cling4.png Binary files differdeleted file mode 100644 index 94036677e..000000000 --- a/res/drawable-hdpi/bg_cling4.png +++ /dev/null diff --git a/res/drawable-hdpi/cling.9.png b/res/drawable-hdpi/cling.9.png Binary files differdeleted file mode 100644 index 36fbfc8b6..000000000 --- a/res/drawable-hdpi/cling.9.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_arrow_down.png b/res/drawable-hdpi/cling_arrow_down.png Binary files differdeleted file mode 100644 index 4f521eadc..000000000 --- a/res/drawable-hdpi/cling_arrow_down.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_arrow_left.png b/res/drawable-hdpi/cling_arrow_left.png Binary files differdeleted file mode 100644 index 13764c9e2..000000000 --- a/res/drawable-hdpi/cling_arrow_left.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_arrow_right.png b/res/drawable-hdpi/cling_arrow_right.png Binary files differdeleted file mode 100644 index be522441d..000000000 --- a/res/drawable-hdpi/cling_arrow_right.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_arrow_up.png b/res/drawable-hdpi/cling_arrow_up.png Binary files differdeleted file mode 100644 index 83b5b3783..000000000 --- a/res/drawable-hdpi/cling_arrow_up.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_button.9.png b/res/drawable-hdpi/cling_button.9.png Binary files differdeleted file mode 100644 index e30838241..000000000 --- a/res/drawable-hdpi/cling_button.9.png +++ /dev/null diff --git a/res/drawable-hdpi/cling_button_pressed.9.png b/res/drawable-hdpi/cling_button_pressed.9.png Binary files differdeleted file mode 100644 index 4f9ca6f7a..000000000 --- a/res/drawable-hdpi/cling_button_pressed.9.png +++ /dev/null diff --git a/res/drawable-land-hdpi/bg_cling1.png b/res/drawable-land-hdpi/bg_cling1.png Binary files differdeleted file mode 100644 index 7123c5ca7..000000000 --- a/res/drawable-land-hdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-land-hdpi/bg_cling2.png b/res/drawable-land-hdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 889b6274e..000000000 --- a/res/drawable-land-hdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-land-hdpi/bg_cling3.png b/res/drawable-land-hdpi/bg_cling3.png Binary files differdeleted file mode 100644 index 4ff338c13..000000000 --- a/res/drawable-land-hdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-land-mdpi/bg_cling1.png b/res/drawable-land-mdpi/bg_cling1.png Binary files differdeleted file mode 100644 index f5faeb439..000000000 --- a/res/drawable-land-mdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-land-mdpi/bg_cling2.png b/res/drawable-land-mdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 963967d30..000000000 --- a/res/drawable-land-mdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-land-mdpi/bg_cling3.png b/res/drawable-land-mdpi/bg_cling3.png Binary files differdeleted file mode 100644 index 921831af9..000000000 --- a/res/drawable-land-mdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-land-xhdpi/bg_cling1.png b/res/drawable-land-xhdpi/bg_cling1.png Binary files differdeleted file mode 100644 index 2282117ca..000000000 --- a/res/drawable-land-xhdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-land-xhdpi/bg_cling2.png b/res/drawable-land-xhdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 5243889be..000000000 --- a/res/drawable-land-xhdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-land-xhdpi/bg_cling3.png b/res/drawable-land-xhdpi/bg_cling3.png Binary files differdeleted file mode 100644 index 08475f732..000000000 --- a/res/drawable-land-xhdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-land-xxhdpi/bg_cling1.png b/res/drawable-land-xxhdpi/bg_cling1.png Binary files differdeleted file mode 100644 index 78943f01c..000000000 --- a/res/drawable-land-xxhdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-land-xxhdpi/bg_cling2.png b/res/drawable-land-xxhdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 98b65682b..000000000 --- a/res/drawable-land-xxhdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-land-xxhdpi/bg_cling3.png b/res/drawable-land-xxhdpi/bg_cling3.png Binary files differdeleted file mode 100644 index e249fe598..000000000 --- a/res/drawable-land-xxhdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-mdpi/bg_cling1.png b/res/drawable-mdpi/bg_cling1.png Binary files differdeleted file mode 100644 index f284412a7..000000000 --- a/res/drawable-mdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-mdpi/bg_cling2.png b/res/drawable-mdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 0052dc29d..000000000 --- a/res/drawable-mdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-mdpi/bg_cling3.png b/res/drawable-mdpi/bg_cling3.png Binary files differdeleted file mode 100644 index fabdf7a0d..000000000 --- a/res/drawable-mdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-mdpi/bg_cling4.png b/res/drawable-mdpi/bg_cling4.png Binary files differdeleted file mode 100644 index 2f152f4db..000000000 --- a/res/drawable-mdpi/bg_cling4.png +++ /dev/null diff --git a/res/drawable-mdpi/bg_cling5.png b/res/drawable-mdpi/bg_cling5.png Binary files differdeleted file mode 100644 index e094809b4..000000000 --- a/res/drawable-mdpi/bg_cling5.png +++ /dev/null diff --git a/res/drawable-mdpi/cling.9.png b/res/drawable-mdpi/cling.9.png Binary files differdeleted file mode 100644 index 4c0f139ee..000000000 --- a/res/drawable-mdpi/cling.9.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_arrow_down.png b/res/drawable-mdpi/cling_arrow_down.png Binary files differdeleted file mode 100644 index 58e66fbb2..000000000 --- a/res/drawable-mdpi/cling_arrow_down.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_arrow_left.png b/res/drawable-mdpi/cling_arrow_left.png Binary files differdeleted file mode 100644 index 023c71705..000000000 --- a/res/drawable-mdpi/cling_arrow_left.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_arrow_right.png b/res/drawable-mdpi/cling_arrow_right.png Binary files differdeleted file mode 100644 index cf0eb1047..000000000 --- a/res/drawable-mdpi/cling_arrow_right.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_arrow_up.png b/res/drawable-mdpi/cling_arrow_up.png Binary files differdeleted file mode 100644 index 9b0e6b7ae..000000000 --- a/res/drawable-mdpi/cling_arrow_up.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_button.9.png b/res/drawable-mdpi/cling_button.9.png Binary files differdeleted file mode 100644 index a0b6f9735..000000000 --- a/res/drawable-mdpi/cling_button.9.png +++ /dev/null diff --git a/res/drawable-mdpi/cling_button_pressed.9.png b/res/drawable-mdpi/cling_button_pressed.9.png Binary files differdeleted file mode 100644 index 986e66944..000000000 --- a/res/drawable-mdpi/cling_button_pressed.9.png +++ /dev/null diff --git a/res/drawable-xhdpi/bg_cling1.png b/res/drawable-xhdpi/bg_cling1.png Binary files differdeleted file mode 100644 index b71351a32..000000000 --- a/res/drawable-xhdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-xhdpi/bg_cling2.png b/res/drawable-xhdpi/bg_cling2.png Binary files differdeleted file mode 100644 index ad78dfeb0..000000000 --- a/res/drawable-xhdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-xhdpi/bg_cling3.png b/res/drawable-xhdpi/bg_cling3.png Binary files differdeleted file mode 100644 index ae04195c4..000000000 --- a/res/drawable-xhdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-xhdpi/bg_cling4.png b/res/drawable-xhdpi/bg_cling4.png Binary files differdeleted file mode 100644 index f4bb83e39..000000000 --- a/res/drawable-xhdpi/bg_cling4.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling.9.png b/res/drawable-xhdpi/cling.9.png Binary files differdeleted file mode 100644 index 1cb468159..000000000 --- a/res/drawable-xhdpi/cling.9.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_arrow_down.png b/res/drawable-xhdpi/cling_arrow_down.png Binary files differdeleted file mode 100644 index ee1093340..000000000 --- a/res/drawable-xhdpi/cling_arrow_down.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_arrow_left.png b/res/drawable-xhdpi/cling_arrow_left.png Binary files differdeleted file mode 100644 index cffbcf3ce..000000000 --- a/res/drawable-xhdpi/cling_arrow_left.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_arrow_right.png b/res/drawable-xhdpi/cling_arrow_right.png Binary files differdeleted file mode 100644 index d880d67f0..000000000 --- a/res/drawable-xhdpi/cling_arrow_right.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_arrow_up.png b/res/drawable-xhdpi/cling_arrow_up.png Binary files differdeleted file mode 100644 index fd2c60c31..000000000 --- a/res/drawable-xhdpi/cling_arrow_up.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_button.9.png b/res/drawable-xhdpi/cling_button.9.png Binary files differdeleted file mode 100644 index 4192563b5..000000000 --- a/res/drawable-xhdpi/cling_button.9.png +++ /dev/null diff --git a/res/drawable-xhdpi/cling_button_pressed.9.png b/res/drawable-xhdpi/cling_button_pressed.9.png Binary files differdeleted file mode 100644 index d3ce46977..000000000 --- a/res/drawable-xhdpi/cling_button_pressed.9.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling1.png b/res/drawable-xxhdpi/bg_cling1.png Binary files differdeleted file mode 100644 index 077785600..000000000 --- a/res/drawable-xxhdpi/bg_cling1.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling2.png b/res/drawable-xxhdpi/bg_cling2.png Binary files differdeleted file mode 100644 index 1797a1b6c..000000000 --- a/res/drawable-xxhdpi/bg_cling2.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling3.png b/res/drawable-xxhdpi/bg_cling3.png Binary files differdeleted file mode 100644 index a87be630e..000000000 --- a/res/drawable-xxhdpi/bg_cling3.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling4.png b/res/drawable-xxhdpi/bg_cling4.png Binary files differdeleted file mode 100644 index cabe919d5..000000000 --- a/res/drawable-xxhdpi/bg_cling4.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling_home.png b/res/drawable-xxhdpi/bg_cling_home.png Binary files differdeleted file mode 100644 index 1ae93e7fe..000000000 --- a/res/drawable-xxhdpi/bg_cling_home.png +++ /dev/null diff --git a/res/drawable-xxhdpi/bg_cling_nakasi3.png b/res/drawable-xxhdpi/bg_cling_nakasi3.png Binary files differdeleted file mode 100644 index f47236cac..000000000 --- a/res/drawable-xxhdpi/bg_cling_nakasi3.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling.9.png b/res/drawable-xxhdpi/cling.9.png Binary files differdeleted file mode 100644 index 7beae03bf..000000000 --- a/res/drawable-xxhdpi/cling.9.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_arrow_down.png b/res/drawable-xxhdpi/cling_arrow_down.png Binary files differdeleted file mode 100644 index 48c4f06fa..000000000 --- a/res/drawable-xxhdpi/cling_arrow_down.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_arrow_left.png b/res/drawable-xxhdpi/cling_arrow_left.png Binary files differdeleted file mode 100644 index 8760d05da..000000000 --- a/res/drawable-xxhdpi/cling_arrow_left.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_arrow_right.png b/res/drawable-xxhdpi/cling_arrow_right.png Binary files differdeleted file mode 100644 index 356ba178c..000000000 --- a/res/drawable-xxhdpi/cling_arrow_right.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_arrow_up.png b/res/drawable-xxhdpi/cling_arrow_up.png Binary files differdeleted file mode 100644 index 4cb805f45..000000000 --- a/res/drawable-xxhdpi/cling_arrow_up.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_button.9.png b/res/drawable-xxhdpi/cling_button.9.png Binary files differdeleted file mode 100644 index e41287613..000000000 --- a/res/drawable-xxhdpi/cling_button.9.png +++ /dev/null diff --git a/res/drawable-xxhdpi/cling_button_pressed.9.png b/res/drawable-xxhdpi/cling_button_pressed.9.png Binary files differdeleted file mode 100644 index 55e89da08..000000000 --- a/res/drawable-xxhdpi/cling_button_pressed.9.png +++ /dev/null diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index c812373d3..8cd867366 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -57,15 +57,6 @@ android:id="@+id/overview_panel" android:visibility="gone" /> - <!-- The Workspace cling must appear under the AppsCustomizePagedView below to ensure - that it is still visible during the transition to AllApps and doesn't overlay on - top of that view. --> - <com.android.launcher3.ScrimView - android:id="@+id/cling_scrim" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" /> - <include layout="@layout/apps_customize_pane" android:id="@+id/apps_customize_pane" android:layout_width="match_parent" diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 3b9b803e4..9e98d4257 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -65,15 +65,6 @@ android:id="@+id/search_drop_target_bar" layout="@layout/search_drop_target_bar" /> - <!-- The Workspace cling must appear under the AppsCustomizePagedView below to ensure - that it is still visible during the transition to AllApps and doesn't overlay on - top of that view. --> - <com.android.launcher3.ScrimView - android:id="@+id/cling_scrim" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" /> - <!-- This is the search bar voice button proxy view. It allows us to have a larger touch target than the microphone constrained by the search bar bounds. --> <com.android.launcher3.DrawableStateProxyView diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 463a64fc6..62615411f 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -66,15 +66,6 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" /> - <!-- The Workspace cling must appear under the AppsCustomizePagedView below to ensure - that it is still visible during the transition to AllApps and doesn't overlay on - top of that view. --> - <com.android.launcher3.ScrimView - android:id="@+id/cling_scrim" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" /> - <com.android.launcher3.DrawableStateProxyView android:id="@+id/voice_button_proxy" android:layout_width="0dp" diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index c2d399e29..bf5f71b90 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -49,8 +49,6 @@ android:layout_height="match_parent" launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" - launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" - launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" launcher:maxGap="@dimen/workspace_max_gap" launcher:pageIndicator="@+id/apps_customize_page_indicator" /> </FrameLayout> diff --git a/res/values-en-sw340dp/dimens.xml b/res/values-en-sw340dp/dimens.xml deleted file mode 100644 index 96d5304a7..000000000 --- a/res/values-en-sw340dp/dimens.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 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> -<!-- Cling --> - <dimen name="cling_title_text_size">22sp</dimen> - <dimen name="cling_text_size">16sp</dimen> - <dimen name="cling_alt_title_text_size">30sp</dimen> - <dimen name="cling_alt_text_size">16sp</dimen> - <dimen name="cling_hint_text_size">18sp</dimen> -</resources> diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 07d92798d..1b3418154 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -23,6 +23,4 @@ <dimen name="apps_customize_tab_bar_height">42dp</dimen> <integer name="apps_customize_widget_cell_count_x">3</integer> <integer name="apps_customize_widget_cell_count_y">2</integer> - <integer name="apps_customize_cling_focused_x">2</integer> - <integer name="apps_customize_cling_focused_y">1</integer> </resources> diff --git a/res/values-port/dimens.xml b/res/values-port/dimens.xml index 7753ab318..c20f57b2b 100644 --- a/res/values-port/dimens.xml +++ b/res/values-port/dimens.xml @@ -16,9 +16,6 @@ <resources> <!-- AppsCustomize --> - <integer name="apps_customize_cling_focused_x">1</integer> - <integer name="apps_customize_cling_focused_y">1</integer> - <integer name="apps_customize_widget_cell_count_x">2</integer> <integer name="apps_customize_widget_cell_count_y">3</integer> </resources> diff --git a/res/values-sw340dp-land/dimens.xml b/res/values-sw340dp-land/dimens.xml deleted file mode 100644 index 7901dc47d..000000000 --- a/res/values-sw340dp-land/dimens.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 201 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> -<!-- Clings --> - <dimen name="folderClingMarginTop">50dp</dimen> -</resources> diff --git a/res/values-sw340dp-port/dimens.xml b/res/values-sw340dp-port/dimens.xml deleted file mode 100644 index e36056570..000000000 --- a/res/values-sw340dp-port/dimens.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 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> -<!-- Clings --> - <dimen name="folderClingMarginTop">70dp</dimen> -</resources> diff --git a/res/values-sw600dp/config.xml b/res/values-sw600dp/config.xml index 2ec2f146c..15d5725d1 100644 --- a/res/values-sw600dp/config.xml +++ b/res/values-sw600dp/config.xml @@ -2,9 +2,6 @@ <bool name="is_tablet">true</bool> <bool name="allow_rotation">true</bool> - <!-- Whether or not to use custom clings if a custom workspace layout is passed in --> - <bool name="config_useCustomClings">true</bool> - <!-- DragController --> <integer name="config_flingToDeleteMinVelocity">-1000</integer> diff --git a/res/values-sw720dp-land/dimens.xml b/res/values-sw720dp-land/dimens.xml index 433a5d40d..ca13db05b 100644 --- a/res/values-sw720dp-land/dimens.xml +++ b/res/values-sw720dp-land/dimens.xml @@ -18,15 +18,8 @@ <!-- AppsCustomize --> <integer name="apps_customize_widget_cell_count_x">4</integer> <integer name="apps_customize_widget_cell_count_y">2</integer> - <integer name="apps_customize_cling_focused_x">4</integer> - <integer name="apps_customize_cling_focused_y">2</integer> <!-- the area at the edge of the screen that makes the workspace go left or right while you're dragging. --> <dimen name="scroll_zone">100dip</dimen> - -<!-- Cling --> - <!-- The offset for the text in the cling --> - <dimen name="cling_text_block_offset_x">140dp</dimen> - <dimen name="cling_text_block_offset_y">80dp</dimen> </resources> diff --git a/res/values-sw720dp-port/dimens.xml b/res/values-sw720dp-port/dimens.xml index 9fe312bfe..6f594d518 100644 --- a/res/values-sw720dp-port/dimens.xml +++ b/res/values-sw720dp-port/dimens.xml @@ -19,12 +19,4 @@ <!-- the area at the edge of the screen that makes the workspace go left or right while you're dragging. --> <dimen name="scroll_zone">40dp</dimen> - - <integer name="apps_customize_cling_focused_x">2</integer> - <integer name="apps_customize_cling_focused_y">2</integer> - -<!-- Cling --> - <!-- The offset for the text in the cling --> - <dimen name="cling_text_block_offset_x">80dp</dimen> - <dimen name="cling_text_block_offset_y">160dp</dimen> </resources> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index c9743995a..65f8f22a6 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -114,10 +114,6 @@ <attr name="widgetCountX" format="integer" /> <!-- Number of widgets vertically --> <attr name="widgetCountY" format="integer" /> - <!-- The x index of the item to be focused in the cling --> - <attr name="clingFocusedX" format="integer" /> - <!-- The y index of the item to be focused in the cling --> - <attr name="clingFocusedY" format="integer" /> </declare-styleable> <!-- XML attributes used by default_workspace.xml --> @@ -147,10 +143,4 @@ <attr name="ringOutset" format="dimension" /> <attr name="indicatorSize" format="dimension" /> </declare-styleable> - - <!-- Only used in the device overlays --> - <declare-styleable name="CustomClingTitleText"> - </declare-styleable> - <declare-styleable name="CustomClingText"> - </declare-styleable> </resources> diff --git a/res/values/config.xml b/res/values/config.xml index 19ae44cc0..96bd13bbb 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -93,9 +93,6 @@ <!-- Camera distance for the overscroll effect --> <integer name="config_cameraDistance">8000</integer> - <!-- Whether or not to use custom clings if a custom workspace layout is passed in --> - <bool name="config_useCustomClings">false</bool> - <!-- Hotseat --> <bool name="hotseat_transpose_layout_with_orientation">true</bool> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 4fd8faba2..befaf375a 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -34,22 +34,6 @@ <dimen name="cling_migration_bg_size">400dp</dimen> <dimen name="cling_migration_bg_shift">-200dp</dimen> - <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen> - <dimen name="folderClingMarginTop">20dp</dimen> - <!-- The offset for the text in the cling --> - <dimen name="cling_text_block_offset_x">0dp</dimen> - <dimen name="cling_text_block_offset_y">0dp</dimen> - <!-- entries for custom clings, will be set in overlays --> - <add-resource type="dimen" name="custom_cling_margin_top" /> - <add-resource type="dimen" name="custom_cling_margin_right" /> - <add-resource type="dimen" name="custom_cling_margin_left" /> - - <dimen name="cling_title_text_size">20sp</dimen> - <dimen name="cling_text_size">14sp</dimen> - <dimen name="cling_alt_title_text_size">24sp</dimen> - <dimen name="cling_alt_text_size">16sp</dimen> - <dimen name="cling_hint_text_size">14sp</dimen> - <!-- Workspace --> <dimen name="workspace_max_gap">16dp</dimen> <dimen name="workspace_overscroll_drawable_padding">0dp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 77ebc12d9..82b9819b5 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -127,10 +127,6 @@ </style> <!-- Overridden in device overlays --> - <style name="CustomClingTitleText"> - </style> - <style name="CustomClingText"> - </style> <style name="PagedViewWidgetImageView"> <item name="android:paddingLeft">@dimen/app_widget_preview_padding_left</item> </style> diff --git a/src/com/android/launcher3/ScrimView.java b/src/com/android/launcher3/ScrimView.java deleted file mode 100644 index 68200fe64..000000000 --- a/src/com/android/launcher3/ScrimView.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2011 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. - */ - -package com.android.launcher3; - -import android.content.Context; -import android.graphics.Rect; -import android.util.AttributeSet; -import android.widget.FrameLayout; - -public class ScrimView extends FrameLayout implements Insettable { - - public ScrimView(Context context) { - this(context, null, 0); - } - - public ScrimView(Context context, AttributeSet attrs) { - this(context, attrs, 0); - } - - public ScrimView(Context context, AttributeSet attrs, int defStyle) { - super(context, attrs, defStyle); - } - - @Override - public void setInsets(Rect insets) { - // Do nothing - } -} |