Commit Graph

49925 Commits

Author SHA1 Message Date
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
Daniel Sandler cc8befac35 Move LauncherApplication's state and code to LauncherAppState.
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
2013-06-11 22:01:47 -04:00
Adam Cohen e61a9a2cd4 Fix issue with setting the current page immediately after a page is added
Change-Id: Ia9ddc42896b47b10bb98ed6bd6cece1b033207c1
2013-06-11 15:48:38 -07:00
Tom Stamm efe354b877 Merge "Add API to launcher to insert a custom page to the left of workspace" into jb-ub-gel-agar 2013-06-11 22:23:48 +00:00
Adam Cohen 66a01fd24b Add API to launcher to insert a custom page to the left of workspace
Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
2013-06-11 14:57:43 -07:00
Bjorn Bringert 69688aa359 Add 'animated' argument to onWorkspaceShown; only call it on touch down
This lets subclasses decide whether to animate hiding of their own
overlays etc.

Change-Id: I0b34953c53cd0beb0fb33329d919f78f671b660a
2013-06-11 20:40:55 +01:00
Bjorn Bringert ecf33e4819 Move control of voice button proxy visibility to a public method
Change-Id: I9dea07801fa608bebf2026667e71d684fc4b05d3
2013-06-11 15:46:07 +01:00
Bjorn Bringert c459e5241e Allow subclassing Launcher
Changes included:

- Make Launcher not final

- Add some new methods as hooks for subclasses

- Allow Launcher to intercept Workspace touch events

