diff options
author | Joe Onorato <joeo@android.com> | 2009-07-30 13:37:37 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-07-30 13:37:37 -0700 |
commit | a5902524d4403885eb4c50360bf3465c6be796ef (patch) | |
tree | 230ccdd3b32e39d7691ead6f5e3654af66283273 | |
parent | fca7c88f9dba895d9f6cf52c6f0e656445063e3e (diff) | |
download | packages_apps_trebuchet-a5902524d4403885eb4c50360bf3465c6be796ef.zip packages_apps_trebuchet-a5902524d4403885eb4c50360bf3465c6be796ef.tar.gz packages_apps_trebuchet-a5902524d4403885eb4c50360bf3465c6be796ef.tar.bz2 |
Launcher2 compiles.
60 files changed, 94 insertions, 93 deletions
@@ -17,13 +17,13 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := user +#LOCAL_MODULE_TAGS := user LOCAL_SRC_FILES := $(call all-subdir-java-files) -LOCAL_PACKAGE_NAME := Launcher +LOCAL_PACKAGE_NAME := Launcher2 LOCAL_CERTIFICATE := shared -LOCAL_OVERRIDES_PACKAGES := Home +#LOCAL_OVERRIDES_PACKAGES := Home include $(BUILD_PACKAGE) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4e60e66..c0d03bc 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -19,10 +19,11 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.android.launcher" + package="com.android.launcher2" android:sharedUserId="android.uid.shared" android:sharedUserLabel="@string/uid_name"> + <!-- Turned off until there is only one launcher <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" @@ -47,6 +48,7 @@ android:protectionLevel="normal" android:label="@string/permlab_write_settings" android:description="@string/permdesc_write_settings"/> + --> <uses-permission android:name="android.permission.CALL_PHONE" /> <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> @@ -76,9 +78,8 @@ android:windowSoftInputMode="stateUnspecified|adjustPan"> <intent-filter> <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.HOME"/> <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.MONKEY" /> + <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> @@ -118,7 +119,7 @@ <!-- The settings provider contains Home's data, like the workspace favorites --> <provider android:name="LauncherProvider" - android:authorities="com.android.launcher.settings" + android:authorities="com.android.launcher2.settings" android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> diff --git a/res/layout-land/application.xml b/res/layout-land/application.xml index 52a1a37..6de5658 100644 --- a/res/layout-land/application.xml +++ b/res/layout-land/application.xml @@ -14,5 +14,5 @@ limitations under the License. --> -<com.android.launcher.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-land/folder_icon.xml b/res/layout-land/folder_icon.xml index ce4aade..c76a756 100644 --- a/res/layout-land/folder_icon.xml +++ b/res/layout-land/folder_icon.xml @@ -14,5 +14,5 @@ limitations under the License. --> -<com.android.launcher.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 8214863..3af51ec 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -14,16 +14,16 @@ limitations under the License. --> -<com.android.launcher.DragLayer +<com.android.launcher2.DragLayer xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" android:id="@+id/drag_layer" android:layout_width="fill_parent" android:layout_height="fill_parent"> <!-- The workspace contains 3 screens of cells --> - <com.android.launcher.Workspace + <com.android.launcher2.Workspace android:id="@+id/workspace" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -34,7 +34,7 @@ <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> - </com.android.launcher.Workspace> + </com.android.launcher2.Workspace> <SlidingDrawer android:id="@+id/drawer" @@ -46,7 +46,7 @@ android:handle="@+id/all_apps" android:content="@+id/content"> - <com.android.launcher.HandleView + <com.android.launcher2.HandleView android:id="@id/all_apps" android:layout_width="56dip" android:layout_height="fill_parent" @@ -61,7 +61,7 @@ launcher:direction="vertical" /> - <com.android.launcher.AllAppsGridView + <com.android.launcher2.AllAppsGridView android:id="@id/content" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -82,7 +82,7 @@ </SlidingDrawer> - <com.android.launcher.DeleteZone + <com.android.launcher2.DeleteZone android:id="@+id/delete_zone" android:layout_width="49dip" android:layout_height="wrap_content" @@ -97,4 +97,4 @@ launcher:direction="vertical" /> -</com.android.launcher.DragLayer> +</com.android.launcher2.DragLayer> diff --git a/res/layout-land/live_folder_grid.xml b/res/layout-land/live_folder_grid.xml index bb623b0..8905cf3 100644 --- a/res/layout-land/live_folder_grid.xml +++ b/res/layout-land/live_folder_grid.xml @@ -17,7 +17,7 @@ */ --> -<com.android.launcher.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <Button @@ -47,4 +47,4 @@ android:verticalSpacing="10dip" android:numColumns="5" /> -</com.android.launcher.LiveFolder> +</com.android.launcher2.LiveFolder> diff --git a/res/layout-land/live_folder_icon.xml b/res/layout-land/live_folder_icon.xml index 7b6d58d..64c2d44 100644 --- a/res/layout-land/live_folder_icon.xml +++ b/res/layout-land/live_folder_icon.xml @@ -17,5 +17,5 @@ */ --> -<com.android.launcher.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-land/user_folder.xml b/res/layout-land/user_folder.xml index fbf337b..b27c94b 100644 --- a/res/layout-land/user_folder.xml +++ b/res/layout-land/user_folder.xml @@ -14,7 +14,7 @@ limitations under the License. --> -<com.android.launcher.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <Button @@ -44,4 +44,4 @@ android:verticalSpacing="10dip" android:numColumns="5" /> -</com.android.launcher.UserFolder> +</com.android.launcher2.UserFolder> diff --git a/res/layout-land/workspace_screen.xml b/res/layout-land/workspace_screen.xml index 62e59b9..5207d7b 100644 --- a/res/layout-land/workspace_screen.xml +++ b/res/layout-land/workspace_screen.xml @@ -14,9 +14,9 @@ limitations under the License. --> -<com.android.launcher.CellLayout +<com.android.launcher2.CellLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" android:layout_width="fill_parent" android:layout_height="fill_parent" diff --git a/res/layout-port/application.xml b/res/layout-port/application.xml index b984258..f904a66 100644 --- a/res/layout-port/application.xml +++ b/res/layout-port/application.xml @@ -14,5 +14,5 @@ limitations under the License. --> -<com.android.launcher.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Portrait" /> diff --git a/res/layout-port/folder_icon.xml b/res/layout-port/folder_icon.xml index 1d50370..49049cf 100644 --- a/res/layout-port/folder_icon.xml +++ b/res/layout-port/folder_icon.xml @@ -14,5 +14,5 @@ limitations under the License. --> -<com.android.launcher.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Portrait" /> diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 7dcacd6..6ed605b 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -14,16 +14,16 @@ limitations under the License. --> -<com.android.launcher.DragLayer +<com.android.launcher2.DragLayer xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" android:id="@+id/drag_layer" android:layout_width="fill_parent" android:layout_height="fill_parent"> <!-- The workspace contains 3 screens of cells --> - <com.android.launcher.Workspace + <com.android.launcher2.Workspace android:id="@+id/workspace" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -34,7 +34,7 @@ <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> - </com.android.launcher.Workspace> + </com.android.launcher2.Workspace> <SlidingDrawer android:id="@+id/drawer" @@ -46,7 +46,7 @@ android:handle="@+id/all_apps" android:content="@+id/content"> - <com.android.launcher.HandleView + <com.android.launcher2.HandleView android:id="@id/all_apps" android:layout_width="fill_parent" android:layout_height="56dip" @@ -61,7 +61,7 @@ launcher:direction="horizontal" /> - <com.android.launcher.AllAppsGridView + <com.android.launcher2.AllAppsGridView android:id="@id/content" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -82,7 +82,7 @@ </SlidingDrawer> - <com.android.launcher.DeleteZone + <com.android.launcher2.DeleteZone android:id="@+id/delete_zone" android:layout_width="wrap_content" android:layout_height="49dip" @@ -96,4 +96,4 @@ launcher:direction="horizontal" /> -</com.android.launcher.DragLayer> +</com.android.launcher2.DragLayer> diff --git a/res/layout-port/live_folder_grid.xml b/res/layout-port/live_folder_grid.xml index e5bcafe..1f82216 100644 --- a/res/layout-port/live_folder_grid.xml +++ b/res/layout-port/live_folder_grid.xml @@ -17,7 +17,7 @@ */ --> -<com.android.launcher.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <Button @@ -47,4 +47,4 @@ android:verticalSpacing="10dip" android:numColumns="4" /> -</com.android.launcher.LiveFolder> +</com.android.launcher2.LiveFolder> diff --git a/res/layout-port/live_folder_icon.xml b/res/layout-port/live_folder_icon.xml index dc711f3..e3cd49e 100644 --- a/res/layout-port/live_folder_icon.xml +++ b/res/layout-port/live_folder_icon.xml @@ -17,5 +17,5 @@ */ --> -<com.android.launcher.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android" style="@style/WorkspaceIcon.Portrait" /> diff --git a/res/layout-port/user_folder.xml b/res/layout-port/user_folder.xml index 27d70fc..3d0dfb7 100644 --- a/res/layout-port/user_folder.xml +++ b/res/layout-port/user_folder.xml @@ -14,7 +14,7 @@ limitations under the License. --> -<com.android.launcher.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <Button @@ -44,4 +44,4 @@ android:verticalSpacing="10dip" android:numColumns="4" /> -</com.android.launcher.UserFolder> +</com.android.launcher2.UserFolder> diff --git a/res/layout-port/workspace_screen.xml b/res/layout-port/workspace_screen.xml index c6d419b..6bbf6e9 100644 --- a/res/layout-port/workspace_screen.xml +++ b/res/layout-port/workspace_screen.xml @@ -14,9 +14,9 @@ limitations under the License. --> -<com.android.launcher.CellLayout +<com.android.launcher2.CellLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" android:layout_width="fill_parent" android:layout_height="fill_parent" diff --git a/res/layout/application_list.xml b/res/layout/application_list.xml index 230a951..39639ba 100644 --- a/res/layout/application_list.xml +++ b/res/layout/application_list.xml @@ -67,4 +67,4 @@ </LinearLayout> -</LinearLayout>
\ No newline at end of file +</LinearLayout> diff --git a/res/layout/live_folder_list.xml b/res/layout/live_folder_list.xml index f96a190..00f191e 100644 --- a/res/layout/live_folder_list.xml +++ b/res/layout/live_folder_list.xml @@ -17,7 +17,7 @@ */ --> -<com.android.launcher.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.launcher2.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <Button @@ -39,4 +39,4 @@ android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" /> -</com.android.launcher.LiveFolder> +</com.android.launcher2.LiveFolder> diff --git a/res/layout/widget_search.xml b/res/layout/widget_search.xml index a83e675..3aee913 100644 --- a/res/layout/widget_search.xml +++ b/res/layout/widget_search.xml @@ -14,9 +14,9 @@ limitations under the License. --> -<com.android.launcher.Search +<com.android.launcher2.Search xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" android:id="@+id/widget_search" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -58,4 +58,4 @@ </LinearLayout> -</com.android.launcher.Search> +</com.android.launcher2.Search> diff --git a/res/values/strings.xml b/res/values/strings.xml index 2796171..f971f7c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -21,7 +21,7 @@ <!-- General --> <skip /> <!-- Application name --> - <string name="application_name">Home</string> + <string name="application_name">Launcher2</string> <!-- Name for all applications running as this uid. --> <string name="uid_name">Android Core Apps</string> <!-- Default folder name --> diff --git a/res/xml/default_workspace.xml b/res/xml/default_workspace.xml index 60bfe82..da983d0 100644 --- a/res/xml/default_workspace.xml +++ b/res/xml/default_workspace.xml @@ -14,7 +14,7 @@ limitations under the License. --> -<favorites xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"> +<favorites xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2"> <search launcher:screen="1" diff --git a/src/com/android/launcher2/AddAdapter.java b/src/com/android/launcher2/AddAdapter.java index a6c889e..0c63fa5 100644 --- a/src/com/android/launcher2/AddAdapter.java +++ b/src/com/android/launcher2/AddAdapter.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.res.Resources; diff --git a/src/com/android/launcher2/AllAppsGridView.java b/src/com/android/launcher2/AllAppsGridView.java index b8f7902..7e1b54e 100644 --- a/src/com/android/launcher2/AllAppsGridView.java +++ b/src/com/android/launcher2/AllAppsGridView.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.widget.GridView; import android.widget.AdapterView; diff --git a/src/com/android/launcher2/ApplicationInfo.java b/src/com/android/launcher2/ApplicationInfo.java index cee9f3b..912f04e 100644 --- a/src/com/android/launcher2/ApplicationInfo.java +++ b/src/com/android/launcher2/ApplicationInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.ComponentName; import android.content.ContentValues; diff --git a/src/com/android/launcher2/ApplicationsAdapter.java b/src/com/android/launcher2/ApplicationsAdapter.java index 97891b2..98f7c63 100644 --- a/src/com/android/launcher2/ApplicationsAdapter.java +++ b/src/com/android/launcher2/ApplicationsAdapter.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.view.LayoutInflater; diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java index 3782454..c357cb2 100644 --- a/src/com/android/launcher2/BubbleTextView.java +++ b/src/com/android/launcher2/BubbleTextView.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.widget.TextView; import android.content.Context; diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 73dbb3e..2f09403 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.res.TypedArray; diff --git a/src/com/android/launcher2/DeleteZone.java b/src/com/android/launcher2/DeleteZone.java index 02e8011..f726625 100644 --- a/src/com/android/launcher2/DeleteZone.java +++ b/src/com/android/launcher2/DeleteZone.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.widget.ImageView; import android.content.Context; diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java index 29cf15a..f8c8077 100644 --- a/src/com/android/launcher2/DragController.java +++ b/src/com/android/launcher2/DragController.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.view.View; diff --git a/src/com/android/launcher2/DragLayer.java b/src/com/android/launcher2/DragLayer.java index 070c938..3439de0 100644 --- a/src/com/android/launcher2/DragLayer.java +++ b/src/com/android/launcher2/DragLayer.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.graphics.Bitmap; diff --git a/src/com/android/launcher2/DragScroller.java b/src/com/android/launcher2/DragScroller.java index 2c18a79..c3c251c 100644 --- a/src/com/android/launcher2/DragScroller.java +++ b/src/com/android/launcher2/DragScroller.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; /** * Handles scrolling while dragging diff --git a/src/com/android/launcher2/DragSource.java b/src/com/android/launcher2/DragSource.java index 0ac25bb..3c0a09d 100644 --- a/src/com/android/launcher2/DragSource.java +++ b/src/com/android/launcher2/DragSource.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.view.View; diff --git a/src/com/android/launcher2/DropTarget.java b/src/com/android/launcher2/DropTarget.java index 4835323..e092e50 100644 --- a/src/com/android/launcher2/DropTarget.java +++ b/src/com/android/launcher2/DropTarget.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.graphics.Rect; diff --git a/src/com/android/launcher2/FastBitmapDrawable.java b/src/com/android/launcher2/FastBitmapDrawable.java index 170f1ad..db2c01c 100644 --- a/src/com/android/launcher2/FastBitmapDrawable.java +++ b/src/com/android/launcher2/FastBitmapDrawable.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.graphics.drawable.Drawable; import android.graphics.PixelFormat; diff --git a/src/com/android/launcher2/Folder.java b/src/com/android/launcher2/Folder.java index fb4e8d6..6281ebf 100644 --- a/src/com/android/launcher2/Folder.java +++ b/src/com/android/launcher2/Folder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.util.AttributeSet; diff --git a/src/com/android/launcher2/FolderIcon.java b/src/com/android/launcher2/FolderIcon.java index a56101d..1531538 100644 --- a/src/com/android/launcher2/FolderIcon.java +++ b/src/com/android/launcher2/FolderIcon.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.res.Resources; diff --git a/src/com/android/launcher2/FolderInfo.java b/src/com/android/launcher2/FolderInfo.java index a58675b..8732690 100644 --- a/src/com/android/launcher2/FolderInfo.java +++ b/src/com/android/launcher2/FolderInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; /** diff --git a/src/com/android/launcher2/HandleView.java b/src/com/android/launcher2/HandleView.java index 9afe41c..5af5c81 100644 --- a/src/com/android/launcher2/HandleView.java +++ b/src/com/android/launcher2/HandleView.java @@ -15,7 +15,7 @@ */ -package com.android.launcher; +package com.android.launcher2; import android.widget.ImageView; import android.content.Context; diff --git a/src/com/android/launcher2/InstallShortcutReceiver.java b/src/com/android/launcher2/InstallShortcutReceiver.java index 7c727a8..45ff24e 100644 --- a/src/com/android/launcher2/InstallShortcutReceiver.java +++ b/src/com/android/launcher2/InstallShortcutReceiver.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.BroadcastReceiver; import android.content.Context; diff --git a/src/com/android/launcher2/ItemInfo.java b/src/com/android/launcher2/ItemInfo.java index 71cee18..b371163 100644 --- a/src/com/android/launcher2/ItemInfo.java +++ b/src/com/android/launcher2/ItemInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import java.io.ByteArrayOutputStream; import java.io.IOException; diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index f1af0b1..db6e939 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.app.Activity; import android.app.AlertDialog; @@ -1658,7 +1658,7 @@ public final class Launcher extends Activity implements View.OnClickListener, On if (folderInfo instanceof UserFolderInfo) { openFolder = UserFolder.fromXml(this); } else if (folderInfo instanceof LiveFolderInfo) { - openFolder = com.android.launcher.LiveFolder.fromXml(this, folderInfo); + openFolder = com.android.launcher2.LiveFolder.fromXml(this, folderInfo); } else { return; } diff --git a/src/com/android/launcher2/LauncherAppWidgetHost.java b/src/com/android/launcher2/LauncherAppWidgetHost.java index 22fd5b6..a5761ec 100644 --- a/src/com/android/launcher2/LauncherAppWidgetHost.java +++ b/src/com/android/launcher2/LauncherAppWidgetHost.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.appwidget.AppWidgetHost; import android.appwidget.AppWidgetHostView; diff --git a/src/com/android/launcher2/LauncherAppWidgetHostView.java b/src/com/android/launcher2/LauncherAppWidgetHostView.java index da5b3a0..d8fe499 100644 --- a/src/com/android/launcher2/LauncherAppWidgetHostView.java +++ b/src/com/android/launcher2/LauncherAppWidgetHostView.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.appwidget.AppWidgetHostView; import android.content.Context; diff --git a/src/com/android/launcher2/LauncherAppWidgetInfo.java b/src/com/android/launcher2/LauncherAppWidgetInfo.java index 3b5f08e..cd46434 100644 --- a/src/com/android/launcher2/LauncherAppWidgetInfo.java +++ b/src/com/android/launcher2/LauncherAppWidgetInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.appwidget.AppWidgetHostView; import android.content.ContentValues; diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java index d71fa19..03fe562 100644 --- a/src/com/android/launcher2/LauncherApplication.java +++ b/src/com/android/launcher2/LauncherApplication.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.app.Application; import dalvik.system.VMRuntime; diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java index 591463b..7676b84 100644 --- a/src/com/android/launcher2/LauncherModel.java +++ b/src/com/android/launcher2/LauncherModel.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.ComponentName; import android.content.ContentResolver; diff --git a/src/com/android/launcher2/LauncherProvider.java b/src/com/android/launcher2/LauncherProvider.java index fc38cdd..dff72a2 100644 --- a/src/com/android/launcher2/LauncherProvider.java +++ b/src/com/android/launcher2/LauncherProvider.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.appwidget.AppWidgetHost; import android.content.ContentProvider; @@ -47,7 +47,7 @@ import java.util.ArrayList; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParser; import com.android.internal.util.XmlUtils; -import com.android.launcher.LauncherSettings.Favorites; +import com.android.launcher2.LauncherSettings.Favorites; public class LauncherProvider extends ContentProvider { private static final String LOG_TAG = "LauncherProvider"; @@ -57,10 +57,10 @@ public class LauncherProvider extends ContentProvider { private static final int DATABASE_VERSION = 4; - static final String AUTHORITY = "com.android.launcher.settings"; + static final String AUTHORITY = "com.android.launcher2.settings"; - static final String EXTRA_BIND_SOURCES = "com.android.launcher.settings.bindsources"; - static final String EXTRA_BIND_TARGETS = "com.android.launcher.settings.bindtargets"; + static final String EXTRA_BIND_SOURCES = "com.android.launcher2.settings.bindsources"; + static final String EXTRA_BIND_TARGETS = "com.android.launcher2.settings.bindtargets"; static final String TABLE_FAVORITES = "favorites"; static final String TABLE_GESTURES = "gestures"; diff --git a/src/com/android/launcher2/LauncherSettings.java b/src/com/android/launcher2/LauncherSettings.java index 8cc2559..a930acd 100644 --- a/src/com/android/launcher2/LauncherSettings.java +++ b/src/com/android/launcher2/LauncherSettings.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.provider.BaseColumns; import android.net.Uri; diff --git a/src/com/android/launcher2/LiveFolder.java b/src/com/android/launcher2/LiveFolder.java index 44a283e..ecd9bdf 100644 --- a/src/com/android/launcher2/LiveFolder.java +++ b/src/com/android/launcher2/LiveFolder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.Intent; diff --git a/src/com/android/launcher2/LiveFolderAdapter.java b/src/com/android/launcher2/LiveFolderAdapter.java index c405041..b0e9eff 100644 --- a/src/com/android/launcher2/LiveFolderAdapter.java +++ b/src/com/android/launcher2/LiveFolderAdapter.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.widget.CursorAdapter; import android.widget.TextView; diff --git a/src/com/android/launcher2/LiveFolderIcon.java b/src/com/android/launcher2/LiveFolderIcon.java index 14a4ee6..4e19041 100644 --- a/src/com/android/launcher2/LiveFolderIcon.java +++ b/src/com/android/launcher2/LiveFolderIcon.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.res.Resources; diff --git a/src/com/android/launcher2/LiveFolderInfo.java b/src/com/android/launcher2/LiveFolderInfo.java index ec865a4..5b1217c 100644 --- a/src/com/android/launcher2/LiveFolderInfo.java +++ b/src/com/android/launcher2/LiveFolderInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.ContentValues; import android.content.Intent; diff --git a/src/com/android/launcher2/Search.java b/src/com/android/launcher2/Search.java index 8a7c352..203754e 100644 --- a/src/com/android/launcher2/Search.java +++ b/src/com/android/launcher2/Search.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.app.SearchManager; import android.content.ActivityNotFoundException; diff --git a/src/com/android/launcher2/UninstallShortcutReceiver.java b/src/com/android/launcher2/UninstallShortcutReceiver.java index 9fd6298..e65c6a0 100644 --- a/src/com/android/launcher2/UninstallShortcutReceiver.java +++ b/src/com/android/launcher2/UninstallShortcutReceiver.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.BroadcastReceiver; import android.content.Context; diff --git a/src/com/android/launcher2/UserFolder.java b/src/com/android/launcher2/UserFolder.java index 6cdfed9..a5e9058 100644 --- a/src/com/android/launcher2/UserFolder.java +++ b/src/com/android/launcher2/UserFolder.java @@ -1,4 +1,4 @@ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.graphics.Rect; diff --git a/src/com/android/launcher2/UserFolderInfo.java b/src/com/android/launcher2/UserFolderInfo.java index 639894e..40ec9e1 100644 --- a/src/com/android/launcher2/UserFolderInfo.java +++ b/src/com/android/launcher2/UserFolderInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.ContentValues; diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java index 4a22cba..dc61be3 100644 --- a/src/com/android/launcher2/Utilities.java +++ b/src/com/android/launcher2/Utilities.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; diff --git a/src/com/android/launcher2/WallpaperChooser.java b/src/com/android/launcher2/WallpaperChooser.java index 70396d0..02e85ee 100644 --- a/src/com/android/launcher2/WallpaperChooser.java +++ b/src/com/android/launcher2/WallpaperChooser.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.app.Activity; import android.app.IWallpaperService; diff --git a/src/com/android/launcher2/Widget.java b/src/com/android/launcher2/Widget.java index 4f246cc..348acee 100644 --- a/src/com/android/launcher2/Widget.java +++ b/src/com/android/launcher2/Widget.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.ContentValues; import android.graphics.Bitmap; diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index f5dc633..df3f25b 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.launcher; +package com.android.launcher2; import android.content.Context; import android.content.Intent; |