Commit Graph

4413 Commits

Author SHA1 Message Date
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
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
Adam Cohen 7a8b82b592 Fix for issue 7178173, item disappearing from folder
Change-Id: I8e4e2f04053a2fc29ca38dc130f39c57c5c019f7
2013-05-30 11:16:25 -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 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
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 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 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
Michael Jurka f86243115a am 43b596b4: am 447bf84d: Debug time spent in onResume
* commit '43b596b4b96b7cba7164291b52787e5c62098fd8':
  Debug time spent in onResume
2013-05-15 14:07:01 -07:00
Michael Jurka 447bf84d24 Debug time spent in onResume
Bug: 8660324

Also, fix regression where new app icons
didn't bounce/animate in

Bug: 8707110
2013-05-15 16:06:26 +02:00
Michael Jurka 84141295aa am 659784dc: am 94dcefa4: Merge "Fix bug where apps weren\'t appearing on workspace after being installed" into jb-mr2-dev
* commit '659784dc297e6062a7c1cfb6b0c5c200bf809ad1':
  Fix bug where apps weren't appearing on workspace after being installed
2013-05-14 16:16:30 -07:00
Michael Jurka 94dcefa435 Merge "Fix bug where apps weren't appearing on workspace after being installed" into jb-mr2-dev 2013-05-14 23:11:04 +00:00
Winson Chung 354caf7087 am 07381ae4: am cdbbab76: Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)
* commit '07381ae4e4a24466c6f2d81a3e6736c9fda5bb19':
  Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)
2013-05-14 12:02:17 -07:00
Michael Jurka c7700af21f Fix bug where apps weren't appearing on workspace after being installed
Bug: 8707110

Change-Id: Ib50e0c600a4a77450127f3947aa894346dc99a5a
2013-05-14 20:45:36 +02:00
Winson Chung cdbbab76e1 Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)
Change-Id: I1f63e548caa4b00b7166db4a53307c80650d8907
2013-05-13 13:09:58 -07:00
Winson Chung cd59767b56 am 42e22357: am 56d796a9: Merge "Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)" into jb-mr2-dev
* commit '42e2235780046beba1ea3162f615cef06cf97728':
  Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)
2013-05-08 15:04:44 -07:00
Michael Jurka 3e79edd2e6 am aec5943f: am d80dc80d: Merge "Get rid of duplicate backgrounds" into jb-mr2-dev
* commit 'aec5943f7996219482cf4fecfdf9485fd5953f91':
  Get rid of duplicate backgrounds
2013-05-08 15:04:06 -07:00
Winson Chung 56d796a9b0 Merge "Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)" into jb-mr2-dev 2013-05-08 18:55:45 +00:00
Michael Jurka 84037f2f33 Fix build breakage from syntax errors 2013-05-08 20:23:59 +02:00
Michael Jurka 1b89ad4853 Merge "DO NOT MERGE Fix bug where folder was almost transparent" into jb-mr2-dev 2013-05-08 17:52:06 +00:00
Michael Jurka 496fefb40d Get rid of duplicate backgrounds
Bug: 8809491
2013-05-06 16:38:38 +02:00
Winson Chung 83892cc076 Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)
- Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153)

Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
2013-05-03 14:47:51 -07:00
Michael Jurka 7725c79a80 DO NOT MERGE Fix bug where folder was almost transparent
Bug: 8775089
2013-05-03 15:52:29 +02:00
Michael Jurka bbd7e3fbd5 Cleanup unused code 2013-04-30 11:12:54 +02:00
Amith Yamasani fd12e7ab97 am 6df4c12b: am d59b0643: Use user restrictions instead of isLinkedUser
* commit '6df4c12b475aca7087f79c3fa5c3d56a2b18f8b7':
  Use user restrictions instead of isLinkedUser
2013-04-25 21:23:17 -07:00
Amith Yamasani d59b064398 Use user restrictions instead of isLinkedUser
Use a different API to query if the user is likely to have fewer apps installed.

Bug: 8720520
Change-Id: Ic4cbca47679627b33e08fd83653f8d20de294675
2013-04-25 15:18:12 -07:00
Michael Jurka 7d4299743b am 506f5cc2: am 50bdf7e0: Merge "Only postpone animations if app is visible" into jb-mr2-dev
* commit '506f5cc24e1b5da9c66d26488909b2464671a6b9':
  Only postpone animations if app is visible
2013-04-23 11:16:34 -07:00
Michael Jurka cd496d723c Only postpone animations if app is visible
Fixes bug where folders would remain open after
returning to launcher

Bug: 8681168

Change-Id: I930616f2aa006c1e23298dbdb0a80a9390ea41af
2013-04-22 16:07:43 +02:00
Michael Jurka 032e6bad1b Clean up unused code 2013-04-22 15:08:42 +02:00
Michael Jurka 199d541c8d Merge "Trim widget names" into jb-mr2-dev 2013-04-18 16:43:54 +00:00
Michael Jurka fa56934a82 Don't set redundant content description for widgets
TextView label already is used as label for
accessibility

Bug: 8185316
2013-04-18 17:11:05 +02:00
Michael Jurka 74f0537577 Trim widget names
Bug: 8617506
2013-04-18 16:57:58 +02:00
Adam Cohen 02d1863c59 Merge "Making folders work in RTL (issue 8569879)" into jb-mr2-dev 2013-04-16 23:26:55 +00:00
Adam Cohen 2374abfda3 Making folders work in RTL (issue 8569879)
Change-Id: I3c726b96a2181c07be38cd84cf220e29e9b36f78
2013-04-16 14:57:47 -07:00
Winson Chung 5a0300783c Merge "Fixing issue where accessibility was reporting items behind an open folder. (Bug 8331717)" into jb-mr2-dev 2013-04-16 17:15:34 +00:00
Amith Yamasani ae45db052a Update to match API rename
Change-Id: Id5af08f9556a81d0efb778ccbe81bb70938947c1
2013-04-13 16:46:23 -07:00