Change-Id: I9a2b628c853394a3b237a384336e1b9e5c2382ec
2013-06-07 19:36:01 +01:00
Adam Cohen 7564d98164 Disable clings (they don't make sense with the current state)
Change-Id: I09c7424a74078738990db65e4a88bcdce93235f7
2013-06-06 23:14:43 -07: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 947dc54319 HACK: Getting rid of all apps button / all apps from AppsCustomizePagedView
Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
2013-06-06 22:44:32 -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
Adam Cohen 9efb412971 Changing default screen to 0
Change-Id: I16b2440f99d4b91a3a74226cdac7054e7d5fd7f5
2013-06-06 21:35:25 -07:00
Adam Cohen f0f4eda318 Making folders scrollable
Change-Id: Id6c9ec62acc6d86dc627d20abad3e2d92010f539
2013-06-06 21:28:57 -07:00
Bjorn Bringert e441bbc7d2 Use standard names for search / voice icon meta-data
These shouldn't be renamed to launcher3.*, since they are used
to get icons from external search / voice apps.

Change-Id: Iae10b9c19771133579a8f6f24ce9c0efbae82688
2013-06-06 21:55:35 +01:00
Daniel Sandler 42aa7b2538 Remove wallpapers for real this time.
Change-Id: I642029c62864141f5e5ff553629a1a9f9164aed5
2013-06-06 11:49:06 -04:00
Bjorn Bringert 32b12d2c79 Get rid of dependency on android-common
It was only used for a single string constant that can be inlined

Change-Id: I19078b6b00adf1b91e329d10181e91809944b606
2013-06-06 13:00:41 +01:00
Bjorn Bringert f3e92c9448 Delete unused class HandleView
Change-Id: I775d34a2c0a755994a6e1bfe6127fed4ddcda0b7
2013-06-06 12:59:00 +01: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
Baligh Uddin b582cd201f Merge "Import translations. DO NOT MERGE" 2013-05-31 22:54:59 +00:00
Adam Cohen 7a8b82b592 Fix for issue 7178173, item disappearing from folder
Change-Id: I8e4e2f04053a2fc29ca38dc130f39c57c5c019f7
2013-05-30 11:16:25 -07:00
Baligh Uddin 2b67bb56f8 Import translations. DO NOT MERGE
Change-Id: I19c5f6393e20c8582ed93f87f5373a55e1dbe537
Auto-generated-cl: translation import
2013-05-29 20:04:52 -07:00
The Android Open Source Project 03db8767d5 am 08732898: (-s ours) Reconcile with jb-mr2-release - do not merge
* commit '087328986922a36bef6f1829790e0840516405a4':
2013-05-29 08:10:32 -07:00
The Android Open Source Project 0873289869 Reconcile with jb-mr2-release - do not merge
Change-Id: Ib54cc659fb7a4fc18df8f98b1c12547d46e23e8e
2013-05-29 08:06:14 -07:00
The Android Automerger 88cf19181a merge in jb-mr2-release history after reset to jb-mr2-dev 2013-05-29 05:55:27 -07:00
Winson Chung f0014a6b25 am dee6975a: am 8a196351: Fixing issue where FastBitmapDrawable is not scaling the drawing into the correct bounds. (Bug 9075810)
* commit 'dee6975aaab2eeea21aa02bb4fc7f844e016048c':
  Fixing issue where FastBitmapDrawable is not scaling the drawing into the correct bounds. (Bug 9075810)
2013-05-28 17:12:12 -07:00
Winson Chung dee6975aaa am 8a196351: Fixing issue where FastBitmapDrawable is not scaling the drawing into the correct bounds. (Bug 9075810)
* commit '8a196351ef7e100857e6c6d5b344d1d780584887':
  Fixing issue where FastBitmapDrawable is not scaling the drawing into the correct bounds. (Bug 9075810)
2013-05-28 17:10:04 -07:00
Winson Chung 8a196351ef Fixing issue where FastBitmapDrawable is not scaling the drawing into the correct bounds. (Bug 9075810)
Change-Id: I3a72f51d6b3c934a5fa42a3478dcb2c363047957
2013-05-28 16:12:55 -07:00
The Android Open Source Project a705456a62 am 9be6ae72: (-s ours) Reconcile with jb-mr2-release - do not merge
* commit '9be6ae7264fd203f353a37604a50a963e5814143':
2013-05-21 09:02:35 -07:00
The Android Open Source Project 9be6ae7264 Reconcile with jb-mr2-release - do not merge
Change-Id: I0aa0d8aac380b7cf08b0fcefe06005c7903bf21a
2013-05-21 08:59:20 -07:00
The Android Automerger cdc7e3f4ee merge in jb-mr2-release history after reset to jb-mr2-dev 2013-05-21 07:46:57 -07:00
Michael Jurka a1e7617e7e am dba56d08: am 2b030fd2: Merge "Persist list of shortcuts to install on home workspace" into jb-mr2-dev
* commit 'dba56d0812f3f769c7006b65ee27b920bc4f2672':
  Persist list of shortcuts to install on home workspace
2013-05-20 16:42:35 -07:00
Michael Jurka dba56d0812 am 2b030fd2: Merge "Persist list of shortcuts to install on home workspace" into jb-mr2-dev
* commit '2b030fd2737bff44d570cb786cc9bc6c22557436':
  Persist list of shortcuts to install on home workspace
2013-05-20 16:38:18 -07:00
Michael Jurka 2b030fd273 Merge "Persist list of shortcuts to install on home workspace" into jb-mr2-dev 2013-05-20 23:32:49 +00:00
Michael Jurka ca9ae3cbaf am 3c73e01b: am c402cd99: Fixing slow binding when returning to Launcher
* commit '3c73e01b11cb77b6727e851f54843387bd3198fb':
  Fixing slow binding when returning to Launcher
2013-05-20 14:35:14 -07:00
Michael Jurka 3c73e01b11 am c402cd99: Fixing slow binding when returning to Launcher
* commit 'c402cd9992d431b6beacdf3c75e31cf103e230cb':
  Fixing slow binding when returning to Launcher
2013-05-20 14:33:05 -07:00
Michael Jurka c402cd9992 Fixing slow binding when returning to Launcher
Bug: 8978842
Bug: 8660324

Change-Id: Idfa37c05ed299faa465ea66de4b43d30da77ecbc
2013-05-20 18:20:48 +02:00
Michael Jurka 48c7a93eb7 Persist list of shortcuts to install on home workspace
Bug: 8707110

Change-Id: I6740350040dceb0edaf4295d6a5af62a088a3055
2013-05-20 14:13:30 +02:00