History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9b65ea39fff44ff14ff4feed11c89f77352f024d 02-May-2018 Amin Shaikh <ashaikh@google.com> Fix QS edit accessibility.

- Announce the correct QS tile positions when moving/adding tiles.
- Only insert a placeholder tile when adding tiles.
- Ensure all tiles are draggable, even if they are currently unavailable.
- Fix off by one error adding tiles into the last position.
- Remove tile remove a11y announcement as it is unnecessary.

Change-Id: Ia0bc1cb1559c2e46f9ddfe0f3ba0f50d5de56868
Fixes: 78608195
Fixes: 78611593
Fixes: 74253408
Test: manual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
f725047ad1da5bead9f692ff5d0f6a9e9c6d904c 21-Mar-2018 Amin Shaikh <ashaikh@google.com> QS edit mode fixes.

- Remove secondary text for system tiles
- Show app name as secondary text for app tiles
- Fix left side cutoff

Change-Id: I010995c8fc42eb8b77360ade4830049e494c129a
Fixes: 74983414
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
ae0c58be706e77992b91a5e413287bad6f378e84 20-Mar-2018 Amin Shaikh <ashaikh@google.com> Ensure QS contains at least 6 tiles.

Do not allow users to remove QS tiles in the customizer if they
currently have 6 or fewer tiles.

Bug: 72511412
Test: visual
Change-Id: I02be1ee330a81db3d3af6a371187294d71f4db65
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
1fa3a60f051b51e151144b55ff2b7b3d37b9d2f4 31-Aug-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Test: Drag on the divider line."
9dde78f115641ff8685769e16828969ddf310c34 18-Aug-2017 wuliang <yueyudeguang@gmail.com> Test: Drag on the divider line.

Fix Bug:SystemUI will crash when draging the divider line in qstile edit panel.

Patch solution:The divider line can not be dragged.
When the divider is selected, step in onSelectedChanged, mTiles.get(position) will return null object.Then SystemUI will crash

Change-Id: I40b948a8fac2964df7891086a701159a4c0f513d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
903556b16240844da08c3ca87d3559deffddc484 29-Mar-2017 Jason Monk <jmonk@google.com> Make sure TileServices get onTileRemoved on reset

Test: runtest systemui
Change-Id: Ic23eb6759f99c9cfe45ab975b3bb723dae56e0d8
Fixes: 34481238
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.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/customize/TileAdapter.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/customize/TileAdapter.java
790442e4cd8106cf2c69d23ff185953b620b087a 13-Feb-2017 Jason Monk <jmonk@google.com> Tuner updates

Some UX updates to the tuner to feel better and align with settings
UX patterns.

Test: visual
Change-Id: I9c57194b9649c61e0d6d3f9e21a51d9c4a5c1286
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
383db5ebcc3a4a615faf249bf4f126f42e80b82e 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
c896963063ce86d272c08430e739bdf0c8f50bf9 05-Aug-2016 Jason Monk <jmonk@google.com> QS: Fix accidental a11y tile removal

Change-Id: I5b5c3bac0b92a7cc5585dcd55571fa055da0e5eb
Fixes: 30443933
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
ddb980de05c4666b544f7e4a57ef3dfafceda664 23-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Merge "Add colorSecondary theme attribute." into nyc-mr1-dev
c11df2521eaf1c4f9ba0a202df53fa7b4fef3dba 20-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Add colorSecondary theme attribute.

Value is defined only for .Settings themes.

Uses new attribute in SystemUI to set the switch bar background in
System UI Tuner and the edit UI background in Quick Settings.

BUG: 28625050
Change-Id: I840597670fb8826c7e2172c933ff618e52fc9ac1
FIXES: 28625105
FIXES: 29003223
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
b213ac464e7bb2f8948334da5270d3645f502128 20-Jun-2016 Jason Monk <jmonk@google.com> QS Edit: Try to simplify drag logic

- Don't forcibly move around items during dragging, instead let the
ItemTouchHelper handle where things can and cannot be dragged.
- Try to trigger notify calls only when needed.
- Tiles will sit in the first slot after being removed until the
edit panel is closed.

Change-Id: I4780e64bc39292ed85e961ac089c69834245dfb4
Fixes: 28067638
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
0c0df7943ce2cf463917fa5a72d08ebf6a5336b4 17-Jun-2016 Jason Monk <jmonk@google.com> QS Edit: Fix auto-selecting add location

We depend on a layout listener for when we ask for focus, but layout
sometimes doesn't happen. Make it always happen.

Change-Id: I7c805470c6ce9863bf7eac627f59d49191ce8946
Fixes: 29126464
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
ad5db2979b641a80be6dc5e3f51eb4ced2c38daa 25-May-2016 Jason Monk <jmonk@google.com> QS Edit: Fix up accessibility

