diff options
author | 2025-03-07 14:06:00 -0500 | |
---|---|---|
committer | 2025-03-11 22:33:30 -0400 | |
commit | e5c46767a66fa8f552cfe36308dd804015db640a (patch) | |
tree | 3e5bd2bda34f55dff9690ac86627be8328ab6c32 /libs/androidfw/LocaleDataLookup.cpp | |
parent | 3088c2861504c37cd4ec9513ebbf915dde887c37 (diff) |
Implement sliding window flow helper
Given a Flow<T> and window duration, this converts the flow to a
Flow<List<T>> where the list is all the elements emitted by the source
flow within the specified window.
This can be used to smooth out signal data
Bug: 396460215
Test: atest FlowUtilTests
Flag: EXEMPT not used where yet
Change-Id: Iaa464a287032b0083cbed0ad21f872825406d1e2
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions