OSDN Git Service

Remove allocation from HeaderTileLayout#onLayout
authorFabian Kozynski <kozynski@google.com>
Mon, 22 Apr 2019 18:30:59 +0000 (14:30 -0400)
committerFabian Kozynski <kozynski@google.com>
Mon, 22 Apr 2019 18:30:59 +0000 (14:30 -0400)
commitdc23ef66d9355116de4958d3e8b8015a6f6faf44
treefe671b6f95c00e7511c3f96074aee0ce4694c5d5
parent18184f9c86565f27efa74b317ab464dee1c6b94c
Remove allocation from HeaderTileLayout#onLayout

Moved allocation of Rect to construction, and only bounds are modified
on layout.

Also fixed typo

Test: visual, expanding animation on large display
Fixes: 131093881
Change-Id: I92e14deee73820c5c21d7328d6a84b3115bb3c1f
packages/SystemUI/src/com/android/systemui/qs/QuickQSPanel.java