Commit Graph

1342 Commits

Author SHA1 Message Date
Romain Guy a28fd3fa7c Prevent NPE in Launcher when an icon cannot be found.
Bug #2509023

Change-Id: I053c7c9a37ed4aeb4d78a9f62dfdeea09a3959aa
2010-03-15 14:44:42 -07:00
Jason Sams 552a608e3c Merge "Fix stop point for physics in landscape." 2010-03-15 12:12:53 -07:00
Romain Guy c16fea7161 Improve focus restore on orientation change.
Change-Id: If405c60f4a45aeb4079aa4dcd96b684fd6ea819c
2010-03-12 17:17:56 -08:00
Romain Guy 6a42cf3629 Fix focus and touch issues in 3D all apps.
Bug # 2506026

Change-Id: I95f21cc285c17dfa5f93daafa9d90a64042c7a9d
2010-03-12 16:03:52 -08:00
Jason Sams cc903494fa Fix stop point for physics in landscape.
Change-Id: I4ca8fcf9d65746116b3c244e724344d8f90eeba0
2010-03-12 12:46:04 -08:00
Joe Onorato d8d22da5ca Bug 2509023 - NPE on upgrade to froyo
Change-Id: I07cb4f272948062b47da8826ca917fd74ad18404
2010-03-11 17:59:11 -08:00
Joe Onorato c131b74922 Eliminate a race where old Launcher objects will continue to get callbacks for loading if they go
away before they're done.

Change-Id: Id9f57be482da428750285c86d95114d2652064e6
2010-03-11 15:45:05 -08:00
Jason Sams dd8cd8b414 Unbind root script around load activities to prevent commands from being delayed due to swap buffers.
Change-Id: I9720fbe936d3cd336ca39235d0a1bba9e10d137a
2010-03-11 12:41:55 -08:00
Joe Onorato e74daedc3b Fix 2507267 - stack overflow when adding shortcut
Change-Id: Ife5bea443debd481854693b3924e72a04fb66f97
2010-03-11 12:32:24 -08:00
Joe Onorato e075e1f106 bug 2480004 - add some descriptions for the string in home
Change-Id: Ie01900dcb6fd6381d18dcfa80bddb7bfdff19b13
2010-03-11 11:55:26 -08:00
Romain Guy 5347b3f6e4 Re-enable Proguard, supports 3D all apps correctly now.
Change-Id: I84ab56054c9f57985fec9107c3977691177b85a4
2010-03-11 10:36:05 -08:00
Ying Wang f8f7995e60 Turn off Proguard on Launcher2.
It will be turned on eventually, after the issue is fixed.

Change-Id: Ibd2a2d295379d14cd95d13156aa22c44be6fa7b4
2010-03-11 09:53:25 -08:00
Daniel Sandler 73a0554de1 Fix trackball focus weirdness in AllApps2D.
Also vertically align AllApps2D's home icon with Workspace's
grid icon.

Change-Id: I81a8759ed33afd08336482484f1b9bdb9a36718e
2010-03-11 09:00:51 -05:00
Romain Guy 13c2e7b788 Prevent ANR in Home when changing orientation.
Bug #2504556

This solves the issue by keeping the GL context, the RS context and
the RS scene around, across orientation changes.

Change-Id: I8e3dc6e6bf039087046d49d2826c8800c5bef582
2010-03-10 19:45:00 -08:00
Romain Guy 63cc18042c Merge "Resurrect the All Apps button." 2010-03-10 18:27:50 -08:00
Romain Guy 5aafe7c249 Resurrect the All Apps button.
Change-Id: Ic7dc985bfc1eec6d6c059ff37a61c84b8cb103de
2010-03-10 18:26:59 -08:00
Joe Onorato 56d8291af6 Apps on SD card don't confuse the launcher any more. They show up properly after reboots,
mounting and unmounting.

Change-Id: Icd861dcd8ac6401c597e2f9c8e2c66dff1cf9c61
2010-03-10 15:11:45 -08:00
Joe Onorato 64e6be78dc Refactor the app updates so that it doesn't rely on the package name.
This will be needed for the upcoming change to update the icons with the
grayed out when the SD card goes away.
2010-03-10 13:42:32 -08:00
Adam Powell c36f2455ab Cancel long press within normal touch slop, before paging touch slop.
Change-Id: I1b4d02db306bc0a7c3f39e2174a7239239ce4422
2010-03-10 11:08:17 -08:00
Adam Powell 3499d4aac4 Smoother scrolling/paging, multiple pointer support
Change-Id: I09eef7b0b4d85ab073307f2fb5eb2521aef82af4
2010-03-10 10:16:21 -08:00
Dianne Hackborn 12687cf144 Allow shared user id and process to be set via overlays.
This fiddles the manifest to allow the app's shared user id and
process to be changed at build time via resource overlays, so we
can build launcher to run in the acore process for low-end devices.

Also switches the cert of launcher back to shared, to allow for
this.  (Note this only really matters if the shared user id is set,
otherwise launcher will still get its own uid.)

