History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
572230b7a993faa4c5b3b3d3cad73502840200ff 20-Mar-2018 Amin Shaikh <ashaikh@google.com> Make QSTileImpl#mListeners thread safe.

Only add/remove/access mListeners on the background thread.

Fixes: 69549729
Test: manually using customizer
Change-Id: Ic7822d665acfe5d7899950a6e73c36e1ddc548e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
8c4a19c8c6b57d4c6dbbc652d887881e21bf4ec8 20-Mar-2018 Amin Shaikh <ashaikh@google.com> Fix QSTileImpl NPE on startup.

Do not call protected methods before the object is fully instantiated.
Remove paranoid null check for private final nonnull fields for
sublasses of QSTileImpl.

Fixes: 75995708
Test: runtest systemui
Change-Id: I0a11131d796e08d598d696babdf3d7db30e02149
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
d03a74310f84af6b0afdd87237fee28187998894 01-Mar-2018 Amin Shaikh <ashaikh@google.com> Immediately enter transient enabling state in QS.

Toggling bluetooth/wifi/tethering can feel unresponsive due to the time
it takes for these services to become enabled. This change immediately
updates the QS tile UI to reflect the transient enabling state.

Fixes: 73714270
Test: visually tapping on each tile slowly and rapidly
Change-Id: Iec10054f2af4ed78e2ddc2fdcd10245a627ca50a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
d3cf756aa41c9385528651ffe6da7faad6b28fbc 23-Feb-2018 Rohan Shah <shahrk@google.com> Add alarm info to QS Panel

Added alarm info in the same space as the tooltip. Moved the header info
out to the QuickStatusBarHeader to consolidate all header views.

Since, theoretically, there can be some weird races between the
animations of the long press tooltip and the alarm info, added
protective animation state code in the header (such as fading out the
long press tooltip before animating in the alarm text).

Fully removed the alarm tile.

Test: Visually/manually
Bug: 73764084
Change-Id: Ic1ec450e560a56567f9efeb04d3efbd916f05bc3
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
db2cfa36097e01a94c75d11c913424816c92b447 20-Feb-2018 Rohan Shah <shahrk@google.com> [QS] Add header tooltip for long press

Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).

Added prefs for tracking how often tooltip is shown/hiding it based on
that number.

Updated dimensions for correct spacing (based on redlines).

Test: Visually
Bug: 72528203

Change-Id: I70e4654ed95057fac6d8dbb890d575c2a5d9f215
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
92fbcb2f91a0c5ccb8b1912e57f839119cf14149 16-Feb-2018 Evan Laird <evanlaird@google.com> Revert "[QS] Add header tooltip for long press"

This reverts commit 22caf078e493ff49e021a8f5af80ac10d4926feb.

Reason for revert: Quick settings is no longer expanding properly. Reverting this fixes it

Change-Id: I63b82e948316726067214b088016661785982e3a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
22caf078e493ff49e021a8f5af80ac10d4926feb 30-Jan-2018 Rohan Shah <shahrk@google.com> [QS] Add header tooltip for long press

Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).

Added prefs for tracking how often tooltip is shown/hiding it based on
that number.

Updated dimensions for correct spacing (based on redlines).

Test: Visually
Bug: 72528203
Change-Id: Ided991da43fbede43c84c53ef22688d21aabe291
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
cb2307cb5cefa7666340552d62eb953c39af5a86 15-Jan-2018 Jason Monk <jmonk@google.com> Bring back the QS circles

Test: visual
Bug: 70798861
Change-Id: I1a68c98cf3d507171223970918fd9cb20d880b66
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
15ad1251f09a1a1d33a6bb2ddaf642f74b61c156 08-Sep-2017 Jason Monk <jmonk@google.com> Merge "Update QS if the content gets stale" into oc-mr1-dev
am: b98eeb2552

Change-Id: I863d105e3a3f36f595cff9f439a77e8e37382dac
cded1f30f1412cb6fc7eb08831ba598f53afaf9c 08-Sep-2017 Kensuke Matsui <kensuke.matsui@sony.com> Merge "Avoid race condition during grayscale animation of QS tile" am: bceee1cbb4 am: 36f27fa6f8
am: 24220265ca

Change-Id: Idbd4a2ca541a44c4806d9ce921600740a0e8ca14
1c6116cbbb0c8000b576443e4b13026b1d8529d9 06-Sep-2017 Jason Monk <jmonk@google.com> Update QS if the content gets stale

For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.

Test: runtest systemui
Fixes: 34804413

Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
5a58cf92b7861a30898032558d517b9dc72e1184 05-Jul-2017 Kensuke Matsui <kensuke.matsui@sony.com> Avoid race condition during grayscale animation of QS tile

DrawableIcon returns the same instance of its Drawable
for both getDrawable() and getInvisibleDrawable().
This could cause a race condition during grayscale animation
of a QS tile which uses the same icon for both ON and OFF state.

Clone the original Drawable and use it for invisible drawable
to solve this.

Fixes: 65437135
Test: manual - put a custom tile at the first position of QS panel
and tap it

Change-Id: Ie74edd9c5e58118a70b5abd8096cdd1297940ef5
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
f8c2f7bd7baf0d001a707af48b3152f26fbaeda2 06-Sep-2017 Jason Monk <jmonk@google.com> Add metrics for status bar

Test: runtest systemui
Fixes: 65289824
Change-Id: Ife5ce98862fc6a92740eaf80cdc0b74cb01dd04e
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
794bcd27ef0abffd01255dd11991e1bcacc954d7 06-Jun-2017 Jason Monk <jmonk@google.com> resolve merge conflicts of be23ef368f1a to oc-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5364727a21f62fc479c9bca6ad7ab2c3b62d1d1b
b4cc7b136e45b144ed12a984346f7661b95a1c36 09-May-2017 Jason Monk <jmonk@google.com> More QS theme fixes for contrast

Test: visual
Merged-In: I4494e92ebf79bbc20c30a18f5ac13228801a3e54
Change-Id: Ifb03403042561ec23e67159eb51387a460d4f90b
Fixes: 37443237
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
cb4b31d396df49bd55db64b1c40122656c6ec534 03-May-2017 Jason Monk <jmonk@google.com> Fix QS visibility logs missing some info

Test: runtest systemui
Change-Id: I6deb71576b137dfbd51f863e88ad939d4f3fab1b
Fixes: 35454347
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
3536b23998f623d9a5519efe7f6322f01ea77de8 19-Apr-2017 Jason Monk <jmonk@google.com> Bring up the QS state colors to increase contrast

Test: visual
Change-Id: I5182e3dae7be89bf38d0ed33e3cbefedc664c718
Fixes: 37443237
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
755138bb1cb63372ec3b35e31fdeb440b0e479b7 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Make QS light" into oc-dev
824ffffcc41ae9dcdcc8cb344a95a0fd8487e3e0 11-Apr-2017 Jason Monk <jmonk@google.com> Make QS light

Test: visual
Change-Id: I873bc44647d509bad0ac035058ea13ac57717416
Fixes: 37213814
Fixes: 37008758
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
be3235abcddbcab63e60184de416c6243697abb7 05-Apr-2017 Jason Monk <jmonk@google.com> Updates for QS DND tile

- Make detail panels not close when turned off
- Add auto-rule state for DND tile

Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
8c09ac7435c62a8ba2e34d57a7ac3be2ddf23adc 16-Mar-2017 Jason Monk <jmonk@google.com> Clean up and cover more QS metrics

Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377
Fixes: 34801532
Test: runtest systemui
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
867428615dd857994d55dffa95f552d39c2ae964 16-Mar-2017 Jason Monk <jmonk@google.com> Don't announce state changes in QS

These are covered by the accessibility services now that we have
proper accessibility classes attached to everything.

Change-Id: I7a27387cf22503bb460ded72b91889263c01306a
Fixes: 36160031
Test: Toggle flashlight
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
e5b770e47d44a40d412c7d42010b2cf67920d9e3 04-Mar-2017 Jason Monk <jmonk@google.com> Updated QS UI

- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java
702e2ebf9fbfb715c1d9b716683c9e4d182b575e 03-Mar-2017 Jason Monk <jmonk@google.com> Add plugin API for individual QS tiles

This will allow prototyping of individual QS tiles and/or their
visual representation without having to write a plugin for the
entire panel. This will allow quick iteration on QS UI + dual
target tiles.

Test: Install plugin using new API
Change-Id: I05ca9d9f5a200a1dad2c3582251a36edb5cb9aba
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java