summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/tuner/TunerActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-13.0.0_r35' of ↵George Zacharia2023-04-031-2/+9
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 release 35 Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
| * [Sb refactor] Add a demo command flow methodEvan Laird2022-12-211-2/+9
| | | | | | | | | | | | | | | | | | | | | | This CL mainly just adds a single method to DemoModeController, `demoFlowForCommand(String)`. The rest of the diff is from a combination of ktlint formatting and writing a test for the flow, which required some restructuring of the class. Test: DemoModeControllerTest Bug: 238425913 Change-Id: I40dd0b42a881d0776e9b19b282496e850a67a981
* | Merge tag 'android-13.0.0_r16' into t13.0George Zacharia2022-12-151-3/+3
|\| | | | | | | | | | | | | | | | | | | | | Android 13.0.0 Release 16 (TQ1A.221205.011) Also included the following reverts: 1. Revert "fw/b: Import Wi-Fi standard icon [1/2]" 2. Revert "Add preference for toggling the wallpaper zooming animation" Co-authored-by: Semavi Ulusoy <doc.divxm@gmail.com> Change-Id: I9a6b51e452c28d10411712c59778bb54da5783e9
* | SystemUI: Use collapsing toolbar for tuner prefsPranav Vashi2022-10-261-14/+6
|/ | | | | | | Match other parts of Settings. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I9f15a488c09c7b7b69dd36be940f3d840e10804d
* Fix SysUI Demo Mode activity so it doesn't crash.Caitlin Cassidy2021-12-031-0/+1
| | | | | | | Test: Settings > Developer Options > System UI demo mode > verify you see an activity and it doesn't crash Change-Id: I883a4fbcbab8f14275a5a6ed0d8a4095a22ada05
* Move static calls in TunerService to use depsFabian Kozynski2021-02-161-2/+4
| | | | | | | | | That way, they can use cached values for UserContext and others. Test: manual, temporarily enabling TunerActivity in SettingsButton Test: atest SystemUITests Bug: 179913579 Change-Id: Ib0e74b39fbf72b33bbd1ec20f46695ae90b5cf3e
* Create a DemoMode controllerEvan Laird2020-08-131-2/+7
| | | | | | | | | | | | | | | | Pull Demo Mode out of StatusBar.java and create a subscription / callback model. This reduces the number of broadcasts needed by StatusBar and also enables for demo mode: - clean state tracking (dumpsys DemoModeController) - We can fix bugs like state initialization (entering demo mode on in dev options has a different effect than entering via broadcast, etc). - We can more easily implement it as a command line interface (available for preorder today!) Bug: 163393864 Test: atest SystemUITests; manual demo mode testing Change-Id: I70535aeca3478a42b1ebb668822346e23854379f
* Provide the ability to inject into Activities.Dave Mankoff2019-09-181-4/+7
| | | | | | | | | Mocks out KeyguardUpdateMonitor in all tests, as our unit tests shouldn't care about it (unless they're testing it directly). Bug: 140430268 Test: atest SystemUITests Change-Id: I6a2b5231c434d0f26319090340b9c2a0e903f4b6
* [DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791Hyunyoung Song2019-09-011-1/+2
| | | | | | | | | | | | | | | Test: presubmit setup on source branch Bug: 130289146 Create a Gradle build for SystemUI Bug: 136279712 Daggerize FalsingManager Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests Bug: 137563419 Remove Bouncer reveal delay from bypass flow Bug: 138787339 Allow Services and Activities to be injected into directly. Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap Bug: 64712476 Import translations for dev branches Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
* Use standard Activity as TunerActivity's base.Fan Zhang2018-07-201-5/+18
| | | | | | | | | | | This is the last activity that depends on SettingsDrawerActivity. This activity doesn't actually need any functionality from SettingsDrawerActivity, so we can switch to a standard Activity to reduce dependency and improve performance. Bug: 77600770 Test: adb shell am start -a com.android.settings.action.DEMO_MODE Change-Id: I78ff488be764ae996a96ad4eee05a8c1774a1835
* Migrated SystemUI & SettingsLib to androidxAurimas Liutikas2018-04-201-3/+3
| | | | | | Test: make SystemUI SettingsLib Bug:76692459 Change-Id: I248fdf4042a0a97bc6349091da21c936c2d37c95
* Use new settings preference theme in sysui tunerFan Zhang2017-07-111-2/+0
| | | | | | | | - Also removed deprecated activity manifest entry for tuneractivity Change-Id: Id3a8d25cd9e2bf18c999e273714a2b82fd14ffe8 Fix: 36663882 Test: visual
* Fix tuner sub-screens attachJason Monk2017-03-311-2/+27
| | | | | | | | | Seems that when preferences are attached has changed, so we need to make sure any sub preference screense explicitly own their preferences. Test: manual Change-Id: Id28c30367417fc7dbe74c3970a8e19a031ea6d8d Fixes: 36766199
* Tuner updatesJason Monk2017-02-151-0/+21
| | | | | | | | Some UX updates to the tuner to feel better and align with settings UX patterns. Test: visual Change-Id: I9c57194b9649c61e0d6d3f9e21a51d9c4a5c1286
* Fix leaks in sysuiJason Monk2017-02-021-0/+2
| | | | | | | | | | | Add support for testing for PluginManager and TunerService leaks and add tests for the known leaks and fix them. Also port PluginManager and TunerService to Dependency to make them easier to handle in tests. Test: runtest systemui Change-Id: I5642539ee24dd72f802905106decd0c87b41b4eb Fixes: 34846972
* Add a temporary activity-alias for TunerActivity.Fan Zhang2016-10-061-0/+2
| | | | | | | | | | | | | Bug: 31781480 Test: make SystemUI, and manually inspected sysui appears in Settings. Turning off sysui tuner still works. The new alias is used by Settings to display sysui tuner in a different category instead of in homepage directly. The display location is controlled by category metadata. We need a alias because the category metadata is different between new/old activity. Change-Id: Ie4f2c1f6017459e34227155c83a7767f2003b18b
* Remove "Night mode" from tunerJustin Klaassen2016-07-081-4/+1
| | | | | Bug: 28887927 Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
* Remove color and appearanceJason Monk2016-04-131-1/+2
| | | | | | | Also fix crash. Change-Id: I16abec61d63e2d503b07047c08664c2e96689c50 Fixes: 28163234
* The return and fixing of demo modeJason Monk2016-04-121-2/+6
| | | | | Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c Fixes: 27919212
* Make sure tuner has metrics coverage for new stuffJason Monk2016-02-241-0/+7
| | | | Change-Id: I1e0d8e34f518cb3fc2bd9ccff0b71dc586ed2ab6
* Add QS long-press -> SettingsJason Monk2016-02-191-1/+4
| | | | | Bug: 27269699 Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
* Add preview section to nav bar tuner.Jason Monk2016-01-271-2/+6
| | | | | | | | | | It uses density scaling to show a slightly smaller real time version of the nav bar, so you can see edits without possibly breaking the nav bar. Also fix rotation in the tuner, cause it was broken. Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631
* SysUI Tuner: Color mod v2Jason Monk2016-01-271-0/+1
| | | | Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
* Switch Tuner to support prefs (and some improvements)Jason Monk2015-12-161-3/+51
| | | | Change-Id: I2ef62c0c56d4af69f9f34e1cfd297999d59b7da6
* Add SysUI TunerJason Monk2015-05-121-0/+30
Change-Id: I9b0fabbe913b8297d8c668b6416a7be856adb9d5