Commit Graph

12777 Commits

Author SHA1 Message Date
Sunny Goyal 064745ab2f Merge "Using common method for updating icons in cache" into ub-launcher3-master 2016-10-10 21:18:45 +00:00
Sunny Goyal 41e1e54fdf Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish
am: 327f7b7125

Change-Id: I5d1dfd626223cdd27de2f58ca84426d2c7de630b
2016-10-10 21:17:28 +00:00
Sunny Goyal 802f3255a7 Updating the folder cell dimensions to be closer to a square
am: 68f240eb54

Change-Id: I68047a8eba8b3a0c8117fedbc45b6100dd04b023
2016-10-10 21:17:28 +00:00
Sunny Goyal 631ffbda64 Merge "Refactoring floating view opening/closing logic" into ub-launcher3-master 2016-10-10 21:00:10 +00:00
Sunny Goyal 51e15402fa Merge "Refactoring AppWidgetResizeFrame" into ub-launcher3-master 2016-10-10 20:59:34 +00:00
Sunny Goyal 327f7b7125 Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish 2016-10-10 20:37:51 +00:00
Sunny Goyal 740ac7f00e Refactoring floating view opening/closing logic
> Creating a base view for floating panels with some common methods
> Moving the getOpen method to individual classes
> Moving the folder icon animation logic to folder icon
> Moving all the logic related for opening folder to Folder class

Change-Id: I898dfb6870b857cb921d2729b89618bc43ff2e88
2016-10-10 13:36:03 -07:00
Jonathan Miranda cc88b5bc94 Merge "Added logging for pinching in/out b/w workspace and overview." into ub-launcher3-master 2016-10-10 18:35:45 +00:00
Hyunyoung Song d84a3f9401 Merge "Refactors in UserEventDispatcher" into ub-launcher3-master 2016-10-10 17:03:14 +00:00
Sunny Goyal 08ca40f976 Refactoring AppWidgetResizeFrame
> Defining the layout in xml
> Simplifying the touch handling calculations

Change-Id: Iccfd82161d1e678d77ad6ff63f76e04ad905f9d8
2016-10-07 15:16:29 -07:00
Hyunyoung Song 5fe414f9a4 Merge "Set correct accessibility delegate for the overview mode. b/32004538" into ub-launcher3-calgary-polish
am: 215a2ea0e1

Change-Id: I1e8cb796f98624484a00a5d8051f04a52a8af4b8
2016-10-07 21:51:45 +00:00
Hyunyoung Song 62162d33be Set correct accessibility delegate for the overview mode. b/32004538
am: eb205af09f

Change-Id: I065a438600dbdd42faf0216ba657ac3ac7935947
2016-10-07 21:51:44 +00:00
Hyunyoung Song 215a2ea0e1 Merge "Set correct accessibility delegate for the overview mode. b/32004538" into ub-launcher3-calgary-polish 2016-10-07 21:48:19 +00:00
Hyunyoung Song eb205af09f Set correct accessibility delegate for the overview mode.
b/32004538

Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
2016-10-07 14:19:30 -07:00
Sunny Goyal 68f240eb54 Updating the folder cell dimensions to be closer to a square
Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
2016-10-07 13:36:56 -07:00
Sunny Goyal fc744144ef Using common method for updating icons in cache
Change-Id: Ide1979d02387ffcb8839174ab9fdfa9e5b6e1d47
2016-10-07 11:46:31 -07:00
Sunny Goyal 94f0c04e1d Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish
am: 81300a9f75

Change-Id: I0e34f2a0b17b702e1e29bbb5f3c73e09811ed1a6
2016-10-07 18:18:54 +00:00
Sunny Goyal 97574ede5a Using add/replace instead of update when updating an entry.
am: caa52918f1

