128748 Commits

Author SHA1 Message Date
Michael Wright
899d70568b Add unhandledInputEvent API to ViewRoot
Update WebViewClient to use it instead, and add a new public API,
onUnhandledInputEvent. Note that WebViewClients won't receive this
call back until WebView is updated to use it.

Bug: 14279909

Change-Id: Ied49791b469849f5c4cf4471f2b26c56b03f4961
2014-04-29 15:02:34 -07:00
Michael Wright
3da2834f0e Add ViewRootImpl#unhandledInputEvent API stub.
Doesn't actually work yet for non-KeyEvents.

Change-Id: I3482ff780a9a7aef8ae27436f91a3619490b369f
2014-04-22 17:00:11 -07:00
Victoria Lease
b78263d376 Merge "ask skia to use flat gamma when rendering fonts from hwui" 2014-04-22 22:37:36 +00:00
Victoria Lease
b66270eac2 ask skia to use flat gamma when rendering fonts from hwui
Bug: 13748392
Change-Id: I6930629b8e900628f15354f663b86dfb29a4db78
2014-04-22 15:00:31 -07:00
Nick Kralevich
0d751e31cd am 9a492393: am 5246f459: am d267c1a0: Merge "remove unneeded import statements."
* commit '9a492393dfb69050b2a4a8b5205e8d2fc24fcd43':
  remove unneeded import statements.
2014-04-22 21:21:02 +00:00
Nick Kralevich
b5b2f12288 am d236d625: am 3ab7882a: am a67d4a6e: Merge "remove unused import."
* commit 'd236d625b4a4e938629fbcc55687ca7bebaab6e8':
  remove unused import.
2014-04-22 21:20:57 +00:00
Nick Kralevich
9a492393df am 5246f459: am d267c1a0: Merge "remove unneeded import statements."
* commit '5246f4599a0c9978012ffb1049307704b5027a0b':
  remove unneeded import statements.
2014-04-22 21:15:10 +00:00
Nick Kralevich
d236d625b4 am 3ab7882a: am a67d4a6e: Merge "remove unused import."
* commit '3ab7882a57d3c7a0e13f58837cd02138df43f301':
  remove unused import.
2014-04-22 21:14:59 +00:00
Ruchi Kandoi
62b8a49856 Adds Content Observer for the Low power mode in developer options.
Change-Id: Ibed319e734340dfd5348dbeb8fe20c01b1adaac5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-04-22 20:55:31 +00:00
Nick Kralevich
5246f4599a am d267c1a0: Merge "remove unneeded import statements."
* commit 'd267c1a06fc91dc300d5c5f8b7ef9bd44825c34e':
  remove unneeded import statements.
2014-04-22 19:52:21 +00:00
Nick Kralevich
3ab7882a57 am a67d4a6e: Merge "remove unused import."
* commit 'a67d4a6e4da1eb02a15a1048a26329cfed312938':
  remove unused import.
2014-04-22 19:52:18 +00:00
Nick Kralevich
d267c1a06f Merge "remove unneeded import statements." 2014-04-22 19:24:47 +00:00
Nick Kralevich
a67d4a6e4d Merge "remove unused import." 2014-04-22 19:23:30 +00:00
Nick Kralevich
c826257bf3 remove unneeded import statements.
Internal master is out of sync with AOSP. Resync.

Change-Id: Ia3105a4b6eb835f719471a26ae4cb33962c5b19e
2014-04-22 12:17:51 -07:00
Nick Kralevich
8cb5abcfde remove unused import.
This change resynchronizes AOSP with internal master.
The import line is unused.

