Commit Graph

6954 Commits

Author SHA1 Message Date
Sunny Goyal 0e5e587119 Merge commit 'refs/changes/78/2581578/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-6a8d73db-af6d-4463-a587-dbe10787f8df
Change-Id: I4914cc6c6b263a4a555b563791d040c3d399ce2d
2017-07-24 11:21:36 -07:00
Jonathan Miranda 803fe9da4d Manually compute all apps cell height in multi-window mode. am: 1091e538b4 am: bf6bbe9a2a
Change-Id: Ief2d499040d8d8eb7dfac8eca8faadb6022078a1
2017-07-24 17:44:01 +00:00
Jonathan Miranda bf6bbe9a2a Manually compute all apps cell height in multi-window mode. am: 1091e538b4
Change-Id: I1421b4b05e2b38e1fac47310466154df1be8788b
2017-07-24 17:43:59 +00:00
Jon Miranda 1091e538b4 Manually compute all apps cell height in multi-window mode.
The All Apps cell height is set to match the Workspace.
This causes a problem in multi-window mode because only the
Workspace items do not have labels.

Bug: 63933609
Change-Id: I13be6e50c12d50465be0555721f273abfc0d836a
2017-07-24 10:45:36 -07:00
Sunny Goyal e1ee42c588 Simplifying FeatureFlags by moving common flags to a base class.
Only the modified flags need to be redefined.

Bug: 63967896
Change-Id: I521018a45a4c6b3280a4fbcf97cac698f8470a03
2017-07-24 01:03:43 -07:00
TreeHugger Robot a9c8c4adea Merge "Remove pulldown search feature flag Bug: 63713013" into ub-launcher3-master 2017-07-24 03:24:36 +00:00
TreeHugger Robot b57fdd8c1f Merge "Adding A feature flag to disable widgets and a corresponding build target Launcher3Go without widgets support" into ub-launcher3-dorval-polish2 2017-07-24 03:11:18 +00:00
Sunny Goyal c1d4eb0401 Adding A feature flag to disable widgets and a corresponding build target Launcher3Go without widgets support am: 64a75aa305
Change-Id: Id6536ab7ef920f350ce721daf303e394ed650edb
2017-07-21 21:10:26 +00:00
Sunny Goyal 64a75aa305 Adding A feature flag to disable widgets and a corresponding build
target Launcher3Go without widgets support

Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
2017-07-21 14:10:13 -07:00
Mario Bertschler c08f0c2859 Merge "Adding ability to set a custom blur mask filter and alphas in shadow generator." into ub-launcher3-dorval-polish 2017-07-21 20:37:16 +00:00
Mario Bertschler ae2d881d34 Merge changes from topic 'shadowweather' into ub-launcher3-dorval-polish2
* changes:
  Adding ability to set a custom blur mask filter and alphas in shadow generator. am: 665971c007
  Adding ability to set a custom blur mask filter and alphas in shadow generator.
2017-07-21 20:37:16 +00:00
Mario Bertschler 122c876d88 Merge changes from topic 'shadowweather' into ub-launcher3-master
* changes:
  Adding ability to set a custom blur mask filter and alphas in shadow generator. am: 665971c007 am: fdf394e284
  Adding ability to set a custom blur mask filter and alphas in shadow generator. am: 665971c007
  Adding ability to set a custom blur mask filter and alphas in shadow generator.
2017-07-21 20:37:16 +00:00
Hyunyoung Song 09d8e4977b Remove pulldown search feature flag
Bug: 63713013

Change-Id: I81ad92678ed7aa429a7a85477121fa49502a6a92
2017-07-21 13:37:01 -07:00
Sunny Goyal d1a2743f73 Merge "Using common fling detection logic for notification and all-apps" into ub-launcher3-dorval-polish2 2017-07-21 05:47:27 +00:00
Sunny Goyal bb3ecdbdfd Merge changes from topic 'am-8d8ca114-e86f-43c6-8613-588414d352dc' into ub-launcher3-master
* changes:
  Using common fling detection logic for notification and all-apps am: b72d8b2c8b
  Using common fling detection logic for notification and all-apps
2017-07-21 05:47:27 +00:00
Mario Bertschler fdf394e284 Adding ability to set a custom blur mask filter and alphas in shadow generator. am: 665971c007
Change-Id: I38abf88bae019b334de0176fba8d732155bb3d2a
2017-07-20 22:47:19 +00:00
Mario Bertschler 665971c007 Adding ability to set a custom blur mask filter and alphas in shadow
generator.