Change-Id: I13d426d4ae447c7db074bc7165067870bd8cae5d
Fixes: 28913622
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
dd03659cb4ada000a7fcb2351d3dc8645139af78 19-May-2016 Jason Monk <jmonk@google.com> QS Edit: Better handling if drags

- don't add/remove divider, hide/show it
- don't break drag sequence by returning false
- clean up some logic

Change-Id: I3236b1bc8a1a810e6e696c21af747bd6369c5050
Fixes: 28067638
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
8e788d015cdb23077a9778e812f7de35819f8ed5 05-May-2016 Jason Monk <jmonk@google.com> Merge "QS Edit: fix some move logic" into nyc-dev
a8f07d916dcce09f87feec45242611695636081f 05-May-2016 Jason Monk <jmonk@google.com> QS Edit: fix some move logic

Make sure its possible to add tiles when none are there and remove
tiles when all are added.

Bug: 28067638
Change-Id: Ia5a145f095cd33cf8d4a85a0a8aabb2344e3dec6
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
a466d1639230d0ba3dc7796979e1ebb9a58afc17 04-May-2016 Jason Monk <jmonk@google.com> Fix QS edit accessibility

Change-Id: I30ba0582e7d25204f4319dda8fd4fd0ca7353cd6
Fixes: 28437963
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
17d0399858306ab0a838b382c77a30217bac1d59 03-May-2016 Jason Monk <jmonk@google.com> QS Edit: clean up tile adapter

Evidently it might be causing weird animation issues.

Change-Id: Ifbdd8f20a83fcab6fe9dfd448f9177f85c985d4c
Fixes: 28067638
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
63554eda8d74b7449766865b03736aa1b3a3f1d8 29-Apr-2016 Jason Monk <jmonk@google.com> Fix QS Edit flashing on exit

Always save tile specs after move and don't trigger an entire data
set changed because we are aware of all changes.

Change-Id: Ic75b9ea8ed9b7d1a11d02f9af7858f3d040ec074
Fixes: 28334197
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
56650305003730303391aff249d930c554392049 20-Apr-2016 Jason Monk <jmonk@google.com> Fix QS edit accessibility

Change-Id: Ibce7bdf480751994b318cba3a9954365f0ed8786
Fixes: 28194074
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
c72c8e35c8a4926ce6de5220806cbbe649589911 19-Apr-2016 Jason Monk <jmonk@google.com> Fix QS edit overanimating

Tell it when to animate, that way it can't animate too much.

Change-Id: I0acdd780e76a4a0b0d5ed5e2805c44dc59306fc1
Fixes: 27315295
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
42317eade538975345297bb20ae3b7d2e3c4232b 14-Apr-2016 Jason Monk <jmonk@google.com> QS Edit: Fix drag to add tiles going away

Change-Id: I421717066e6effde6dade7ef498877aa8834abdd
Fixes: 28153092
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
89e6f010e2d16fab144336bc2b3501ed6134a02e 06-Apr-2016 Jason Monk <jmonk@google.com> Fix inability to add all tiles.

Change-Id: I1d6ea9825277c902e238a896580c96d509b459ef
Fixes: 27837813
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
0b349adcd8ad85621fd2bd7fc9fc6f878a4b92d8 04-Apr-2016 Jason Monk <jmonk@google.com> Add app attribution to QS editing

Add a divider between where system tiles and custom tiles are and
add their app label to them as well.

Change-Id: I8890a7fee54e4c5340bbe95c6e100c58f81ee5c3
Fixes: 27874624
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
96defbe2b123b316f5aecc0e9a3504b26f2bc54c 29-Mar-2016 Jason Monk <jmonk@google.com> Add more metrics for QS

Bug: 27851703
Change-Id: Iecd1eb739fa1a283b7964b6e0952673e5fb38e8f
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
39c98e652fd3e0e3ea3a334d60ba6ee979985978 16-Mar-2016 Jason Monk <jmonk@google.com> QS edit drag and drop accessibility

Bug: 27667843
Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
1c2fea8df7054d1bc23945c38460a123ce453c4a 11-Mar-2016 Jason Monk <jmonk@google.com> Fix QS FBE-ness

- Get service info for encryption-unaware apps
- SysUI assumes tiles in unavailable state when waiting for
binding
- Attempt rebind after unlock is complete
- Fix random crash that was making testing hard

Bug: 26940789
Bug: 27556723
Change-Id: I0b3600d35d4c74bb0d6c47a34a7d267bb9731bc4
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
24dbd51bdaee076f5b3076bb652686be68aa090a 16-Mar-2016 Jason Monk <jmonk@google.com> Change drag label while dragging QS tiles

Bug: 27316050
Change-Id: I20b4f3c94f1362e9990cebefdfa900a23636a938
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
b01da9e4a2740e7f433862d3ba50c260853a17e7 02-Mar-2016 Jason Monk <jmonk@google.com> Fix crash while editing QS

