Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal 9f44d7dc3a Revert "Updating current page when changing the frescroll mode"
This reverts commit debf81470d.

Change-Id: Ib5b60c21be2d112c6c6e453168cb5bf01a7bd971
2016-04-07 20:06:54 +00:00
Sunny Goyal dfeaa9a99e Adding a check for NYC in utilities
Change-Id: I37ec2b571374cc093b73032645fd36e3dff805b2
2016-04-07 12:56:50 -07:00
Kenny Guy e0b655e845 Respond to managed profile availabilty Intents.
Grey out applications when managed profile is
not available.

Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
(cherry picked from commit ff05f4375d)
2016-04-07 19:41:52 +00:00
Kenny Guy 82fdb81d63 Grey out suspended applications.
Grey out application shortcuts and all apps entries
for packages that are suspended.

Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
(cherry picked from commit 44cba69638)
2016-04-07 19:39:58 +00:00
Sunny Goyal 74bc04616b Fixing wrong grid size definitions
am: 1ab2263

* commit '1ab22630a0c1e16873eb49d0021e0f3dbec4b0ba':
  Fixing wrong grid size definitions

Change-Id: Iab0288528ec4bea2bc332315b85dc04dddd8f051
2016-04-07 19:35:49 +00:00
Sunny Goyal 1ab22630a0 Fixing wrong grid size definitions
Bug: 27958565
Change-Id: Icabc651552bbf6483fedbaeb52745c48d418f9ea
2016-04-07 12:21:26 -07:00
Sunny Goyal 23ac9cb3e1 Calling start/stop listening in onStart/onStop
AppWidgetHost in N was changed to make start/stop lisenting calls
light weight, which allows launcher to avoid getting unnecessary
updates when its not visible

Bug: 23892701
Change-Id: I0ca6e02400992bc4e0359e45a3d66b9252751402
2016-04-07 12:17:18 -07:00
Sunny Goyal d09c37052e Removing dependency on getApplicationInfo method added in N
This method is goiing away. We don't need this method anyway
since LauncherActivityInfo already has the information

Change-Id: Ic6afa1df14958b894925d730e01a2e2d2a6fb98c
2016-04-07 11:38:10 -07:00
Sunny Goyal 4ac17c04bb Merge "Updating current page when changing the frescroll mode" into ub-launcher3-calgary
am: b8b070c

* commit 'b8b070c2dfb27d9ba168c45dd5503e89035a1139':
  Updating current page when changing the frescroll mode

Change-Id: Id9e9f799d4296d5895e01a702c2edc26bc583f27
2016-04-07 02:15:24 +00:00
Sunny Goyal b8b070c2df Merge "Updating current page when changing the frescroll mode" into ub-launcher3-calgary 2016-04-07 02:09:38 +00:00
Sunny Goyal debf81470d Updating current page when changing the frescroll mode
Bug: 28054048
Change-Id: I081db915445b60f96607d4a0c30ffc8ab476fe24
2016-04-06 18:42:31 -07:00
Tony Wickham 549ccf8d0a Merge "Stop animating highlighted page border in spring-loaded mode." into ub-launcher3-calgary
am: 5b9a6e3

* commit '5b9a6e3f399e645bfcd7e5a1cd74753309fad1c8':
  Stop animating highlighted page border in spring-loaded mode.

Change-Id: I4a390976250ad198db1fccf4bd68802e84701a11
2016-04-07 01:32:30 +00:00
Tony Wickham 5b9a6e3f39 Merge "Stop animating highlighted page border in spring-loaded mode." into ub-launcher3-calgary 2016-04-07 01:24:14 +00:00
Tony Wickham 2066619511 Merge "Add velocity threshold so that fast pinches (flings) are detected." into ub-launcher3-calgary
am: 3b21a97

* commit '3b21a970795e32de46a92de227e91b9efa1f6478':
  Add velocity threshold so that fast pinches (flings) are detected.

Change-Id: I18a33c980b0087e0e2bc38ea70beae737d44368d
2016-04-06 21:34:12 +00:00
Tony Wickham 3b21a97079 Merge "Add velocity threshold so that fast pinches (flings) are detected." into ub-launcher3-calgary 2016-04-06 21:28:46 +00:00
Tony Wickham 012734d7c4 Add velocity threshold so that fast pinches (flings) are detected.
Bug: 27676309
Change-Id: Id3ba05c67abac8847fcff22532ea9da9ef10a5ae
2016-04-06 14:13:29 -07:00
Sunny Goyal aef8872dfa Fixing folder icon not getting redrawn when the contents change
am: c52ba71

* commit 'c52ba710053e4c6927937dd1a26d1abe06b6fa99':
  Fixing folder icon not getting redrawn when the contents change

Change-Id: I61bca05bd06a0bee248089d7cac11f9b02154cad
2016-04-06 19:51:30 +00:00
Sunny Goyal c52ba71005 Fixing folder icon not getting redrawn when the contents change
> Removing parent from ItemOperator as inconsistant values were
being passed in workspace and folderPagedView
> Fixing itemChanged causing multiple redraws, by passing a
'animate' parameter to explicitely request animation

Bug:27740161
Bug:28015426

Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
2016-04-06 12:46:36 -07:00
Tony Wickham efe03f54ae Merge "Disable pinch gesture when accessibility is enabled." into ub-launcher3-calgary
am: e316a7f

* commit 'e316a7fa4bf55209712c49d92f98f65ff378dc4a':
  Disable pinch gesture when accessibility is enabled.

Change-Id: Ibeb910d6d0f1e19ce67f3af7d237351b628c4839
2016-04-06 19:39:58 +00:00
Sunny Goyal 09168a9f3d Merge "Deleting resources added due to merge conflicts" into ub-launcher3-calgary
am: 4a754f8

* commit '4a754f821bf1cf4434ee48a2783d79b421bda837':
  Deleting resources added due to merge conflicts

Change-Id: If24fd61b906d000e2a816de594c884a733423f16
2016-04-06 19:39:57 +00:00
Tony Wickham e316a7fa4b Merge "Disable pinch gesture when accessibility is enabled." into ub-launcher3-calgary 2016-04-06 19:36:01 +00:00
Sunny Goyal 4a754f821b Merge "Deleting resources added due to merge conflicts" into ub-launcher3-calgary 2016-04-06 19:31:40 +00:00
Sunny Goyal b9f3d025d8 Deleting resources added due to merge conflicts
Change-Id: I26e46e0470c6b2a33a633b69a5f636b30a61dbc7
2016-04-06 12:29:33 -07:00
Tony Wickham e22172537b Disable pinch gesture when accessibility is enabled.
Bug: 27676309
Change-Id: Iba0f04693c494f258ef21d740ee933f9c32a7674
2016-04-06 11:52:42 -07:00
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
Tony Wickham 33326074b1 Stop animating highlighted page border in spring-loaded mode.
It looked weird, because the scrim cutout happens immediately
and the border flickered into place shortly after.

Bug: 27135377
Change-Id: Iff861db73c438c7dabccd6ed7c4ee38dbeb77ea1
2016-04-04 15:05:49 -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