Tony Wickham and android-build-merger
3f9f3a024d
Merge "Small cleanup for notifications" into ub-launcher3-dorval
...
am: 904166fd1e
Change-Id: I1f7eecf94ca6dd495e8ebdb3f0a98354a833678d
2017-03-16 19:27:26 +00:00
Tony Wickham and Android (Google) Code Review
904166fd1e
Merge "Small cleanup for notifications" into ub-launcher3-dorval
2017-03-16 19:22:51 +00:00
Jon Miranda
a7cddd2c96
Refactor Folder/FolderAnimationManager code.
...
* FolderAnimationManager is now lazy loaded.
* Extract methods to simplify code.
Bug: 35064148
Change-Id: I08a72ef19a1f21637f033059d5e228ef67135ccd
2017-03-16 12:12:46 -07:00
Tony Wickham
81ebe383f5
Small cleanup for notifications
...
- Add null check when collapsing footer, as container could be null
if the app is opened
- Remove redundant method that always passed mNotificationItemView
- Set mNotificationItemView to null when it is removed
Change-Id: Ia329815224b213fc688733eaaf6f29ee6888caaf
2017-03-15 14:46:02 -07:00
Jon Miranda and android-build-merger
a984221a37
Temporary fix for Widgets in battery saver mode.
...
am: 08d8bb9cde
Change-Id: If816544f1a115f5d3882b4335b747cae29a0205a
2017-03-15 18:44:40 +00:00
Jon Miranda
08d8bb9cde
Temporary fix for Widgets in battery saver mode.
...
Bug: 36246234
Bug: 36240579
Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9
2017-03-15 11:28:59 -07:00
Tony Wickham and android-build-merger
185f854bfa
Merge "Use default icon if notification icon is null." into ub-launcher3-dorval
...
am: a431fbb850
Change-Id: I493ea6c4248c81f33e5267e2450e646cff23c955
2017-03-15 17:30:30 +00:00
Tony Wickham and Android (Google) Code Review
a431fbb850
Merge "Use default icon if notification icon is null." into ub-launcher3-dorval
2017-03-15 17:25:19 +00:00
Tony Wickham
07e6d591b1
Use default icon if notification icon is null.
...
This could happen, for instance, if there is a
ResourcesNotFoundException when loading the icon.
Bug: 36134256
Change-Id: If2d13207252a2ec46f581455f5709a95d68f29c1
2017-03-15 10:06:52 -07:00
Jon Miranda and android-build-merger
961941f102
Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval
...
am: 29318b1aa6
Change-Id: Ib69faba80d7dcba68f5b92c2db9defd09a209569
2017-03-15 16:53:58 +00:00
TreeHugger Robot and Android (Google) Code Review
29318b1aa6
Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval
2017-03-15 16:47:59 +00:00
Jonathan Miranda and android-build-merger
d8b607fe8c
Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ub-launcher3-dorval
...
am: aa8780a00c
Change-Id: Ia4c3479d61d6d9ed599b40c468a7f697b0024a49
2017-03-15 15:31:52 +00:00
Jonathan Miranda and Android (Google) Code Review
aa8780a00c
Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ub-launcher3-dorval
2017-03-15 15:24:13 +00:00
Jon Miranda
715a322e9a
Temporary fix for Folders in battery saver mode.
...
In battery saver mode, the Folder opens where it appears
the final values of the Animators are not being set.
Bug: 36157561
Bug: 36246234
Change-Id: I8dd58044f5f5ac66f8a8476a77d9899447a973eb
2017-03-15 08:11:09 -07:00
Mario Bertschler and android-build-merger
32c3184d5b
Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default
...
am: e44251247f
Change-Id: Ifae625d7e54905448e3a971a5c698af6d63452b2
2017-03-15 00:30:28 +00:00
Mario Bertschler
e44251247f
Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default
...
It's wrongly set to ITEM_TYPE_SHORTCUT, changing it to ITEM_TYPE_APPLICATION
in the constructor.
Change-Id: I51383d09d50ac90cea15fce816503648d2cb690e
2017-03-14 14:02:00 -07:00
Tony Wickham and android-build-merger
04030d5a44
Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval
...
am: 0402efbad8
Change-Id: I4134b0df23339d5c376a31b9e0f9cd8518e62f0e
2017-03-13 19:01:10 +00:00
Sunny Goyal and Android (Google) Code Review
4eaacc7485
Merge "Defining HomeScreenElementTheme for elements which appear on top of wallpaper" into ub-launcher3-master
2017-03-13 18:58:03 +00:00
Tony Wickham and Android (Google) Code Review
0402efbad8
Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval
2017-03-13 18:56:17 +00:00
Tony
ff7364a883
Remove badge info from map when count is 0.
...
Bug: 35803112
Change-Id: I680b92aac24bf5d083d64e9a4cd35471637a3809
2017-03-13 12:51:44 -04:00
Bill Yi and android-build-merger
02a7624fc3
Import translations. DO NOT MERGE
...
am: 372fadc9f1 -s ours
Change-Id: Icc4d4057055faddeecc1e6bcbdccd82622efd030
2017-03-12 18:51:51 +00:00
Bill Yi
ec191d7c51
Import translations. DO NOT MERGE
...
Change-Id: I8129a870f11208d842a0b5cffaeb0ae7c3be2c06
Auto-generated-cl: translation import
2017-03-11 21:33:53 -08:00
Bill Yi
372fadc9f1
Import translations. DO NOT MERGE
...
Change-Id: I3ab8f241299226e0453e654fdbde113646349190
Auto-generated-cl: translation import
2017-03-11 21:32:36 -08:00
Sunny Goyal and android-build-merger
8424948b2a
Merge "Updating test as per API changes" into ub-launcher3-dorval
...
am: 5c802d4eee
Change-Id: Ibea1815356048dec00c1213f8b3d8f9b2c38da11
2017-03-10 21:14:51 +00:00
TreeHugger Robot and Android (Google) Code Review
5c802d4eee
Merge "Updating test as per API changes" into ub-launcher3-dorval
2017-03-10 21:09:18 +00:00
Sunny Goyal and android-build-merger
ec37c50b63
Adding broadcast receiver to handle SESSION_COMMIT broadcast
...
am: 4179e9b88f
Change-Id: Ida895e5723b5d6d02b72ce7b04666b529eabb1cc
2017-03-10 20:20:48 +00:00
Jon Miranda
fd5163282f
Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED.
...
Original Change-Id: I897063dc803b58e1f3b6ad16c6a721f808a2798a
Bug: 36078152
Change-Id: I7a7e8ffce088694e01e49b6e9b4aa2e551da91f8
2017-03-09 13:14:50 -08:00
Sunny Goyal
4179e9b88f
Adding broadcast receiver to handle SESSION_COMMIT broadcast
...
> Disabling Install shortcut broadcast for O and above
> Adding a preference to control automatic icon addition on homescreen
> Adding icons on homescreen for new installs based on the above preference
Bug: 32920609
Bug: 27967412
Change-Id: I92e5cb7c841fb445dc8bc058d975f212ee54f8d1
2017-03-09 10:56:09 -08:00
Louis Begin and android-build-merger
c5332f4c04
Add checks for FeatureFlags.QSB_ON_FIRST_SCREEN
...
am: b07a355fe2
Change-Id: Iae464c9acf99f8f66eb7c6a6b7f0567c79b447be
2017-03-09 00:20:59 +00:00
Louis Begin and Sunny Goyal
b07a355fe2
Add checks for FeatureFlags.QSB_ON_FIRST_SCREEN
...
When false, it correctly does not show the QSB but leaves
a default style search bar which cannot be removed.
Add checks to control default view visibility in device
profile layout & re-layout, QSB container and in
Workspace's onMeasure
Bug: 35967694
Change-Id: I3d0f89e1022d838eeb95762fd1fb3f7257956c41
2017-03-08 16:10:46 -08:00
Jon Miranda
5f3f4d4280
Added new interpolators for preview items in large folders.
...
With larger folders, we want the preview items to reach their final positions faster
(when opening) and later (when closing) so that they appear aligned with the rest of
the folder items when they are both visible.
Bug: 35064148
Change-Id: I170ac2db36a3a20ebe5505711ea59e625050bc1b
2017-03-08 12:22:34 -08:00
Sunny Goyal
88c07e5b81
Updating test as per API changes
...
Change-Id: I746bf48254ebfcad18426d47c61a54f8a11f5cf8
2017-03-07 23:36:06 +00:00
Sunny Goyal
f410ca77c7
Updating test as per API changes
...
Change-Id: I746bf48254ebfcad18426d47c61a54f8a11f5cf8
2017-03-07 15:27:13 -08:00
TreeHugger Robot and Android (Google) Code Review
93ce56fdb2
Merge "Separating the config and flags in different directories so that it is easier to override one or the other" into ub-launcher3-master
2017-03-07 22:42:14 +00:00
Sunny Goyal
b265ba7449
Removing DeferredHandler and using a simple Handler to post callbacks
...
DeferredHandler was added when we were posting each icon separately,
to prevent starvation. But since then we have moved to binding batct
items during bind.
Also fixing waitForIdle not waiting the second time. waitForIdle was
using a global variable to maintain state, and was not waiting properly
when its called the second time before binding deep shortcuts
Original Change-Id: I9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d
Change-Id: I9e6b3ae65fbd3aec3a46092efc5249c4525efedf
2017-03-07 13:44:52 -08:00
Jonathan Miranda and Android (Google) Code Review
7adec0ea5b
Merge "Fix bug where FolderIcon is invisible when closing Folder with no animation." into ub-launcher3-master
2017-03-07 17:54:01 +00:00
Jon Miranda
ac3a64dbf4
Fix bug where FolderIcon is invisible when closing Folder with no animation.
...
When we open the Folder, we set the FolderIcon to View.INVISIBLE.
It is possible to close the Folder without animating it (ie. when apps
are being auto added / auto closed to Work Profile Folder), and so the
FolderIcon is never set to View.VISIBLE.
Bug: 35064148
Change-Id: I2fc5b7ecaceffde0a3f3875870897c18e6e8dadf
2017-03-07 09:41:20 -08:00
Sunny Goyal
3d706ad703
Separating the config and flags in different directories so that
...
it is easier to override one or the other
Bug: 36001650
Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
2017-03-07 09:30:51 -08:00
TreeHugger Robot and Android (Google) Code Review
36f5876d01
Merge "Fixing broken gradle build" into ub-launcher3-master
2017-03-07 17:14:54 +00:00
Sunny Goyal
b26d8b6564
Fixing broken gradle build
...
Change-Id: I82432d2076639f43db0270ec3f90a03d0896bab2
2017-03-07 09:10:16 -08:00
Jonathan Miranda and Android (Google) Code Review
b9b02337f7
Merge "Fix bug where first page Folder text stays transparent." into ub-launcher3-master
2017-03-07 16:50:01 +00:00
Jon Miranda
39f817e60a
Fix bug where first page Folder text stays transparent.
...
This can happen where you drag a new item to a Folder that has
a full first page.
Bug: 36022385
Bug: 35064148
Change-Id: I092a79a13b7f779f09ee7a79488a16fe8bfbc2fd
2017-03-07 08:38:22 -08:00
Jon Miranda
f35968764c
Turn on FeatureFlag for LAUNCHER3_NEW_FOLDER_ANIMATION.
...
Bug: 35064148
Change-Id: I18fa8f3477d9749f879e27b2291d3f998476a655
2017-03-07 08:22:05 -08:00
Jon Miranda
4717011626
New folder animations.
...
Added FolderAnimationManager, which manages the opening
and closing animations.
All of the animations are done in the Folder.
ie. When the users taps on the FolderIcon, we immediately hide the
FolderIcon and show the Folder inits place before starting the animation.
Bug: 35064148
Change-Id: Icacdbbf78a25489f2eab4fd352f2c6ed71eb710b
2017-03-06 16:25:54 -08:00
Sunny Goyal and android-build-merger
dec75d5add
Merge "Updating FolderIcon drawing to avoid dependency on software layer." into ub-launcher3-dorval
...
am: 3ba48fa019
Change-Id: Id18f5a34264411582115cde8cddd0dc8ecded8df
2017-03-06 18:59:41 +00:00
Sunny Goyal and Android (Google) Code Review
3ba48fa019
Merge "Updating FolderIcon drawing to avoid dependency on software layer." into ub-launcher3-dorval
2017-03-06 18:54:55 +00:00
Bill Yi and android-build-merger
cefc07ed1e
Import translations. DO NOT MERGE
...
am: d896d1c29f -s ours
Change-Id: I05e716839408a72e4d1e922acf050e70efc533d1
2017-03-06 14:45:55 +00:00
Bill Yi
ebb6dd7aa6
Import translations. DO NOT MERGE
...
Change-Id: I58011b44e3012ad2f34d77483f17e0708537f1eb
Auto-generated-cl: translation import
2017-03-06 06:31:19 -08:00
Bill Yi
d896d1c29f
Import translations. DO NOT MERGE
...
Change-Id: I438eb3210577fca407121d91cda2223090fd31f4
Auto-generated-cl: translation import
2017-03-06 06:30:32 -08:00
Mario Bertschler and android-build-merger
d6e5577e0f
Merge "App discovery integration in All Apps search" into ub-launcher3-dorval
...
am: 86515dd148
Change-Id: I9c912d0ccec6c999547b1bce1f3e3b0b430a147f
2017-03-04 00:11:18 +00:00