Change-Id: I98bef1f88dee758f5bdcec35fba204f793d4028e
2014-04-22 12:10:24 -07:00
Dan Sandler
c3be450648 Merge "Avoid sending broadcasts before BOOT_COMPLETED." 2014-04-22 18:51:43 +00:00
Lajos Molnar
f74de0b6f3 Merge "Remove VideoEditor" 2014-04-22 18:37:50 +00:00
Justin Koh
8effc00429 Merge "resolved conflicts for merge of d90712d0 to master" 2014-04-22 18:30:10 +00:00
Justin Koh
be4c2c2b99 resolved conflicts for merge of d90712d0 to master
Change-Id: Ia587476c001bce5f0969557b15d366aed6b322b1
2014-04-22 11:05:15 -07:00
Jean-Michel Trivi
1990fe4e96 PlayerRecord: remove obsolete accessors
Change-Id: I0a7789e28c1427b6e9f770368f9bab9c097b3594
2014-04-22 18:05:03 +00:00
Jean-Michel Trivi
0456e3aab1 Merge "MediaFocusControl: priority to playing players for media button" 2014-04-22 17:36:10 +00:00
Chris Craik
98ae02c599 Merge "Fix is_zero check" 2014-04-22 17:29:23 +00:00
John Spurlock
9a722ebc32 Merge "Apply insets manually in StatusBarWindowView." 2014-04-22 17:22:26 +00:00
Ji-Hwan Lee
87e7ba4f45 Merge "Add config resource to add inital mock location providers" 2014-04-22 17:17:29 +00:00
Chris Craik
222f33178b Fix is_zero check
Fixes x/y rotations which were incorrectly disabled due to this check.

Change-Id: Ie8a7c8904c729a91b18243323b0be6110e743137
2014-04-22 10:09:03 -07:00
Justin Koh
d90712d044 am 3b9a3cc0: Update GlobalActions for watches.
* commit '3b9a3cc02ecb025f8b1f322015c7d1fb46222f9e':
  Update GlobalActions for watches.
2014-04-22 17:06:56 +00:00
Jorim Jaggi
c0e4567560 Merge "Hide navigation bar on Keyguard." 2014-04-22 17:04:29 +00:00
Justin Koh
3b9a3cc02e Update GlobalActions for watches.
Update GlobalActions for watches: only have power off and settings, due to
limited real estate.

Change-Id: Ie3cbbb287f8c71c8c16a00637c83da6921d56e2e
2014-04-22 10:01:47 -07:00
John Spurlock
fba9120ce1 Apply insets manually in StatusBarWindowView.
Bug:14131489
Change-Id: Ie4be2185cae98764ea44b2e042210f13412a02aa
2014-04-22 12:58:26 -04:00
Jorim Jaggi
a6310293c5 Hide navigation bar on Keyguard.
This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
2014-04-22 16:56:26 +00:00
Jean-Michel Trivi
8be88d1144 MediaFocusControl: priority to playing players for media button
When registering a media button event receiver (through
 AudioManager.registerMediaButtonEventReceiver()), do not
 always push the receiver to the top of the stack of event
 receivers:
 - only push to the top if the associated RemoteControlClient
   is in a playing state
 - otherwise push it below the entries at the top of the stack
   that are in a playing state
When changing the playstate of a RemoteControlClient:
 - push to the top of the stack the corresponding PlayerRecord
   is the state is a playing state
 - otherwise push it below the entries at the top of the stack
   that are in a playing state

When AudioService starts (e.g. after boot) and the last media
 button receiver is restored, it goes in the stack.
After this CL, this entry is not "orphaned" anymore after the
 same application registers itself to receive media buttons:
 the entry from the restoration is now properly associated with
 the registration from the application.

Bug 10749554

Change-Id: I985f9cc17b64a60ed4f2f2f6d03e117fb4e27570
2014-04-22 09:46:59 -07:00
Dan Sandler
dc5f16bf09 Avoid sending broadcasts before BOOT_COMPLETED.
SystemUI instances can now take advantage of a new lifecycle
callback, onBootCompleted(), to avoid jumping the gun.

