Why?
- This optimization has caused many glitches, it easy to break and
we've done so a few times (technical debt.)
- It's unclear if not calling glClear() is still an optimization.
Most graphics cards actually expect a glClear and are optimized
to discard old frame buffers when the method is invoked
Change-Id: If1bb9b8bf4c907ca907dc1205ad05dabfefeba1b
Fixes: 113286511
Test: manual
Test: shalac@ is keeping an eye on the performance dashboard
Created new style with same parameters as before but using
placeholder for Google Sans.
Fixes: 79166531
Test: Manual
Change-Id: I12cc34c4fa8e0eeb4e94dafe64f0d6664c8d0da0
Dragging the opposite direction of quickscrub will execute the back
functionality as if you pressed the button. If you hold the home button
while in gesture, every second it will execute back command. Both adb
commands below are default to false so they must be enabled first.
Enable the setprop value for enabling this functionality.
adb shell setprop persist.quickstepcontroller.homegoesback true
Fully remove the back (and ime up) arrow button. Dependent of above.
adb shell setprop persist.quickstepcontroller.hideback true
Then go home or start the ime/keyboard to see changes.
Test: manual
Bug: 112934365
Change-Id: I68b7f0415107fc134d51fafbd55bc641d4312815
The TileAdapter associated with the RecyclerView used to Edit
the Quick Settings was modified to contain a TextView as a Header.
Position arguments were corrected by 1 to support this. In particular
those of the Accessibility contexts.
Padding in the TextView as well as the RecyclerView was reduced to
minimize the movement of the tiles when switching into the Edit View.
This is not completely achieved and it is dependent on the size of
the font.
Change-Id: Ic89cec8cae15c238ac6e0b1c554c06c6b7086bab
Bug: 77326457
Bug: 36076720#24
Test: Manual - Screenshots
Adds an option to mask the cutout by effectively shrinking the logical display
such that developers can test apps as if the device did not have a notch.
Bug: 112876936
Test: Go to Settings > Developer Options > Simulate display with cutout > "No cutout". Cutout should be hidden. Rotate screen, take screenshots, screenrecord, screen off animation should all work as expected.
Change-Id: I5cdb201734d238bf3785ab55843114e4b5b4ee41
Accessibility context for moving or adding tiles has context label as
"Add tile X to position Y" or "Move tile X to position Y" while moving
cursor. No confirmation announcement after accepting.
Removed unused strings.
Change-Id: I6cf0fbe110f9231e592ee51820edd24541f98c5c
Fixes: 79154713
Test: Manual
- Add a separated button on power menu to launch emergency dialer.
- Change HardwareUiLayout.java FrameLayout to LinearLayout, let it can
display separated button.
- Add a flag to recognize separated button should show/hide, if
EmergencyAffordance(India) enabled, separated button will hide,
otherwise power menu will display separated button & power
menu last item won't get white background.
Test: Manually, use "adb shell settings put global faster_emergency_phone_call_enabled 1" to show/hide separated emergency option, press emergency option will go to emergency dialer.
Change-Id: I1140fa412b655c16f3052cbabd118df278fd7f23
Merged-In: I8e6bb72ce7b8cecdb6bd01150b53f61f1515dbb1
Bug: 80376488
If guest is already in the foreground, switcher will just get dimissed upon
the selection of starting a new guest session.
Change-Id: Ia79325a1583f00f35e32e30813163a208acfa0b5
Fixes: 111999338
Fixes: 111453367
Test: Manual in emulator while being logged in as Guest and interacting with the switcher.
Keyguard default show NO SIM earlier than Telephony/Subscription callback
Refactor CarrierText & KeyguardUpdateMonitor
- Replace setup flag by resource attr(showMissingSim/showAirplaneMode)
- Remove setDiplayFlags API, and add mTelephonyCapable flag
- Implement MSG_TELEPHONY_CAPABLE in KeyguardUpdateMonitor
- Default do not show AirplaneMode & NO_SIM label unless define in xml
Bug: 109731429
Test: atest SystemUITests
atest frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Manual:
1) Insert SIM and reboot device, only show "No Service"->"Operator"
2) Remove SIM and reboot device, only show "No SIM"
3) Enable AirplaneMode reboot, only show "Airplane mode"
4) Insert SIM and trigger sysui crash, state same as 1)
5) Remove SIM and trigger sysui crash, state same as 2)
6) Enable APM trigger sysui crash, state same as 3)
7) Enable APM & WFC, turn on wifi in keyguard showing
-> "Airplane mode" -> "" -> "WiFi Calling"
8) Enable APM & WFC, turn off wifi in keyguard showing
-> "Wifi Calling" -> "Airplane mode"
Change-Id: I4459997420484431751a4c088aa3856724affe6a
Back button rotates and moves up in portrait to line up with the other
nav buttons in 3 button layout. For quickstep enabled no difference in
positioning occurs.
Change-Id: Ifb1b5361728811f8ae3e4bcea63fcaca3bace839
Fixes: 111907556
Test: start ime and press back
Allow QuickStatusBarHeader to use a minimum hieight so that it doesn't
draw underneath of a notch when display densities are low.
Bug: 78110564
Test: visual
Change-Id: I44df89c3b98dc0bdb8455b36e7ad023b92676c9d
Allow QuickStatusBarHeader to use a minimum hieight so that it doesn't
draw underneath of a notch when display densities are low.
Bug: 78110564
Test: visual
Change-Id: I44df89c3b98dc0bdb8455b36e7ad023b92676c9d
Legacy RRO was deleted and resources migrated to DeviceDefault theme.
Theming via overlays is still possible, but the overlay should provide
both themes: day and night.
Test: adb shell service call uimode 4 i32 1
Test: adb shell service call uimode 4 i32 2
Change-Id: I5dee2f94764c5c2f4e11cfabfff97656b3822e8a
Before, a new translation was only calculated when the device enters
AOD, and then, during time tick, we would only move it 5px wich isn't
enough.
Now, the translation varies 5dps vertically on every time tick.
Fixes: 110888643
Test: take screenshots for N minutes and compare them
Change-Id: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
Merged-In: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
Before, a new translation was only calculated when the device enters
AOD, and then, during time tick, we would only move it 5px wich isn't
enough.
Now, the translation varies 5dps vertically on every time tick.
Fixes: 110888643
Test: take screenshots for N minutes and compare them
Change-Id: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
- Add a separated button on power menu to launch emergency dialer.
- Change HardwareUiLayout.java FrameLayout to LinearLayout, let it can
display separated button.
- Add a flag to recognize separated button should show/hide, if
EmergencyAffordance(India) enabled, separated button will hide,
otherwise power menu will display separated button & power
menu last item won't get white background.
Test: Manually, use "adb shell settings put global faster_emergency_phone_call_enabled 1" to show/hide separated emergency option, press emergency option will go to emergency dialer.
Bug: 80376488
Change-Id: I8e6bb72ce7b8cecdb6bd01150b53f61f1515dbb1
Removed the track drawable and draws a gradient translated to the
position of the drag of the user as the track's background.
Test: quickscrub
Change-Id: Iee893e5f96f4954c77307c5ff9b762a04bd7de9a
Fixes: 109882517
- Remove qs_quick_tile_space_width resource in favor of specifying the
max size for QQS when the notification panel's size is large enough.
Change-Id: I6a3ee05fa20d6e8f8f4bd688d310de6a242d26f9
Fixes: 110276500
Test: manually changing window density/size and viewing QQS