Commit Graph

12 Commits

Author SHA1 Message Date
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 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
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
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
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