Vadim Tryshev
d07b5cd098
Merge "Better separation between DragDriver and DragController" into ub-launcher3-master
2015-08-07 18:56:07 +00:00
Winson Chung
a454d4a3bb
am 99eceebf: Merge "Fixing issue with miscalculation in updating container bounds." into ub-launcher3-burnaby
...
* commit '99eceebfaae1071cde2cf05f2874b8d94795b43a':
Fixing issue with miscalculation in updating container bounds.
2015-08-07 18:00:53 +00:00
Adam Cohen
7657644fa1
am cf0c746e: Always log if Package is missing while loading default workspace
...
* commit 'cf0c746ec080ee528d4994c382562fda1e647752':
Always log if Package is missing while loading default workspace
2015-08-07 18:00:52 +00:00
Winson Chung
eb2b1c634a
am 7573123c: Merge "Fixing invisible search bar" into ub-launcher3-burnaby
...
* commit '7573123c0518f338895d59ada6ec4a8e170f5bf5':
Fixing invisible search bar
2015-08-07 18:00:52 +00:00
Sunny Goyal
513b69ba64
am a2a039b6: Using a reverse hashmap instead of indexOfValue in userManager
...
* commit 'a2a039b66f05a1164f954387b1c12a8fb4063e92':
Using a reverse hashmap instead of indexOfValue in userManager
2015-08-07 18:00:51 +00:00
Sunny Goyal
fc3a2711b3
am d1ea63f2: Removing some synthetic method creation
...
* commit 'd1ea63f24a751521e6c35cc06be0e548e0b04f23':
Removing some synthetic method creation
2015-08-07 18:00:50 +00:00
Sunny Goyal
f85602b00e
am 7ca3250a: Merge "Creating a cache of users to avoid multiple calls to UserManager" into ub-launcher3-burnaby
...
* commit '7ca3250a10d608c06a733a92cd61a2feadb9007f':
Creating a cache of users to avoid multiple calls to UserManager
2015-08-07 18:00:50 +00:00
Winson
2a87fe8c41
resolved conflicts for merge of 0ad33066 to ub-launcher3-master
...
Change-Id: I5dbbaaf9fb03ed3003174154ea7d7dbae9048a70
2015-08-07 10:37:21 -07:00
Winson Chung
99eceebfaa
Merge "Fixing issue with miscalculation in updating container bounds." into ub-launcher3-burnaby
2015-08-06 23:06:16 +00:00
Winson
b0ca1a225f
Fixing issue with miscalculation in updating container bounds.
...
- There was an issue with the previous logic where the test of whether
the search bounds changed would always be false if valid search bounds
were given. This in conjunction with the fact that the padding was
changed to only take the bounds left/right into account, meant that
the container bounds would not be updated if the search bar bounds
shifted via the insets.
Bug: 22918919
Change-Id: Ia810ddc7a56eae4afc0c7cd558fa6dc9e8e7a95b
2015-08-06 15:30:08 -07:00
Adam Cohen
cf0c746ec0
Always log if Package is missing while loading default workspace
...
Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1
2015-08-06 14:07:49 -07:00
Vadim Tryshev
d84bcf1973
Merge "Preventing FolderEditText from stealing drag events." into ub-launcher3-master
2015-08-06 20:40:12 +00:00
Vadim Tryshev
7aa44f5327
Preventing FolderEditText from stealing drag events.
...
Bug: 22028725
Change-Id: I3efe98f3d58e49322f867b8bab111c0b36d82699
2015-08-06 13:11:31 -07:00
Jun Mukai
464d13cd48
Add KeyEvent handler to LauncherClings.
...
When the longpress clings such like welcome message appears,
the key events should be limited as follows:
- normal keys (generates printable glyphs) should be prevented,
otherwise they come to the underlying searchbox.
- it should be dismissed on Menu keys, which goes to the overview
mode.
Bug: 22982955
Change-Id: I7272b0809bfaa3c08ba77b01383cf54f19390d95
2015-08-05 17:25:29 -07:00
Winson Chung
7573123c05
Merge "Fixing invisible search bar" into ub-launcher3-burnaby
2015-08-05 21:19:04 +00:00
Winson
a1f79d3e16
Fixing invisible search bar
...
- We used to rely on the state transition to inflate the search
widget after the permission to bind widgets was granted, which
is fragile. Now we try and inflate the search widget after
user grants the permission if necessary.
Bug: 22515084
Bug: 22980143
Change-Id: Id111d263bc8a864e0fa652cfd0e07e66ec690fe7
2015-08-05 21:18:53 +00:00
Sunny Goyal
a2a039b66f
Using a reverse hashmap instead of indexOfValue in userManager
...
Bug: 22980139
Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
2015-08-05 13:23:25 -07:00
Sunny Goyal
d1ea63f24a
Removing some synthetic method creation
...
Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91
2015-08-05 12:33:05 -07:00
Sunny Goyal
7ca3250a10
Merge "Creating a cache of users to avoid multiple calls to UserManager" into ub-launcher3-burnaby
2015-08-05 19:22:56 +00:00
Winson Chung
0ad3306684
Merge "Refactoring search bar animations." into ub-launcher3-burnaby
2015-08-05 19:21:03 +00:00
Winson Chung
006ee269ba
Refactoring search bar animations.
...
- This refactoring ensures that LauncherStateTransition does not
do its own animation on the QSB, and that all animations to the
SearchDropTargetBar go through its own animators.
Bug: 22515084
Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a
2015-08-05 12:04:06 -07:00
Jun Mukai
f0033da0dd
Suppress focusability of normal launcher descendants when a popup opens.
...
Bug: 22563223
Change-Id: Iebee7c0c858a4d48524b3d5415e4f6d39861c49a
2015-08-05 10:31:48 -07:00
Sunny Goyal
f485a7e52e
am dc352761: Merge "Removing account manager calls" into ub-launcher3-burnaby
...
* commit 'dc352761ae542087825227d773ec0b039f0aaaf0':
Removing account manager calls
2015-08-04 23:29:01 +00:00
Vadim Tryshev
ca51dcd6ca
Better separation between DragDriver and DragController
...
Now DragDriver uses DragController through DragDriver.EventListener
interface. I hope that this will make relations between 2 classes clearer,
and will help avoiding mess during future development.
Also, some small cleanups.
Bug: 22609426
Change-Id: Ibaf61804ab931743f2f913fac11bf24ebf9a36c8
2015-08-04 16:23:23 -07:00
Sunny Goyal
c679ed6233
Removing account manager calls
...
Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52
2015-08-04 15:10:12 -07:00
Vadim Tryshev
ba16c54220
Merge "Enabling framework DND in N+." into ub-launcher3-master
2015-08-04 21:30:42 +00:00
Vadim Tryshev
9de91278a8
Enabling framework DND in N+.
...
Also, making the drag shadow opaque.
Bug: 22028725
Change-Id: I2aa61d3906cb9e9c33003bc6e485b9ff1980b9f4
2015-08-04 14:23:46 -07:00
Sunny Goyal
823fd50902
Creating a cache of users to avoid multiple calls to UserManager
...
Bug: 22805101
Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487
2015-08-04 12:37:05 -07:00
Sunny Goyal
f9ada46270
am 317698bd: Loading high resolution icons for first 3 items in a folder
...
* commit '317698bd012c1930b83bb4e2e47ac9e363fa6c6a':
Loading high resolution icons for first 3 items in a folder
2015-08-04 18:09:20 +00:00
Sunny Goyal
317698bd01
Loading high resolution icons for first 3 items in a folder
...
> Sometimes a folder gets rearranged, without updating the model,
like when an app in uninstalled. In that case, we need to update
the icons for folder items, which were previously hidden
Bug: 22813360
Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
2015-08-04 11:05:15 -07:00
Sunny Goyal
3c938a7e0d
resolved conflicts for merge of 3f7550c1 to ub-launcher3-master
...
Change-Id: I3bb155473d48832e496a8983f84c20e6e935fa41
2015-08-04 10:33:30 -07:00
Sunny Goyal
3f7550c1ed
Merge "Calculating widget minSpans and spans statically/independent of orientation > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding." into ub-launcher3-burnaby
2015-08-04 17:27:48 +00:00
Sunny Goyal
488d4bdf26
resolved conflicts for merge of c451da70 to ub-launcher3-master
...
Change-Id: I738fa16f82b3f3f1f6c63c5d1ce81347ade6467a
2015-08-04 10:26:12 -07:00
Sunny Goyal
c451da7059
Merge "Replacing exception with a log, when uninstalling an app leads to an illegal state" into ub-launcher3-burnaby
2015-08-04 02:32:57 +00:00
Sunny Goyal
912bdfcffa
Replacing exception with a log, when uninstalling an app leads to an illegal state
...
Bug: 22491055
Change-Id: Iaf5fe20b717102bdb0a5442dcc33efea30c50d47
2015-08-03 19:31:17 -07:00
Sunny Goyal
233ee964a9
Calculating widget minSpans and spans statically/independent of orientation
...
> Filtering the widget list and excluding widgets which dont fit the grid
> setting minSpans for the widget item when binding.
Bug: 22541314
Bug: 22559137
Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
2015-08-03 16:39:49 -07:00
Winson Chung
790b7ad28e
am 153b02a5: Merge "Remove handler for searchables changed broadcast." into ub-launcher3-burnaby
...
* commit '153b02a5e69c99b1154eea107da6b2fba4c6f3a3':
Remove handler for searchables changed broadcast.
2015-08-03 22:20:10 +00:00
Winson Chung
153b02a5e6
Merge "Remove handler for searchables changed broadcast." into ub-launcher3-burnaby
2015-08-03 22:14:53 +00:00
Winson Chung
88fa741e50
Remove handler for searchables changed broadcast.
...
Bug: 22515084
2015-08-03 14:25:28 -07:00
Sunny Goyal
4ac89e2444
Merge "Several animation calls cleanup" into ub-launcher3-master
2015-08-03 19:23:16 +00:00
Vadim Tryshev
90c438ed38
Merge "Code to enable dragging to System UI shelf." into ub-launcher3-master
2015-08-03 17:54:12 +00:00
Sunny Goyal
6eeab68fd4
Fixing drag outline positions for folder over hotseat
...
Bug: 22506247
Change-Id: Ia2508307554089205fd678987454e81cb811a59b
(cherry picked from commit 92bce43164 )
2015-08-03 17:19:37 +00:00
Sunny Goyal
7808e27363
am 8f375d1e: Merge "Enabling logging for migration task" into ub-launcher3-burnaby
...
* commit '8f375d1e68cdc67ce693a7693a2175ef5cb3b4eb':
Enabling logging for migration task
2015-07-31 22:06:40 +00:00
Sunny Goyal
8f375d1e68
Merge "Enabling logging for migration task" into ub-launcher3-burnaby
2015-07-31 22:01:31 +00:00
Sunny Goyal
e745f451a5
Merge "Removing boot receiver." into ub-launcher3-master
2015-07-31 22:01:16 +00:00
Winson Chung
1493662849
am e990d495: Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby
...
* commit 'e990d49534bb61606bcf3e61fa3c26e088d1b854':
Fixing minor memory leak with name comparator.
2015-07-31 20:12:14 +00:00
Winson Chung
2285b30003
am ec70312d: Merge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby
...
* commit 'ec70312dea4083416d2d132ea8853455b0dec616':
Fixing issue with flash during overview transition.
2015-07-31 20:09:03 +00:00
Winson Chung
e990d49534
Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby
2015-07-31 20:08:57 +00:00
Sunny Goyal
5d2fc32e6d
Several animation calls cleanup
...
> Using View property instead of strings to avoid extra reflection step
> Using ViewPropertyAnimator when several properties are being animated
Change-Id: I41625643b38b70bac11e2c81d18058ec878d73bd
2015-07-31 13:07:14 -07:00
Winson Chung
ec70312dea
Merge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby
2015-07-31 20:04:08 +00:00