Commit Graph

88 Commits

Author SHA1 Message Date
Michael Jurka a6a0547fa6 Update suggested wallpaper dimensions in onResume
If another launcher runs in between, it might
change the suggested dimensions. This fixes that
case.

Bug: 11667475
2013-12-03 15:33:12 -08:00
Winson Chung 94d6768c65 Restoring INSTALL_SHORTCUT receiver (Bug. 10343529)
Change-Id: Icd6a97c1d7877241aa9c71bd80dfdbe6e44ca7ee
2013-09-25 17:59:45 -07:00
John Spurlock 2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Michael Jurka adc574ccb1 Update to using new crop intent
Also, unify WallpaperCropActivity so it's
identical to the system default version (mainly
removing Launcher dependencies)

Change-Id: I1ebc390bce23de62d76daced6f8cb44d57e4ac0c
2013-09-13 18:16:54 +02:00
Michael Jurka f56914b2e5 Support new crop wallpaper intent 2013-09-09 16:23:55 +02:00
Michael Jurka 2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Daniel Sandler 8b0405888f Remove obsolete widget adder shortcut.
Bug: 10441366
Change-Id: Ie9d70010ecdee3332595be6296fef604e3d676a8
2013-08-23 00:53:59 -04:00
Daniel Sandler 826420b194 Remove memory-debug-related launcher icons & functionality.
Bug: 10441366
Change-Id: I3ddb95839bcd5c07db7e76ce1a28323b499ea30d
2013-08-23 00:53:59 -04:00
Michael Jurka c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +02:00
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Daniel Sandler ff02d49e46 Initial implementation: Broadcasts on app launch.
Look for com.android.launcher3.action.LAUNCH to be sent when
an icon is clicked in Launcher. (Restricted to
com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS
which is a signature permission right now.

This is specifically tracking apps launched via shortcut
icon; any other method of launching apps (notifications,
recents, internal navigation, etc.) is outside of Launcher's
purview and hence not broadcast.

The broadcast currently includes, in the "intent" extra, the
Uri flattening of the specific shortcut clicked.

The file /data/data/<pkg>/files/launches.log contains a
binary log of all such launches, including additional info
like screen# that should probably be in the broadcast too.

This info is summarized in .../stats.log, which encodes a
simple histogram of app launches since basically forever.
This should probably be done over a sliding window, which
will require more processing on startup.

Bug: 10031590
Change-Id: Ifc5921d5dc20701c67678cbfdc89b03cacd62028
2013-08-06 00:18:38 -04:00
Adam Cohen 39a0604255 Adding switch to toggle Memory Overlay
-> The overlay causes performance regressions so it's hard to evaluate
   performance with it on.
-> Also, the WeightWatcher is still running regardless, so you can
   always check it
-> Saved as a shared pref

Change-Id: Iad5ccbeca2c2b4e0ec86294879f3eb09caa594e9
2013-07-19 14:32:09 -07:00
Daniel Sandler 8540bb8d72 Include all processes in hprof dumps.
The emailed file is now a zipfile containing one .ahprof
file for each process known to MemoryTracker.

Change-Id: If4a73df9afd38756cc01ff37b2d249346e5f7e9f
2013-06-26 14:30:19 -04:00
Daniel Sandler b9eb2865af Memory tracking is now handled by a service.
Multiple processes may be tracked and viewed simultaneously.

Also, some changes to the graph:
  * show uss and pss together
  * adjust opacity controls

Change-Id: I20eebaa8cc8faf78b46af2a35d71ee538207f02b
2013-06-21 01:16:27 -04:00
Daniel Sandler a127b7ad15 New icon to dump heap information and share it.
Alternatively,
  $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity

Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
2013-06-17 15:29:22 -04:00
Adam Cohen e25af79564 HACK: temporary upgrade path from com.android.launcher2
-> load old provider
-> permute pages
-> strip all duplicates from workspace
-> add [allapps minus workspaceapps] to apps folder

Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
2013-06-06 23:09:26 -07:00
Adam Cohen b5fe60c8a5 Add a dummy activity which we can catch on-click in launcher to open allapps/widgets
Change-Id: Idc718a9e03e7358f972c59fcfc3bf2eaf75e56ee
2013-06-06 22:04:27 -07:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Michael Jurka 05713af127 Cache widget previews in a DB
- Smoother All Apps scroll performance

Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
2013-02-04 20:32:49 +01:00
Michael Jurka 9df38dff2d Updating wallpaper picker icon to higher res
Bug: 7400295
Change-Id: I2c7625ee1ce09ded57d884c229f155ebcf39be07
2012-11-13 15:55:50 -08:00
Scott Main 4cd7f28105 remove old fashioned dream, no longer supported
Change-Id: I87370e8dc7f3159182dac9f650223ce010d6286b
2012-10-18 12:10:03 -07:00
Dianne Hackborn db5dd02ad9 Fix issue #7255954: API Review: rename Dream to DreamService
Change-Id: I4a8fcea6856ea021b22d6e1f317c43d081c7b923
2012-09-28 17:58:10 -07:00
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