Bug: 27061859
Change-Id: I758bb6b881eadddca1a2e4eaae7b24319e512d14
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
1aec93f1819369bda9e6cb0bd282419808c304c3 01-Mar-2016 Jason Monk <jmonk@google.com> Fix QS icon animations once and for all

Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
04fd24966ae5518528fe5301f054c1cf27ac497f 29-Feb-2016 Jason Monk <jmonk@google.com> Fixes in QS customization

- Revert to long-press to drag
- X -> <-
- Always save

Bug: 27397111
Bug: 27364013
Bug: 27396440
Change-Id: Ib19096b0ed65fb1112386735dffe9308e57c3d5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
cb654cb1722d72062461eaa604d077e0368ddb23 25-Feb-2016 Jason Monk <jmonk@google.com> Fix drag to add tiles showing too many times

It was appearing from the night tile being unavailable and causing
extra nulls in the list. Fix the night mode tile so the nulls don't
happen. Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
b53b6c566f8e4754406cd1c3fddfa16a27515a7e 24-Feb-2016 Jason Monk <jmonk@google.com> QS Tweaks

- Bring back toolbar, save on close, reset -> overflow
- Fix drag on touch
- Fix battery icon size
- Verify correct permission to display QS tile

Bug: 27327479
Bug: 27250519
Bug: 27341503
Change-Id: I8984e441222e004f7ddd4b280b0c154bda2cc742
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
62b63a02d7ca630e3ad39991ea6550cab57e5d22 02-Feb-2016 Jason Monk <jmonk@google.com> Rewrite QS customizer

Instead of custom draginess, use RecyclerView with a GridLayoutManager.

Still needs a bit of work, but the overall feel is significantly better
than before.

Change-Id: I3b3927472f69721e265ef7591de2f3052862f392
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
c767a1f988d6847bc4873d57ec4485c54120fe2c 01-Feb-2016 Jason Monk <jmonk@google.com> Merge "Add some cmds for statusbar"
19a7b2836ee7b9dc54aee97b0ce0bfa1b6d76def 01-Feb-2016 Jason Monk <jmonk@google.com> Fix crash in add QS tiles

It seems one of the tiles has an empty icon... Fix the crash for
now, will deal with the tile later.

Bug: 26897121
Change-Id: I9abd073a891a5222711fe81ed05ade2a87d70121
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
7e53f20c835ae2614c92717a6fc222b345c75036 28-Jan-2016 Jason Monk <jmonk@google.com> Add some cmds for statusbar

They will be used for tests?!

Also move around where some of the tile lifecycle happens so that
it can easily be shared with these commands.

Change-Id: I72386afce5a2d335df45ecc5946679efcd826bae
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
f0c6f64e5b6b4d5e635a100d40e2bc5568aaf62b 21-Jan-2016 Jason Monk <jmonk@google.com> SysUI Tuner: Color mod v2

Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
69e76ccee78cd20b1ee237cdd5a6134a276dd3e4 26-Jan-2016 Jason Monk <jmonk@google.com> Add user switcher back to QS

Change-Id: Ie3f8139782aee06ad932ded9145162de5e22a824
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
9a4ce137eb5b73f9d7b097a26ae1c523c5b070e9 21-Jan-2016 Jason Monk <jmonk@google.com> Add data saver tile

Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
9d02a431b78966a04a1c2e66b89a926fc54bac5f 20-Jan-2016 Jason Monk <jmonk@google.com> Work on QS layouts

Better layouts, less work, more columns... sometimes.

Also fix some bugs.

Bug: 26705136

Change-Id: Ia368791259a1a91522a3efb70729919da79e37ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
d5a204f16e7c71ffdbc6c8307a4134dcc1efd60d 21-Dec-2015 Jason Monk <jmonk@google.com> Better service management for QS 3rd party tiles

Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time. Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
ba2318eff373a729f9768b146350a001dd22e4c5 08-Dec-2015 Jason Monk <jmonk@google.com> Remove visibility from tiles, make them always visible

Some tiles are statically not available on boot, etc.
based on hardware availability or settings, but most
are just always visible.

Change-Id: Ib1a45ef5b029fe710f9957cb997496dcb14f5875
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
bbadff8603ca6922a0ef89338bee5b59d6dcf641 06-Nov-2015 Jason Monk <jmonk@google.com> Add Quick Settings API

It is a little bit limited right now, but it contains
the lifecycle of a tile getting added/removed, and
listening/not listening and clicks.

SysUI side will need some cleanup later on.

Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java
5db8a4142e35d62073d81806ff7317e840e30ebc 22-Oct-2015 Jason Monk <jmonk@google.com> Add way to add to prototype QS editing

Change-Id: Ib5ab3f76d22db82c9dcf4e9a1bd618acd8ac1236
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java