Commit graph

2197 commits

Author SHA1 Message Date
Alper Ozturk
a0083b9afb
Change overlay icon size according to density
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
6ae12b0e49
Add extensions package under utils
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
c618b20511
Reset overlay icon size
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
59cacab150
Use isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
9e4bac2aad
Add isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
b0c584b9f2
Support overlay drawable icon for Dark mode
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
be543f66d4
Change top margin to 3 due to ss tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
88de0a2bd2
Change top margin to 4
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
afdd18a415
Change overlay icon color to white
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
095c19bdb7
Add different folder types
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
8b9361f310
Use getDefaultFolderIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
8105a02766
Add default folder icon function added due to apply color primary
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
15f5856646
Move getFileIcon into the MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
c570c4f2a5
Add viewThemeUtils for different primary colors
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
651908af93
Todo comment added
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
48bdbac2a3
Replace null check with assert due to ContextCompat.getDrawable nullability
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6fc9970329
Rename getFileOverlayIcon to getFileOverlayIconId
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
6ed626d8b3
Remove Mockito from OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
7aa837fb8c
Add tests for each different folder icon type
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
bfd80793bc
Add OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
f745db1188
Extract getFileOverlayIcon function from getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
23cd9f91c7
Rename OCFile function name to getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
29e934fdce
Add DrawableUtilTests for testing overlaying icons
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
1f391397c1
Mark failed tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
ca09000327
Use overlay method for GroupfolderListAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
9870a80e87
Remove duplicated default folder icon func from MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
3aa9c8aa32
Remove ViewThemeUtils usage to provide correct folder color
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
44e38c671f
Use overlay method for EditorWebView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
aee3ffd7da
Change drawable to layer drawable
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
16db8c01b6
Use overlay method for ShareActivity
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
929b704425
Use overlay method for ShortcutUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
bbea0e00d0
Apply color changes for folder
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
4b35088377
Use overlay method for UploadAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
32b8993331
Add DrawableUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
80cf6f04bd
Use new method for get thumbnail image
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
c7cb4fa7c4
Use overlay method to get file icon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
e4dd05c6aa
Add folder overlay icons
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
65461a7d87
Use folder key icon for encrypted state
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
2dc0d561fd
Add folder_encrypted icon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
b351c57d31
Use getFileIcon for thumbnailView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
0358dce204
Add isAutoUploadFolder function to SyncedFolderProvider
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
22e1f7ed45
Add getFileIcon function inside OCFile
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Nextcloud bot
0b5c828235
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:45:01 +00:00
Nextcloud bot
8ede587f08
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:44:33 +00:00
Nextcloud bot
4cc8743547
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:51 +00:00
Nextcloud bot
96cc159139
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:23 +00:00
Nextcloud bot
aabcb979a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:29 +00:00
Nextcloud bot
d0e2c1568a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:01 +00:00
Nextcloud bot
5b5402b5e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:45:08 +00:00
Nextcloud bot
8a7be770ba
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:44:40 +00:00