Commit Graph

40576 Commits

Author SHA1 Message Date
Alan Viverette
56c4f5c139 am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
* commit '84670eef1f2d685efc98644914d2bb191d0e665c':
  Reduce instructions required to obtain and recycle TypedArray
2014-09-14 21:04:59 +00:00
John Spurlock
07d245ba89 am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '1ddb7a6b406f23c3b549aa6a771cec61c1778f3e':
  Saver: PowerManager call to set low power mode.
2014-09-14 21:04:50 +00:00
Alan Viverette
c6a65dfbff Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev 2014-09-14 20:04:38 +00:00
John Spurlock
8d4e6cb060 Saver: PowerManager call to set low power mode.
- Add an explicit power manager call to set the low power mode state,
  instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
  threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
  setting.
- Handles the case where the level does an unpowered leap out of the
  low battery level. (Possible if powered in-between while the device
  is off)

Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
2014-09-14 14:07:23 -04:00
Alan Viverette
8b5b25b448 Reduce instructions required to obtain and recycle TypedArray
Eliminates several field and method accesses by making the TypedArray
pool local to a single Resources object. Removes an unnecessary
synchronization.

ReadXmlAttrs averaged 0.069 ms/op before, 0.064 ms/op after.

BUG: 17484798
Change-Id: If790a5ba6596b47a04f117c8912974798a592052
2014-09-13 19:30:11 -07:00
Tyler Gunn
6c8d6d74c0 resolved conflicts for merge of 66c16547 to lmp-sprout-dev
Also fixed issue in TelephonyManager.

Change-Id: I4dde45e638c2bcf32f8f929d34d0083966f6761f
2014-09-13 20:10:08 +00:00
Tyler Gunn
ef9f6f957d Renaming Telecomm to Telecom.
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
2014-09-12 22:16:17 -07:00
Jeff Brown
3b817e38f3 am ce0a756f: Merge "Add support for dozing after screen off." into lmp-dev
* commit 'ce0a756fd13cf9feea1409b75534b260b187398e':
  Add support for dozing after screen off.
2014-09-13 01:03:07 +00:00
Adam Powell
c30ea3d69e am dd9488c1: Merge "Provide a public API for View#computeFitSystemWindows" into lmp-dev
* commit 'dd9488c13f16699d190e399324c18b557b6a5b38':
  Provide a public API for View#computeFitSystemWindows
2014-09-13 00:35:40 +00:00
Eric Laurent
b81400d9f0 am a7f44594: Merge "SoundTrigger: fix KeyphraseRecognitionEvent parceling" into lmp-dev
* commit 'a7f44594b56d5b4341dfeb074c9518e480de7e4c':
  SoundTrigger: fix KeyphraseRecognitionEvent parceling
2014-09-13 00:35:36 +00:00
Jeff Brown
2175e9c366 Add support for dozing after screen off.
On some devices, we want the screen off transition to complete before
we start dozing.  Added a new config.xml attribute config_dozeAfterScreenOff
to configure this behavior.

Defer starting dreams until the display is ready.

Fixed some minor issues in the system UI doze service when setting the
display state.

Bug: 16187655
Change-Id: Ib1bc60de5457166f4b4880732db5df989dda67a4
2014-09-12 17:31:54 -07:00
Adam Powell
2642357b82 Merge "Provide a public API for View#computeFitSystemWindows" into lmp-dev 2014-09-13 00:22:29 +00:00
Eric Laurent
76466c7be3 Merge "SoundTrigger: fix KeyphraseRecognitionEvent parceling" into lmp-dev 2014-09-13 00:21:48 +00:00
Paul Jensen
e913394593 am 28b89f98: Allow libcore to perform necessary actions upon net config changes.
* commit '28b89f9869008ff0853419007734dad24937f578':
  Allow libcore to perform necessary actions upon net config changes.
2014-09-13 00:08:27 +00:00
Amith Yamasani
57801c13d4 am 13c4e5ad: Merge "Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS" into lmp-dev
* commit '13c4e5ad86bcf61e12d5f928ba36bc0db2dd75bf':
  Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS
2014-09-13 00:08:23 +00:00
Paul Jensen
e401d17d3f Allow libcore to perform necessary actions upon net config changes.
Delegate to libcore the responsibility of performing the necessary
actions upon a network configuration change, such as a DNS
configuration change.  In the L-release, these responsibilities
now include flushing the HTTP connection pools to prevent connections
on lingering networks getting pulled from the pool inadvertently to
satisfy requests that should be going over the new network.  All such
responsibilities can now be controlled and delegated by libcore's
new NetworkEventDispatcher, designed for this purpose.

