summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author tomnatan <tomnatan@google.com> 2022-02-09 14:21:49 +0000
committer Tom Natan <tomnatan@google.com> 2022-02-10 23:15:20 +0000
commit3bb6ce2bc761194e7026e04358f8cc2ea1de5e09 (patch)
treeeb727be4fe5fd229da40ad12936b8d173a79170a /opengl/java
parentf327db562514924d2837156c4b3cca8348b6de08 (diff)
[12/n] Letterbox Education: relayout but don't update surface position when bounds change.
The position of the letterbox education is fixed to the top left corner (0,0) of the task (parent surface) so there is no need to set the position of the surface because this is the default position of a surface (relative to its parent). We do however need to update the dimensions of the layout (relayout) when the task bounds change because they are dependant on them. Finally, there is no need to relayout when View#onLayout is called because neither the surface position nor the layout's dimensions depend on changes in the layout itself. Bug: 215314668 Test: N/A Change-Id: I17850b4106b13809e51cf2b9b83c6d67151a9df5
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions