Commit Graph

35 Commits

Author SHA1 Message Date
Winson Chung
2672ff937e Adding workaround to allow shortcuts to skip the launch animation. (Bug 6447372)
Change-Id: Ic6e985ea0e9c70044b47279dc9e8886f8fec0507
2012-05-06 17:04:26 -07:00
Winson Chung
b3302aee12 Sending broadcast for pre-configuring default workspace widgets.
Change-Id: I3c5598b9a2cec6cdcc96015645018b0a6e44a2fc
2012-05-01 10:59:59 -07:00
Michael Jurka
d452d4d76b Merge "Postpone loading default favorites" into jb-dev 2012-04-25 16:41:14 -07:00
Michael Jurka
8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Michael Jurka
b85f8a44b5 Postpone loading default favorites
- postpone until Launcher activity is created
- gives setup wizard time to set flags before
we load the default workspace
2012-04-25 16:14:16 -07:00
Daniel Lehmann
c3a8040428 Upgrade launcher shortcuts for new QuickContact behavior from shortcuts
Bug 6362611

Change-Id: Ic3a7da7f3ca9618bbd96a6d0da4bc179eff5a54b
2012-04-23 21:35:11 -07:00
Andrew Flynn
0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Winson Chung
6d09268cde Updating default workspace and fixing issue where new hotseat browser icon is not shown. (Bug 5478946, Bug 5623287)
Change-Id: I7ebac3a4bde868de2b5beacc95fc94302dc0d6ee
2011-11-16 18:43:26 -08:00
Michael Jurka
5130e401a0 Move haptic feedback on All Apps button to touch down
Bug #5453040

- Also fixing one case where db cursor wasn't closed
Bug #5453040

Change-Id: Id5e8f3c30690160900a6be2cd60c1062ff48ee54
2011-10-13 05:05:37 -07:00
Winson Chung
f30ad5f1bf Making hotseat a fiver.
Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
2011-08-08 14:05:51 -07:00
Adam Cohen
228da5a24e Some launcher bugs:
-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
   out of a folder to a full screen (issue 5052078)

Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
2011-07-27 23:27:22 -07:00
Winson Chung
3d503fbd94 Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00
Michael Jurka
a8c760d395 Improving LauncherModel performance
- no longer reloading DB on each configuration change
- adding/updating items in DB on background thread

Change-Id: Ie140f31608df84b0ca2d45eb7a210a8a3b36b52f
2011-07-08 14:06:14 -07:00
Romain Guy
509cd6a656 Correctly upgrade from MR3 to FroYo.
Bug #2530137

Change-Id: I9ab59fd53e17a1f51f60a8cb98dcb19a7957ffc6
2010-03-23 15:10:56 -07:00
Joe Onorato
9690b396d5 fix 2533780 database cursors/statements is not closed in LauncherProvider.java
Change-Id: Iaf8ca76a15b153a1154b106247f81a0213183bcb
2010-03-23 17:34:37 -04:00
Romain Guy
693599f27b Support old-package attribute for default workspace items.
Bug #2509293

Change-Id: I5e76465bceab6b733287f53f6afdcf3d522843fc
2010-03-23 10:58:18 -07:00
Romain Guy
edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Romain Guy
cf8790483d Rename Launcher2's package to com.android.launcher.
This should fix data migration issues.
2010-03-04 12:01:40 -08:00
Dianne Hackborn
094fc7ac6d Update to reflect android-common no longer in framework. 2010-02-24 20:01:46 -08:00
Bjorn Bringert
3a928e46bd Fix silent DB upgrade abort
normalizeIcons() was missing a call to setTransactionSuccessful(),
which made the entire DB upgrade silently rollback. So the
DB version was stuck at 6 after an upgrade from Eclair to Froyo.
The only visible effect in the default config was that the search
widget disappeared.

Fixes http://b/issue?id=2451146

