Commit Graph

33301 Commits

Author SHA1 Message Date
vadimt def565f768 Searching icons only in apps_list_view
am: a1a417c994

Change-Id: I91e0629e4f7f6c5f56c0d8f14b0add385048ea55
2019-05-21 13:47:31 -07:00
vadimt 484eb7c09a Marking sure the center of icon is not under search box in all apps
am: 1053de165e

Change-Id: Iedd34e33da72f4052d56317cda53f74ec25b0c67
2019-05-21 13:47:09 -07:00
vadimt da6dad5101 Not allowing applying dot state to override "disabled" description
Disabled apps were always accessibility-marked like "Disabled Messenger"

With introduction of dots, this degraded, the the "Disabled" part was
never added.

Restoring the old behavior here.

Bug: 129036789
Change-Id: Icb97ea9a190643449d90f558a78039df30c53cbf
2019-05-21 13:24:23 -07:00
TreeHugger Robot 32ba3c1125 Merge "Using squared hypot to optimize some comparisions" into ub-launcher3-qt-dev 2019-05-21 19:48:37 +00:00
vadimt 3479cf80e7 More logging in AllApps + a fix
Change-Id: Iebcb336beee36b0aea47404f8c5d31dec14e7383
2019-05-21 12:08:15 -07:00
vadimt a1a417c994 Searching icons only in apps_list_view
This should help avoiding situations when an icon is intermittently
found in the suggested row vs. the recycler.

Change-Id: I71b17caa5f827999f0901d5c4d4348de7e16f053
2019-05-21 11:49:49 -07:00
vadimt 1053de165e Marking sure the center of icon is not under search box in all apps
Change-Id: I9cfc9941be2bed7834d58039fbfc2741fcf50cba
2019-05-21 11:10:03 -07:00
android-build-team Robot b696cb4fee Snap for 5588664 from d0993b2b6c to qt-c2f2-release
Change-Id: Ib4a472a25c8a4a2c5f7f39152c23405c3e023a46
2019-05-21 15:01:03 +00:00
Hai Zhang 1350527e48 Merge "Align badging logic with platform IconDrawableFactory. am: b0be237b3f am: cb07a1c026" into qt-r1-dev-plus-aosp
am: 393d29f9d4

Change-Id: I7ec0904389746e1a7708076e464c25938ce8dede
2019-05-21 06:35:44 -07:00
Hai Zhang a34c8b8a0c Align badging logic with platform IconDrawableFactory. am: b0be237b3f am: d0993b2b6c
am: 5745ff4754

Change-Id: I96723522febf68029efdf099269c0e4b7d7c149e
2019-05-21 05:59:25 -07:00
Android Build Merger (Role) 393d29f9d4 Merge "Align badging logic with platform IconDrawableFactory. am: b0be237b3f am: cb07a1c026" into qt-r1-dev-plus-aosp 2019-05-21 08:22:43 +00:00
Hai Zhang 5745ff4754 Align badging logic with platform IconDrawableFactory. am: b0be237b3f
am: d0993b2b6c

Change-Id: I2b7aad098061976ff512d32d30051cb298011a34
2019-05-21 01:22:17 -07:00
Hai Zhang c4a9688045 Align badging logic with platform IconDrawableFactory. am: b0be237b3f
am: cb07a1c026

Change-Id: Ie404c1d61ff517fd9d0d2aa0454a6939b6ce9cd5
2019-05-21 01:22:16 -07:00
Hai Zhang cb07a1c026 Align badging logic with platform IconDrawableFactory.
am: b0be237b3f

Change-Id: I1bcd1206b7fe0d4a2b53f332ab47985961215cff
2019-05-21 01:18:11 -07:00
Hai Zhang d0993b2b6c Align badging logic with platform IconDrawableFactory.
am: b0be237b3f

Change-Id: I4cb15de478dd232e3f16c00b379b89a921b6d4a4
2019-05-21 01:17:10 -07:00
vadimt 924ed02f24 Making sure that the icon in all apps is not under search box am: 982ea56122
am: f071c02207

Change-Id: Ic1d4e9537c9ec8ed01f3d8ba4ff5116ffc0e1447
2019-05-20 21:07:04 -07:00
android-build-team Robot 499a6d688d Snap for 5586909 from ce5941b690 to rvc-release
Change-Id: Ic8268b96f49c774441e88a592753d1e67b33011d
2019-05-21 03:07:34 +00:00
vadimt f071c02207 Making sure that the icon in all apps is not under search box
am: 982ea56122