Bug: 63151770
Change-Id: I7d79b700b64ccb949816b7bf31d98cc76fa443ba
2017-07-20 15:45:55 -07:00
Jon Miranda fd8fa136f5 Update Folders to match spec.
Bug: 63825895
Change-Id: Ia1a139f1afd944eefcd370645142227317e2bf20
2017-07-20 15:08:06 -07:00
Jonathan Miranda 55f2c45729 Update Folders to match spec. am: fd8fa136f5
Change-Id: If10efb5a72bbe261f6e7af2b66e741b7a9ee350b
2017-07-20 22:06:54 +00:00
TreeHugger Robot 70999fef4b Merge "Adding support for derivative apps to safely extend LauncherLog proto" into ub-launcher3-dorval-polish2 2017-07-20 19:21:55 +00:00
Hyunyoung Song 1b169920e2 Adding support for derivative apps to safely extend LauncherLog proto am: 2385ebebee
Change-Id: I127f15b1ef3d7a8a84bfbf471b699ac8c24081bd
2017-07-20 19:04:56 +00:00
Sunny Goyal 2385ebebee Adding support for derivative apps to safely extend LauncherLog proto
Bug: 37676962
Change-Id: I24716070841b41418ac57b8dc367278e3ebdd046
2017-07-20 11:47:11 -07:00
TreeHugger Robot bdf6e7d8f8 Merge "Update when Launcher's scrim should fade." into ub-launcher3-dorval-polish 2017-07-20 18:20:34 +00:00
Jon Miranda 7fda285cf0 Update when Launcher's scrim should fade.
* Scrim will fade first time the user starts Launcher (unlocks device).
* Scrim will fade if resuming from a screen off and Launcher is in
  the foreground.

Bug: 63801668

Change-Id: I4465765fe5a0f81c2f4dec715f9f5a24a309fc1b
2017-07-20 11:10:07 -07:00
Jonathan Miranda db8bc9b044 Update when Launcher's scrim should fade. am: 7fda285cf0
Change-Id: I0761f13886f34d9f27bc50ee523a0c1de7f6a7a1
2017-07-20 18:09:39 +00:00
Sunny Goyal b72d8b2c8b Using common fling detection logic for notification and all-apps
> Refactoring SwipeDetector to both allow vertical and horizontal swipes
> Using SwipeDetector and common overscroll effect for notification swipes
  instead of a separate logic

Change-Id: Ib706ee179811ade59ddb68184e1c202365d147c4
2017-07-20 01:33:10 -07:00
Sunny Goyal 1a56a5286c Fixing tint not getting applied when an item is dragged over a drop target
> Changing spring animation to use drawable instead of views. This
  allows us to reuse the size calculations from AdaptiveIconDrawable,
  instead of reimplementing the logic.
> Updating tint logic to concat any existing filter and reapply it to
  the drawable

Bug: 63873434
Change-Id: I30e97d181bd3439e5b10272d4964bad1c70ceb3c
2017-07-19 22:54:52 -07:00
Hyunyoung Song 60326ece20 Merge "PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug" into ub-launcher3-dorval-polish 2017-07-19 21:23:13 +00:00
Hyunyoung Song f567ee8f42 Merge changes from topic 'am-47bc3657-4ec5-48ea-a081-c94faa8bfc8c' into ub-launcher3-dorval-polish2
* changes:
  PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug am: 435a35dec3
  PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug
2017-07-19 21:23:13 +00:00
TreeHugger Robot 4426b1d27f Merge "Updating UserEventDispatcher to make some methods accessible." into ub-launcher3-dorval-polish 2017-07-19 20:30:44 +00:00
TreeHugger Robot 4dd5a5d19d Merge changes from topic 'am-948a617f-f892-4399-bd5c-3dd472692cca' into ub-launcher3-dorval-polish2
* changes:
  Merge commit 'refs/changes/98/2553198/2' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-948a617f-f892-4399-bd5c-3dd472692cca
  Updating UserEventDispatcher to make some methods accessible.
2017-07-19 20:30:44 +00:00
TreeHugger Robot 5be36b4941 Merge "Factor in CellLayout padding in cell size calculation." into ub-launcher3-dorval-polish 2017-07-19 20:25:57 +00:00
TreeHugger Robot 7c085bf7df Merge changes from topic 'am-ad7d3769-753e-4ddd-97fb-2d13b2d07948' into ub-launcher3-dorval-polish2
* changes:
  Factor in CellLayout padding in cell size calculation. am: 8632d9dd1e
  Factor in CellLayout padding in cell size calculation.
