Commit Graph

175 Commits

Author SHA1 Message Date
10373af40d allow removing widgets 2022-09-30 23:55:55 +02:00
f37840094b handle displaying config screen before placing widget, when available 2022-09-29 16:04:37 +02:00
0bb2c1066e pass the proper context at creating widgets 2022-09-29 12:21:41 +02:00
cd15023c3a handle the permission for binding widgets 2022-09-28 21:35:11 +02:00
7ba519d82d start listening for events with widget host view on start 2022-09-27 15:38:56 +02:00
05583d1ee0 override AppWidgetHostView to be able to respond to long presses 2022-09-27 14:03:03 +02:00
5fca4ff4f1 handle storing and redrawing widgets 2022-09-27 13:02:19 +02:00
e83aef8d9d lets not add any extra margin to widgets 2022-09-27 11:17:20 +02:00
8e79a9ccf5 adding an initial version of home screen widget drawing 2022-09-27 10:55:28 +02:00
28e7db1ec7 renaming some variables 2022-09-27 10:05:04 +02:00
55f243c401 create a new type for shortcuts 2022-09-26 23:49:15 +02:00
e76b2dcc51 launch widget Configure activity when appropriate 2022-09-26 23:32:41 +02:00
7b52bf2b30 check if all wanted cells for placing an item are empty 2022-09-26 23:08:56 +02:00
54fd9eed50 vibrate if the wanted icon spot is occupied 2022-09-26 23:01:20 +02:00
a0bed4040a move some widget rect calculations to a separate function 2022-09-26 22:45:11 +02:00
0e9d77541d avoid refreshing Widgets fragment if nothing changed 2022-09-26 22:33:40 +02:00
4e295deb3e adding some widget preview corrections 2022-09-26 22:00:14 +02:00
968fd79f18 show the widget preview itself at dragging too 2022-09-26 21:47:26 +02:00
7abb9e9baf center the dragged widget horizontally 2022-09-26 21:31:00 +02:00
2dcea7a90e limit widget width or height to 5 for now 2022-09-26 21:30:47 +02:00
9fbf636236 draw a shadow under widget while being dragged 2022-09-26 16:08:35 +02:00
bf6ec2c05a fixing some navigation glitches 2022-09-26 15:20:10 +02:00
29d776d7ae add some preparations for adding widgets 2022-09-26 12:38:10 +02:00
f93272aa97 differentiate between icon and widget grid items 2022-09-26 12:04:12 +02:00
7f777cf557 adding some initial widget long press handling 2022-09-26 09:50:04 +02:00
14545f9296 use the default Glide caching at loading widget previews 2022-09-25 21:45:45 +02:00
434d79d46f allow 2 lines long app titles 2022-09-25 18:48:50 +02:00
d86d35aa96 add Simple Launchers settings as an icon 2022-09-25 18:45:50 +02:00
c57ae52a4d hide the General settings section if there is nothing visible in it 2022-09-25 17:21:55 +02:00
3b59ad1a7f lets not list microG either 2022-09-25 17:08:42 +02:00
eaa9d091c3 lets not list Simple Launcher at the apps 2022-09-25 17:05:15 +02:00
968c4161cf ignore action_move events in some cases without really moving 2022-09-25 16:44:44 +02:00
18486d4b1b ignore fling events just after releasing an icon from dragging 2022-09-25 16:40:08 +02:00
07ea589c73 fixing some long touch related issues 2022-09-25 16:29:14 +02:00
d5368b0a15 make sure the initial default app launchers come from All apps list 2022-09-25 16:01:41 +02:00
85d255d434 expand the status bar on down fling gesture 2022-09-25 12:17:30 +02:00
04f6e14b3f removing a redundant function 2022-09-25 11:18:24 +02:00
92fd30eec2 adding some Drag & Drop related improvements 2022-09-25 11:13:02 +02:00
d1a38d8a02 fetch dragged icons drawable if it is empty 2022-09-25 09:19:21 +02:00
11f3b05534 use Resource caching at glide image loading 2022-09-24 23:33:36 +02:00
13c4f1fafb adjusting some touch calculation 2022-09-24 22:49:15 +02:00
6cf61d534a show a shadow at dragging from All Apps Fragment too 2022-09-24 22:36:00 +02:00
1ec3112032 draw a transparent circlular shadow at dragging an item 2022-09-24 22:23:42 +02:00
ee76ac602a show currenly dragged icon at its place 2022-09-23 12:54:07 +02:00
8247f8770d store drawables inside the GridItem model itself 2022-09-23 12:05:15 +02:00
5d85b9d7b4 adding a helper function for getting the closest grid cell 2022-09-23 11:44:10 +02:00
876a643fa8 fix a glitch with not updating icons 2022-09-23 00:22:02 +02:00
2508e59a27 reset some values at touch events 2022-09-22 22:44:46 +02:00
d39d81b025 reset touchDownY after long pressing an icon 2022-09-22 22:31:28 +02:00
3441a84d02 add a new menu button for removing icons from the home screen 2022-09-22 22:19:18 +02:00