LuK1337
c73a85fd29
Glimpse: Simplify favorite button drawable handling
...
Change-Id: I1cabdd7c0596f3046ebbb0d28547a232c6192c4f
2023-08-06 00:34:21 +02:00
LuK1337
824b8856c9
Glimpse: Hook up favorite button
...
Change-Id: Ib578f87581b58c9f27f815747d1529a6c9255703
2023-08-06 00:34:21 +02:00
LuK1337
3f6a1d81dd
Glimpse: Load isFavorite data
...
Change-Id: Ibc74da8e570b3267bb6a03a431d93bc70f10f6c8
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
894d14e23b
Glimpse: Downgrade coil to 2.2.2
...
Change-Id: Iff86a7c5b4a715eae5f5de55df948fb483f63a25
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
27345358c3
Glimpse: Use AOSP's version of NavigationX
...
Change-Id: Ica426c80f73afee0ca309c8a6f9a0d2521788e96
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
ad07a6fd30
Glimpse: New span count and padding
...
* Also improve UI for tablets
Change-Id: I2e49b373bfa9732044c9e77f72cd35a70505fe86
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
18c4e560c9
Glimpse: Rework ThumbnailLayoutManager
...
* Hardcode the span count in the class
* Enforce the usage of ThumbnailAdapter, can't work with anything else
* Move ViewTypes enum class out of the companion object
Change-Id: I777409de63b03bd836aa82fe6a4476d9e3b19ccb
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
cb5536d392
Glimpse: Move thumbnails recycler view in a layout XML
...
Change-Id: Ib739d18775e70ee417996626da11df24b61f8b6b
2023-08-06 00:34:21 +02:00
Luca Stefani
92d5bb0c24
Glimpse: Show video preview while scrolling
...
Change-Id: I5b1ad0b6121409a5edb0d42aaf9f4a663a4eb85d
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
d5fd770872
Glimpse: Add SDK check for ImageDecoderDecoder
...
Change-Id: Idb8cc4742124c7b6f1ee193175bc64148eee741b
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
853f08fd98
Glimpse: Close media viewer if no medias are present
...
Change-Id: Id6279a6c1b2bc41a27593839b5f3c268c57f95a2
2023-08-06 00:34:21 +02:00
Sebastiano Barezzi
8f2ccc7e76
Glimpse: ThumbnailAdapter: Reset headers positions on cursor change
...
Change-Id: Ia3301bcfe542a996b05b2220240cdd08c4e1b57d
2023-08-06 00:34:21 +02:00
LuK1337
29d4d381e7
Glimpse: Hook up delete button
...
Change-Id: I5ae05cbbb62d3ef2bf139bdd8345459a3ea7e218
2023-08-06 00:34:21 +02:00
Luca Stefani
c36e32ab34
Glimpse: Use relative date strings in Reels
...
Change-Id: I84eaa2cea0b91aa3da26298e8b78a951551477b8
2023-08-06 00:34:21 +02:00
Luca Stefani
6cfb7064b3
Glimpse: Use a shared player across all media views
...
This is required to properly stop the player on detach
Change-Id: Ia18f55c6dfd796f044d0e7aed179f9f21a141eda
2023-08-06 00:34:21 +02:00
Luca Stefani
6984c7d35f
Glimpse: Preserve last seen media position
...
Otherwise resuming the fragment will go back to
the original media.
Change-Id: I9433f353782afb0ae006de4d2906842299f34e82
2023-08-06 00:34:21 +02:00
Luca Stefani
321615afe5
Glimpse: Update workflows versions
...
They use node12 that is deprecated.
Change-Id: I88864db207ffbc353ee4fc05477c98e962c3e158
2023-08-06 00:34:21 +02:00
Luca Stefani
343e1ca766
Glimpse: Initial media sharing support
...
Change-Id: Ic83a8203b6f69bcf8468014d17e059194493a273
2023-08-06 00:34:21 +02:00
Luca Stefani
2ef61e0c48
Glimpse: Request ACCESS_MEDIA_LOCATION in Q+
...
It's required to read the media location.
Change-Id: I6d5b28338c86b23a537696b10a0b5bed87cb669b
2023-08-06 00:34:21 +02:00
Luca Stefani
18a61b6507
Glimpse: Ensure we split properly per day
...
1 day difference between 2 dates means 24 hours.
Also switch to Java 8 Date Time API to handle timezone properly
since dateAdded is epoch without any offset.
Change-Id: I056a8a0d71247ea2045d6d092332a7ff4fb51466
2023-08-06 00:34:20 +02:00
Luca Stefani
6a7c4bec4f
Glimpse: Implement scrolling
...
Change-Id: I4b87e75e45106ca31ce6c8624aca0790dea8e953
2023-08-05 17:54:57 +02:00
Sebastiano Barezzi
2110823b23
Glimpse: Show video icon on video thumbnails
...
Change-Id: Ia0fc1622ba8c19c9a77b4398495f4eac46c8ed73
2023-08-05 17:54:57 +02:00
Sebastiano Barezzi
25a80b9a65
Glimpse: MediaViewerFragment: Load images with coil
...
* Fixes stuttering while opening
* It also handles EXIF rotation
Change-Id: I82f1a83e608d7ea7c91e5f4c91fd336a33e67b9e
2023-08-05 17:54:57 +02:00
Luca Stefani
ee33e7775f
Glimpse: Use buildString to create selections
...
Change-Id: I8b67b7ae6bf17a35b82b5fcdd53b294fa469ba6a
2023-08-05 17:54:57 +02:00
Luca Stefani
8720344ae4
Glimpse: Use stable IDs in our adapters
...
Our album IDs and photo IDs are unique and stable.
Change-Id: Ic37051ea71b3f773fc3dc241d1b513d636b8688c
2023-08-05 17:54:57 +02:00
Luca Stefani
238e5754a1
Glimpse: Don't hardcode query parameter
...
It's not safe, even if it is for us in the current codebase
Change-Id: Ib8bef596b0fda26a7bcb47a60869f44d95f83f84
2023-08-05 17:54:57 +02:00
Luca Stefani
ac824c5598
Glimpse: Streamline BaseCursorAdapter cursor close-up
...
Change-Id: Ic4e9fb6d04c93e9286640475fc0ce1964b85ac2f
2023-08-05 17:54:57 +02:00
Luca Stefani
209675312d
Glimpse: Make some companion variables private
...
Change-Id: I78f0bbb17b8986a6794e3c12bf0202fa5483cd6d
2023-08-05 17:54:57 +02:00
Luca Stefani
c883042b57
Glimpse: Allow thumbails of Images/Videos/GIFs
...
Change-Id: Ib038a717a990fb1f03427ebd5753f54fb531342b
2023-08-05 17:54:57 +02:00
Luca Stefani
92bd84abde
Glimpse: Migrate from Glide to Coin
...
Its APIs are much more Kotlin oriented and easy to use
Change-Id: Ib076301286b8940438f21435ac22ccfdec084137
2023-08-05 17:54:57 +02:00
Sebastiano Barezzi
0081e2d797
Glimpse: Import androidx.savedstate
...
Change-Id: I3618a962581b543452e39fb3b899b0e48177a84f
2023-08-05 17:54:57 +02:00
Sebastiano Barezzi
1f0058a622
Glimpse: Initial commit
...
* Launcher icon and design by Asher Simonds
Co-authored-by: Asher Simonds <dayanhammer@gmail.com>
Change-Id: Ia671a777bb2105f2f3aecd88c7eaebf28d42e8e8
2023-08-05 17:54:57 +02:00