summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Shane <shanewong@google.com> 2024-01-25 03:36:25 +0000
committer Shane <shanewong@google.com> 2024-02-01 18:08:19 +0000
commitbdb6c422e9d8ca09dbd5cadcd6298aa5c3a44a83 (patch)
tree145d2ab4111a8ebb662a250eedcf39378888296c /libs/androidfw/misc.cpp
parente475ab6ac856ed18c36fe3ba0115901e71dc235d (diff)
Call setFrameRate in TextureView to set frame rate properly.
Call setFrameRate in TextureView to set frame rate if one is provided. Considering that TextureView could be invalidated with a lower frequency comparing to the other Views. If no frame rate was set in the past 100 ms, the value of mPreferredFrameRate will be to 0 in ViewRootImpl. Otherwise, the value remains the same. Bug: 281695725 Test: atest TextureViewTest & manual using a test app Change-Id: Icbba5e3df8da5aa20808dd236eb93285eceddeb7
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions