Hyunyoung Song
df7ef68bbf
Refactors in UserEventDispatcher
...
- LaunchSource -> LogContainer
Change-Id: I71bfee992fb1ba7ae80e824d419f7bf8d3020999
2016-10-06 17:52:22 -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
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
TreeHugger Robot
8c9aa3c15a
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2016-09-29 07:30:45 +00:00
Bill Yi
09146cade4
Import translations. DO NOT MERGE
...
Change-Id: Ie8f3d7887e173108cb485370443068a0a346134a
Auto-generated-cl: translation import
2016-09-28 21:51:45 -07:00
Bill Yi
2b7b76c018
Import translations. DO NOT MERGE
...
Change-Id: I654a22df571448ce858325439e0d73a0d0bbe623
Auto-generated-cl: translation import
2016-09-28 21:50:56 -07:00
Tony Wickham
75ad10366d
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
...
am: f0fc3c4674
Change-Id: I965c225ab3ab0062c2176af933e019e77011a745
2016-09-29 01:36:19 +00:00
Tony Wickham
9b80528d44
Some minor fixes for extracted status bar.
...
am: 345bff3ce6
Change-Id: I3a9e57fb93124b1d462b0fb8173419b887e85a84
2016-09-29 01:36:18 +00:00
Tony Wickham
f0fc3c4674
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
2016-09-29 01:27:07 +00:00
Tony Wickham
31d75d2e13
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
...
am: d5e1ca2d05
Change-Id: I576f05f943df3b9aaf5e318d9d8afe7f54591a61
2016-09-28 23:53:42 +00:00
Tony Wickham
32b838e652
Decrease drop target left and right padding.
...
am: e0dab19c71
Change-Id: If9c1fcaa99fb9e41eefa61895752f1a7558c29bf
2016-09-28 23:53:41 +00:00
Tony Wickham
345bff3ce6
Some minor fixes for extracted status bar.
...
- setLightStatusBar() is now updateStatusBar(), with a forceLight
parameter. We set the status bar to be light if forceLight or
shouldBeLightStatusBar() (based on wallpaper).
- Force status bar to be light if all apps is open.
- Default to dark status bar, not light (light == dark icons)
Bug: 29452834
Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
2016-09-28 16:53:17 -07:00
Tony Wickham
d5e1ca2d05
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
2016-09-28 23:47:07 +00:00
Tony Wickham
e0dab19c71
Decrease drop target left and right padding.
...
Otherwise it looks like we are aggressively truncating the
text even though there is plenty of room to show it.
Bug: 31790418
Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd
2016-09-28 16:22:36 -07:00
Sunny Goyal
e03dbf5039
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
...
am: 7bb7ead9f7
Change-Id: Ic98c407acb2d0816ea18e2930e137eaa32d6a1e6
2016-09-28 23:01:38 +00:00
Sunny Goyal
60bf18876f
Fixing the newIntent logic to check the state before it has been reset.
...
am: 85313735fa
Change-Id: I3a43a49c467a750adb031df4c3b880d453116739
2016-09-28 23:01:38 +00:00
Sunny Goyal
7bb7ead9f7
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
2016-09-28 22:57:56 +00:00
Tony Wickham
0bc9e98d78
resolve merge conflicts of 9311387 to ub-launcher3-master
...
Change-Id: I449cd2c91c2906f04ebf844eab2d02befaeb2f4d
2016-09-28 14:40:28 -07:00
Tony Wickham
9311387a22
Enable light status bar when top of wallpaper is light.
...
(Light status bar = dark icons)
Bug: 29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
2016-09-28 14:16:11 -07:00
Sunny Goyal
85313735fa
Fixing the newIntent logic to check the state before it has been reset.
...
When home button is pressed, we reset all active state (close all-apps,
folder, shortcuts menu). But we do not go to the default screen if the
active state was non-zero (any of the containers were open).
Change-Id: Ia9a06729d65767124471c5b793323a55d822210a
2016-09-28 12:42:55 -07:00
Sunny Goyal
02aa0e4792
Merge "Cleaning up restore instance state logic" into ub-launcher3-master
2016-09-28 19:10:26 +00:00
Sunny Goyal
fe770c9feb
Cleaning up restore instance state logic
...
Restore instance state is only used for first binding. But in case of restore,
the binding happens synchronously, so there is not need to store the bundle
in a global variable
Change-Id: Ibc496bcd7c0d171056b8afc69f2c4d9a1270d40c
2016-09-28 11:35:13 -07:00
Hyunyoung Song
8866ccf510
Add user event logging for action on search box b/31772967
...
am: ffad962092
Change-Id: Ifb7364bc68bd4021e85241c793b223514e214f42
2016-09-28 02:54:19 +00:00
Hyunyoung Song
ffad962092
Add user event logging for action on search box
...
b/31772967
Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
2016-09-27 18:07:00 -07:00
Sunny Goyal
e2b9696023
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish
...
am: 1b7e9bc063
Change-Id: I22f83a9850f63a1a2bb00becd7fd1ce2610a2ab9
2016-09-27 17:11:10 +00:00
Sunny Goyal
a6f69d0ffa
Removing reflection from AlphabeticIndexCompat
...
am: 70fea7877d
Change-Id: I9e07b178e6911079e8575397167cc0e30aaa4aeb
2016-09-27 17:11:10 +00:00