Change-Id: I728322245f07e0bc87e8a0726a22932f57248500
2016-10-07 18:13:30 +00:00
Sunny Goyal 81300a9f75 Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish 2016-10-07 18:04:16 +00:00
Sunny Goyal caa52918f1 Using add/replace instead of update when updating an entry.
Update operation was not including version and updateTime columns
leading to a update operation getting called wheneven launcher loads.

Bug: 32004297
Change-Id: I5f1793633ce3bb72d5641a82502b3ba8b9cdff7d
2016-10-07 10:00:56 -07:00
Hyunyoung Song 9135a52eba Bye bye swipe down search b/31935141
am: 1ee2db14e0

Change-Id: I067cca8161d23f2df7ed03acd569a02a2b0de2b4
2016-10-07 01:48:35 +00:00
Hyunyoung Song df7ef68bbf Refactors in UserEventDispatcher
- LaunchSource -> LogContainer

Change-Id: I71bfee992fb1ba7ae80e824d419f7bf8d3020999
2016-10-06 17:52:22 -07:00
Hyunyoung Song 1ee2db14e0 Bye bye swipe down search
b/31935141

Change-Id: I4ab6741baa4681358a8a234860179d2de4290fd7
2016-10-06 12:37:45 -07:00
Hyunyoung Song 0de011705b Code sanitization
- Removed bad method/class name typos

Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
2016-10-06 10:57:29 -07:00
Jonathan Miranda cc257380fe Merge "Fix page indicator bug where it gets stuck as a blue line." into ub-launcher3-master 2016-10-06 15:22:03 +00:00
TreeHugger Robot c3c75bdc23 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-10-06 09:28:52 +00:00
Bill Yi 4f66ee5bd4 Import translations. DO NOT MERGE
Change-Id: I79312af8c821187e4e04c482e36a37b970f66109
Auto-generated-cl: translation import
2016-10-06 01:59:32 -07:00
Jon Miranda 4b513f392f Fix page indicator bug where it gets stuck as a blue line.
Bug: 31909035
Change-Id: I4cdda057807476c1c5ec454fd17dbfa9f0ed5111
2016-10-05 17:05:37 -07:00
Jon Miranda c4de137793 Added logging for pinching in/out b/w workspace and overview.
Change-Id: I50f81a8a7841addef652cba2c448d09f3341c8b2
2016-10-05 15:40:51 -07:00
Jon Miranda f3e35d9331 Add logging for long presses. Reset elapsed timer when changing containers.
This is the first CL in a series of logging-related CLs. Upcoming CLs will
include using Commands (HOME_INTENT, BACK) and "tapping outside" of a container
logic.

Change-Id: I62f0a08c7a9d9fce0baa5c12c67e21f63ab16a7c
2016-10-05 15:22:23 -07:00
Hyunyoung Song cc3f3349f4 Add user event logging for tap on search b/31772967
am: d8fcffb8fe

Change-Id: I67e36fb3167a40c24957b4ec3bb7ed08d9966e62
2016-10-05 18:27:37 +00:00
Sunny Goyal ce9b69833e Merge "Fixing creash when binding QSB" into ub-launcher3-master 2016-10-04 20:58:44 +00:00
Sunny Goyal c39ff736c0 Fixing creash when binding QSB
Change-Id: I0db112e3dc60cb59db10fde3d9088c11a09fae8c
2016-10-04 13:51:16 -07:00
Tony Wickham 10236d6ac7 Update pre-drag lifecycle for apps with shortcuts.
- First of all, deferred drag has been renamed to pre-drag
  to avoid confusion with the existing deferred end drag.
- For normal drags, the cycle is still startDrag -->
  onDragStart --> onDrop --> onDropComplete --> onDragEnd.
- Pre-drags have two additional callbacks: onPreDragStart
  and onPreDragEnd. onPreDragStart is called between
  startDrag and onDragStart, and onPreDragEnd is called
  at the same time as onDragStart or onDragEnd.
- If the pre-drag has not transitioned to a full drag before
  onDragEnd, onDragStart and onDropComplete are skipped
  (onDrop is still called to allow the DragView to animate).