Bug: 14092537
Change-Id: I3f7db7a4753f874c4d75235f263c2bd374debec4
2014-04-22 11:51:42 -04:00
Selim Cinek
a8fb4a2d00 Merge "Avoiding intermediate states in NotificationStackScroller" 2014-04-22 15:15:05 +00:00
John Spurlock
860107a2cc Merge "Do not disturb: persist user config." 2014-04-22 15:03:08 +00:00
John Spurlock
056c519df1 Do not disturb: persist user config.
Load and store user configuration for do not disturb.  Separate
out service-related aspects into new helper.  Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
2014-04-22 11:01:24 -04:00
Selim Cinek
343e6e258a Avoiding intermediate states in NotificationStackScroller
The StackScrollAlgorithm was modified such that the notifications
now don't layout anymore during scrolling and therefore
intermediate states are avoided except for the first card.
Also made the top stack a bit smaller and fixed a bug where the
scrolling was not working on the very first try.

Bug: 14080821
Bug: 14081652
Change-Id: I924a9f8532486856fc2ecd88f6c10d26023a5bc3
2014-04-22 17:00:05 +02:00
Baligh Uddin
49c4aeef08 am 94723401: (-s ours) am 04acf38c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '94723401bdfaf2d1a5c792654fe18d7f6d21607e':
  Import translations. DO NOT MERGE
2014-04-22 14:52:43 +00:00
Baligh Uddin
94723401bd am 04acf38c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '04acf38ce281f86bd0f28485405c59e489657dfb':
  Import translations. DO NOT MERGE
2014-04-22 14:49:14 +00:00
Baligh Uddin
04acf38ce2 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-22 14:46:28 +00:00
Baligh Uddin
af57bb911a Merge "Import translations. DO NOT MERGE" 2014-04-22 14:46:26 +00:00
Ji-Hwan Lee
ab47ff18c4 Merge "Add config resource for disabling KeyguardService" 2014-04-22 14:14:21 +00:00
Andrew Solovay
cd8f0c58bb am 97b7208f: am da1a10f7: am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit '97b7208fa436d279b5a7cc4fc582e7ba89181a84':
  Fixed a typo in a code sample.
2014-04-22 13:41:50 +00:00
Andrew Solovay
97b7208fa4 am da1a10f7: am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit 'da1a10f727746f9f85c576adb2c4c91c552255f3':
  Fixed a typo in a code sample.
2014-04-22 13:36:44 +00:00
Guang Zhu
bc3c1ad960 am 65bcc3ff: am 6c0454ec: Merge "add bt instrumentation to run as a util" into klp-modular-dev
* commit '65bcc3ff9212514a000ccdcc4d8295ddaedcef92':
  add bt instrumentation to run as a util
2014-04-22 13:33:13 +00:00
Craig Mautner
6c83b77b87 am 43c6a98f: am 6985badc: Fix black ActivityView
* commit '43c6a98f0ffe079429735a485acaa81841740fac':
  Fix black ActivityView
2014-04-22 13:33:08 +00:00
Craig Mautner
6e2a3542e1 am 51bd56c9: am 6cdf51f2: Don\'t use finalize on ActivityView to cleanup.
* commit '51bd56c953e2bd860e4a2d97a0bf95267cf3fda2':
  Don't use finalize on ActivityView to cleanup.
2014-04-22 13:33:04 +00:00
Craig Mautner
7ad27288f1 am c00c89b1: am f4c909bc: Fix ActivityView lifecycle
* commit 'c00c89b1add5bcbf6a76287c9a3384877449c746':
  Fix ActivityView lifecycle
2014-04-22 13:32:54 +00:00
Guang Zhu
65bcc3ff92 am 6c0454ec: Merge "add bt instrumentation to run as a util" into klp-modular-dev
* commit '6c0454ecae4fe46b7032299d02fc6da80f171ed2':
  add bt instrumentation to run as a util
2014-04-22 13:27:56 +00:00
Craig Mautner
43c6a98f0f am 6985badc: Fix black ActivityView
* commit '6985badc632f2ff8425aa86423577a96eafc49e9':
  Fix black ActivityView
2014-04-22 13:27:53 +00:00
Craig Mautner
51bd56c953 am 6cdf51f2: Don\'t use finalize on ActivityView to cleanup.
* commit '6cdf51f21df1ca2397618635767e6e53a65799ad':
  Don't use finalize on ActivityView to cleanup.
2014-04-22 13:27:49 +00:00