Commit Graph

165 Commits

Author SHA1 Message Date
Fabrice Di Meglio e19bbca93e Merge "7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest" into jb-mr1-dev 2012-09-25 13:47:37 -07:00
Fabrice Di Meglio 369dd0c3e6 7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest
- add basic RTL support in the AndroidManifest so that Widgets will be able
to support RTL too
- force LTR layout direction to AppsCustomizeTabHost so that we dont have to
deal with layout mirroring yet

(do not need to force also LTR layout direction to Wallpaper activity and fragment
as another CL is removing the ActionBar on them)

Change-Id: I66623a3fcec0d7adef62b0ab8c8b2170e09f1b1b
2012-09-25 12:55:37 -07:00
Michael Jurka aee3a0ef78 Remove action bar from wallpaper picker
Bug: 5295678

Change-Id: I50bb4bee3d9d54f28ef4a46ed9754701045d38c7
2012-09-25 11:36:39 -07:00
Dianne Hackborn 804503c75a Add user initialing receiver to select a unique wallpaper.
Change-Id: I14652d8108c2e19db821ab5526b6e630db8fe998
2012-09-16 00:00:27 -07:00
Nick Kralevich 33650301a2 Set permission [UN]INSTALL_SHORTCUT protectionLevel to 'dangerous'
Bug: 5543177
Change-Id: I8b4f1899bc898ae95f9bca004e6fa959ee078903
2012-08-07 10:21:13 -07:00
Nick Kralevich ebe6559794 Explicitly export content providers
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"

Bug: 3306452
Change-Id: I8fcce3af6949eb245ea97b6e64c191f465f0ae5f
2012-07-28 16:11:07 -07:00
Michael Jurka 14c5a2cdb0 Removing unnecessary config parameter for hw accel
Change-Id: Ibbbca9fb93319400332ba27f9cae62b1c0cc4313
2012-06-28 13:45:33 -07:00
Jeff Brown fa31ac2102 Merge "Revert "Lock launcher to portrait on devices less than sw720dp"" into jb-dev 2012-06-05 19:11:27 -07:00
Jeff Brown a60166386d Revert "Lock launcher to portrait on devices less than sw720dp"
This reverts commit 51726adc25
Bug: 6580571
2012-06-04 14:15:42 -07:00
Michael Jurka a4fe21285b Merge "Skip custom Play cling if no accounts are set up" into jb-dev 2012-05-22 23:39:29 -07:00
Michael Jurka 51726adc25 Lock launcher to portrait on devices less than sw720dp
Bug: 6523269
Change-Id: Ic75040257442a7c8486030702961634b54694f44
2012-05-22 22:13:29 -07:00
Michael Jurka 974c3864bb Skip custom Play cling if no accounts are set up
Bug: 6519934
Change-Id: Ic796b2fb03201a3c767f92b36edfdb4b2e41e5d4
2012-05-22 22:00:31 -07:00
Brian Muramatsu b6a4d983b8 Populate the default workspace earlier
Adds a receiver that populates the default
workspace. It can be called by the system when
it's ready for launcher to preload.

Change-Id: If885fcfd931c459f87e9bb0df4c8bca00906f3c1
2012-05-15 16:31:59 -07:00
Martijn Coenen b34811d8be Prevent "Beaming" from home screen.
Recently Android Beam was also enabled by default for
all system applications. For some system apps this
makes sense, but for an app such as launcher it doesn't.

This meta-data entry prevents the default Beam behavior
for Launcher.

Bug: 6257668
Change-Id: I1d2188969da1c87734190c19c0528ce4d3ce6825
2012-04-19 09:38:20 -07:00
Michael Jurka 4e01d33852 Run wallpaper chooser in a separate process
Fixes cases where the wallpaper previews were not loading due to OOM errors.
Bug #5453040

Change-Id: I96ea5e215e63f0848ca518c982a6d695d0dff75f
2011-10-13 06:07:30 -07:00
Romain Guy 2934433e4b Remove unneeded permissions
Change-Id: I328402278d53aa39459d5c6b21890c9c720a726e
2011-10-05 12:48:33 -07:00
Adam Cohen 446e940fc8 Locking orientation on phones (issue 4967793)
Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
2011-09-15 20:08:40 -07:00
Adam Cohen 56901eb57c Turning off largeHeap on Crespo
Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
2011-07-25 15:08:27 -07:00
Adam Cohen 81e2b9bb74 Fixing bug with renaming
-> in some workspace configs, bringing up the IME wasn't
   properly sliding up launcher to expose the text field

