Joe LaPenna
57bb5f5c8b
am c0c39516: Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev
...
* commit 'c0c395162ff14b83694158663470ad60e065d9a9':
Hold a wake lock while dozing when display updates are pending.
2015-02-24 00:46:48 +00:00
Joe LaPenna
c0c395162f
Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev
2015-02-24 00:37:15 +00:00
Deepanshu Gupta
01d5286f38
am 8f022fd3: am 5ed4fc9e: am 99142d29: am 3f8e2b93: am 30a67cd1: Merge "Set forceFramework correctly for included layouts." into lmp-dev
...
* commit '8f022fd323063f9cebb481be650db40cf5e486f3':
Set forceFramework correctly for included layouts.
2015-02-23 19:29:31 +00:00
Deepanshu Gupta
99142d2982
am 3f8e2b93: am 30a67cd1: Merge "Set forceFramework correctly for included layouts." into lmp-dev
...
* commit '3f8e2b9302fba0ace67fb0459d6ffb0884c4d80b':
Set forceFramework correctly for included layouts.
2015-02-23 19:09:14 +00:00
Deepanshu Gupta
3f8e2b9302
am 30a67cd1: Merge "Set forceFramework correctly for included layouts." into lmp-dev
...
* commit '30a67cd17af03e53b8be5638f7f70d2989a7cd78':
Set forceFramework correctly for included layouts.
2015-02-23 19:03:29 +00:00
Deepanshu Gupta
33c1c07796
Set forceFramework correctly for included layouts.
...
Bug: http://b.android.com/151326
Change-Id: I759f6e1a7a1c83bbbb771ddbb92843a105acffa4
2015-02-23 17:26:12 +00:00
Jeff Brown
c2932a1be3
Hold a wake lock while dozing when display updates are pending.
...
When the display state is DOZE or DOZE_SUSPEND, assume this means
that the AP may go to sleep at any time so hold a wake lock for
a little while starting when traversals are scheduled to ensure
that the AP remains awake long enough to draw and post the frame
to the display hardware.
This patch is somewhat approximate but should be good enough for
most devices today.
Note that the implementation uses the window manager to ensure that
the window which wants to draw is actually visible before acquiring
the wake lock. There is a cost to this test (a round-trip) which
should not be significant today since we do not expect apps to draw
more than one frame or two while dozing. However, if we wanted to
support animations in general, we might want to optimize it or
eliminate the check altogether (since we can already account for
the app's use of the wake lock).
Another way to implement this functionality might be for the view
hierarchy to listen for the power manager to report that it has entered
a non-interactive power state before deciding to poke draw locks.
This would be somewhat more accurate than watching the display state.
Also, the draw lock timeout logic could be implemented more directly
instead of using an ordinary timed wake lock.
Bug: 18284212
Change-Id: I84b341c678303e8b7481bd1620e634fe82cc4350
2015-02-20 10:54:09 -08:00
Deepanshu Gupta
7bf58d0c55
am 0a300b89: am ad879adb: Merge "Add Asset management support for fonts." into lmp-dev automerge: 0684991
...
automerge: c2fa5e2
* commit 'c2fa5e205e617df6b622cb54fac77738e82e6320':
Add Asset management support for fonts.
2015-02-17 22:39:48 +00:00
Diego Perez
412e6439b2
am a0fb87a3: am 98c3461a: Merge "Do not paint shadow if outside of the clip area" into lmp-dev automerge: a912fed
...
automerge: d66f2eb
* commit 'd66f2eb241ba8676ef01f4efd23be5ae62d3a7aa':
Do not paint shadow if outside of the clip area
2015-02-17 22:38:37 +00:00
Deepanshu Gupta
5cc0e76464
am 221d7320: am 12c9e498: Merge "Changes made by intelliJ 14.1" into lmp-dev automerge: 4e47416
...
automerge: f12d023
* commit 'f12d02339fefc4111b62715d5c0fb2e58570c34b':
Changes made by intelliJ 14.1
2015-02-17 22:36:59 +00:00
Deepanshu Gupta
0a300b8977
am ad879adb: Merge "Add Asset management support for fonts." into lmp-dev
...
automerge: 0684991
* commit '068499111c173fdd9869e7dbe5b9de857aca1c2d':
Add Asset management support for fonts.
2015-02-17 22:21:11 +00:00
Diego Perez
a0fb87a3b8
am 98c3461a: Merge "Do not paint shadow if outside of the clip area" into lmp-dev
...
automerge: a912fed
* commit 'a912fedbc5fba99fb75884a1941d58170822ceb4':
Do not paint shadow if outside of the clip area
2015-02-17 22:19:43 +00:00
Deepanshu Gupta
221d732005
am 12c9e498: Merge "Changes made by intelliJ 14.1" into lmp-dev
...
automerge: 4e47416
* commit '4e47416012b8cb88d564a04a29c0b79a28b9e529':
Changes made by intelliJ 14.1
2015-02-17 22:18:35 +00:00
Deepanshu Gupta
068499111c
am ad879adb: Merge "Add Asset management support for fonts." into lmp-dev
...
* commit 'ad879adb65ffa577844738522ab6d7d30aba2ead':
Add Asset management support for fonts.
2015-02-13 22:38:23 +00:00
Diego Perez
a912fedbc5
am 98c3461a: Merge "Do not paint shadow if outside of the clip area" into lmp-dev
...
* commit '98c3461acd6699ab0448f1785909d0d39cd61b5a':
Do not paint shadow if outside of the clip area
2015-02-13 22:38:17 +00:00
Deepanshu Gupta
4e47416012
am 12c9e498: Merge "Changes made by intelliJ 14.1" into lmp-dev
...
* commit '12c9e4980e889d1c72656a4062f9cee9a0e6f15a':
Changes made by intelliJ 14.1
2015-02-13 22:38:07 +00:00
Deepanshu Gupta
ad879adb65
Merge "Add Asset management support for fonts." into lmp-dev
2015-02-13 22:34:36 +00:00
Diego Perez
98c3461acd
Merge "Do not paint shadow if outside of the clip area" into lmp-dev
2015-02-13 22:34:16 +00:00
Deepanshu Gupta
12c9e4980e
Merge "Changes made by intelliJ 14.1" into lmp-dev
2015-02-13 22:33:48 +00:00
Chris Warrington
4308c2aea4
am 510c24e8: Merge "Fix AAPT daemon mode with paths containg spaces." into lmp-mr1-dev
...
automerge: 4499888
* commit '449988872be61f273c91db13069d5b7172429032':
Fix AAPT daemon mode with paths containg spaces.
2015-02-10 20:14:44 +00:00
Chris Warrington
de3ab0a9e8
Fix AAPT daemon mode with paths containg spaces.
...
Use new line as a delimiter rather than space.
Fixes: https://code.google.com/p/android/issues/detail?id=135757
Gradle CL: https://android-review.googlesource.com/130423
Change-Id: I7c73e680b0417b0e7cff9e0110822675c53ae20f
2015-02-09 21:20:52 -08:00
Deepanshu Gupta
19740a6212
Changes made by intelliJ 14.1
...
Change-Id: Ia130266ad994ef327629db25a18f9d5702b983f4
2015-02-04 11:17:33 -08:00
Diego Perez
0dfba38010
Do not paint shadow if outside of the clip area
...
Change-Id: I064ccc1d1b206a29d9d0db1384782cb5dd5c65ca
2015-02-04 11:57:20 +00:00
Deepanshu Gupta
d51834bdfa
Add Asset management support for fonts.
...
Change-Id: I10ca67dcffe244667d4ae0bda65dbc1aa6691d50
2015-02-03 19:00:43 -08:00
Deepanshu Gupta
df5a198710
am 3d5535cf: Merge "Limited AppCompat support" into lmp-dev automerge: 7789447 automerge: 580937f
...
automerge: c053438
* commit 'c05343828611ed0b82fae4edf7fe11e0e9087db1':
Limited AppCompat support
2015-01-31 04:18:58 +00:00
Deepanshu Gupta
6a439908fc
am 1d59871e: Merge "Resource resolution fixes." into lmp-dev automerge: 7e683bd automerge: 1575ca6
...
automerge: 862cdd6
* commit '862cdd6f11490c060842599a58a400e284c937d9':
Resource resolution fixes.
2015-01-31 04:17:35 +00:00
Deepanshu Gupta
580937fc45
am 3d5535cf: Merge "Limited AppCompat support" into lmp-dev
...
automerge: 7789447
* commit '7789447bd97c851b7a09623a417300590e5439d5':
Limited AppCompat support
2015-01-31 03:02:42 +00:00
Deepanshu Gupta
1575ca6e1a
am 1d59871e: Merge "Resource resolution fixes." into lmp-dev
...
automerge: 7e683bd
* commit '7e683bdaddff77a24a36d420c5782b47795c5ccb':
Resource resolution fixes.
2015-01-31 03:01:20 +00:00
Deepanshu Gupta
7789447bd9
am 3d5535cf: Merge "Limited AppCompat support" into lmp-dev
...
* commit '3d5535cfb7755c20619529649b025c4682013b85':
Limited AppCompat support
2015-01-31 00:54:10 +00:00
Deepanshu Gupta
7e683bdadd
am 1d59871e: Merge "Resource resolution fixes." into lmp-dev
...
* commit '1d59871e4e8a3a657dab3931d684706c45630a2f':
Resource resolution fixes.
2015-01-31 00:54:07 +00:00
Deepanshu Gupta
224e931fed
Limited AppCompat support
...
Change-Id: I4ac7234c9533b9f47f070335c4cb6ae605d8a89f
2015-01-28 11:32:30 -08:00
Narayan Kamath
c2d5128039
Merge "Remove superfluous OpenSSL include paths." automerge: fe24754
...
automerge: d555cd5
* commit 'd555cd550d634192e96e3b834f91aa9559a259db':
Remove superfluous OpenSSL include paths.
2015-01-23 10:54:44 +00:00
Adam Lesinski
e03f2cb2c2
Merge "AAPT: Use the right enum when checking for density configurations" into lmp-mr1-dev automerge: b443610
...
automerge: 83f58a2
* commit '83f58a2f7afac98199536b3090fe6f767ffb3a0d':
AAPT: Use the right enum when checking for density configurations
2015-01-23 02:46:32 +00:00
Adam Lesinski
ed643e8182
AAPT: Use the right enum when checking for density configurations
...
Bug:19116675
Change-Id: I2322d8d6bdf890005c80014273e5d07df735ed50
2015-01-22 18:19:44 -08:00
Adam Langley
0e7829e428
Remove superfluous OpenSSL include paths.
...
The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.
Change-Id: I467f1b1d038b5136fa22b1230da134c394eac54e
2015-01-22 17:15:13 -08:00
Adam Lesinski
d9bd08864e
am aee7225e: Merge "Process base APK" into lmp-mr1-dev
...
automerge: 554a6f5
* commit '554a6f5278ec05077d8252249afc911897fbfe76':
Process base APK
2015-01-20 21:55:12 +00:00
Adam Lesinski
42eea270a0
Process base APK
...
The base APK may have resources with configurations that compete
against some splits. The base APK must be involved in the selection
of splits.
Bug:18982001
Change-Id: Ieb29b5a36cf2c68e7831484d98a9fd275acd97e8
2015-01-16 14:11:30 -08:00
Deepanshu Gupta
b6864ac6cd
Resource resolution fixes.
...
1. Some dynamic ids weren't created and resulted in ResourceNotFound
exceptions.
2. Prevent NPE if a style attribute (eg. style="?attr/foo"), which
cannot be resolved, is resolved. This effectively, also results in
making it harder to catch misconfigured themes. However, support
library does it, and we don't want to throw errors when the library is
working as intended.
Change-Id: I731d8fb9209eb72b464d235d1072d416e132970b
2015-01-15 15:25:49 -08:00
Adam Lesinski
5c61dfc25f
am e488ce86: am 94e30215: Merge "AAPT: Handle all old unversioned attribute usage" into lmp-mr1-dev
...
* commit 'e488ce8668538b45c586eba21f5bca288d749686':
AAPT: Handle all old unversioned attribute usage
2015-01-14 20:47:47 +00:00
Adam Lesinski
28994d8d18
AAPT: Handle all old unversioned attribute usage
...
All references to attributes defined in pre-LOLLIPOP_MR1 SDK
are moved to version qualified resource entries.
Bug:18221682
Change-Id: Ifd739530ebcf99e6bc7ddb3f10bc5e05f0726e62
2015-01-14 12:02:15 -08:00
Deepanshu Gupta
22230189be
am f2e04ac7: am c598047d: am ca67a249: am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
automerge: 8e2dd14
* commit '8e2dd14e7d327f3d92d57092c24ea2064f04fd1c':
Special case AppCompat to show action bar.
2015-01-10 04:14:54 +00:00
Deepanshu Gupta
f2e04ac7ea
am c598047d: am ca67a249: am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
* commit 'c598047d67f64e690f682d82c0e77989c79ae465':
Special case AppCompat to show action bar.
2015-01-10 04:04:22 +00:00
Deepanshu Gupta
c598047d67
am ca67a249: am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
* commit 'ca67a249293d021808f349fa2e2f799451aeafe8':
Special case AppCompat to show action bar.
2015-01-10 03:56:47 +00:00
Deepanshu Gupta
ca67a24929
am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
* commit 'bb600de6e7c5c7a0a1d4b872d2ee100ccc353213':
Special case AppCompat to show action bar.
2015-01-10 03:51:05 +00:00
Deepanshu Gupta
bb600de6e7
am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
* commit '74147527357b9abd9d30b3a2dbd72a5172a35625':
Special case AppCompat to show action bar.
2015-01-10 02:16:44 +00:00
Deepanshu Gupta
7414752735
am 8505c387: Special case AppCompat to show action bar.
...
* commit '8505c3870a17f41d23329344fe381cd9ff324bd2':
Special case AppCompat to show action bar.
2015-01-10 02:10:55 +00:00
Deepanshu Gupta
dbd64f7c90
Support Locale.toLanguageTag on Java 6
...
Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
(cherry picked from commit 5cd9dde5a2a77c5095f985186d8f03147fd22870)
2015-01-09 17:43:12 -08:00
Deepanshu Gupta
51fb7754fc
LayoutLib: Fix System.arraycopy()
...
Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.
Note that this was already being done for char.
Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
(cherry picked from commit e1960cc0b541cda93db94de5bef42dff922b9ec3)
2015-01-09 17:03:54 -08:00
Deepanshu Gupta
8505c3870a
Special case AppCompat to show action bar.
...
Bug: http://b.android.com/78944
Change-Id: I02d68d592d812016744716f99376cfefd519b21b
2015-01-10 00:29:52 +00:00
Adam Lesinski
6e2eb2df4c
am c04a21a0: Merge "Fixup aapt usage message" automerge: 64044d0
...
* commit 'c04a21a0ef6cd97a45307e4c1de9088e57719ca2':
Fixup aapt usage message
2015-01-08 20:24:33 +00:00