summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing crash due to checking hotseat items for collisions incorrectly.Winson Chung2013-07-111-3/+5
| | | | Change-Id: I6ad2a3bd46b975959077683331a4ff7b946cc488
* Merge "Ensuring that the db reflects all package added/removed/updated ↵Adam Cohen2013-07-119-437/+417
|\ | | | | | | broadcasts." into jb-ub-gel-agar
| * Ensuring that the db reflects all package added/removed/updated broadcasts.Winson Chung2013-07-119-437/+417
| | | | | | | | | | | | - Also ensuring that newly added pages are added before the empty page Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
* | Merge "Further MemoryTracker robustness:" into jb-ub-gel-agarDaniel Sandler2013-07-113-7/+32
|\ \
| * | 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
* | | RTL for PagedViewAdam Cohen2013-07-101-22/+87
| |/ |/| | | | | Change-Id: If9fcada57880798ea2eb2b6defe51027fdc94b82
* | Fix widget resizing (Which stopped working at some point)Adam Cohen2013-07-093-9/+13
| | | | | | | | | | | | | | | | -> Also, deferring empty screen removal until after the drop animation in order to reduce buggy transitions -> Also fixing workspace layout on tablet Change-Id: I1ae9fdaf592262f959424f321efa6df4298f85cc
* | Merge "Porting PagedView from KG to gain simplified scaling model, ↵Adam Cohen2013-07-0913-522/+1188
|\ \ | |/ |/| | | reordering" into jb-ub-gel-agar
| * Porting PagedView from KG to gain simplified scaling model, reorderingAdam Cohen2013-07-0813-522/+1188
| | | | | | | | | | | | | | | | | | | | | | | | -> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318
* | 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-036-103/+581
|\ \
| * | Use autoscroller to handle drag scrollingMindy DelliCarpini2013-07-036-103/+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-272-34/+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-272-6/+43
|/ | | | | | | 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-263-38/+126
|\|
| * Include all processes in hprof dumps.Daniel Sandler2013-06-263-38/+126
| | | | | | | | | | | | | | 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-262-11/+10
|\ \ | |/ |/|
| * Fixing crash in shrink wrap on tablets.Winson Chung2013-06-252-11/+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-2514-266/+609
|\ \ | |/ |/|
| * Initial implementation of Shrink-wrapAdam Cohen2013-06-2514-266/+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-216-79/+313
|/ | | | | | | | | | 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-177-1/+102
| | | | | | | 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