Commit Graph

117 Commits

Author SHA1 Message Date
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
06738b595c allow dragging app icons from All Fragments to home screen 2022-09-22 22:05:40 +02:00
61801ebcb2 hide the menu at long pressing an item and moving gesture 2022-09-22 21:22:32 +02:00
5ccaf8ce43 hide AllAppsFragment on long pressing an icon 2022-09-22 21:09:25 +02:00
9321db3cec reuse the main anchor for showing PopupMenu at AllAppsFragment 2022-09-22 20:51:17 +02:00
9fba3b56d6 implementing initial drag & drop 2022-09-21 23:25:17 +02:00
f86caa6c89 add some preparation for icon dragging 2022-09-21 22:34:49 +02:00
4667cc447c hide dragged icons label during drag 2022-09-21 15:35:09 +02:00
012f56cec0 give more info about long pressed item to the activity 2022-09-20 15:58:57 +02:00