summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaahh Ahh <woohoomoo2u@gmail.com>2015-11-06 00:32:25 (GMT)
committercretin45 <cretin45@gmail.com>2015-11-24 23:19:46 (GMT)
commita104ad5c41084312a4b28eb93557acc947fda52c (patch)
tree47b3e56152ef8b43aee2873fe834913fd499457a
parentdbb6e3ba22a126c93d938a1e90765cd87295eaed (diff)
downloadandroid_packages_apps_Trebuchet-a104ad5c41084312a4b28eb93557acc947fda52c.zip
android_packages_apps_Trebuchet-a104ad5c41084312a4b28eb93557acc947fda52c.tar.gz
android_packages_apps_Trebuchet-a104ad5c41084312a4b28eb93557acc947fda52c.tar.bz2
Trebuchet: Update default workspace
Change-Id: I429953c42c1706b5a616f7725706dcc208617822
-rw-r--r--res/xml/ct_default_workspace_4x4.xml174
-rw-r--r--res/xml/default_workspace_4x4.xml6
-rw-r--r--res/xml/default_workspace_5x5.xml8
-rw-r--r--res/xml/default_workspace_5x6.xml6
-rw-r--r--res/xml/update_workspace.xml49
5 files changed, 233 insertions, 10 deletions
diff --git a/res/xml/ct_default_workspace_4x4.xml b/res/xml/ct_default_workspace_4x4.xml
new file mode 100644
index 0000000..8efb149
--- /dev/null
+++ b/res/xml/ct_default_workspace_4x4.xml
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
+ Not a Contribution.
+
+ 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.
+-->
+
+<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
+ <!-- Far-left screen [0] -->
+ <!-- Left screen [1] -->
+ <!-- Middle screen [2] -->
+ <favorite
+ launcher:packageName="com.android.deskclock"
+ launcher:className="com.android.deskclock.DeskClock"
+ launcher:screen="2"
+ launcher:x="0"
+ launcher:y="3"
+ />
+ <favorite
+ launcher:packageName="com.android.calendar"
+ launcher:className="com.android.calendar.AllInOneActivity"
+ launcher:screen="2"
+ launcher:x="3"
+ launcher:y="3" />
+
+ <!-- Right screen [3] -->
+ <favorite
+ launcher:packageName="com.chinatelecom.bestpayclient"
+ launcher:className="com.chinatelecom.bestpayclient.BufferActivity"
+ launcher:screen="3"
+ launcher:x="0"
+ launcher:y="0"
+ />
+ <favorite
+ launcher:packageName="com.gwsoft.imusic.controller"
+ launcher:className="com.gwsoft.imusic.controller.IMusicActivity"
+ launcher:screen="3"
+ launcher:x="1"
+ launcher:y="0"
+ />
+ <favorite
+ launcher:packageName="com.telecom.video"
+ launcher:className="com.telecom.video.ui.activity.LoadingActivity"
+ launcher:screen="3"
+ launcher:x="2"
+ launcher:y="0"
+ />
+ <favorite
+ launcher:packageName="com.eshore.ezone"
+ launcher:className="com.eshore.ezone.StartActivity"
+ launcher:screen="3"
+ launcher:x="3"
+ launcher:y="0"
+ />
+ <favorite
+ launcher:packageName="com.pdager"
+ launcher:className="com.pdager.enavi.Act.APIMain"
+ launcher:screen="3"
+ launcher:x="0"
+ launcher:y="1"
+ />
+ <favorite
+ launcher:packageName="com.erdo.android.FJDXCartoon"
+ launcher:className="com.erdo.android.FJDXCartoon.Activity_Start"
+ launcher:screen="3"
+ launcher:x="1"
+ launcher:y="1"
+ />
+ <favorite
+ launcher:packageName="com.corp21cn.mail189"
+ launcher:className="com.corp21cn.mailapp.activity.ClientIntroducePage"
+ launcher:screen="3"
+ launcher:x="2"
+ launcher:y="1"
+ />
+ <favorite
+ launcher:packageName="com.lectek.android.sfreader"
+ launcher:className="com.lectek.android.sfreader.ui.SplashActivity"
+ launcher:screen="3"
+ launcher:x="3"
+ launcher:y="1"
+ />
+ <favorite
+ launcher:packageName="com.pica.elive"
+ launcher:className="com.pica.elive.SplashActivity"
+ launcher:screen="3"
+ launcher:x="0"
+ launcher:y="2"
+ />
+ <favorite
+ launcher:packageName="com.lectek.android.ecp"
+ launcher:className="com.lectek.android.ecp.ui.LoginActivity"
+ launcher:screen="3"
+ launcher:x="1"
+ launcher:y="2"
+ />
+ <favorite
+ launcher:packageName="com.chinatelecom.pim"
+ launcher:className="com.chinatelecom.pim.activity.PimLauncherActivity"
+ launcher:screen="3"
+ launcher:x="2"
+ launcher:y="2"
+ />
+ <favorite
+ launcher:packageName="com.besttone.hall"
+ launcher:className="com.besttone.hall.StartAppActivity"
+ launcher:screen="3"
+ launcher:x="3"
+ launcher:y="2" />
+ <favorite
+ launcher:packageName="com.ideal.mobile.jt"
+ launcher:className="com.gift.android.Mains"
+ launcher:screen="3"
+ launcher:x="0"
+ launcher:y="3"
+ />
+ <favorite
+ launcher:packageName="com.egame"
+ launcher:className="com.egame.app.FlashScreenActivity"
+ launcher:screen="3"
+ launcher:x="1"
+ launcher:y="3"
+ />
+ <favorite
+ launcher:packageName="telecom.mdesk"
+ launcher:className="telecom.mdesk.Launcher"
+ launcher:screen="3"
+ launcher:x="2"
+ launcher:y="3"
+ />
+ <!-- Far-right screen [4] -->
+
+ <!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
+ <favorite
+ launcher:packageName="com.android.messaging"
+ launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity"
+ launcher:container="-101"
+ launcher:screen="0"
+ launcher:x="0"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.dialer"
+ launcher:className="com.android.dialer.DialtactsActivity"
+ launcher:container="-101"
+ launcher:screen="1"
+ launcher:x="1"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.contacts"
+ launcher:className="com.android.contacts.activities.PeopleActivity"
+ launcher:container="-101"
+ launcher:screen="3"
+ launcher:x="3"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.browser"
+ launcher:className="com.android.browser.BrowserActivity"
+ launcher:container="-101"
+ launcher:screen="4"
+ launcher:x="4"
+ launcher:y="0" />
+</favorites>
diff --git a/res/xml/default_workspace_4x4.xml b/res/xml/default_workspace_4x4.xml
index 5970f12..638803b 100644
--- a/res/xml/default_workspace_4x4.xml
+++ b/res/xml/default_workspace_4x4.xml
@@ -25,7 +25,7 @@
launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider"
launcher:screen="1"
launcher:x="0"
- launcher:y="0"
+ launcher:y="1"
launcher:spanX="4"
launcher:spanY="2" />
@@ -176,8 +176,8 @@
launcher:x="1"
launcher:y="0" >
<favorite
- launcher:packageName="com.android.mms"
- launcher:className="com.android.mms.ui.ConversationList" />
+ launcher:packageName="com.android.messaging"
+ launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity" />
<favorite
launcher:packageName="com.android.email"
launcher:className="com.android.email.activity.Welcome" />
diff --git a/res/xml/default_workspace_5x5.xml b/res/xml/default_workspace_5x5.xml
index bb86006..31f6bbe 100644
--- a/res/xml/default_workspace_5x5.xml
+++ b/res/xml/default_workspace_5x5.xml
@@ -25,7 +25,7 @@
launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider"
launcher:screen="1"
launcher:x="0"
- launcher:y="0"
+ launcher:y="1"
launcher:spanX="5"
launcher:spanY="2" />
@@ -176,8 +176,8 @@
launcher:x="1"
launcher:y="0" >
<favorite
- launcher:packageName="com.android.mms"
- launcher:className="com.android.mms.ui.ConversationList" />
+ launcher:packageName="com.android.messaging"
+ launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity" />
<favorite
launcher:packageName="com.android.email"
launcher:className="com.android.email.activity.Welcome" />
@@ -212,4 +212,4 @@
launcher:className="com.android.camera.CameraLauncher" />
</resolve>
-</favorites> \ No newline at end of file
+</favorites>
diff --git a/res/xml/default_workspace_5x6.xml b/res/xml/default_workspace_5x6.xml
index 81a1ef7..7b49d0e 100644
--- a/res/xml/default_workspace_5x6.xml
+++ b/res/xml/default_workspace_5x6.xml
@@ -25,7 +25,7 @@
launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider"
launcher:screen="1"
launcher:x="0"
- launcher:y="0"
+ launcher:y="1"
launcher:spanX="6"
launcher:spanY="2" />
@@ -176,8 +176,8 @@
launcher:x="2"
launcher:y="0" >
<favorite
- launcher:packageName="com.android.mms"
- launcher:className="com.android.mms.ui.ConversationList" />
+ launcher:packageName="com.android.messaging"
+ launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity" />
<favorite
launcher:packageName="com.android.email"
launcher:className="com.android.email.activity.Welcome" />
diff --git a/res/xml/update_workspace.xml b/res/xml/update_workspace.xml
new file mode 100644
index 0000000..c3e6714
--- /dev/null
+++ b/res/xml/update_workspace.xml
@@ -0,0 +1,49 @@
+<?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.
+-->
+
+<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
+ <!-- Update the db with new hotseat items. Note that we reference the browser's original
+ package name. -->
+ <!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
+ <favorite
+ launcher:packageName="com.android.dialer"
+ launcher:className="com.android.dialer.DialtactsActivity"
+ launcher:container="-101"
+ launcher:screen="0"
+ launcher:x="0"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.contacts"
+ launcher:className="com.android.contacts.activities.PeopleActivity"
+ launcher:container="-101"
+ launcher:screen="1"
+ launcher:x="1"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.messaging"
+ launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity"
+ launcher:container="-101"
+ launcher:screen="3"
+ launcher:x="3"
+ launcher:y="0" />
+ <favorite
+ launcher:packageName="com.android.browser"
+ launcher:className="com.android.browser.BrowserActivity"
+ launcher:container="-101"
+ launcher:screen="4"
+ launcher:x="4"
+ launcher:y="0" />
+</favorites>