Change-Id: Id98ae732fd8709cff08f156660ae1656feb5bf75
2011-06-27 18:59:37 -07:00
Amith Yamasani 6be594922f A fullscreen wallpaper chooser for all screen sizes.
The wallpaper preview covers the whole screen,
with background protection for the gallery items and button.

Change-Id: Ice31c4fea6503d1a59b59d6fbffb5e4a28eb2143
2011-06-22 11:29:38 -07:00
Adam Cohen 76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Michael Jurka f2ff7d9f3e Allow overlays to disable hw acceleration 2011-06-14 14:38:49 -07:00
Michael Jurka 7446fee6cb remove unused/redundant params to turn on HW accel 2011-06-01 15:50:22 -07:00
Daniel Sandler 4e1cd23a51 Rocket Launcher!
This is an Android Dream, which is kind of like an
interactive screensaver implemented as an Activity.

The Rocket Launcher uses the Launcher's own icon cache to
show the user's installed apps in hyperspace. Tap the screen
to slow down to impulse power.  Then, tap an icon to launch.

(depends on I4559a95 for android.dreams in support lib)

Change-Id: Ie6ce34ec1c863667faeada4f39b225f3946e8633
2011-05-26 16:02:09 -04:00
Michael Jurka e72300ee59 Turning on hardware acceleration by default for all devices
(if a device isn't HW accelerated, this flag should have no effect)
2011-05-23 13:31:51 -07:00
Dianne Hackborn a070d98e8f More memory!
Change-Id: If30047e60c4cfe3a278f83189013b4afa7fe6088
2011-01-19 16:37:18 -08:00
Adam Cohen 4c3733f143 Adding wallpaper picker preview
Change-Id: Ib3a10bb02b249f71265fe04b3829465a77fb4a9f
2011-01-18 20:37:35 -08:00
Adam Lesinski 2a898a0ac5 Update Wallpaper picker and fix bug
-Fixed b/3271838
-On a phone, Fragment would not remember its
previous state and crash on rotation
Change-Id: Ida923fba0c7f4622b090e2838fd932328ad68c63
2010-12-13 14:51:15 -08:00
Michael Jurka c46b91a832 Don't ever move Launcher when another app is above it 2010-11-24 15:01:40 -08:00
Adam Lesinski cd5d807f53 Updating the Static Wallpaper picker for Tablet
- Updated WallpaperChooser to use FragmentDialogs
- Backwards compatible with old WallpaperChooser
  UI on non XLarge screens
- There is a known bug with AlertDialogs (b/3225529)
  that prevents an AlertDialog to expand to fit its
  content. The squishing of the GridView is caused
  by that bug.

Change-Id: I49381aab4aa24362e8c92da284797fce0e63823c
2010-11-24 13:37:03 -08:00
Michael Jurka 163c9c0236 cleaning up hardware acceleration XML value a bit
(switch from integer -> bool)
2010-09-28 15:24:13 -07:00
Michael Jurka 821856b67e adding hardware acceleration flag to config.xml
(later, this will let us turn on HW acceleration
via a device-specific overlay)

Change-Id: I33c957911db7ac730770b71d6644568fbfa86adf
2010-09-27 18:30:11 -07:00
Adam Cohen da4dc5edd8 -> Set grid to 8x7 with proper spacing for landscape/portrait
-> Added a button to the top left of Launcher which switches
   between landscape and portrait. For testing purposes only.

Change-Id: I01f8cfcf92c8ba7727eeba0e59a0b8ff055598fe
2010-08-11 10:46:55 -07:00
Winson Chung aafa03cbb9 Allow for NxM layout and in-place rotation of items on homescreen.
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
2010-06-30 16:24:40 -07: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
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
Bjorn Bringert 34c4db037b Remove android.app.default_searchable=* from Launcher2
This value was deprecated in
I0252952b44ae85dab31221b598ed79cc24e2b580

Change-Id: If5639f2b51dd694f39e89f38e034e3d8efdba585
2010-02-23 13:47:41 +00:00
Jeff Hamilton 95db7376b1 Add an original-package tag that matches the real package name.
Change-Id: I3c69e7592359f7fd4664fe2bcc98faa60014e43e
2010-02-11 16:25:50 -06:00
Joe Onorato 2ca0ae7d7c Fix bug 2250432 - all apps should dismiss when you power off or phone locks
Also cherry-picks this from launcher 1

Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Close things out in various ways.  This should be done for Launcher2 as well.

Change-Id: Id4f1c78e35180b437144c54ddcbf10069cc09071

Conflicts:

	AndroidManifest.xml
	src/com/android/launcher2/Launcher.java
2009-11-10 19:56:01 -08:00
Romain Guy e11f9f480a Disable orientation change based on sensor in the wallpaper picker.
Change-Id: I9d34c514fc1eebef7fd655ce4d7eeba66a4b2412
2009-11-08 15:31:40 -08:00
Joe Onorato 24a40dc28e Put launcher2 back into its own process. bug 2241963 2009-11-05 16:42:25 -05:00
Romain Guy a45f664227 Remove live wallpaper picker from Launcher2.
Change-Id: I2c48f3624128276c3460939960168163d3c74c08
2009-10-16 15:46:55 -07:00
Joe Onorato 66bc7e1b2d Fix 2167033 - Add bookmark to the home screen in the Browser is not working on Passions
Re-add the permissions, now that we only have one launcher at a time.
2009-10-07 10:58:23 -07:00
Daniel Sandler 9a60d5484f Pull over new icons from Launcher to Launcher2.
NB: Removed obsolete ic_launcher_gallery.png; wallpaper
should now use ic_launcher_wallpaper.png.

Change-Id: I3d74a6ae7d948b48cc902e28a361a1993f4273d2
2009-10-06 12:57:42 -04:00
Joe Onorato 7b7a2cdb33 Launcher2 is now home. 2009-09-23 08:35:07 -07:00
Dianne Hackborn 02e638e6bf Implement previews in the wallpaper picker.
Note that the UI is ugly ugly ugly, but previews are actually working.
2009-08-20 19:33:42 -07:00
Romain Guy 41669fc9c6 Add live wallpapers picker to Launcher2. This is temporary.
This change requires changing the signature and shared user id of Launcher2, we
will have to revert this once we move the wallpapers picker back to Settings.
2009-08-13 12:53:24 -07:00
Romain Guy ccb9d2ad93 Remove live wallpaper 2009-08-12 10:57:28 -07:00
Romain Guy c1b7bbb267 Remove TODO 2009-08-11 17:36:29 -07:00
Romain Guy 3ccdf2f576 Add Grass live wallpaper to Launcher2. It's ALIVE! 2009-08-11 17:14:07 -07:00
Joe Onorato 00acb123c5 Move the drag thing into its own window that goes around on top of everything else. 2009-08-06 12:45:43 -07:00
Joe Onorato a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Romain Guy 94dabf1be4 Remove gestures from Home. 2009-07-21 10:55:43 -07:00
Romain Guy 1dd3a077a2 New gestures UI. 2009-07-16 16:06:48 -07:00
Dianne Hackborn f22875368c Change name for home's uid to something more generic.
There are lots of things running under home's uid, so give it a more generic
name.  Home no longer to blame for all the world's ills!
2009-06-24 20:30:24 -07:00
Romain Guy 73b979d8c1 Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
2009-06-10 02:21:15 -07:00
Jeff Sharkey 6d3bfe53a8 Make Launcher request BIND_APPWIDGET.
See http://b/issue?id=1839074 for more details.
2009-05-07 16:30:32 -07:00
Jeffrey Sharkey d1d36bab30 AI 143191: am: CL 142952 Make Launcher norotate to prevent false-positive rotations.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143191
2009-03-27 17:13:54 -07:00
The Android Open Source Project 31dd503c6a auto import from //depot/cupcake/@135843 2009-03-03 19:32:27 -08:00
The Android Open Source Project 3189679370 auto import from //depot/cupcake/@135843 2009-03-03 18:28:51 -08:00
The Android Open Source Project 38a75b2d89 auto import from //depot/cupcake/@132589 2009-03-03 14:04:32 -08:00
The Android Open Source Project b28e1b7d95 auto import from //depot/cupcake/@137055 2009-03-02 22:54:41 -08:00
The Android Open Source Project 233a0136ea auto import from //branches/cupcake/...@132276 2009-02-19 10:57:35 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00
The Android Open Source Project c8f00b61c6 Initial Contribution 2008-10-21 07:00:00 -07:00