summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Further MemoryTracker robustness:Daniel Sandler2013-07-073-7/+32
| | | | | | | | | | - grab a copy of the tracked processes list in the dumper - scan running processes when memorytracker starts to catch pids that may have survived a crash of the tracker's process - use RunningServiceInfo to figure out roughly how long a service scanned in this way has been alive Change-Id: I861642f07183e3945f7a7a41e1e5144567e17e13
* Merge changes I454a09c4,Ic0113388 into jb-ub-gel-agarDaniel Sandler2013-07-072-51/+59
|\ | | | | | | | | | | * changes: Add mutex around memory tracker data. Don't dump hprof for other processes.
| * Add mutex around memory tracker data.Daniel Sandler2013-07-021-35/+38
| | | | | | | | | | Bug: 9654254 Change-Id: I454a09c4b6679cc7c7ca4b02756620da4b440b0d
| * Don't dump hprof for other processes.Daniel Sandler2013-07-021-16/+21
| | | | | | | | | | | | dumpHprofData() only works for the current process anyway. Change-Id: Ic01133880e5149cc6a5ba0a23a1a08e980620f77
* | Merge "Use autoscroller to handle drag scrolling" into jb-ub-gel-agarMindy DelliCarpini2013-07-035-100/+581
|\ \
| * | Use autoscroller to handle drag scrollingMindy DelliCarpini2013-07-035-100/+581
| | | | | | | | | | | | Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
* | | Fix NPE when drags are cancelledMichael Jurka2013-07-021-3/+3
| |/ |/|
* | Supply a context to LauncherAppState from the PackageChangedReceiver.Daniel Sandler2013-06-281-0/+2
| | | | | | | | | | Bug: 9621647 Change-Id: I1a713177a08fb737e6799d51f438d55f226006e8
* | MemoryTracker/WeightWatcher improvements.Daniel Sandler2013-06-272-3/+13
| | | | | | | | | | | | | | - remove dead pids - compact display Change-Id: I23f0de31f6ac6e9a556ac3c78b81eed94f59ca93
* | Fix crash when started via Instrumentation.Daniel Sandler2013-06-272-1/+4
| | | | | | | | Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
* | Merge "Lazily instantiate LauncherAppState." into jb-ub-gel-agarDaniel Sandler2013-06-2823-214/+169
|\ \
| * | Lazily instantiate LauncherAppState.Daniel Sandler2013-06-2723-214/+169
| |/ | | | | | | | | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* | Fix now showing on screen 1Adam Cohen2013-06-271-1/+5
| | | | | | | | Change-Id: I83c3aa0b219e62af8c024229fe00933bcedbf9df
* | Merge "Turn off costly profiling." into jb-ub-gel-agarDaniel Sandler2013-06-271-3/+2
|\ \ | |/ |/|
| * Turn off costly profiling.Daniel Sandler2013-06-271-3/+2
| | | | | | | | | | Bug: 9603478 Change-Id: Ie903e8e5272794468ee6cf55ea0bf086d8c2f021
* | Merge "Using package broadcasts to key adding of shortcuts on the ↵Adam Cohen2013-06-275-28/+157
|\ \ | |/ |/| | | workspace." into jb-ub-gel-agar
| * Using package broadcasts to key adding of shortcuts on the workspace.Winson Chung2013-06-265-28/+157
| | | | | | | | Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
* | Accelerate scrolling based on duration of drag near edgeMindy DelliCarpini2013-06-271-6/+40
|/ | | | | | | TODO: tune max/ min scrolling velocity Tune scroll trigger zones Change-Id: I1daf10f12617fa9362cb340d5ed7bac98b23c9be
* Merge "Start the memory dumper directly." into jb-ub-gel-agarDaniel Sandler2013-06-262-10/+31
|\
| * Start the memory dumper directly.Daniel Sandler2013-06-262-10/+31
| | | | | | | | | | | | | | | | Launching it as an activity from within Launcher is problematic, so we'll just treat it as a special shortcut and run the dump when the user clicks that shortcut icon. Change-Id: Ibe9f4adcaff674f5bafa9b0fc58b5a86cf5ceb00
* | Merge "Include all processes in hprof dumps." into jb-ub-gel-agarDaniel Sandler2013-06-262-37/+124
|\|
| * Include all processes in hprof dumps.Daniel Sandler2013-06-262-37/+124
| | | | | | | | | | | | | | The emailed file is now a zipfile containing one .ahprof file for each process known to MemoryTracker. Change-Id: If4a73df9afd38756cc01ff37b2d249346e5f7e9f
* | Merge "Fixing crash in shrink wrap on tablets." into jb-ub-gel-agarWinson Chung2013-06-261-5/+10
|\ \ | |/ |/|
| * Fixing crash in shrink wrap on tablets.Winson Chung2013-06-251-5/+10
| | | | | | | | Change-Id: I061960b2ca7a2cf02729665fb032d23d8f463ada
* | Fix DEBUG_LOADERS workspace layout ASCII art.Daniel Sandler2013-06-251-1/+1
| | | | | | | | | | | | (Broken in change If73c7f7c.) Change-Id: If20ccc85db3b16326051a208e5fb518fb135d9c0
* | Merge "Handle pids coming and going in the memory tracker." into jb-ub-gel-agarDaniel Sandler2013-06-261-2/+26
|\ \ | |/ |/|
| * Handle pids coming and going in the memory tracker.Daniel Sandler2013-06-251-2/+26
| | | | | | | | Change-Id: If705e62c876243299adc7ed451a419c552b556b2
* | Merge "Initial implementation of Shrink-wrap" into jb-ub-gel-agarAdam Cohen2013-06-2512-255/+609
|\ \ | |/ |/|
| * Initial implementation of Shrink-wrapAdam Cohen2013-06-2512-255/+609
| | | | | | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* | Fix crash when restarting memory service.Daniel Sandler2013-06-251-5/+6
| | | | | | | | Change-Id: I251fefa8c71ac35e1bf884d25653c729b8e422d1
* | Memory tracking is now handled by a service.Daniel Sandler2013-06-215-79/+308
|/ | | | | | | | | | 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
* Fix build.Daniel Sandler2013-06-171-4/+0
| | | | Change-Id: I6afd45e603fd2480867dc692d59fd489ee2af63d
* New icon to dump heap information and share it.Daniel Sandler2013-06-173-1/+77
| | | | | | | Alternatively, $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
* HACK: Fixing major persistence regression associated with extra screen to ↵Adam Cohen2013-06-144-20/+35
| | | | | | | | the left -> Also adding ability to delete shortcuts. Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
* Easier way to handle shortcutsAdam Cohen2013-06-142-39/+9
| | | | Change-Id: I91c4a25e961774de0bed51ba986802a1834173f9
* Fixing up handling of shortcutsAdam Cohen2013-06-142-11/+52
| | | | Change-Id: I70dd044b608f4ef18a9c436964a11122168305d0
* Add a request code for derived activities to start from.Mathew Inwood2013-06-141-0/+6
| | | | | | | This allows derived activities to use their own activity request codes that don't overlap with the ones used in Launcher. Change-Id: I1337dde550c6bd748dad80e7c62ea6ce15c17374
* Make HolographicOutlineHelper a singleton.Daniel Sandler2013-06-123-3/+11
| | | | | | | | It's a pretty heavy object, including three Paints at 74 bytes apiece, and we allocate one for every workspace and every icon. We really only need one. Change-Id: Ic9e12d478c3be27b13133718875c91540f7ccf4c
* Rename mUpTime to mStartTimeBjorn Bringert2013-06-121-3/+3
| | | | | | This is a follow-up to change Id26e9dcf23017abaffed4015166d57e21e751e6c Change-Id: I0abaaf2914fff121bdcefb84f1d29a42ebb5aebb
* Merge changes Id26e9dcf,I4e323bd7 into jb-ub-gel-agarBjorn Bringert2013-06-1224-193/+453
|\ | | | | | | | | | | * changes: Memory debugging overlay for L3. Move LauncherApplication's state and code to LauncherAppState.
| * Memory debugging overlay for L3.Daniel Sandler2013-06-123-21/+226
| | | | | | | | Change-Id: Id26e9dcf23017abaffed4015166d57e21e751e6c
| * Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-1123-175/+230
| | | | | | | | | | | | | | | | This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
* | Fix issue with setting the current page immediately after a page is addedAdam Cohen2013-06-112-9/+11
| | | | | | | | Change-Id: Ia9ddc42896b47b10bb98ed6bd6cece1b033207c1
* | Merge "Add API to launcher to insert a custom page to the left of workspace" ↵Tom Stamm2013-06-112-0/+40
|\ \ | | | | | | | | | into jb-ub-gel-agar
| * | Add API to launcher to insert a custom page to the left of workspaceAdam Cohen2013-06-112-0/+40
| |/ | | | | | | Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
* / Add 'animated' argument to onWorkspaceShown; only call it on touch downBjorn Bringert2013-06-111-3/+5
|/ | | | | | | This lets subclasses decide whether to animate hiding of their own overlays etc. Change-Id: I0b34953c53cd0beb0fb33329d919f78f671b660a
* Move control of voice button proxy visibility to a public methodBjorn Bringert2013-06-111-11/+9
| | | | Change-Id: I9dea07801fa608bebf2026667e71d684fc4b05d3
* Allow subclassing LauncherBjorn Bringert2013-06-072-4/+28
| | | | | | | | | | | | Changes included: - Make Launcher not final - Add some new methods as hooks for subclasses - Allow Launcher to intercept Workspace touch events Change-Id: I9a2b628c853394a3b237a384336e1b9e5c2382ec
* Disable clings (they don't make sense with the current state)Adam Cohen2013-06-061-0/+5
| | | | Change-Id: I09c7424a74078738990db65e4a88bcdce93235f7
* HACK: temporary upgrade path from com.android.launcher2Adam Cohen2013-06-068-12/+233
| | | | | | | | | -> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8