bug:17314604
Change-Id: Ic796aea9d9a1f6ecb787fbdb38b3b7f5d991829b
2014-09-12 23:59:55 +00:00
Adam Powell
d72068b38e Provide a public API for View#computeFitSystemWindows
The current hidden API is necessary to perform correct inset behavior
for support libraries like appcompat. Provide a public method
consistent with the new WindowInsets APIs.

Bug 17411097

Change-Id: I71a63eea0238b94cae6b5c6f1721d5567560ba81
2014-09-12 16:51:28 -07:00
Amith Yamasani
d7fcca9511 Merge "Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS" into lmp-dev 2014-09-12 23:50:40 +00:00
Amith Yamasani
1d653272a2 Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS
Bug: 17392243
Change-Id: I5ff0e70eeeeba264c96eaa2a17a6bd3669576c96
2014-09-12 16:45:33 -07:00
George Mount
a6e6c3d4dc am 87483e5e: Merge "Made Transitions act only the views that they target." into lmp-dev
* commit '87483e5ea1e08467172d82f8707f8f2470107507':
  Made Transitions act only the views that they target.
2014-09-12 23:30:55 +00:00
George Mount
4d527888ac Merge "Made Transitions act only the views that they target." into lmp-dev 2014-09-12 23:19:15 +00:00
George Mount
5030c7f6f1 Made Transitions act only the views that they target.
Bug 17465989
Bug 17452585

Change-Id: I2f921e98f68df3d549a370179c0a4488d56923ad
2014-09-12 16:15:44 -07:00
George Mount
f0a68a241e am 17506bdb: Merge "Allow Path Animations to support overshooting." into lmp-dev
* commit '17506bdb89a323a31e27cbff24fec4c819a71582':
  Allow Path Animations to support overshooting.
2014-09-12 22:58:53 +00:00
Dianne Hackborn
6126395bde am a561b237: Merge "Allow throwing UnsupportedOperationException across Binder." into lmp-dev
* commit 'a561b2377fd1f8749a30fe19d6df5e3d8afc3292':
  Allow throwing UnsupportedOperationException across Binder.
2014-09-12 22:50:08 +00:00
George Mount
64ec46dbb0 Merge "Allow Path Animations to support overshooting." into lmp-dev 2014-09-12 22:48:28 +00:00
George Mount
bc68f5adc2 Allow Path Animations to support overshooting.
Bug 17458698

Change-Id: I7a29fc8932a28121d7db8b3bf695d91a55ef059b
2014-09-12 15:46:02 -07:00
Eric Laurent
75b433f737 SoundTrigger: fix KeyphraseRecognitionEvent parceling
Always include the Audioformat in the parcel if not
null.

Bug: 17489186.
Change-Id: I8bea031942b55078e5637959d5bf70961d134733
2014-09-12 15:45:47 -07:00
Dianne Hackborn
8190b79d37 Merge "Allow throwing UnsupportedOperationException across Binder." into lmp-dev 2014-09-12 22:35:48 +00:00
George Mount
0253d58b9f am 9032c757: Merge "Fixed: getDecor() NullPointeExceptions." into lmp-dev
* commit '9032c75779ea43428b84cd959cc62a219f4d2612':
  Fixed: getDecor() NullPointeExceptions.
2014-09-12 22:13:11 +00:00
George Mount
e0947064af Merge "Fixed: getDecor() NullPointeExceptions." into lmp-dev 2014-09-12 22:02:37 +00:00
Yin-Chia Yeh
449121ec9e am e3505a3d: Merge "Camera2: add toString for TonemapCurve" into lmp-dev
* commit 'e3505a3d5e8968eaad68fd12717696f17e9414f9':
  Camera2: add toString for TonemapCurve
2014-09-12 22:00:48 +00:00
George Mount
b362755429 am cc8973e4: Merge "Reset the alpha for offscreen views." into lmp-dev
* commit 'cc8973e45b989fc2380acbc9773e4b1208692891':
  Reset the alpha for offscreen views.
2014-09-12 22:00:44 +00:00
Adam Powell
5d1d163f9f am 91089aa5: Merge "Make Toolbars eat touch events" into lmp-dev
* commit '91089aa5f78c8c6b90a3a519cd5512c458872969':
  Make Toolbars eat touch events