Change-Id: Ic4a1bcf2a5f815512019286181596d5d87cc0299
2019-05-20 18:56:12 -07:00
vadimt 982ea56122 Making sure that the icon in all apps is not under search box
Bug: 133011252
Bug: 133010447
Change-Id: Ie735ac36fa063d0d9290c59f6ad4af9e05600ddf
2019-05-20 16:53:39 -07:00
Jon Miranda c924f6fe66 Merge "Fix bug where FolderIcon stays visible during swipe up to home animation." into ub-launcher3-qt-dev am: 2445ca0777
am: f8bfb77a64

Change-Id: Ie813115750bba0ce9d0abd7c2efb96b4adf86aa9
2019-05-20 15:22:22 -07:00
Jon Miranda c0bf67b534 Merge "Swipe up to home into FolderIcon animation bug fixes." into ub-launcher3-qt-dev am: 692b5a26d9
am: 6811c7a785

Change-Id: I0c0f72100aa3f46b7383d0bd45fdbcdebf15ddf1
2019-05-20 15:21:54 -07:00
Sunny Goyal 822fc2b331 Merge "Fixing inset map in case of display cutouts" into ub-launcher3-qt-dev am: dea6ee23c6
am: 6db1474d68

Change-Id: I34aa684ffd4deef440d966eeb87f9ece1697a6cb
2019-05-20 15:21:27 -07:00
Sunny Goyal 0be8eae4f1 Merge "Using different resource size for touch region in landscape" into ub-launcher3-qt-dev am: 662a14f2de
am: 4fbcb43af2

Change-Id: Ic9a5aaafaebed43ac46cd5e20cbe772cf567ef43
2019-05-20 15:20:59 -07:00
Sunny Goyal 878aa33567 Using squared hypot to optimize some comparisions
Change-Id: Ia5b99c2e60eedf02dea26857819f0e13127db4e2
2019-05-20 15:20:47 -07:00
Zak Cohen 2f48dd5158 Adapt the task footer container to be a named container. am: 418b9bc5fc
am: 1416342a3f

Change-Id: Id8507fbd43ffbe8af38ffdb0d5378278b88aa739
2019-05-20 15:19:41 -07:00
Miranda Kephart b063775eb9 Pass in fling velocity for gesture progress
Calls SystemUIProxy.onGestureCompletion for a completed gesture
(either drag or fling) and passes in the velocity (0 for drags).

Bug: 132356358
Test: manual

Change-Id: I080adc401e19a6141627d1806b425056f7eefcbd
2019-05-20 18:07:44 -04:00
Jon Miranda f8bfb77a64 Merge "Fix bug where FolderIcon stays visible during swipe up to home animation." into ub-launcher3-qt-dev
am: 2445ca0777

Change-Id: I8d76c2a8cc3336d89d3e6920d9187c74ce3dd142
2019-05-20 13:55:54 -07:00
Jon Miranda 6811c7a785 Merge "Swipe up to home into FolderIcon animation bug fixes." into ub-launcher3-qt-dev
am: 692b5a26d9

Change-Id: I4b4b8063cbc97963c82255f8d89432aa19d893b7
2019-05-20 13:55:26 -07:00
Sunny Goyal 6db1474d68 Merge "Fixing inset map in case of display cutouts" into ub-launcher3-qt-dev
am: dea6ee23c6

Change-Id: If44f1c407c10c4de2d041e442af50d6de49d0aeb
2019-05-20 13:54:16 -07:00
Sunny Goyal 4fbcb43af2 Merge "Using different resource size for touch region in landscape" into ub-launcher3-qt-dev
am: 662a14f2de

Change-Id: I1aeced0313a8cd52abb5ec247a813c971cac7c91
2019-05-20 13:53:48 -07:00
Zak Cohen 1416342a3f Adapt the task footer container to be a named container.
am: 418b9bc5fc

Change-Id: Id84934f7133510dd63337793f8660fc912501c6c
2019-05-20 13:52:53 -07:00
TreeHugger Robot 2445ca0777 Merge "Fix bug where FolderIcon stays visible during swipe up to home animation." into ub-launcher3-qt-dev 2019-05-20 20:16:47 +00:00
Hai Zhang b0be237b3f Align badging logic with platform IconDrawableFactory.
The current logic in BaseIconFactory is only trying to add the user
badge if the user passed in isn't null and isn't the current user,
then if no such attempt is made, try to add an instant app badge. This
is causing user badge to disappear if the current user is a work
profile. Meanwhile, the badging logic in IconDrawableFactory is to try
to add the instant app badge first, and then always try to add the
user badge.

