ganfra
ae6881c4f5
Merge pull request #1655 from vector-im/renovate/com.google.firebase-firebase-appdistribution-gradle-4.x
...
Update dependency com.google.firebase:firebase-appdistribution-gradle to v4.0.1
11 months ago
Marco Romano
b5586cb7d8
Move MediaPlayer from messages module to new dedicated library module ( #1654 )
11 months ago
David Langley
1a2b728361
lint
11 months ago
David Langley
db70c98af9
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
11 months ago
David Langley
416aa3b64a
FIx height and concurrent exception
...
- Fix live waveform hight
- Fix concurrent modification exception when sharing levels
- Tidy up width of live waveform
11 months ago
Benoit Marty
aaaad23612
Merge pull request #1653 from vector-im/feature/bma/secureBackupSdk
...
SecureBackup: update matrix sdk module.
11 months ago
renovate[bot]
515dca86b6
Update plugin com.google.firebase.appdistribution to v4.0.1 ( #1656 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
11 months ago
renovate[bot]
a7cfb610b1
Update dependency com.google.firebase:firebase-bom to v32.4.1 ( #1657 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
11 months ago
David Langley
1389c9ed24
Simple live waveform implementation.
11 months ago
renovate[bot]
1fc0b8f45d
Update dependency com.google.firebase:firebase-appdistribution-gradle to v4.0.1
11 months ago
Marco Romano
0457e5915c
Convert mx waveform to floats as early as possible in the chain ( #1652 )
...
This way we're sure that internally we always deal with [0;1] float samples. the [0;1024] int range is used only at the rust sdk boundary.
11 months ago
Benoit Marty
3a15b92eb6
SecureBackup: update matrix sdk module.
11 months ago
Benoit Marty
bf5047647a
Fix warning: Composable functions should only be emitting content into the composition from one source at their top level.
11 months ago
Benoit Marty
ea9c7f5b10
Rename file.
11 months ago
ElementBot
4a7dc3feda
Update screenshots
11 months ago
Benoit Marty
96dd7bbd8d
Use DialogLikeBannerMolecule in NotificationSettingsView.
11 months ago
Benoit Marty
fa2a2e2f7f
Design: extract DialogLikeBannerMolecule from RequestVerificationHeader
11 months ago
Benoit Marty
93e05e9d9f
Preference: Add badge to the icon preference.
11 months ago
Benoit Marty
bec12c4cca
Design kit: add destructive dialog action
11 months ago
Benoit Marty
e9e050a6d8
Design kit: add destructive buttons.
11 months ago
Benoit Marty
cb8c6f3eb1
Add RedIndicatorAtom
11 months ago
Marco Romano
00d24ce4b1
Include waveform when sending voice messages ( #1650 )
...
- New `AudioLevelCalculator` that outputs dB0v rescaled to the [0;1] range.
- `VoiceRecorder` now stores the audio levels sampled while recording, then resamples them to 100 samples to use as waveform preview.
- Waveform data is carried all the way as a `List<Float>` and converted to `List<Int>` in the [0;1024] range as per matrix spec only before sending it.
11 months ago
jonnyandrew
a67410f573
Add voice message preview player ( #1646 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
jonnyandrew
acd7aef6be
Move waveform UI to design system library ( #1649 )
11 months ago
ganfra
ec9b6ba62f
Merge pull request #1642 from vector-im/feature/fga/pin_settings
...
PIN : settings and branch flow
11 months ago
Jorge Martin Espinosa
030e86f56b
Update the chat screen UI using RoomInfo. ( #1640 )
...
* Update the chat screen UI using `RoomInfo`.
This is specially useful for getting live values for `hasRoomCall`.
* Ensure the first `MatrixRoomInfo` is emitted ASAP
* Try excluding `*Present$present$*` inner functions from kover as separate entities
* Update strings
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
ElementBot
6d5ce88153
Update screenshots
11 months ago
ganfra
b355d9fb64
PIN: address PR review
11 months ago
ganfra
ca6a30d6cc
PIN : fix quality
11 months ago
Marco Romano
3ec62ad58a
Use Float instead of Double for all the level metering logic. ( #1645 )
...
This is in preparation of further changes to the way the audio level is computed and to allow recording and sending of the waveform. The main reasoning behind the change is twofold:
1) We don't need the precision of Double in our context (we just need a rough indication of the changes in audio level to successfully draw a level meter or a waveform in our UI).
2) Performance: It is true that on 64 bit CPUs single operations involving Floats or Doubles take the same amount of time (i.e one clock cycle). But there are other aspects here that vouch in favor of Floats:
- A float takes half the space in memory compared to a double, so when storing long lists of them this can add up.
- On Android O and greater the ART runtime can "vectorize" certain operations on lists and make use of the CPU's SIMD registers which are generally 128 bits. So by using floats 4 of them can fit and be computed at the same time whilst with doubles only 2 will fit halving the throughput.
References:
- https://source.android.com/docs/core/runtime/improvements
- https://www.slideshare.net/linaroorg/automatic-vectorization-in-art-android-runtime-sfo17216
11 months ago
David Langley
b9b3bce2a2
Merge pull request #1641 from vector-im/langleyd/custom_waveform
...
Add custom waveform with cursor and nice gesture support.
11 months ago
ganfra
a7c83a94d3
PIN : Fix SetupPinPresenterTest
11 months ago
ganfra
e864871c0e
PIN : Fix test compilation
11 months ago
Marco Romano
eca7d705a7
Merge branch 'develop' into langleyd/custom_waveform
11 months ago
Marco Romano
7d1b671426
Refactor of voice message playing code ( #1643 )
...
After PR review suggestions from @jonnyandrew
User facing functionality doesn't change, but overall architecture and testing is better.
11 months ago
ElementBot
c96dc310c8
Update screenshots
11 months ago
ganfra
5d98f645d2
Merge branch 'develop' into feature/fga/pin_settings
11 months ago
ElementBot
762e091b06
Update screenshots
11 months ago
David Langley
bcb928cf30
-Fix waveform preview
11 months ago
David Langley
20cef08367
Don't need added state from bad merge.
11 months ago
David Langley
5529cb4457
Remove WaveformProgressIndicator call.
11 months ago
David Langley
4de6a5cdd9
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/custom_waveform
11 months ago
David Langley
827edecda4
Remove WaveformProgressIndicator and waveform library and lint.
...
-Remove WaveformProgressIndicator - Remove waveform library
- lint.
11 months ago
renovate[bot]
71ef76ad86
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.65 ( #1639 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.65
* Fix broken verification flow
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
11 months ago
David Langley
296cd7ca14
Add custom waveform with cursor and nice gesture support.
11 months ago
ganfra
fdd9396089
Pin: add tests and make LockScreenConfig an injectable data class
11 months ago
Marco Romano
9cf17dfa12
Voice message bubble design improvements ( #1637 )
...
- Fixes color and size of both text and icons.
11 months ago
ganfra
3c5bff0927
Pin : clean remaining pin code attempts
11 months ago
ganfra
626a884e1f
PIN: clean pin code storage
11 months ago
ganfra
adf21e0e02
PIN: fix and add tests
11 months ago