Change-Id: I257964e5958286e9819bb5e7b108a261cfabf9b3
2010-02-19 11:15:40 +00:00
Joe Onorato
346e129456 Fix a crash on launcher db upgrade. 2010-02-18 10:34:24 -05:00
Jeff Hamilton
eaf77d6c3d Fix some broken SQL that causes a crash at boot.
Change-Id: I74e7f95b87eb427ad2c44d4197111ed18630e042
2010-02-13 00:08:17 -06:00
Joe Onorato
0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Bjorn Bringert
cd8fec0281 Don't hardcode component name for search widget
Note that this does not convert any widgets what were bound when
a different global search app was installed. Thus Froyo -> Froyo
upgrades without userdata wipe will see "Problem loading widget".
Workaround: Remove the search widget and add a new one.

Change-Id: I2bcd211c10bbaba66f5f3f82b6785396d957aa25
2010-01-14 15:12:04 +00:00
Tom Taylor
9e97dc97b4 am 0663d1d9: am fd1e757f: Update imports to android-common
Merge commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0'

* commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0':
  Update imports to android-common
2009-12-21 17:24:40 -08:00
Tom Taylor
fd1e757ff2 Update imports to android-common
Several files were moved to android-common. Update all the references
to import those files from the new location.
2009-12-21 14:00:50 -08:00
Bjorn Bringert
93c45765cc Remove obsolete doc references to LauncherAppWidgetBinder
Change-Id: I8b9c2d8145d56b891f26dabebead35275d81b6ba
2009-12-16 13:23:45 +00:00
Bjorn Bringert
3425134204 Bind converted widgets directly.
Before, Launcher2 sent an intent to
com.android.settings/com.android.settings.LauncherAppWidgetBinder
to bind any converted appwidgets. That doesn't seem to work anymore,
and is not how non-converted widgets are bound. Changing to
binding the widgets directly fixes a problem where the search
widget was not bound after an upgrade from Eclair to Master.

The search widget conversion problem was introduced in
Change I85d64defe155c0cad97fafef6a3db62c6cab504a
where I got rid of the built-in search widget.

This patch may break conversion of legacy built-in
clock and photo widgets, but I believe that was already broken
because of the non-functional widget binding mechanism.

Bug: http://b/2322160
2009-12-15 13:33:11 +00:00
Bjorn Bringert
7984c9496b Get rid of the built-in search widget in Launcher2
Uses the widget from packages/apps/QuickSearchBox instead.

Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
2009-12-09 21:48:38 +00:00
Romain Guy
7eb9e5e925 Upgrade Home db to upgrade contacts shortcut to the quick contact action
Change-Id: Icb5606e340a6eafc06ffd1be4bbe3d4f988376d1
2009-12-02 20:10:07 -08:00
Joe Onorato
a30ce8e6b2 Bug 2231692 - Turn off launcher2 logging. 2009-11-11 09:24:37 -08:00
Mike Cleron
3a2b3f2be5 If 3 screens are good 5 will be better 2009-11-05 17:17:50 -08:00
Mike Cleron
b87bd16c8e More capabilities for default home configuration
Added support for adding appwidgets beyond clock and search to the
intital configuration. Also pulled in a previous change in Launcher that
allowed http shortcuts. New syntax looks like this in
default_workspace.xml:

     <appwidget
        launcher:packageName="com.android.settings"
        launcher:className="com.android.settings.widget.SettingsAppWidgetProvider"
        launcher:screen="0"
        launcher:x="0"
        launcher:y="2"
        launcher:spanX="4"
        launcher:spanY="1" />

    <shortcut
        launcher:packageName="com.android.settings"
        launcher:icon="@drawable/ic_launcher_appwidget"
        launcher:title="@string/group_folder"
        launcher:uri="http://www.nytimes.com"
        launcher:screen="2"
        launcher:x="2"
        launcher:y="2" />
2009-10-30 16:36:56 -07:00
Joe Onorato
a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato
fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00