Commit Graph

16725 Commits

Author SHA1 Message Date
Jonathan Miranda 9ad87463a8 Revert "Update Folders to match spec."
This reverts commit fd8fa136f5.

Change-Id: Ifb8ce81e23f38df2eb2c26f93376eca19caae5b1
2017-07-26 11:05:29 -07:00
Sunny Goyal 44deaac9a3 [automerger] Updating fade-effect parameters: > Shifting the effect at the edge in the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children am: 5d80c28161
Change-Id: I5f0083b29d79dbd60c1a5b41e42a1b59e6599a65
2017-07-26 13:44:22 +00:00
Sunny Goyal 5d80c28161 Updating fade-effect parameters:
> Shifting the effect at the edge in the presence of padding
> Removing fade effect at the bottom
> Fixing wrong call for translating children

Bug: 63003761
Change-Id: Ia9d030de60e933a2e688496109d62977885c2c0d
2017-07-26 06:43:50 -07:00
Jon Miranda 30d0aa2605 Launcher grid changes.
* Tighten up space on Workspace/All Apps for tall devices.
* Decrease the cell layout padding.

Bug: 63996463
Change-Id: Ifc89e4786b7033e2af77d3742006d8c9ee719081
2017-07-25 15:55:29 -07:00
Jonathan Miranda e92e6e4eab [automerger] Launcher grid changes. am: 30d0aa2605 am: 3aa645b7e6
Change-Id: I04ac3ff58949f16a3f0de820efe5da0536fc306b
2017-07-25 22:54:56 +00:00
Jonathan Miranda 3aa645b7e6 [automerger] Launcher grid changes. am: 30d0aa2605
Change-Id: I2acf9e9086534266b97846fbf3d9ea4181839f6f
2017-07-25 22:54:53 +00:00
Sunny Goyal ccf0561da8 [automerger] Adding spring effect for folder icons when dragging similar to adaptive icons am: e29897f503
Change-Id: I60061185696ea977003bd84181b0374cbe116f1e
2017-07-25 21:31:11 +00:00
Sunny Goyal e29897f503 Adding spring effect for folder icons when dragging similar to adaptive icons
Bug: 63889144
Change-Id: Idd1fd13c6343bf3e0a3a0e5ff0be730d41996575
2017-07-25 14:30:54 -07:00
TreeHugger Robot df4aaca594 Merge "Fix bug when dragging FolderIcon between Workspace/Hotseat." into ub-launcher3-dorval-polish 2017-07-24 19:46:47 +00:00
Jon Miranda 0c172151c3 Fix bug when dragging FolderIcon between Workspace/Hotseat.
Bug: 63902464
Change-Id: I7995295d5c350720030abc6651af681c880464f8
2017-07-24 12:32:41 -07:00
Jonathan Miranda fcf962b09d Fix bug when dragging FolderIcon between Workspace/Hotseat. am: 0c172151c3 am: 4560d2f731
Change-Id: I807839155aeeada1700cf9f2471023032f94611e
2017-07-24 19:31:08 +00:00
Jonathan Miranda 4560d2f731 Fix bug when dragging FolderIcon between Workspace/Hotseat. am: 0c172151c3
Change-Id: I07704d09c7005d9b4df25f21ac0c062aaea9a507
2017-07-24 19:31:06 +00:00
Hyunyoung Song f38758de10 Merge "separate enforceContainerWithinScreen logic to a private method" into ub-launcher3-dorval-polish 2017-07-24 19:19:52 +00:00
Hyunyoung Song 47153d72b8 Merge changes from topic 'am-866a059a-f7fc-4082-9b78-f35b177cf256' into ub-launcher3-master
* changes:
  separate enforceContainerWithinScreen logic to a private method am: 27790352a3 am: 6dc62fb2d4
  separate enforceContainerWithinScreen logic to a private method am: 27790352a3
  separate enforceContainerWithinScreen logic to a private method
2017-07-24 19:19:52 +00:00
Hyunyoung Song 345e10e5e4 Merge changes from topic 'am-866a059a-f7fc-4082-9b78-f35b177cf256' into ub-launcher3-dorval-polish2
* changes:
  separate enforceContainerWithinScreen logic to a private method am: 27790352a3
  separate enforceContainerWithinScreen logic to a private method
2017-07-24 19:19:52 +00:00
Jonathan Miranda 14211ed13e Remove extra call to AllAppsContainerView#reset. am: 14709c6eea am: ba99c5c1fe
Change-Id: I87c5316d072275d3cbbbf3d48da7500f036fe1d1
2017-07-24 19:19:43 +00:00
Jonathan Miranda ba99c5c1fe Remove extra call to AllAppsContainerView#reset. am: 14709c6eea
Change-Id: I3c2b33376f3051b4775b7079ac138048d1acda29
2017-07-24 19:19:41 +00:00
Jon Miranda 14709c6eea Remove extra call to AllAppsContainerView#reset.
We were calling reset twice:
* LauncherStateTransitionAnimation#startAnimationToWorkspaceFromAllApps
* AllAppsTransitionController#finishPullDown

Bug: 63711551
Change-Id: Ib695332f537c270ecd3a67c4369fe90b8761032a
2017-07-24 12:19:21 -07:00
Sunny Goyal 507f4fb2d6 Merge "Simplifying FeatureFlags by moving common flags to a base class. Only the modified flags need to be redefined." into ub-launcher3-dorval-polish2 2017-07-24 18:43:27 +00:00
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
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
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
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
Hyunyoung Song 6dc62fb2d4 separate enforceContainerWithinScreen logic to a private method am: 27790352a3
Change-Id: I965c403341a9bca872a0d14c455e25aa254cf41e
2017-07-20 21:00:03 +00:00
Hyunyoung Song 27790352a3 separate enforceContainerWithinScreen logic to a private method
Change-Id: Ifcf8c6a79286269646a845b5be6cfa92b64fcbcc
2017-07-20 13:57:23 -07: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