Bug: 132625654
Test: manually test as in b/128625591
Change-Id: Ia5b456f1f27095d546504266a1a90034105c9ae9
2019-05-20 13:11:12 -07:00
TreeHugger Robot 692b5a26d9 Merge "Swipe up to home into FolderIcon animation bug fixes." into ub-launcher3-qt-dev 2019-05-20 20:10:18 +00:00
TreeHugger Robot dea6ee23c6 Merge "Fixing inset map in case of display cutouts" into ub-launcher3-qt-dev 2019-05-20 19:11:19 +00:00
Sunny Goyal c79bd21471 Fixing inset map in case of display cutouts
Change-Id: Ia2969688d9ae4c89a2da45eb6361f4476e1877ec
2019-05-20 12:00:17 -07:00
TreeHugger Robot 662a14f2de Merge "Using different resource size for touch region in landscape" into ub-launcher3-qt-dev 2019-05-20 18:57:00 +00:00
android-build-team Robot 6b7261d09e Snap for 5583738 from 1a01d4fe94 to qt-c2f2-release
Change-Id: Iee358289132fe8a5a1854e795f05c1837df4a4ef
2019-05-20 18:15:41 +00:00
Jon Miranda ae975a613d Swipe up to home into FolderIcon animation bug fixes.
- Fixes clipping issues.
- Fixes badge being shifted.

Bug: 124510042
Change-Id: I2520d963fb2041a049650c2b8c12ddb3de7b8d87
2019-05-20 11:10:25 -07:00
Zak Cohen 418b9bc5fc Adapt the task footer container to be a named container.
Bug: 126744445
Test: manual
Change-Id: Id00ffac4581bbbe5dfd73a63b05c4512394745c1
2019-05-20 10:44:20 -07:00
Sunny Goyal 1b40b731b2 Using different resource size for touch region in landscape
Bug: 132917885
Change-Id: Ib702fd17fecff980db2e1d00f05cd055bcc3185a
2019-05-20 10:09:26 -07:00
Jon Miranda e543818bb6 Fix bug where FolderIcon stays visible during swipe up to home animation.
This can happen when opening an app from a folder, and then immediately
swiping up back to home.

This happens because when we swipe up to go home, there's a race condition
where the folder close animation finishes and sets the FolderIcon to VISIBLE
right before FloatingIconView sets it to INVISIBLE.

To fix it, in OverviewState#onStateEnabled we call
AbstractFloatingView#closeAllOpenViews(animate=false). Then we added logic
to cancel any Folder closing animation (which there is,
from WindowTransformSwipeHandler#onLauncherStart) and to just close the
folder right then and there.

Bug: 132588097
Change-Id: I4379431815e7cbddede5ea0213fe9323f001484b
2019-05-20 10:01:15 -07:00
android-build-team Robot cfb82d4f7e Snap for 5583555 from 90eb08d838 to qt-release
Change-Id: I2d8b41448f7b27e51c21326c635f48ccfb076925
2019-05-19 23:07:39 +00:00
android-build-team Robot 24d4813d5f Snap for 5583570 from 1a01d4fe94 to qt-qpr1-release
Change-Id: I048914a66022c92e2575c2aaf84190ff8ef0e9b4
2019-05-19 23:04:37 +00:00
Winson Chung ce5941b690 Merge "Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 8e0fa1ebbb" into qt-r1-dev-plus-aosp
am: 954fcae2da

Change-Id: I15718869f17435f5ec0b47f7f21035eea71fe28b
2019-05-19 12:35:36 -07:00
Winson Chung 4297333b45 Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 1a01d4fe94
am: d7944745a6

Change-Id: Icf84ac47bc29a0d0d00dd93e6e65aeb26957e7dd
2019-05-19 12:34:24 -07:00
Android Build Merger (Role) 954fcae2da Merge "Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 8e0fa1ebbb" into qt-r1-dev-plus-aosp 2019-05-19 19:29:52 +00:00
Winson Chung d7944745a6 Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838
am: 1a01d4fe94

Change-Id: I85360ac3905277ff12fad31447a0833f9bc6d5da
2019-05-19 12:29:19 -07:00
Winson Chung 3ee99d915f Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838
am: 8e0fa1ebbb

Change-Id: I6235d87bade78728e4820c390d83a3818950355f
2019-05-19 12:29:19 -07:00
Winson Chung 1a01d4fe94 Merging ub-launcher3-qt-dev, build 5582981
am: 90eb08d838

Change-Id: I3e277511d94b6a121119c838bb7d3046e42c8d23
2019-05-19 12:24:16 -07:00