135 Commits

Author SHA1 Message Date
Ensar Sarajčić
7f787cef08 Fix anchor positioning on all apps fragment and home screen 2023-07-28 13:40:21 +02:00
Ensar Sarajčić
0b497a34f6 Add migration for changes made to shortcuts
Since #67 was fixed in #92, `intent` field in `HomeScreenGridItem`
became obsolete. This removes that field and properly migrates it,
by adding this to existing version 4 to 5 migration (meaning this
will only properly migrate between real releases). The migration will
also remove all icons that had `intent` field populated, since they
can't be migrated properly and would not work at all.
2023-07-26 18:17:32 +02:00
Ensar Sarajčić
befd1d5d09 Store all shortcuts with IDs without Intent
This handles all shortcuts the same, using the recommended mechanism
of using `LauncherApps` to get `PinItemRequest` from result intent.
This makes `intent` field obsolete.

This closes #67
2023-07-26 17:40:42 +02:00
Tibor Kaputa
c643f06b6d
Merge pull request #88 from esensar/fix/icons-blink-on-page-change
Fix icons blinking on page change
2023-07-20 21:29:49 +02:00
Ensar Sarajčić
d1b888ee7e Fix icons blinking on page change 2023-07-20 17:57:55 +02:00
Ensar Sarajčić
68a8b5dd25 Show indicators as soon as item is moved 2023-07-20 17:41:13 +02:00
Ensar Sarajčić
02684f393f Fade page change indicators when not needed 2023-07-20 17:01:38 +02:00
Tibor Kaputa
0a76968091
minor code style update 2023-07-20 15:36:53 +02:00
Ensar Sarajčić
2038e9dcf1 Remove unused strokeWidth field from HomeScreenGrid 2023-07-20 13:52:37 +02:00
Ensar Sarajčić
4392527909 Improve behavior for dragging icons offpage 2023-07-20 13:48:36 +02:00
Ensar Sarajčić
1b0dc44ca8 Reduce delay for page changes 2023-07-20 13:35:22 +02:00
Ensar Sarajčić
8794f7ca23 Decrease move gesture sensitivity 2023-07-20 12:40:28 +02:00
Ensar Sarajčić
35fe1da420 Navigate to previous page if current one is empty 2023-07-20 12:09:28 +02:00
Ensar Sarajčić
9906ef05af Draw page indicators on the bottom 2023-07-20 12:09:15 +02:00
Ensar Sarajčić
efb46dc0d6 Fix max page calculation in HomeScreenGrid to consider only visible items 2023-07-20 11:29:10 +02:00
Ensar Sarajčić
05c9644037 Implement bottom row docking 2023-07-19 17:26:36 +02:00
Ensar Sarajčić
1c67a8f097 Merge branch 'main' into feature/47-multi-panel-home 2023-07-19 16:46:29 +02:00
Ensar Sarajčić
6ac3d0f86c Fix shortcut pin intent handling 2023-07-19 16:30:21 +02:00
Ensar Sarajčić
3742762220 Handle pages in shortcut pin request 2023-07-19 16:09:27 +02:00
Ensar Sarajčić
d4b131ab23 Increase page change area and introduce delay to prevent accidental page changes 2023-07-19 15:45:29 +02:00
Ensar Sarajčić
3a4f4b47a9 Ensure gridCenters are cleared when dimensions of grid change
This prevents an issue of items that can't be dropped onto the grid, because of missing center values
2023-07-19 10:02:20 +02:00
Ensar Sarajčić
f0eb1254a3 Fix occupied position calculation for offpage items 2023-07-18 18:25:40 +02:00
Ensar Sarajčić
9dc9e90e0e Add animations for widgets 2023-07-18 18:22:20 +02:00
Ensar Sarajčić
1d0f814e9f Update anim percentage for clarity 2023-07-18 18:06:31 +02:00
Ensar Sarajčić
468b89bc21 Add basic page change animations 2023-07-18 18:04:59 +02:00
Ensar Sarajčić
b0ca17cea2 Implement multiple panes for home screen grid
This closes #47
2023-07-18 17:35:26 +02:00
Ensar Sarajčić
26b4d777e4 Merge branch 'main' into feature/60-row-column-count-customization 2023-07-18 14:41:55 +02:00
Tibor Kaputa
1a640224a2
removing a semicolon 2023-07-18 14:29:18 +02:00
Ensar Sarajčić
65835d4bcb Focus all apps grid and widgets screen with accessibility when needed 2023-07-18 14:21:07 +02:00
Ensar Sarajčić
a4fc9d0b90 Implement accessibility for HomeScreenGrid
This closes #29, closes #15
2023-07-18 14:18:02 +02:00
Ensar Sarajčić
1c114f782e Prevent resizing widgets over bottom row 2023-07-17 13:09:04 +02:00
Ensar Sarajčić
209c74e99b Clean up widget placement 2023-07-17 13:03:20 +02:00
Ensar Sarajčić
1097159b8d Fix last row behavior for widgets 2023-07-17 13:03:01 +02:00
Ensar Sarajčić
3e45c3311e Adjust margins for big grid sizes 2023-07-17 12:45:03 +02:00
Ensar Sarajčić
d0f361c531 Fix vertical clickable area 2023-07-17 12:41:39 +02:00
Ensar Sarajčić
e00f6852ed Adjust clickable areas 2023-07-17 12:32:01 +02:00
Ensar Sarajčić
4b1f2e5a65 Fix drawing of dock line in grid 2023-07-17 12:06:56 +02:00
Ensar Sarajčić
5d642eefe2 Restore widget drawing bottom row limitation 2023-07-17 11:59:22 +02:00
Ensar Sarajčić
3545701f21 Properly translate tap coordinates into grid coordinates for touch events 2023-07-16 16:52:27 +02:00
Ensar Sarajčić
934651e88d Increase clickable height of grid icons 2023-07-16 09:33:23 +02:00
Ensar Sarajčić
b49a84968e Adjust widgets drawing for missing bottom row 2023-07-13 15:55:01 +02:00
Ensar Sarajčić
3ed5119129 Remove landscape row and column counts 2023-07-13 15:03:50 +02:00
Ensar Sarajčić
1cbc887c3c Remove bottom row logic from HomeScreenGrid 2023-07-13 14:54:32 +02:00
Ensar Sarajčić
79d047c852 Add settings for configuring home screen grid size
This closes #60
2023-07-13 14:32:43 +02:00
tibbi
bf61acc715 adding some crashfixes 2023-02-12 23:31:33 +01:00
tibbi
0ba3d75776 make the desktop icon label shadow a bit bigger 2023-02-12 23:20:23 +01:00
tibbi
1190c5de2b adding a crashfix 2022-10-25 18:13:35 +02:00
tibbi
07c167b5b3 set proper widget sizes, divide them by density 2022-10-17 20:28:00 +02:00
tibbi
f8d0034222 fix #24, add support for apps creating multiple icons, not just launcher 2022-10-14 10:43:39 +02:00
tibbi
3a6aa2e96e add support for pinned shortcuts 2022-10-09 19:59:24 +02:00