TreeHugger Robot
83519d3fb1
Merge "Updating color extraction to include wallpaper theme color. Also adding mathods and callbacks to pass the related data to the callbacks." into ub-launcher3-dorval-polish
2017-04-26 18:36:32 +00:00
Tony Wickham
d4aac0a028
Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval
...
am: 59c4ae4d89
Change-Id: I7d70478ccf17c74c65bab16641f888c105899799
2017-04-26 15:59:58 +00:00
TreeHugger Robot
59c4ae4d89
Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval
2017-04-26 15:56:19 +00:00
Tony Wickham
ca0cc05076
Merge "Fix updateIconBadges() in All Apps" into ub-launcher3-dorval
...
am: d570c0401c
Change-Id: Ife54bfe7a33d98bae7e71cecdc577e70fe6997e6
2017-04-26 15:50:58 +00:00
Tony Wickham
2fe09f24eb
Move update popup header out of BubbleTextView
...
Now we update from Launcher, which is both more efficient (only run it
when badges update, not whenever BubbleTextView applies an ItemInfo) and
more logical/cleaner.
Change-Id: Ib77433d9489c29e9781b3a48de37de0e07b5ba07
2017-04-26 08:46:39 -07:00
Sunny Goyal
5e7b238a93
Updating color extraction to include wallpaper theme color.
...
Also adding mathods and callbacks to pass the related data to the callbacks.
Bug: 37616877
Change-Id: I7512cac7a603e8e5a05ec3a360c9eec493344b00
2017-04-26 08:42:05 -07:00
Tony Wickham
4926ebfe6d
Fix updateIconBadges() in All Apps
...
Instead of notifyItemChanged(), we iterate over children of the
RecyclerView itself and call applyBadgeState() on affected icons.
This is the same logic we do for the workspace.
Issues this fixes:
- Icons flash when dismissing notifications
- Badge reappears on the icon while popup is open
Change-Id: I5c69d5c6bd47630c0241666b5f7f6f7ca97118f9
2017-04-26 08:39:12 -07:00
Sunny Goyal
d519052281
Separating top and bottom paddings for the hotseat
...
Bug: 37616877
Change-Id: I2f187576c28d62f9bb8257c9b9295edb7a8e44c0
(cherry picked from commit 751e41eb66 )
2017-04-26 06:00:21 +00:00
Tony Wickham
0e96f3fea9
Merge "Update icon badges to match spec" into ub-launcher3-dorval
...
am: 0fa96ea2f6
Change-Id: I5f8e6bdbca13435d54e3b636564f7d3eef58ca5c
2017-04-25 23:59:41 +00:00
Hyunyoung Song
03a222ee86
Merge "make sure all type of Item in DumpTarget contains component and package name b/36904684" into ub-launcher3-dorval
...
am: 2a120d448e
Change-Id: I55c5f8dc728962f8b37a00892d871eeddf038632
2017-04-25 23:59:24 +00:00
TreeHugger Robot
0fa96ea2f6
Merge "Update icon badges to match spec" into ub-launcher3-dorval
2017-04-25 20:02:37 +00:00
Tony Wickham
1237df0a7c
Update icon badges to match spec
...
- Size defined as percentage of app icon size
- Width changes when there are 2 or 3 digits (round rect)
- Offset slightly away from the app icon
- Had to move drawing to BubbleTextView instead of
FastBitmapDrawable
- Hide badge when dragging and while popup is open
- Tweaks for some color/text parameters
Bug: 35744066
Change-Id: Ibb15ca634abaa0729aea637c904c4c6889a58c7c
2017-04-25 12:55:02 -07:00
Hyunyoung Song
2a120d448e
Merge "make sure all type of Item in DumpTarget contains component and package name b/36904684" into ub-launcher3-dorval
2017-04-25 03:48:54 +00:00
Hyunyoung Song
52a77044cf
make sure all type of Item in DumpTarget contains component and package name
...
b/36904684
Change-Id: I3c71726a376fd1923e193cafe3b5a9b85a48c895
2017-04-24 13:01:47 -07:00
Tony Wickham
623daea93b
resolve merge conflicts of 6f725f283 to ub-launcher3-master
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I3559969b62a9a4b1ec04697109636e8cb0fd9fc8
2017-04-20 16:24:09 -07:00
Tony Wickham
6f725f2831
Merge "Only add widgets system shortcut if widgets exist" into ub-launcher3-dorval
2017-04-20 23:08:47 +00:00
Tony Wickham
cf895ccc2c
Merge "Mutate system shortcut icons in popup before tinting" into ub-launcher3-dorval
2017-04-20 22:13:20 +00:00
Tony Wickham
a7e1c1c088
Only add widgets system shortcut if widgets exist
...
Before we were adding it in a disabled state, and then enabling it once
widgets were bound (if widgets existed for that app). Now we load all
widgets when launcher starts so that we can use the values for the
purpose of animating the popup container. Then, as the container opens,
we reload widgets/shortcuts for that particular app and add/remove the
widgets shortcut if necessary.
Bug: 34940468
Change-Id: I64bd009442d10d3d1f9a977bdedfdb639a7dd193
2017-04-20 15:10:38 -07:00
Tony Wickham
1788442dd1
Mutate system shortcut icons in popup before tinting
...
Bug: 36865701
Change-Id: Ib5b45fe796b03a9a4a21f1eff90a2c75479ac62e
2017-04-20 14:19:24 -07:00
Sunny Goyal
dbfc9014fe
Simplifying some DB managed logic
...
> Adding SQLiteTransaction to make it easier to manage DB transactions
> Using try-with resource for better resource handling
> Defining utility method for iterating over cursor
Change-Id: I20b1a62d61798342825ecfeb971e1a0c63c9b6d7
2017-04-19 13:26:10 -07:00
Sunny Goyal
581a69e6d4
Merge "Deleting any ghost widget from system service:" into ub-launcher3-dorval
...
am: f2d8b65775
Change-Id: I1d9b7a5a532bf504aabac69691e3f83e2f181a04
2017-04-18 22:20:19 +00:00
TreeHugger Robot
f2d8b65775
Merge "Deleting any ghost widget from system service:" into ub-launcher3-dorval
2017-04-18 22:11:09 +00:00
Sunny Goyal
953dc47fea
Fixing adaptive icon bounds caching
...
am: 311420ffb2
Change-Id: I3a7c7a698b3559ca31f218991540114d38210d94
2017-04-18 00:12:56 +00:00
Sunny Goyal
311420ffb2
Fixing adaptive icon bounds caching
...
Change-Id: Ifa0ed4d600fcd2c50558ea9ae6e95f3364d4949a
2017-04-17 16:59:19 -07:00
TreeHugger Robot
8c6a2b2244
Merge "[DO NOT MERGE] legacy icon treatment / circle detection Bug: 37357483" into ub-launcher3-dorval
2017-04-17 23:35:38 +00:00
Sunny Goyal
e46df861e8
Fixing icon left on the workspace when drag operation fails
...
am: 846d7e12c8
Change-Id: I2f4df4ab948443298fd3354cb4338ff9db4068ad
2017-04-17 22:36:50 +00:00
Sunny Goyal
55fddc825b
Deleting any ghost widget from system service:
...
> A one-time DB update for removing any existing ghost widgets
> Handling widget cleanup when we bulk delete workspace items during loader
> Simplifying external delete
Bug: 35634653
Change-Id: Id0c520f57aee6d75d9c0e7bcd5786a464bf9f39f
2017-04-17 15:28:39 -07:00
Sunny Goyal
846d7e12c8
Fixing icon left on the workspace when drag operation fails
...
Bug: 37294517
Change-Id: I1982b71cdeacff9e15bfa00c03620888c2a225c8
2017-04-17 14:19:23 -07:00
Tony Wickham
1c2291de86
Rename WidgetsAndMore to WidgetsBottomSheet
...
am: 343a77e609
Change-Id: I3d0c3e3a4ec1225781421567cfd9f2ea1d676bc0
2017-04-17 18:59:05 +00:00
Tony Wickham
c1cac5f554
Merge "Fix popup item animation pivot" into ub-launcher3-dorval
...
am: 251dabfd76
Change-Id: I6be4feabc9781504b85351eca04517b8d6c31dbf
2017-04-17 18:49:06 +00:00
Tony Wickham
343a77e609
Rename WidgetsAndMore to WidgetsBottomSheet
...
(It only contains widgets now.)
Bug: 35766387
Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
2017-04-17 11:44:41 -07:00
TreeHugger Robot
251dabfd76
Merge "Fix popup item animation pivot" into ub-launcher3-dorval
2017-04-17 18:43:42 +00:00
Tony Wickham
65a585946b
Merge "Slightly round corners of popup arrow" into ub-launcher3-dorval
...
am: 8ae09bc376
Change-Id: I9052e1e0c85d2e2c76ed47c4c34ea9fb92e8825a
2017-04-17 18:36:05 +00:00
Tony Wickham
8ae09bc376
Merge "Slightly round corners of popup arrow" into ub-launcher3-dorval
2017-04-17 18:30:13 +00:00
Sunny Goyal
20141feb21
Merge "Updating getApplicationInfo to handle NameNotFoundException" into ub-launcher3-dorval
...
am: 932f25ee18
Change-Id: I126ce1c79ae58ee251d2f77e8aa8fd78c01f9d12
2017-04-17 17:29:00 +00:00
Tony
58292674e5
Slightly round corners of popup arrow
...
Bug: 35766387
Change-Id: I8d2be54c977074dbcf0d5884f44347edd0217bb5
2017-04-17 10:25:49 -07:00
TreeHugger Robot
932f25ee18
Merge "Updating getApplicationInfo to handle NameNotFoundException" into ub-launcher3-dorval
2017-04-17 17:21:34 +00:00
Sunny Goyal
135c1be5a3
Updating getApplicationInfo to handle NameNotFoundException
...
Bug: 37324177
Change-Id: If4caf7c61667fc874e7dbaff9f8c48b2c2cc107f
2017-04-17 10:03:29 -07:00
Sunny Goyal
0e43493f8f
Merge "Separating the DB upgrade into two paths: > schema update: changes in the table schema > data update: backward compatible changes to the data" into ub-launcher3-dorval
...
am: d31692c0e7
Change-Id: If9b5e413401ac2b969a591acd81c8e6e1c7c2483
2017-04-17 16:46:28 +00:00
TreeHugger Robot
d31692c0e7
Merge "Separating the DB upgrade into two paths: > schema update: changes in the table schema > data update: backward compatible changes to the data" into ub-launcher3-dorval
2017-04-17 16:42:35 +00:00
Sunny Goyal
3c7d55bdc7
Separating the DB upgrade into two paths:
...
> schema update: changes in the table schema
> data update: backward compatible changes to the data
Bug: 37257575
Change-Id: I856854ff2bffa2701f903a24fdc3baf6641175fd
2017-04-17 09:36:05 -07:00
Hyunyoung Song
c1cf75716b
[DO NOT MERGE] legacy icon treatment / circle detection
...
Bug: 37357483
Change-Id: I63049ad61ad259f546fcf5077ded0a5f444e4395
2017-04-16 21:57:58 -07:00
Tony Wickham
8266115eb1
Fix popup item animation pivot
...
Now it is based on the arrow center instead of height / 2
(this used to be the same when all items were separate)
Change-Id: I76c04344400c6d306e8404c1e93765adfbd0fe23
2017-04-14 13:32:12 -07:00
Tony Wickham
978faa9d4a
Merge "Ensure system shortcut icons always appear in correct order" into ub-launcher3-dorval
...
am: 50ba921aa8
Change-Id: Ie296f30e81bea966e1cfc88b81b33cbc1b5bf6e0
2017-04-14 18:07:03 +00:00
Tony Wickham
50ba921aa8
Merge "Ensure system shortcut icons always appear in correct order" into ub-launcher3-dorval
2017-04-14 18:01:34 +00:00
Tony Wickham
14780f60c5
Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorval
...
am: 3741f8d9da
Change-Id: If6fbb0dcd5ea8a947c586bddc624b98436863f92
2017-04-13 23:07:57 +00:00
Tony Wickham
ee82b035db
Ensure system shortcut icons always appear in correct order
...
- Remove "|| true" that I accidentally left in from testing on a
different CL
- Always reverse system shortcut icons that appear in the header of the
ShortcutsItemView, so they are in priority order from right to left
Bug: 35766387
Change-Id: Ia7ac5a72eb2f6d3795e35bd044c426ef46fc0ccc
2017-04-13 15:31:37 -07:00
Tony Wickham
c66c3e2ba4
Fix build - move system shortcut icon colors to theme
...
Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
2017-04-13 12:24:42 -07:00
Tony Wickham
b5ac4ed5ec
Update widgets bottom sheet to match redlines
...
- Remove "Configurable shortcuts" row, and put all widgets in one row
- Update some sizes and colors and text
- Center widget row if only one widget
Bug: 35766387
Change-Id: Ic3850feadee1cbbbdd68a772f597741d54949703
2017-04-13 12:12:52 -07:00
Tony Wickham
5a2a655475
Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval
...
am: 25e8f6d83e
Change-Id: I8ea2798c98033d395e4afbbb5d86957518f33c22
2017-04-12 22:47:13 +00:00