summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-09-03 00:29:30 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-09-10 00:26:11 +0800
commitccaeffc03f275525c9fe66539b2d50f1076303fa (patch)
tree9af20a0e157abb1c9c97b752bf8b06c959e895f1 /tools/aapt2/java/JavaClassGenerator.cpp
parent46969117366fed264cfe0fa8dd49fa5f1b4558cf (diff)
Remove Session#getDisplayFrame
The frame won't be changed if there is no IWindow#resized or IWindowSession#relayout. So it can be retrieved from these methods directly instead of another binder transaction. And because some parameters are usually used together for layout, the parameters are consolidated into a new ClientWindowFrames. That reduces changing the interface in the future if the frame related information needs to be changed. Also refine the resize handling in ViewRootImpl to make it easier to read. There should be no behavior change by this modification. Bug: 161781274 Test: WmTests, DialogFrameTests Change-Id: I9f711ad2023442046fa8582944320b98e7c4ecfa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions