Commit Graph

11388 Commits

Author SHA1 Message Date
Sunny Goyal c79e640b5c Removing some wallpaper dependency
am: b0e3780

* commit 'b0e378000fac0d4a2d5a75d887f5a6733bdab900':
  Removing some wallpaper dependency

Change-Id: Id09cffeee436e6e9ed6d6010a3cee00676619f0c
2016-04-06 01:09:36 +00:00
Sunny Goyal b0e378000f Removing some wallpaper dependency
Change-Id: I3f88a76df40c64678e297f217d703ca296f2d5cd
2016-04-05 18:02:13 -07:00
Sunny Goyal 70b485b234 Merge "Fixing bug where folders on the first screen and hotseat are not registered by the Launcher if there are folders on other screens" into ub-launcher3-calgary
am: e1f1c34

* commit 'e1f1c34c098b80d45934701f9ee7d499ee7bfcc2':
  Fixing bug where folders on the first screen and hotseat are not registered by the Launcher if there are folders on other screens

Change-Id: Ifc8711094ebf84a4d9ce21c401936cc9da2cadce
2016-04-06 00:56:10 +00:00
Sunny Goyal e1f1c34c09 Merge "Fixing bug where folders on the first screen and hotseat are not registered by the Launcher if there are folders on other screens" into ub-launcher3-calgary 2016-04-06 00:49:22 +00:00
Rubin Xu 62f92c0350 Merge "Listen on new broadcasts for profile changes." into ub-launcher3-calgary
am: b4c4dce

* commit 'b4c4dceb83e098392930a3daa934dfb8fbf55db8':
  Listen on new broadcasts for profile changes.

Change-Id: Iaea92c2e1d843f948f1d1ae1bcacbc2f3b95e241
2016-04-05 16:34:11 +00:00
Rubin Xu b4c4dceb83 Merge "Listen on new broadcasts for profile changes." into ub-launcher3-calgary 2016-04-05 16:28:16 +00:00
Sunny Goyal b2662d5a45 Fixing wrong method name
am: e27815e

* commit 'e27815e33f6b5764872c09f3ce7bb5c5630536ba':
  Fixing wrong method name

Change-Id: Icffa08a67e3ecb40265bbaf70eba61d6d2621aec
2016-04-05 00:54:59 +00:00
Sunny Goyal e27815e33f Fixing wrong method name
Change-Id: Idabe5d8ee41f31d30dcbe03aa626f7b39f713c14
2016-04-04 17:51:04 -07:00
Sunny Goyal 743d8b30df Merge "Adding an upper bound to all-apps width on larger devices" into ub-launcher3-calgary
am: 48d9602

* commit '48d9602695862165c7f427936d5280103dc83745':
  Adding an upper bound to all-apps width on larger devices

Change-Id: I4e4991e7f389f4c9c701b93720ceb5a74caeccb8
2016-04-04 23:58:20 +00:00
Sunny Goyal 48d9602695 Merge "Adding an upper bound to all-apps width on larger devices" into ub-launcher3-calgary 2016-04-04 23:51:35 +00:00
Hyunyoung Song 84bdf301c2 [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used. am: 04907ee -s ours
am: e72f45a  -s ours

* commit 'e72f45aab100bb3d33299a43ff59a5a069bfe7ff':
  [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used.

Change-Id: Id0a192aa02d04f855e35525ecb5b78b3b846ee82
2016-04-04 23:40:37 +00:00
Hyunyoung Song e72f45aab1 [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used.
am: 04907ee  -s ours

* commit '04907eea71327a5e828421eaf7e43d689e974049':
  [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used.

Change-Id: I1c0a30179255d21c5e0dcfc7fe83afb8ff6ef1c4
2016-04-04 23:38:07 +00:00
Sunny Goyal 13178ac822 Adding an upper bound to all-apps width on larger devices
Change-Id: I16a0d8fb7c5023045d0a6b9e8089e0ab6a476d6d
2016-04-04 16:35:47 -07:00
Hyunyoung Song 04907eea71 [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method
mFixedSearchBarBounds is no longer used.

b/25255451

Change-Id: I3e2f7511c7a418f211a8b17a62b98f2736dfc91d
2016-04-04 16:23:18 -07:00
Rubin Xu ac6e5d7956 Listen on new broadcasts for profile changes.
The change is due to API review comments on the platform side.

Bug: 27532254
Change-Id: I44133fbb5c3ee13d0523a72b25d2e1c5d1eba6a0
2016-04-04 16:13:35 +01:00
Sunny Goyal 44c06437e2 Fixing bug where folders on the first screen and hotseat are not
registered by the Launcher if there are folders on other screens

Instead of maintaing a static map of folder items, searching it
in the workspace during item removal.

Change-Id: I8aa93b3aa1d0bd812204471e3103f4bd29d1cd3d
2016-04-02 11:00:56 -07:00
Sunny Goyal 0609564d8c Fixing white background under hotseat
am: 19c5c57

* commit '19c5c5765d38656b298465f33256fd5c5b0978b5':
  Fixing white background under hotseat

Change-Id: I9aaed8a502cb355aaf2758e8493056e2057b0575
2016-04-02 17:36:24 +00:00
Sunny Goyal 19c5c5765d Fixing white background under hotseat
Change-Id: I8b39bc9104dc16981e5642124cfd819da7a2f172
2016-04-02 10:28:22 -07:00
Tony Wickham f5d9aea0f5 Add palette dependency to Android.mk.
am: d9dc2e2

* commit 'd9dc2e2cb37d581d77edf4901679b70e01eb03e6':
  Add palette dependency to Android.mk.

Change-Id: Idcb6634812180f9ee62428382cfda38a4ac69f85
2016-04-01 23:18:29 +00:00
Tony Wickham d9dc2e2cb3 Add palette dependency to Android.mk.
Change-Id: I34fcfa87a35df8ec1029669d6b570c1a95029b66
2016-04-01 16:05:15 -07:00
Sunny Goyal f9a0f34f7e Merge "No need to differentiate package event into app or updated based on a package is being updated or not" into ub-launcher3-calgary
am: 8ab8fe9

* commit '8ab8fe9441a37c5fd5b15fc76d417d038fed18cf':
  No need to differentiate package event into app or updated based on a package is being updated or not

Change-Id: Iae1179b095f24336e1fcaeb0adc5ee511496cbd4
2016-04-01 22:55:14 +00:00
Tony Wickham c9cff33993 Merge "Added ColorExtractionService and ExtractedColors." into ub-launcher3-calgary
am: 6ed21ee

* commit '6ed21eebb41eb118770750c9dba94145fb7228aa':
  Added ColorExtractionService and ExtractedColors.

Change-Id: I4817bbb54ae5fe062e42eb7848c37bf0dff461ca
2016-04-01 22:55:13 +00:00
Sunny Goyal 87d01fa67d Merge "Fixing the loader to bind the first screen as well as the hotseat together" into ub-launcher3-calgary
am: 9c17741

* commit '9c17741387e7828765436b777ba084a5bacb5b31':
  Fixing the loader to bind the first screen as well as the hotseat together

Change-Id: I415cedac6f6b1037a80b1afbc10c67886a7993a2
2016-04-01 22:55:13 +00:00
Sunny Goyal 8ab8fe9441 Merge "No need to differentiate package event into app or updated based on a package is being updated or not" into ub-launcher3-calgary 2016-04-01 22:51:54 +00:00
Tony Wickham 6ed21eebb4 Merge "Added ColorExtractionService and ExtractedColors." into ub-launcher3-calgary 2016-04-01 22:44:58 +00:00
Sunny Goyal 9c17741387 Merge "Fixing the loader to bind the first screen as well as the hotseat together" into ub-launcher3-calgary 2016-04-01 22:43:28 +00:00
Tony Wickham 827cef203f Added ColorExtractionService and ExtractedColors.
- Launcher has an instance of ExtractedColors, which is loaded from
  LauncherProvider in onCreate() and whenever the wallpaper changes.
  - When the wallpaper changes, the ColorExtractionService is started
    in the :wallpaper-chooser process.
  - ColorExtractionService builds an ExtractedColors instance and saves
    it as a String in LauncherProvider.
  - When the results are saved, Launcher gets a callback through
    LauncherProviderChangeListener and reloads the ExtractedColors.
- Whenever Launcher loads Extractecolors, it also re-colors items
  (currently a no-op).

Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
2016-04-01 15:40:57 -07:00
Adam Cohen 54097aaab7 Merge "Fix a couple polish bugs with new folder previews" into ub-launcher3-calgary
am: cd2717f

* commit 'cd2717fb013871588e96f926251dba5cfad25e3a':
  Fix a couple polish bugs with new folder previews

Change-Id: I46c7aece0b51e2dd710c3fdc08745612c2c674d0
2016-04-01 21:57:45 +00:00
Adam Cohen cd2717fb01 Merge "Fix a couple polish bugs with new folder previews" into ub-launcher3-calgary 2016-04-01 21:51:17 +00:00
Adam Cohen f172b747c2 Fix a couple polish bugs with new folder previews
-> Don't reuse the same background object for the folder create preview
   since this can cause interruptions in the animations for previous
   creation previews.
-> When drawing the background to preview creation, don't draw the stroke
   above the icon since the icon is not yet contained by the folder.

Change-Id: Ib666dc2453df465b342c02f3bd109b553a769dcc
2016-04-01 11:50:31 -07:00
Tony Wickham fa14e92896 Fix spring-loaded highlight on JB.
am: 1c1c088

* commit '1c1c08899402a78c5f8baed9a8bd3f999c4249d7':
  Fix spring-loaded highlight on JB.

Change-Id: Ia029dba5070f26ff7ca42c26ff7d166185d87426
2016-03-31 22:31:12 +00:00
Tony Wickham 1c1c088994 Fix spring-loaded highlight on JB.
It was setting the panel to black when highlighting a CellLayout,
instead of just adding a white border.

Bug: 27135377
Change-Id: I879b12613b0cbfdda2a980065c66ea3ceb960f33
2016-03-31 15:09:15 -07:00
Sunny Goyal 93f878c168 Fixing the loader to bind the first screen as well as the hotseat together
When the loader ran for the first time (or when called due to force-reload),
it was binding with page = -1 (invalid pageId is -1001). This was causing loader
to assume the workspace to be on a valid screen, and causing the loader to
only bind the hotseat first.

Bug: 27705838
Change-Id: Ia8eb2543d8cee1268256b2d6bccf33828937c54a
2016-03-30 18:24:07 -07:00
Sunny Goyal 144154d435 No need to differentiate package event into app or updated based on
a package is being updated or not

Package update handling is a super set of package add handling  which
also updates the all-apps and package disabled state.
This also prevents addtion of a home screen icon when a managed profile
app on SD card become available.

Bug: 27877926
Change-Id: I9264e422fd30b94ce6ebb2e5adea820b3cda3063
2016-03-30 16:51:12 -07:00
Sunny Goyal 3b6f38baa9 Fixing black search bar background in search bar
am: 7efe651

* commit '7efe651226f999ca32506fd2756ae18935320182':
  Fixing black search bar background in search bar

Change-Id: I725f6f5b72babc70edc19d27c45f4b4df681e87e
2016-03-30 16:39:40 +00:00
Sunny Goyal 7efe651226 Fixing black search bar background in search bar
Bug: 27919354
Change-Id: I3f43d8f39640c2db4b192ea316aebf11189982e3
2016-03-30 09:19:45 -07:00
Adam Cohen e76df51497 Yet another RecyclerView child that needs match_parent
am: bd238c9

* commit 'bd238c9e1bd742175518f176077100b812346e85':
  Yet another RecyclerView child that needs match_parent

Change-Id: I3095343d6f42e1948a7544444ea6f6f05de0ebf6
2016-03-29 22:21:45 +00:00
Adam Cohen bd238c9e1b Yet another RecyclerView child that needs match_parent
issue 27705077

Change-Id: I16bdefe37351c26897a57d314a58718cb837543d
2016-03-29 15:07:44 -07:00
Tony Wickham 086dc48b68 Add distance threshold for dragged items before accepted by targets.
am: 855b1b5

* commit '855b1b5fff5f6f03a641b3b6973780a24fd9641e':
  Add distance threshold for dragged items before accepted by targets.

Change-Id: I99830fd378138599c8e8091ac21d0780e04de424
2016-03-29 21:11:50 +00:00
Tony Wickham 855b1b5fff Add distance threshold for dragged items before accepted by targets.
With the new spring-loaded workspace, items are often very close to
button drop targets (e.g. App Info) at the start of a drag. This
threshold makes it less likely to accidentally drop on a target.

Bug: 24099531
Change-Id: I4912ceeb0b63958816177c7bde073e825176d987
2016-03-29 12:41:14 -07:00
Tony Wickham 9ab0a2a99c Merge "Invalidate scrim throughout animation from overlay to workspace." into ub-launcher3-calgary
am: 1f5d3cc

* commit '1f5d3ccc253ab0e4b2abb911a83e7f4d33b6869f':
  Invalidate scrim throughout animation from overlay to workspace.
2016-03-29 00:10:18 +00:00
Tony Wickham 1f5d3ccc25 Merge "Invalidate scrim throughout animation from overlay to workspace." into ub-launcher3-calgary 2016-03-29 00:02:45 +00:00
Adam Cohen 230affa4f7 Remove default app suggestions from LauncherExtension
am: 11b644d

* commit '11b644d6e1661e5365f47772b1e6741719f73506':
  Remove default app suggestions from LauncherExtension
2016-03-28 23:57:49 +00:00
Adam Cohen 11b644d6e1 Remove default app suggestions from LauncherExtension
Change-Id: I7c3a1465aaa54ad3b988975810f29ce89e650ec1
2016-03-28 16:43:33 -07:00
Tony Wickham 3f6c0ee7f5 Invalidate scrim throughout animation from overlay to workspace.
Bug: 27135377
Change-Id: I19e947ac271063beaa6c5d11906631d0afcbb781
2016-03-28 16:43:20 -07:00
Adam Cohen a29bb82d0c Fix alignment issue with suggested apps in all apps
am: 1ad3ef3

* commit '1ad3ef3e81688a92dcfe2b2d39631af6d50baf5c':
  Fix alignment issue with suggested apps in all apps
2016-03-28 23:14:29 +00:00
Dmitry Kalita a50985a2e9 Merge "Fix restoring of layer type" into ub-launcher3-calgary
am: a0088a5

* commit 'a0088a51063f422ec31d1f095c3fcccdd0f2c15a':
  Fix restoring of layer type
2016-03-28 23:14:29 +00:00
Adam Cohen 1ad3ef3e81 Fix alignment issue with suggested apps in all apps
-> New RecyclerView handles wrap_content differently
-> Add mock set of suggested apps to the LauncherExtension

issue: 27581978
Change-Id: Id080e212e0425515fa66e821d116b95284bb3526
2016-03-28 15:51:25 -07:00
Sunny Goyal a0088a5106 Merge "Fix restoring of layer type" into ub-launcher3-calgary 2016-03-28 22:50:06 +00:00
Dmitry Kalita 814ed9ab77 Fix restoring of layer type
Change-Id: I1233b846247b270644325c0ad0229a23bfb29040
Signed-off-by: Dmitry Kalita <rusmonster@gmail.com>
2016-03-28 15:48:36 -07:00