| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I6584a74746364b1f4a3a0c71f376dd60bdfc5295
|
| |
|
|
| |
Change-Id: I194266089e556a58e5dc8e1777367ace129a58a8
|
| |
|
|
| |
Change-Id: I3950d1dd33813ad7967315bb95d020bc4a6b80fd
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Over time, Pulse has evolved into a getter/setter/callback
web of complexity that has made the feature nearly
impossible to manage, let alone develop. It is high time
to remedy this deficiency.
-- Inject PulseController as a SystemUI Dependency and
completely remove from the NavigationBarFragment/Navigator
space. Use all necessary SystemUI interfaces, receivers,
and observers to facilitate this.
-- Render Pulse on PulseView. We attach/detatch this view
to NavigationBarFrame freeing Pulse from race condition
insanity when changing navbar implementations.
-- Pulse completely removed from Navigator except for a simple
start/stop Pulse callback. We call on PulseController in a
couple spots still to check rendering state but that's OK
because we grab the controller from Dependency
-- General clean up everywhere making it easier to optimize
and create
Change-Id: Id8ca05e6f8e493050b49011a2e85f0b6fc14e606
|
| |
|
|
|
| |
Change-Id: I13083e3745a7f2d8c95f516e9eb5b817afde0502
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
|
| |
|
|
| |
Change-Id: Ibae4ffe13c801b0ffeb48fcded7c96e6e23d8e0e
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: I6b96ea41191d9f5b8aa3ed1fe5afbf49bd7a0517
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
|
| |/
|
|
| |
Change-Id: I5a7f00245be47482af84d6d0b9c86e2f957e0c86
|
| |\
| |
| |
| |
| |
| |
| |
| | |
* changes:
Add in camera action to bindable actions (2/2)
SmartNav: Reload icons from storage when boot completes
SmartActions: Turn on Tri-state ringer toggle [2/2]
SmartActions: Add Play/Pause media to bindable actions [2/2]
|
| | |
| |
| |
| | |
Change-Id: Ibee4332b8baa12b6a71e1d1ea397eae4eebf0846
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is necessary for the outlying usecase where icons from
storage are set and the device is encrypted. The navbar may have
been created before the device became decrypted thus not being able
to load icons from storage. In the future, it would be better to
respond to a acutal callback when device becomes decrypted
Change-Id: Ic8e711aebc4089ecf1e69e226fa2258fd6afe57b
|
| | |
| |
| |
| | |
Change-Id: Ia0220c623846de2304454707fc4c22ddefa920fe
|
| | |
| |
| |
| | |
Change-Id: I825a73c069c813cb7edc9de19acd78273eb7a422
|
| |/
|
|
| |
Change-Id: I6355838a566b8fb5ef62418412e5849799c6cf9f
|
| |
|
|
| |
Change-Id: Ib3ea8254cb75dc3e2216c4ee82a72e4f37833b29
|
| |
|
|
|
|
| |
Add a new public default method to Navigator interface
Change-Id: I4220e06615f8d51e0ae1add410a79173a7c6d212
|
| |
|
|
|
|
| |
Same behaviour as stock navigation bar.
Change-Id: I1b9dd6736f9ad2f655b8af30bb7304e5da013c68
|
| |
|
|
| |
Change-Id: I8668472249a996e46633d15d1192eeb9261dd4a2
|
| |
|
|
|
|
|
| |
when unlocking it's better to follow what Google does in Statusbar,
offloading expensive operations from the main ui thread
Change-Id: I22b53dcf64f08e89810a8f736cee894f14371c24
|
| |
|
|
|
| |
Change-Id: Ica718fc07df98a6878baccf3d77f8885e7d2658e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| |
|
|
|
|
| |
(cherry picked from commit cb5f51c)
Change-Id: Icb55de8c3e873e05af662279f1d2bc9ff5f8dcb8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Interesting changes for bring up:
Minor refactoring for change in utils class paths
Introduction of shadow support for KeyButtonDrawable class.
Shadows disabled by default for now
Guava static library is required in SystemUI makefile for trail
drawing library support
All vector drawables that overlapped with stock navigation have been
renamed with "smartnav" in their name. This allows for a truly stock
experience with minimal impact to themers. This includes the back, home,
recents, menu, and docked series of drawables
Change-Id: I51a227c81ba89a5858763a7a610b08f22fb01853
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixes this: https://jira.dirtyunicorns.com/projects/DU12/issues/DU12-18?filter=allopenissues
atm we can't replicate the issue so this is a generic fix not focusing
on the root of the problem, but it's good anyway as a general npe
protection.
03-09 23:45:09.869 3235 3235 E AndroidRuntime: FATAL EXCEPTION: main
03-09 23:45:09.869 3235 3235 E AndroidRuntime: Process: com.android.systemui, PID: 3235
03-09 23:45:09.869 3235 3235 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getHeight()' on a null object reference
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarHelper.resizeCustomButtonIcon(SmartBarHelper.java:82)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarView.setButtonDrawable(SmartBarView.java:340)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarHelper.generatePrimaryKey(SmartBarHelper.java:113)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarView.recreateButtonLayout(SmartBarView.java:701)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarView.recreateLayouts(SmartBarView.java:573)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.navigation.smartbar.SmartBarView.setResourceMap(SmartBarView.java:276)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.systemui.statusbar.phone.NavigationBarFragment.onViewCreated(NavigationBarFragment.java:233)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1289)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.FragmentManagerImpl$1.run(FragmentManager.java:719)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
03-09 23:45:09.869 3235 3235 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Change-Id: I33aa4678064c6a4ac88f2c3e666b63a9a209222c
|
| |
|
|
|
|
|
| |
don't unlink the visualizer when the playing state is the same
(this happens for most players when skipping tracks)
Change-Id: I7eff649a1e00492875e3d2bbceeb02032806092f
|
| |
|
|
|
|
| |
atm we don't use waveform, let's skip it
Change-Id: I6663d6ffc6564371812d8837563499855d2f701f
|
| |
|
|
|
|
|
| |
AudioManager isMusicActive() api is not reliable, and
anyway we check blacklisted packages in StatusBar setMediaPlaying
Change-Id: I6a4537ebfd8e03aff14166aaafca5271891b70df
|
| |
|
|
|
|
|
|
|
| |
- the 2nd move will be triggered after a bigger delay to avoid unwanted
cursor move actions after the first move
- single tap right and single tap left actions will go to home screen
as fallback when the feature is enabled and kb is showing
Change-Id: I07e470e33b653972e2cf77514049456fcd368879
|
| |
|
|
| |
Change-Id: I37ceec94fcbe4d17b9e6e0b93129a6e6be86d8b7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to replicate: enable fling navbar, pin an app, stock navbar will come up.
then long press back and recent buttons to unpin the app, but keep
tapping with the fingers a bit longer then release the tap.
This is because when after the unpin event we switch back to Fling
navbar, FlingView onAttachedToWindow sets the mFlingTouchListener
that sends the event to the FlingGestureHandler onFling, but the start
event is null so SystemUI FC.
So we can just add a null check there to fix the issue.
Change-Id: I186d795822d9c9a1a8c8645273e5277c2bc5f763
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Some translation added.
Change-Id: Ie993e4db7a1c02ed5214410b6d1e937c718033bf
|
| |/
|
|
| |
Change-Id: I2af7cccfb5965cc45cb82f86821ce07267cc85ca
|
| |
|
|
| |
Change-Id: Ic8af82ee2cafe3201dd8783f31aad5ef3332247d
|
| |
|
|
| |
Change-Id: Idea74bdcc593d97460dafa61d7232ec08bd48fb5
|
| |
|
|
|
|
|
|
|
|
| |
We already apply a fade paint to add transparency to the blocks,
no need to make them less visible adding transparency to the
main color too.
With the new automatic pulse color it's nice to get the
same color as the media notification.
Change-Id: I66f1f31ff078f3c2f071f1bccc8726db024d84b4
|
| |
|
|
| |
Change-Id: Ia2ed29210fb08c58102f9bb4a8b14177b3e8862c
|
| |
|
|
|
|
| |
Update some strings English to Japanese.
Change-Id: I131360a6b6451d2fb79990d31ef80e1b6b678de3
|
| |
|
|
| |
Change-Id: Iac860d5a07cfa352311b0f478a16ec9001955de5
|
| |\
| |
| |
| | |
into o8x
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
people would like to set some empty fake buttons this way:
https://plus.google.com/+EzioLacandiaBijelkic/posts/Du77oXaQQEn
to get a compact layout or customize other buttons spacing.
When tapping on those fake buttons, let's skip all uselss animations
and other specific button touch events.
This will allow also to make smartbar double tap to sleep work
when tapping on them.
Change-Id: Icedd190610ce5fd8f039bf4603e3e7921cadf8a4
|
| |/
|
|
| |
Change-Id: I5d66aaa6ff0b15a1092ebf76a715e51325f9bd88
|
| |
|
|
| |
Change-Id: Iea0c097a1ebad188262cbaf120b05cecf2e2f7dc
|
| |\
| |
| |
| | |
into o8x
|
| | |
| |
| |
| |
| |
| | |
but still keep them recognizable
Change-Id: I2714a5c70fb606691f8fc83873cfa440fe1f934a
|
| | |
| |
| |
| | |
Change-Id: Ic60fd77e20818df4a2e11fc99fd81c9b0eee1569
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e.g. when system animations are set to 0.5x in dev settings,
or when triggering the popup a few times, and other potential
cases.
PopupWindow let us set a new popup content without dismissing the
existing popup, so we can get rid of the -sometimes broken- dismiss
listener to show the new content for the 2nd popup
Change-Id: I3eef58ac9f6cdbf8e8a83d78bb68073bca71d994
|
| |/
|
|
|
|
| |
pretty useless in those cases
Change-Id: Ic8a361dcb24be22e8d74ae46553931d9c80c357a
|
| |
|
|
|
|
|
| |
e.g. on Fling open Settings to have light navbar and dark fling logo,
rotate the screen, logo should be dark but will be white.
Change-Id: I28f7d53b0659d9121021a0df7c0b4be04df8ce51
|
| |
|
|
|
| |
Due to frameworks commit
https://github.com/aosp-mirror/platform_frameworks_base/commit/d002a0a96eb857804b3aafbcd32cf66a378c5b6c
|