History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.java
581084123f01c32a39fdf45f4a2093f622f58f20 17-Mar-2017 Jason Monk <jmonk@google.com> Protect against hiding while not attached

Change-Id: I44b16d2644c80c737ffc16bf11cc1259e3c3984b
Fixes: 36137783
Test: Edit QS
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
78a3d60a5e6915d378f4578d95e6809259622cb4 16-Mar-2017 Jason Monk <jmonk@google.com> Fix QS editing from lock screen

QS was getting a callback making it think the lock screen was
being shown and it caused it to hide, make sure we don't hide
when the doing the open animation as we expect that we may be
coming from the lock screen.

Change-Id: I5c35e3f7d02f068ea53c71742945290c137b4551
Fixes: 36048979
Test: Click QS edit on lock screen
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.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/QSCustomizer.java
6b28473635e5c9550b7a57c7ec23e60ed9185b2b 28-Feb-2017 Evan Laird <evanlaird@google.com> Fix qs tiles disappearing when leaving edit

On presenting the customizer view to edit quick settings tiles, the
tiles were fetched in background threads (2 different ones). If the user
then managed to dismiss the view too quickly, a save would occur before
all tiles were loaded and they would disappear. This change coerces
tiles to load on the same background thread and allows the customizer
view to know when that operation is complete. Thus, it can save only
when it knows that all possible tiles were loaded.

Fixes:35556395
Test: runtest -x SystemUI/tests/src/com/android/systemui/qs/customize/TileQueryHelperTest.java
Change-Id: Ie232d3c28645d38aad97a8763b7418e6b044b5cc
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
9c7844cb91b43929d0a86b1c90aa1efb37f5463a 18-Jan-2017 Jason Monk <jmonk@google.com> Work on sysui dependencies

One of the many problems with PhoneStatusBar is that it holds
dependencies for many other parts of SysUI. Fix this by creating
a static method of grabbing dependencies that are global to sysui
this cleans up a lot of chains of interdependence.

Also add easy way to inject mocks of these dependencies for the
purpose of testing.

Test: runtest systemui
Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
3cfedd78b1e3704481de27d7354cb29b2fb43781 09-Dec-2016 Jason Monk <jmonk@google.com> Speed up sysui tests

Shave a few seconds off the tests by adding capabilities to
TestableContext and removing mocks from some large classes
(like Context and PhoneStatusBar)

Test: runtest systemui
Change-Id: Ib9c30cf895bd9f24a5a26e24ffe2498ca6fe2f6e
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
0ceef211875515c2a7531f9baeae46339e700f3a 02-Nov-2016 Jason Monk <jmonk@google.com> Move QS to a fragment

There is now a bit too much of the view/layout logic touching the
fragment, but sort out that later and get something over to fragments
for now.

Bug: 32609190
Test: Manual
Change-Id: Icf677f4a70e6b92892a0fc27a0e673940ebc7a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.java
b4d876a5d61852892ed030e2bcb36ef0ebf6df68 19-Oct-2016 Jason Monk <jmonk@google.com> Merge "Hide QS customizer correctly" am: 03e4eb32fe am: fb56958223
am: 9dce7cdf13

Change-Id: I884b10c5a187bfd4299b9ff5b6ed1aa6917c3e71
1dd7d07460b1044a5037a9e1c8a3eb1016a4b421 05-Sep-2016 Yoshinori Hirano <yoshinori.hirano@sonymobile.com> Hide QS customizer correctly

When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.

Bug: 30545089
Test: manual - open and close QS customizer quickly

Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
46767b77c004a3541c614f8e21d6a871dd148e54 18-Aug-2016 Jason Monk <jmonk@google.com> Extract plugin interface for QS

Users must implement the QSContainer interface to be returned by
a ViewProvider plugin. The QSContainer must contain a
BaseStatusBarHeader and have the id of quick_settings_container.

Test: Manual
Change-Id: Ibfaa835cad20855a530e4ae142d8a2aeba4a277b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.java
181d3fec0a2f4a911769ca603c905f7f4a77fb16 06-Jun-2016 Jason Monk <jmonk@google.com> QS Edit: Extra extra make sure hidden when locked

Change-Id: I11a150dae5dbde97a61a4b00b857a856f8a409c2
Fixes: 28997488
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
931f5464f51f700cda7be8567263e552981615e3 25-May-2016 Jason Monk <jmonk@google.com> QS Edit: Hide black bar in landscape

Change-Id: I954e5571c01945b697c6254c168c1830467ff7db
Fixes: 28924803
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
0121369e8c18ff893395878f8c9cdd6ada9a7ede 04-May-2016 Jason Monk <jmonk@google.com> QS Edit: announce exit/entrance

Change-Id: I1cbef7e1ee7df0e2e8bcee78aec96c53e9138b80
Fixes: 28435108
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.java
d1ed81e5afcc5772011e066322319bec4f06add0 31-Mar-2016 Jason Monk <jmonk@google.com> Merge "Fix tiles animating when QS edit is open" into nyc-dev
4efc9246c62d8f595db4c26403a353876aad77fd 31-Mar-2016 Jason Monk <jmonk@google.com> Fix tiles animating when QS edit is open