Change-Id: I0bd0a06e1442c4bfe5ceb2d438cb58f29d911578
2010-03-09 17:18:11 -08:00
Daniel Sandler ccdc875e68 Merge "Updated mdpi art." 2010-03-09 11:49:13 -08:00
Ying Wang 0f54a24141 Merge "Enable Proguard on Launcher2." 2010-03-09 09:19:52 -08:00
Daniel Sandler a4503708ea Updated mdpi art.
Bug: 2485104
Change-Id: I6a84768f45141528361eaee1f0ce4b37e50ca487
2010-03-09 11:00:12 -05:00
Jean-Baptiste Queru 7c863d2647 Add an empty CleanSpec.mk
Change-Id: If0c55c46602c610c68d42b62796d6784dad97c0e
2010-03-08 18:05:04 -08:00
Jason Sams 638a93d73b Give up on caching the computed animation state as it keeps causing bugs
where we don't correctly re-initialize it when starting in various states.

Change-Id: Id648c7bba5d8b55a32b5b33363ddf6e74701df87
2010-03-08 17:03:51 -08:00
Daniel Sandler af6db10ca5 Speed up 2D AllApps fade-in.
Change-Id: I466c97cb63687ec3dab5109a8e77445e78e8b3ee
2010-03-08 14:41:21 -05:00
Jason Sams d1e2e1d6f4 Move mipmap level generation from allocation creation to upload time. This prevents RS from storing the >0 mipmap levels. 2010-03-05 15:19:00 -08:00
Kenny Root 7fc8227051 Merge "Widen AllApps3D text to match Launcher" 2010-03-05 13:43:30 -08:00
Kenny Root 9705164300 Widen AllApps3D text to match Launcher
The AllApps3D text used to have a bubble shade for the application
title to make it more visible over a translucent background of the
desktop.  This was later changed to a black background eliminating
the need for the bubble surrounding the text.  The majority of the
bubble rectangle code was commented out leaving all of the padding
still in effect. This caused application titles to wrap in varying
places between Launcher and Launcher2. Padding changes solve this.

Change-Id: Id67649562045f65b44409dfb81e6112a1f838143
2010-03-05 13:26:59 -08:00
Daniel Sandler 76c0e1408b Use the right package name to find wallpaper resources.
Bug: 2489120
Change-Id: I7efb122916edfb467c02969f29d845ebf29f74bf
2010-03-05 13:43:30 -05:00
Daniel Sandler fe609f3bab Swap in the classic Android wallpapers in mdpi.
hdpi devices will see the Nexus wallpapers; mdpi devices
will see the old wallpapers.

Change-Id: If019eb90e9d67ede7865a8ea9f7a330d43a664ab
2010-03-05 11:02:55 -05:00
Daniel Sandler 8101bfa965 Merge "Change the way 2D/3D AllApps are selected." 2010-03-05 05:47:27 -08:00
Romain Guy 406d703fad Make touch events work in landscape. 2010-03-04 18:59:31 -08:00
Daniel Sandler 46e47d03b3 Change the way 2D/3D AllApps are selected.
all_apps.xml is now a trampoline that loads the correct layout file.

Also take this opportunity to make 2D the default.

Change-Id: Iba2500da1bf4f505f1a5c2f6f32ed6e72ec34c5f
2010-03-04 16:16:20 -05:00
Romain Guy edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Romain Guy 2dc785dbde Merge "Prevent crash when a bad widget launches a non-existent config activity." 2010-03-04 12:52:16 -08:00
Romain Guy 8e633c5a3e Prevent crash when a bad widget launches a non-existent config activity. 2010-03-04 12:51:36 -08:00
Romain Guy ce11585bb4 Make the Home on screen button work in landscape. 2010-03-04 12:15:37 -08:00
Romain Guy 4f20947fd6 Update launcher's namespace. 2010-03-04 12:07:31 -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
Romain Guy 060b5c88cc Implement landscape in 3D all apps.
Bug #2454737
Bug #2454736
2010-03-04 10:16:43 -08:00
Daniel Sandler 28d10f8478 More mdpi artwork.
Change-Id: I53f7985a2fe0dc4e61143242c110f3604e8ed1a1
2010-03-04 12:19:30 -05:00
Daniel Sandler 63206c8ed7 New mdpi artwork for L2.
Change-Id: Ie4b209a3cda914a547b0fc6abfc81a0a681aa5ee
2010-03-04 09:18:37 -05:00
Ying Wang 932b29dbd8 Enable Proguard on Launcher2. 2010-03-03 17:13:54 -08:00
Jean-Baptiste Queru 9585350331 Merge "Switch to Launcher2 for all builds." 2010-03-03 12:44:28 -08:00
Daniel Sandler c351eb8b6a Hide the workspace when launching AllApps2D.
Boosts performance and squashes some weird focus issues.

(Also: fix builds with AllApps3D)

Change-Id: Id1c4628e119c950dced9d3383993674f3d6b9a1c
2010-03-03 15:11:52 -05:00
Daniel Sandler 388f679aa4 Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.

TODO:
 - some mdpi assets are not in fact mdpi
 - related to above: static wallpapers not working yet
 - add dynamic selection of 2D/3D AA; currently you must
   choose one at build time by picking the appropriate class
   in all_apps.xml (see separate CL for sapphire overlay
   that does this)

Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
2010-03-03 14:38:45 -05:00
Jean-Baptiste Queru 2b75fb573e Switch to Launcher2 for all builds.
Change-Id: Ie5563bf09ebd79cdd94e4c3bd1961807e7bb3693
2010-03-03 11:27:21 -08:00
Ying Wang 9f9077d2be Merge "Fix Proguard flags." 2010-03-02 09:37:26 -08:00