2014-09-12 22:00:40 +00:00
Yin-Chia Yeh
8eec09a1fc Merge "Camera2: add toString for TonemapCurve" into lmp-dev 2014-09-12 21:55:12 +00:00
George Mount
54f4ba8d7a Merge "Reset the alpha for offscreen views." into lmp-dev 2014-09-12 21:52:28 +00:00
Adam Powell
f116056a80 Merge "Make Toolbars eat touch events" into lmp-dev 2014-09-12 21:49:25 +00:00
George Mount
a34e4c5e1f am f607a73b: Merge "Changed method name to match Activity\'s method name." into lmp-dev
* commit 'f607a73b9cfe059739b245d8aff70ed2747334c6':
  Changed method name to match Activity's method name.
2014-09-12 21:43:42 +00:00
George Mount
26f68a01b4 Merge "Changed method name to match Activity's method name." into lmp-dev 2014-09-12 21:28:45 +00:00
Dianne Hackborn
33d738a102 Allow throwing UnsupportedOperationException across Binder.
Change-Id: I3a9b81958886033d546c3a20331716dbb9492365
2014-09-12 14:23:58 -07:00
George Mount
85ea498d86 Changed method name to match Activity's method name.
Bug 17488968

Change-Id: I3f00561d96ff33e8eaf7234934c69e3b8e2681e8
2014-09-12 14:19:40 -07:00
Yin-Chia Yeh
b086421b41 Camera2: add toString for TonemapCurve
Bug: 16899576
Change-Id: Id7c08afed8606efc880cc75201287cd70a0e301c
2014-09-12 14:12:13 -07:00
Adam Powell
61d15b9856 Make Toolbars eat touch events
Just like action bars, toolbars shouldn't allow touches to fall
through to sibling views that they overlap.

Bug 17483356

Change-Id: I9068e1f9cf3c4226000e0058c371283a997b1bd0
2014-09-12 14:11:28 -07:00
George Mount
653ea66a9f Reset the alpha for offscreen views.
Bug 17469303

When stripping the offscreen views from a transition, the alpha
wasn't reset, so they were made permanently invisible.

Change-Id: I2e87fff1d3b1e417997cabf9c703143355fe2c01
2014-09-12 13:58:12 -07:00
Alan Viverette
44ee53c2fd am 4e7d44a5: Merge "Fix toolbar height, list divider alpha, action item padding" into lmp-dev
* commit '4e7d44a599bcc3ebc2e2e8104ee6daee9dc8167b':
  Fix toolbar height, list divider alpha, action item padding
2014-09-12 20:11:36 +00:00
Alan Viverette
c1cbe8cfb9 Merge "Fix toolbar height, list divider alpha, action item padding" into lmp-dev 2014-09-12 20:01:09 +00:00
Alan Viverette
9d9581f52e Fix toolbar height, list divider alpha, action item padding
BUG: 17487305
BUG: 17470290
BUG: 17486967
Change-Id: Ib0cb4308f9d57e730504bdeb125662b648cad0f7
2014-09-12 12:54:02 -07:00
George Mount
48bd13c9cb Fixed: getDecor() NullPointeExceptions.
Bug 17481173

Change-Id: Ie6e1710cadb7d1e52515c2927dce733b3ec3eabb
2014-09-12 12:46:09 -07:00
Jessica Hummel
3b9593d82d am 5a082a9e: Merge "Remove legacy version of ACTION_PROFILE_PROVISIONING_COMPLETE." into lmp-dev
* commit '5a082a9e3a92e571d9b532d0aa994db1a9295cc4':
  Remove legacy version of ACTION_PROFILE_PROVISIONING_COMPLETE.
2014-09-12 18:53:15 +00:00
Marcin Kosiba
e8add4dc6a am 46683a27: Remove an @removed member of andorid.webkit.WebResourceResponse.
* commit '46683a272ea5283a43d89a84bdab048994ca6a14':
  Remove an @removed member of andorid.webkit.WebResourceResponse.
2014-09-12 18:52:44 +00:00
Sander Alewijnse
680a5b99cd am 4d9fe6d1: Merge "Rename email extra." into lmp-dev
* commit '4d9fe6d15a4aa661eaea5b34a1810b4986732c4f':
  Rename email extra.
2014-09-12 18:52:31 +00:00