Change-Id: Ie242f0cb71354674884bca398e0075cdebc3b572
Fixes: 27815863
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
33b30609ff916a1a9476fdecbf60c19cff56f76c 31-Mar-2016 Jason Monk <jmonk@google.com> Merge "Remove panel paddings/margins when QS is customizing" into nyc-dev
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/QSCustomizer.java
428914d0f07f4a0d5b55c4de7ec30708505bd21f 30-Mar-2016 Jason Monk <jmonk@google.com> Remove panel paddings/margins when QS is customizing

Otherwise notifications refuse to move out of the way for QS editing
and it gets drawn on top of.

Bug: 27835052
Change-Id: I65db22899b295e8ab14594b18560ca822e5fe02b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
df8cbc39e1661102520f7e5b074d300a889f1107 16-Mar-2016 Jason Monk <jmonk@google.com> Close overflow when hiding QS editor

Bug: 27625965
Change-Id: Iab29a7ab879ce879f772b759a645e598f3b70328
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
a8321e6ab7cc2f1c3aaa457e4830587c77b36cd5 11-Mar-2016 Jason Monk <jmonk@google.com> Set QS edit overflow bg

Bug: 27396825
Change-Id: I656e49f66518f23bd05d59392f43fc1227207666
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
8b9d67fb636a89fe6537e7affb9d01a75f263d93 02-Mar-2016 Jason Monk <jmonk@google.com> Move QS Edit into QSContainer

This will let it play nicely with heads up.

- Move to QS Container.
- QS Edit is always full height (some layout hacks to do this)
- Always draw QS customizer on top when animating
- Block all panel scrolling while QS edit is open (all touches
go to editing)
- Instantaneously change the height of the QS container at
start/end of animation as needed

Bug: 26969293
Change-Id: Iedc6f5aaf659dcc6750972eae5f69cc0cd2df844
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
f923db56232fae305d54647fbd260846c391c096 02-Mar-2016 Jason Monk <jmonk@google.com> Add edit title to QS edit

Bug: 27439419
Change-Id: I3807dc56a05b1ffafcd9b390dfdbc1da9a7ebcac
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.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/QSCustomizer.java
77a2c5f56b728891c39e366688f22d57259acf96 22-Feb-2016 Jason Monk <jmonk@google.com> Fix crash on QS edit immediate collapse

Bug: 27164002
Change-Id: Idd47716c08987eba14826c7b1f428c3231f9fdbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
8c7e47f95d5bdd06b4040528d8ac53818ce60745 17-Feb-2016 Jason Monk <jmonk@google.com> Protect against monkey crash

Bug: 27164002
Change-Id: Ic1b68a55a136106010b6df07766a96533683eece
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.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/QSCustomizer.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/QSCustomizer.java
deba7a42ed9fdde9017f2b627fc5f63a31a82c4b 08-Dec-2015 Jason Monk <jmonk@google.com> Make the new QS the new QS

Some UI updates to the header, then make the new QS the default
state for everyone.

Change-Id: I82b6bebb0b21a5c9eb926cb1a761cac340a293df
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.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/QSCustomizer.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/QSCustomizer.java
94a1bf6a18132e83a424cd41354094c3780f2868 20-Oct-2015 Jason Monk <jmonk@google.com> Some updates to QS prototype based on new mocks

Change-Id: Ic9c0cfcb77f558fa82edb4dc39406ce95b031b35
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
b9c00197021ae0bf1172a1e332e047e30d3e4afa 07-Oct-2015 Jason Monk <jmonk@google.com> QS: Add open/close animation for customization prototype

Also fix layout issue for first row of tiles being too large

Change-Id: Icc5c3c6edc8091449bfaa62b44bb6f79d4c6d74b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
2681dcb6c58d09114dd34476eed8fefb75ee6d47 09-Sep-2015 Jason Monk <jmonk@google.com> QS: Add long-press to customize prototype - part 3

Adding FAB button to QS customization screen, currently it does
nothing.

Change-Id: I4d4d4cd0a6dd5d2104cf21011855fcfce13c70d7
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
f7fe83f36b93681d0df7ddbd4cd727501fadd471 09-Sep-2015 Jason Monk <jmonk@google.com> QS: Add long-press to customize prototype - part 2

- Add info/remove drop targets that appear during dragging
- Move drag start into NonPagedTileLayout so that both start
and end of tile move drags are in the same place.
- Still needs way to add tiles

Change-Id: If843ebbb86f393b461289c1407c6a82b6a5aed9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java
bd6dbb0698eca76c4ee1337ef1a73b67c8a64ae4 03-Sep-2015 Jason Monk <jmonk@google.com> QS: Add long-press to customize prototype - part 1

Start adding prototype to long-press to go to customization view
for QS. Currently it allows re-arranging and resetting. Later
it will have more.

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