Commit Graph

18 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
b38002419d Adding method to get the search bar bounds.
Change-Id: Iec2fe0992cc666432ba6b9eac7ee8bf63e49b146
2013-11-14 14:15:06 -08:00
Winson Chung
6e1c0d34bb Initial changes to support smaller landscape layouts.
Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
2013-10-28 18:30:25 -07:00
Winson Chung
f7d458543e Altering the workspace padding to account for default widget padding (Bug 11116452) 2013-10-10 18:57:15 -07:00
Chris Wren
d8fe6de10d check the state of launcher before running a backup.
Bug: 11066273
Change-Id: Ie27a7cce4060f0bafedb06dbdb33fddf50a9cc48
2013-10-04 14:47:11 +00:00
Bjorn Bringert
1307f63f8a Add a better app filtering mechanism and filter widgets
The old one didn't use the app filter when packages
were added or updated, only in the initial load.

The app filter is now also used for appwidget providers.

Bug: 10895858
Bug: 10898990
Change-Id: Id29bbc3cf7bdb0c360edd92f768b86684bd338ed
2013-10-03 23:40:34 +01:00
Michael Jurka
414300a79d Clean up unused code
Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
2013-08-28 15:06:31 +02:00
Winson Chung
892c74d460 Fixing folders to always show in view, removing old assets and references to LauncherModel count. 2013-08-23 12:13:02 -07:00
Michael Jurka
104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Winson Chung
5f8afe6280 Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Daniel Sandler
e060b0b3c7 Fix crash when started via Instrumentation.
Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
2013-06-27 21:47:55 -04: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
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
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
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