Adam Cohen
dedbd962dc
Enabling reordering
...
-> Reordering is enabled and persists
-> Fixed persistence issue when adding items to empty screen
Change-Id: I7c797b2c81a2988c95d8d9383be46d6ef0b7532d
2013-07-12 11:56:42 -07:00
Winson Chung
ce376639c8
Fixing crash due to checking hotseat items for collisions incorrectly.
...
Change-Id: I6ad2a3bd46b975959077683331a4ff7b946cc488
2013-07-11 18:19:56 -07:00
Adam Cohen
34a3340cfb
Merge "Ensuring that the db reflects all package added/removed/updated broadcasts." into jb-ub-gel-agar
2013-07-11 21:20:52 +00:00
Winson Chung
64359a53dc
Ensuring that the db reflects all package added/removed/updated broadcasts.
...
- Also ensuring that newly added pages are added before the empty page
Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
2013-07-11 14:19:52 -07:00
Daniel Sandler
0d3b8097b6
Merge "Further MemoryTracker robustness:" into jb-ub-gel-agar
2013-07-11 18:28:48 +00:00
Adam Cohen
0ffac433c1
RTL for PagedView
...
Change-Id: If9fcada57880798ea2eb2b6defe51027fdc94b82
2013-07-10 11:46:01 -07:00
Adam Cohen
d6e7aa3154
Fix widget resizing (Which stopped working at some point)
...
-> 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
2013-07-09 15:47:46 -07:00
Adam Cohen
3bc8e17387
Merge "Porting PagedView from KG to gain simplified scaling model, reordering" into jb-ub-gel-agar
2013-07-09 18:34:06 +00:00
Adam Cohen
7d30a37007
Porting PagedView from KG to gain simplified scaling model, reordering
...
-> 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
2013-07-08 18:32:57 -07:00
Daniel Sandler
0adfc5a755
Further MemoryTracker robustness:
...
- 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
2013-07-07 23:13:51 -05:00
Daniel Sandler
a29949d2ef
Merge changes I454a09c4,Ic0113388 into jb-ub-gel-agar
...
* changes:
Add mutex around memory tracker data.
Don't dump hprof for other processes.
2013-07-07 20:09:05 +00:00
Mindy DelliCarpini
70c987a0fe
Merge "Use autoscroller to handle drag scrolling" into jb-ub-gel-agar
2013-07-03 21:31:15 +00:00
Mindy DelliCarpini
53b8d071ce
Use autoscroller to handle drag scrolling
...
Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
2013-07-03 14:28:32 -07:00
Michael Jurka
ee0ce2b29f
Fix NPE when drags are cancelled
2013-07-02 17:24:35 -07:00
Daniel Sandler
2566b574d8
Add mutex around memory tracker data.
...
Bug: 9654254
Change-Id: I454a09c4b6679cc7c7ca4b02756620da4b440b0d
2013-07-02 14:17:31 -05:00
Daniel Sandler
4de7f739c1
Don't dump hprof for other processes.
...
dumpHprofData() only works for the current process anyway.
Change-Id: Ic01133880e5149cc6a5ba0a23a1a08e980620f77
2013-07-02 14:17:15 -05:00
Daniel Sandler
04d554afcb
Supply a context to LauncherAppState from the PackageChangedReceiver.
...
Bug: 9621647
Change-Id: I1a713177a08fb737e6799d51f438d55f226006e8
2013-06-28 13:52:05 -04:00
Daniel Sandler
0becf1fa0c
MemoryTracker/WeightWatcher improvements.
...
- remove dead pids
- compact display
Change-Id: I23f0de31f6ac6e9a556ac3c78b81eed94f59ca93
2013-06-27 22:39:26 -04:00
Daniel Sandler
e060b0b3c7
Fix crash when started via Instrumentation.
...
Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
2013-06-27 21:47:55 -04:00
Daniel Sandler
d34ba129b1
Merge "Lazily instantiate LauncherAppState." into jb-ub-gel-agar
2013-06-28 00:34:51 +00:00
Adam Cohen
41eb470ef9
Fix now showing on screen 1
...
Change-Id: I83c3aa0b219e62af8c024229fe00933bcedbf9df
2013-06-27 16:43:15 -07:00
Daniel Sandler
e4f9891f01
Lazily instantiate LauncherAppState.
...
The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.
Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
2013-06-27 15:17:11 -04:00
Daniel Sandler
06e6c8c50b
Merge "Turn off costly profiling." into jb-ub-gel-agar
2013-06-27 18:07:39 +00:00
Daniel Sandler
f061f82461
Turn off costly profiling.
...
Bug: 9603478
Change-Id: Ie903e8e5272794468ee6cf55ea0bf086d8c2f021
2013-06-27 14:02:17 -04:00
Adam Cohen
fe7750b5d6
Merge "Using package broadcasts to key adding of shortcuts on the workspace." into jb-ub-gel-agar
2013-06-27 17:54:11 +00:00
Mindy DelliCarpini
2e7471cf96
Accelerate scrolling based on duration of drag near edge
...
TODO: tune max/ min scrolling velocity
Tune scroll trigger zones
Change-Id: I1daf10f12617fa9362cb340d5ed7bac98b23c9be
2013-06-27 10:13:01 -07:00
Winson Chung
c916834ad0
Using package broadcasts to key adding of shortcuts on the workspace.
...
Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
2013-06-26 18:08:56 -07:00
Daniel Sandler
fe4b98a4b7
Merge "Start the memory dumper directly." into jb-ub-gel-agar
2013-06-26 18:39:50 +00:00
Daniel Sandler
8d8ec6f9f3
Merge "Include all processes in hprof dumps." into jb-ub-gel-agar
2013-06-26 18:39:47 +00:00
Daniel Sandler
f8577a3905
Start the memory dumper directly.
...
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
2013-06-26 14:30:20 -04: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
Winson Chung
ff051908d5
Merge "Fixing crash in shrink wrap on tablets." into jb-ub-gel-agar
2013-06-26 18:21:31 +00:00
Daniel Sandler
566da1026c
Fix DEBUG_LOADERS workspace layout ASCII art.
...
(Broken in change If73c7f7c.)
Change-Id: If20ccc85db3b16326051a208e5fb518fb135d9c0
2013-06-25 23:45:22 -04:00
Daniel Sandler
bd5abfba8f
Merge "Handle pids coming and going in the memory tracker." into jb-ub-gel-agar
2013-06-26 02:39:45 +00:00
Winson Chung
f70696d8cc
Fixing crash in shrink wrap on tablets.
...
Change-Id: I061960b2ca7a2cf02729665fb032d23d8f463ada
2013-06-25 18:47:44 -07:00
Adam Cohen
5ccb418b09
Merge "Initial implementation of Shrink-wrap" into jb-ub-gel-agar
2013-06-25 20:23:57 +00:00
Adam Cohen
dcd297f05a
Initial implementation of Shrink-wrap
...
Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
2013-06-25 12:29:32 -07:00
Daniel Sandler
b61a35b809
Handle pids coming and going in the memory tracker.
...
Change-Id: If705e62c876243299adc7ed451a419c552b556b2
2013-06-25 13:20:36 -04:00
Daniel Sandler
49883409ff
Fix crash when restarting memory service.
...
Change-Id: I251fefa8c71ac35e1bf884d25653c729b8e422d1
2013-06-25 13:20:36 -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
211667e4c2
Fix build.
...
Change-Id: I6afd45e603fd2480867dc692d59fd489ee2af63d
2013-06-17 22:35:17 -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
7c4c510829
HACK: Fixing major persistence regression associated with extra screen to the left
...
-> Also adding ability to delete shortcuts.
Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
2013-06-14 17:43:44 -07:00
Adam Cohen
a0b5749433
Easier way to handle shortcuts
...
Change-Id: I91c4a25e961774de0bed51ba986802a1834173f9
2013-06-14 15:33:47 -07:00
Adam Cohen
99894d9bb7
Fixing up handling of shortcuts
...
Change-Id: I70dd044b608f4ef18a9c436964a11122168305d0
2013-06-14 14:19:19 -07:00
Mathew Inwood
876a846edc
Add a request code for derived activities to start from.
...
This allows derived activities to use their own activity request codes
that don't overlap with the ones used in Launcher.
Change-Id: I1337dde550c6bd748dad80e7c62ea6ce15c17374
2013-06-14 15:33:03 +01:00
Daniel Sandler
e572fe46f7
Make HolographicOutlineHelper a singleton.
...
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
2013-06-12 22:46:02 -04:00
Bjorn Bringert
c6e2f94fba
Rename mUpTime to mStartTime
...
This is a follow-up to change Id26e9dcf23017abaffed4015166d57e21e751e6c
Change-Id: I0abaaf2914fff121bdcefb84f1d29a42ebb5aebb
2013-06-12 11:42:30 +01:00
Bjorn Bringert
1cbd1a0dec
Merge changes Id26e9dcf,I4e323bd7 into jb-ub-gel-agar
...
* changes:
Memory debugging overlay for L3.
Move LauncherApplication's state and code to LauncherAppState.
2013-06-12 10:38:39 +00:00
Daniel Sandler
924b993c75
Memory debugging overlay for L3.
...
Change-Id: Id26e9dcf23017abaffed4015166d57e21e751e6c
2013-06-12 00:44:28 -04:00