2017-07-19 20:25:57 +00:00
Hyunyoung Song febdbfcafb PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug am: 435a35dec3
Change-Id: I4c290f603c94955a9b85a9c4b91fa0738820d932
2017-07-19 19:35:46 +00:00
Hyunyoung Song 435a35dec3 PopupContainerWithArrow should align correctly in RTL mode
Test: see attached screenshot in the bug

Bug: 63721807

the horizontal gravity enforcement has to be done on (left+translateX) value
and not just translateX. Hence that enforcement has been moved to onLayout.

Change-Id: I9b6502dc55d59e04a406ebe71ac3b649b31d6088
2017-07-19 12:35:11 -07:00
TreeHugger Robot 0b5f8f82e3 Merge changes from topic 'am-121e73e9-eff7-4ee5-aecf-aaaaf9cc4eb5' into ub-launcher3-dorval-polish2
* changes:
  Fix regression which broke Workspace flings in RTL am: 5360b6ee4f
  Fix regression which broke Workspace flings in RTL
2017-07-19 18:13:20 +00:00
Sunny Goyal d3e669b9ae Merge commit 'refs/changes/98/2553198/2' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-948a617f-f892-4399-bd5c-3dd472692cca
Change-Id: I4b54791fcaaf09a9aad6774d19645e7d7793c75d
2017-07-19 11:08:35 -07:00
Sunny Goyal 2b50b53183 Updating UserEventDispatcher to make some methods accessible.
> Removing helper methods around fillInLogContainerData so that its easier to
  create events with 3 and more srcTargets
> Removing setPredictedApps from userEventDispatcher as its specific to Launcher
  and does not apply to other activities. Instead moving it to AllAppsRecyclerView

Bug: 63719473
Change-Id: Ib92621e41ede4ffe03892642ab173772b5a84dd1
2017-07-19 11:03:35 -07:00
Hyunyoung Song 6aa29a823a Merge "SwipeDetector should work on multi touch finger points Bug: 63815304 Change-Id: I66b0bedeed0bd3fadc5f2f73fd76e64010170c97" into ub-launcher3-dorval-polish2 2017-07-19 06:31:50 +00:00
Adam Cohen 7d522f885c Fix regression which broke Workspace flings in RTL am: 5360b6ee4f
Change-Id: Iabeb3b8975706c3b19cd8110f687cea3504a046c
2017-07-18 23:19:43 +00:00
Adam Cohen 5360b6ee4f Fix regression which broke Workspace flings in RTL
issue 63815505

Change-Id: Iac2f66235c0d36c0df58da20f3e0aace14c190b7
2017-07-18 16:19:35 -07:00
Hyunyoung Song 51e224a121 SwipeDetector should work on multi touch finger points
Bug: 63815304
Change-Id: I66b0bedeed0bd3fadc5f2f73fd76e64010170c97
2017-07-18 14:59:48 -07:00
TreeHugger Robot b11be0bff5 Merge "Decrease the animation delay when closing Folder from 2+ page." into ub-launcher3-dorval-polish 2017-07-18 20:05:16 +00:00
Jon Miranda 8632d9dd1e Factor in CellLayout padding in cell size calculation.
Bug: 63753505
Change-Id: I221dfb1d486110f8de3994085d917c12f82bcd0f
2017-07-18 12:42:15 -07:00
Jonathan Miranda d39707b662 Factor in CellLayout padding in cell size calculation. am: 8632d9dd1e
Change-Id: I5cf4a8b9ad63ce87efa88708cb4a99439497326c
2017-07-18 19:41:30 +00:00
Jon Miranda e8e6d9b658 Decrease the animation delay when closing Folder from 2+ page.
Bug: 36022592
Change-Id: I3ec956b354efb3836c4c3cf9baf361f763faae1f
2017-07-18 11:58:22 -07:00
Jonathan Miranda 79823ae46f Decrease the animation delay when closing Folder from 2+ page. am: e8e6d9b658
Change-Id: I76fbab2eae9ef97dfff43f85d76f1446fa8fa8a7
2017-07-18 18:57:43 +00:00
TreeHugger Robot 6596f75dd3 Merge "Using collator for string matching" into ub-launcher3-dorval-polish 2017-07-18 18:46:14 +00:00
TreeHugger Robot 21ae7d7cbe Merge changes from topic 'am-3df8d75d-ddd8-4045-a20e-f35d57b86835' into ub-launcher3-dorval-polish2
* changes:
  Using collator for string matching am: 05d2df1678
  Using collator for string matching
2017-07-18 18:46:14 +00:00
TreeHugger Robot 79cb830231 Merge "Dark page indicator for wallpapers that support dark text." into ub-launcher3-dorval-polish 2017-07-18 18:44:06 +00:00