1693 Commits

Author SHA1 Message Date
Neeraj Gupta
88bdb06d05 [mob] Keep original files order intact 2024-05-02 14:22:24 +05:30
Neeraj Gupta
745daf39f7 [mob] Sort suggestion by creationTime to fix gallery grouping bug 2024-05-02 12:14:08 +05:30
Neeraj Gupta
ca3172c33e [mobile] Add method to reconsile mappings 2024-05-02 07:04:31 +05:30
laurenspriem
689833d8aa Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-30 17:13:39 +05:30
laurenspriem
09fadecd7a [mob][photos] Make sure precomputes also use thumbnail for face generation 2024-04-30 17:02:14 +05:30
Vishnu Mohandas
569f7c0c47
[mob][photos] Add support for casting (#1556)
## Description

## Tests
2024-04-30 16:41:05 +05:30
Vishnu Mohandas
f00a04710b
Add an option to download multiple items (#1563)
## Description

<img width="373" alt="Screenshot 2024-04-30 at 4 06 33 PM"
src="https://github.com/ente-io/ente/assets/1161789/f4bc463e-654d-4e5f-8d7d-27308149068b">

## Tests

- [x] Tested on Simulator

> Note: If the downloaded item was not owned by the user, but was shared
with them, it will get re-uploaded into the user's own account. This is
the existing behavior, so have left it untouched. Will wait for customer
feedback before updating the implementation to ignore such items.
2024-04-30 16:40:59 +05:30
laurenspriem
10b04c6ad3 [mob][photos] Make sure face in face thumbnail is always centered 2024-04-30 16:31:36 +05:30
Neeraj Gupta
e7a5e1be3f Merge branch 'main' into cast 2024-04-30 16:24:28 +05:30
vishnukvmd
99e72a119f Update download icon 2024-04-30 16:13:48 +05:30
vishnukvmd
fe5e6c18e8 Provide option to download multiple items 2024-04-30 16:06:03 +05:30
Neeraj Gupta
7e5561e5cd [mob] Use EntePopupMenuItem 2024-04-30 14:59:55 +05:30
Neeraj Gupta
b1cbf8526b Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-30 14:48:28 +05:30
Neeraj Gupta
49d5370d47 Merge branch 'ente_popup_menu' into mobile_face 2024-04-30 14:48:12 +05:30
Neeraj Gupta
268c7d8a99 [mob] Use EntePopupMenuItem in gallery_app_bar 2024-04-30 14:42:21 +05:30
Neeraj Gupta
ebed315cb0 [mob] Add popup item widget 2024-04-30 14:41:54 +05:30
vishnukvmd
ae057da331 Remove redundant code 2024-04-30 14:37:15 +05:30
laurenspriem
8d4f9fe966 [mob][photos] Move code 2024-04-30 14:29:25 +05:30
vishnukvmd
24fc486721 Pull out the code to download a file to gallery 2024-04-30 14:29:12 +05:30
laurenspriem
29b9bee1be [mob][photos] Use thumbnails for generating face crop in suggestions 2024-04-30 14:20:21 +05:30
laurenspriem
a80c9dd589 [mob][photos] Rename method 2024-04-30 12:35:05 +05:30
laurenspriem
046a96f586 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-30 11:57:03 +05:30
laurenspriem
1cd31d2cab [mob][photos] Only decode image once for face thumbnails in file info 2024-04-30 10:46:16 +05:30
Neeraj Gupta
7d2633190f Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-29 17:18:32 +05:30
Neeraj Gupta
52f605831f Merge branch 'main' into mobile_face 2024-04-29 17:18:16 +05:30
Neeraj Gupta
9e7c82d5b9 [mob][photos] Extract string 2024-04-29 16:59:28 +05:30
Neeraj Gupta
5c645d50f0 [mob][photos] Show custom error on ip mismatch 2024-04-29 16:56:53 +05:30
Neeraj Gupta
7c9160478d [mob][photos] Extract strings 2024-04-29 16:45:43 +05:30
Neeraj Gupta
bd07759d8e [mob][photos] Show loading indicator on device tap 2024-04-29 14:05:41 +05:30
Neeraj Gupta
b12e6221d4 [mob][photos] Change button type to neutral 2024-04-29 13:46:18 +05:30
Neeraj Gupta
7411125194 [mob][photos] Add support for closing session 2024-04-29 11:20:17 +05:30
Neeraj Gupta
4b97f832b2 [mob][photos] Finish auto-pair integration 2024-04-29 10:23:19 +05:30
Laurens Priem
9eeab36392
[mob][photos] Generate face crops faster (#1542)
## Description

Have written two new methods, `generateImgFaceThumbnails()` and
`generateJpgFaceThumbnails()`.
Using `generateJpgFaceThumbnails()` now since it returns
`Future<List<Uint8List>>` and is easier to integrate within the code
base because the return type remains the same with the older
`generateFaceThumbnailsForImage()`

There is performance improvement with `generateImgFaceThumbnails()`, but
it's not very significant and it requires changes in codebase to work
with it's return type `Future<List<Image>>` (`Image` from the `Image`
package). Can consider using it if it feels necessary in future.

If multiple faces are being generated from the same image, the image can
be decoded once and passed to `generateImgFaceThumbnails()` or
`generateJpgFaceThumbnails()` to avoid repeated decoding of the same
image.

`generateImgFaceThumbnails()` and `generateJpgFaceThumbnails()` uses the
isolates available from the pool of 4 spawned by `Computer` and
processes multiple faces in parallel unlike
`generateImgFaceThumbnails()`, which processes only one at a time.
2024-04-27 12:05:32 +05:30
ashilkn
58cd9350c0 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-27 11:10:10 +05:30
ashilkn
ab5985a08b [mob][photos] Use generated face crops and crop it using the new method 2024-04-27 11:06:54 +05:30
ashilkn
19f2c5f00a [mob][photos] remove negation 2024-04-27 11:02:38 +05:30
laurenspriem
968eaaf5f6 [mob][photos] Better error logging 2024-04-27 09:39:12 +05:30
laurenspriem
2692d0a34f [mob][photos] Fix issue in displaying face thumbnails for videos 2024-04-26 14:50:14 +05:30
laurenspriem
811ffe0117 [mob][photos] Create new cluster when tapping unassigned face 2024-04-26 14:13:00 +05:30
ashilkn
a0e9913f43 Revert "[mob] Crop image instead of using scale and translate transforms on OG image in CroppedFaceImageView widget"
This reverts commit b022ef6d1e6420205ae6a6baa28feffe70679d17.
2024-04-26 12:56:12 +05:30
ashilkn
b256bb2757 Revert "[mob] perf: Decode images from which face is to be cropped, in an isolate to avoid jank"
This reverts commit 2f7e0cd1ef6e5676e1d294b850835f1487e6c71c.
2024-04-26 12:55:29 +05:30
ashilkn
3eebfdd037 Revert "[mob] Two varients of CroppedFaceImageView for testing out which is more performant"
This reverts commit 7617817798d0f6888a9c0f9a620ba29069e4e7dd.
2024-04-26 12:54:29 +05:30
ashilkn
a577611e65 [mob] merge mobile_face to fix_face_thumbnail 2024-04-26 11:32:33 +05:30
Neeraj Gupta
dddbb959b5 [mob][photos] Refactor 2024-04-25 17:45:03 +05:30
ashilkn
7617817798 [mob] Two varients of CroppedFaceImageView for testing out which is more performant 2024-04-25 16:58:58 +05:30
laurenspriem
f101468a8d [mob][photos] Show faces in file info regardless of blur value 2024-04-25 16:30:00 +05:30
Neeraj Gupta
483cfd1f39 [mob][photos] Lint suggestions 2024-04-25 16:28:30 +05:30
Neeraj Gupta
864f5c1fd4 [mob][photos] Extract strings 2024-04-25 16:25:04 +05:30
laurenspriem
f0ebdb211c [mob][photos] Functionality to remove selected images from suggestion 2024-04-25 14:13:58 +05:30
Neeraj Gupta
f777bdba1b [mob][photos] Extract strings 2024-04-25 12:44:46 +05:30