App sidebar (1/2)

Change-Id: I2bf386f85c0b5bd7dfb35be115dcb62671ce2907
App sidebar: floating window

long click to launch app in floating window

Change-Id: I9b5df1cceb2314ee0f8727136c007c481346a264
App sidebar: some adjustments
- Cleanup
- fix disappearing appbar on changing appbar position
- may fix endless FC on changing appbar contents

Change-Id: I2e94290dc128447f0da8937eb5dc0ed10296a155
App sidebar: notify if app is not installed

better than force close

Change-Id: I9eebe1a3a4be2dad16ed9a8cff9c0694900d833d
PEEK [1/2]
Sensors are fully disabled when screen is on. When you turn the screen off,
it will start polling both gyroscope and proximity sensor values. If it detects
using the gyroscope sensor that device is lying on a table, it disables proximity
polling. If it detects with proximity sensor that it is in your pocket, it disables
gyroscope polling. This way, we save some battery from the beginning. Later, when you
receive a notification, it enables a partial wakelock (CPU on but at low frequency),
and starts listening for movement, either from getting it out your pocket or lifting
off from the table. If it detects those events, it will turn on screen and show the notification.
Wakelock timeouts on 10 secs, so if you receive a notification and there is no movement in that time,
sensors will stop polling after that time, disabling peek interaction until a new notification comes.
Peek doesn't process low and min priority notifications.

https://plus.google.com/+ParanoidAndroidCorner/posts/3wppxakBSVR

Contributors:
@D4rKn3sSyS
@Anu6is
@BigBrother1984

Change-Id: I995d17fde5a256f23fe37f35e43a0ee7e52663fb
Signed-off-by: Jesus David <jesdga95@gmail.com>
Signed-off-by: Curtis Mayers <curtis.mayers@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: Ida92cb99dc703547c355fe520a25c53438ced1f4