Move tile icon resource loading off state change

Instead of loading tint color each time state is changed, load the 3
colors once when tile view is created, and reuse them on state change.

This is done to improve the performance of the shade open CUJ.

Also added a helper function to QSLogger.

Bug: 365623416
Flag: com.android.systemui.qs_new_tiles
Test: atest QSIconViewImplTest
Change-Id: Id162075538c9cd9be57b2e52caa3c4530bcd2984
5 files changed