Change-Id: Icd7a8f75d5fcc159f9a52758c22ab6eae3edb9e2
2016-10-04 12:26:35 -07:00
Sunny Goyal 59769e3331 Merge "Moving the widget auto-advance logic to AppWidgetHostView instead of handling it in launcher" into ub-launcher3-master 2016-10-03 21:35:39 +00:00
Sunny Goyal 7a372033ac Merge "Exposing custom actions using keyboard shortcut" into ub-launcher3-master 2016-10-03 21:12:20 +00:00
Hyunyoung Song d8fcffb8fe Add user event logging for tap on search
b/31772967

Change-Id: I71ececb8195d46405623a8ae2a99d001088d9181
2016-10-03 14:01:25 -07:00
Hyunyoung Song 61e917078a Merge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3-calgary-polish
am: 70a421e224

Change-Id: I137233073999cf59871545c54b63f8bd889fdf8e
2016-09-30 23:29:33 +00:00
Hyunyoung Song 1784d579f4 Consume ACTION_UP when fling is detected on top of icon
am: 035a516e18

Change-Id: I0eb8f0c83e1a1611d8bb3b9309d69b8df7c7a19d
2016-09-30 23:29:32 +00:00
Hyunyoung Song 70a421e224 Merge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3-calgary-polish 2016-09-30 23:21:05 +00:00
Hyunyoung Song 035a516e18 Consume ACTION_UP when fling is detected on top of icon
Bug: Adam found out that when you swipe down fast on an icon, you can
launch search AND launch an app. Only one should trigger and not both.

Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae
2016-09-30 16:13:55 -07:00
Hyunyoung Song e5968ee90f Merge "Agressively change the color of the the all apps background during pull up b/30502942" into ub-launcher3-calgary-polish
am: 37ecabc88e

Change-Id: I9bd651924636488451e000d805eda3113e334932
2016-09-30 20:57:21 +00:00
Hyunyoung Song 029e8b2e3e Agressively change the color of the the all apps background during pull up b/30502942
am: 81a56f9acc

Change-Id: I0f3bd04b2bb69dbeb2f4578c74fdbfa5b34c0e8b
2016-09-30 20:57:20 +00:00
Hyunyoung Song 37ecabc88e Merge "Agressively change the color of the the all apps background during pull up b/30502942" into ub-launcher3-calgary-polish 2016-09-30 20:53:21 +00:00
Hyunyoung Song 81a56f9acc Agressively change the color of the the all apps background during pull up
b/30502942

Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
2016-09-30 12:57:16 -07:00
Sunny Goyal b57c893db8 Removing some TODOs with proper system API
Change-Id: I0d0e667cd6af8a7b9dbf3d0fd417f009ae402519
2016-09-30 12:19:13 -07:00
Sunny Goyal 1acc56a4eb Moving the widget auto-advance logic to AppWidgetHostView instead of
handling it in launcher

This fixes the bug where launcher ignores auto-advance property changes
during app update or widget remote views update as well as simplifies
widget management

On potential downside of this refactoring is that the auto advance will
keep running even when all-apps or widgets tray is open. We could
eventually use onVisibilityAggregated to handle visibility changes,
but currenly the workspace visibility is not being updated properly
in these cases

Change-Id: Ie7331fec1877f43ad23e634d37571d8f3ef51e59
2016-09-30 11:18:38 -07:00
Bill Yi de45283519 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am: f7f41bd4fa  -s ours

Change-Id: Ia9a560e703630cc152ea32c667b49b37a7caee5b
2016-09-29 07:39:42 +00:00
Bill Yi dd592da88f Import translations. DO NOT MERGE
am: 2b7b76c018  -s ours

Change-Id: I834461c358294cc7c6e04cc53b0c04804af799be
2016-09-29 07:39:42 +00:00
TreeHugger Robot f7f41bd4fa Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish 2016-09-29 07:31:07 +00:00