Adam Lesinski
e12ee81137
am 85a006d7: am 806d4cfb: am 521edf85: Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
...
* commit '85a006d758765266984a912841a13503b49ea665':
Have R classes generate their own reference rewrite logic
2014-08-26 18:54:15 +00:00
Winson Chung
04b0cd61a3
am 927754d7: am 77b91f7d: am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
...
* commit '927754d79665a95e1945640e2f618450f3475395':
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:54:06 +00:00
Adam Lesinski
448c076d33
am 806d4cfb: am 521edf85: Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
...
* commit '806d4cfb2a06a01be4a58ff25a55797d9140b917':
Have R classes generate their own reference rewrite logic
2014-08-26 18:42:24 +00:00
Winson Chung
c46977c508
am 77b91f7d: am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
...
* commit '77b91f7d87a9994348364a912d3127be2595d5ed':
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:42:19 +00:00
Adam Lesinski
3aa6076083
Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
2014-08-26 18:23:57 +00:00
Winson Chung
5c1b42e4f5
Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
2014-08-26 18:23:10 +00:00
Adam Lesinski
48a5d5e52a
am 097ea60e: am 1d3ecf16: am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
...
* commit '097ea60ed6eab4f48b34b186c4006dc305a72b49':
Introduce anydpi density resource qualifier
2014-08-26 17:33:55 +00:00
Adam Lesinski
6d41a45679
am 1d3ecf16: am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
...
* commit '1d3ecf16766d92ef3d847f1420b9a622e871f6cd':
Introduce anydpi density resource qualifier
2014-08-26 17:23:35 +00:00
Adam Lesinski
1e466385d4
Have R classes generate their own reference rewrite logic
...
Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3
2014-08-25 20:04:07 -07:00
Winson Chung
a4ccb86ddc
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
...
- Reverting changes to the existing thumbnail transition to prevent breaking applications
that currently depend on that transition. As a result, we need to create a new, hidden,
aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
recents header so that we don't have to wait to do that inside the Recents activity.
In order for this to work, we also have to ensure that the thumbnail surface destruction
is synchronized with the application that is currently closing (when going down to
recents) or opening (when coming back up). The current thumbnail is destroyed when the
animation ends, but that can be at least 1 frame before the surface for the animating
window is destroyed. We change this by deferring destruction of this thumbnail window
to the animation that is being closed.
Especially on the way up, not having to wait for us to hide the header before doing the
transition up can save us the duration of that first animation (> 100ms).
- Other optimizations:
* No longer creating a new stack view on each transition to calculate the target rect
* Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
window does its own animation.
* We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
and caching the activity label and icon (and task description icon). These caches
follow the same eviction schemes as the thumbnail and icon cache.
- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
tapping on home (Bug 17109581)
Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
2014-08-25 18:52:32 -07:00
Adam Lesinski
31245b4f06
Introduce anydpi density resource qualifier
...
This is meant to be used with scaleable vector
drawables, and are chosen as the best match unless
there is a configuration that matches the density
requested exactly.
Bug:17007265
Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
2014-08-25 17:47:30 -07:00
Adam Lesinski
a8dea906a3
am 0e30b140: am fe8c0080: am 8ff6f579: Merge "AAPT: Filtering resource fix" into lmp-dev
...
* commit '0e30b14080bcae532aacfac6a6d1e52947e23442':
AAPT: Filtering resource fix
2014-08-25 08:21:07 +00:00
Adam Lesinski
8bff0be090
am fe8c0080: am 8ff6f579: Merge "AAPT: Filtering resource fix" into lmp-dev
...
* commit 'fe8c0080fc7610dd61cd82ae6cd256011c0d3c44':
AAPT: Filtering resource fix
2014-08-22 23:48:12 +00:00
Adam Lesinski
a5cc002bfe
AAPT: Filtering resource fix
...
Previously, when filtering resources from an APK using
-c option, if one qualifier matched, we would keep the resource.
However, in the case of something like
-c fr-FR,sw360dp
and with a resource in the APK like so
drawable-fr-FR-sw600dp-v13
we would want this resource to be excluded, as it does not
match the sw360dp qualifier (must be less than or equal to it).
This CL fixed the behavior of the filter to require that all
defined qualifier axis be matched.
Bug:17142358
Change-Id: Ie48f3d516a0e610abc7ba8a7ced4eb3ab52534d4
2014-08-22 16:09:54 -07:00
Adam Lesinski
8a24028d2f
am c3b28395: am b5a92f26: am f064f669: Merge "AAPT: Dump installLocation in badging" into lmp-dev
...
* commit 'c3b28395cf88c1a1fbc287b368c95c22f89f0dc5':
AAPT: Dump installLocation in badging
2014-08-22 21:45:18 +00:00
Adam Lesinski
587133cf2c
am b5a92f26: am f064f669: Merge "AAPT: Dump installLocation in badging" into lmp-dev
...
* commit 'b5a92f26b68b9c35ad9a5a86fdee4e21b489bb92':
AAPT: Dump installLocation in badging
2014-08-22 21:24:24 +00:00
Adam Lesinski
caf797c84a
AAPT: Dump installLocation in badging
...
Bug:17033144
Change-Id: I87dea9af47eef8bcba1465df9b49e355ac6346ec
2014-08-22 13:01:11 -07:00
Adam Lesinski
dacbaca1e4
am f425ba28: am 420a3801: am 247d27d1: Merge "Add better error message for AAPT file conflicts" into lmp-dev
...
* commit 'f425ba2835b6e865e4dd1d4dfc2407d52f34ebde':
Add better error message for AAPT file conflicts
2014-08-21 22:18:05 +00:00
Adam Lesinski
949c59d06c
am 13c95b62: am 4a3f39a2: am db2a74d4: Merge "AAPT: mipmaps should not end up in Splits" into lmp-dev
...
* commit '13c95b62d9036fc7c8c419115841b291b773ed56':
AAPT: mipmaps should not end up in Splits
2014-08-21 22:17:59 +00:00
Adam Lesinski
324d45fa97
am 420a3801: am 247d27d1: Merge "Add better error message for AAPT file conflicts" into lmp-dev
...
* commit '420a3801d0adc2e68900052b2d06fcfebb5daa98':
Add better error message for AAPT file conflicts
2014-08-21 22:13:19 +00:00
Adam Lesinski
7ef434b597
am 4a3f39a2: am db2a74d4: Merge "AAPT: mipmaps should not end up in Splits" into lmp-dev
...
* commit '4a3f39a249adcfcd49b2175c7144524fe159e48d':
AAPT: mipmaps should not end up in Splits
2014-08-21 22:13:14 +00:00
Adam Lesinski
d255aba093
Merge "Add better error message for AAPT file conflicts" into lmp-dev
2014-08-21 22:00:25 +00:00
Adam Lesinski
27f69f4e06
AAPT: mipmaps should not end up in Splits
...
Mipmaps are never filtered, and so they will always
end up in the base APK. Make sure they get omitted from
any split.
Change-Id: Id24b082bc9bd2d3f031a58bd0de4d30b4f0de7e0
2014-08-21 13:59:46 -07:00
Adam Lesinski
48f05d29f3
Add better error message for AAPT file conflicts
...
Some resource directories may be the same even though
their names are different. For instance, the
"smallest width" qualifier was added in API 13,
so the resource directory "values-sw600dp" and
"values-sw600dp-v13" are the same and cause
a conflict. The error reports that this might be the
case.
Change-Id: Ia35f1d670edd48265b3a7fe3d55656128421f612
2014-08-21 20:54:01 +00:00
Adam Lesinski
b915e9104d
am 34b21847: am ad876f74: am 3a0a53a9: Merge "Use the correct versionCode for Split APKs" into lmp-dev
...
* commit '34b21847a2e5f708e878e9ad617a794d8a445c8c':
Use the correct versionCode for Split APKs
2014-08-21 18:52:25 +00:00
Adam Lesinski
ee7c873960
am ad876f74: am 3a0a53a9: Merge "Use the correct versionCode for Split APKs" into lmp-dev
...
* commit 'ad876f7451ca1aa0985404301e45f616ad8dd7b3':
Use the correct versionCode for Split APKs
2014-08-21 18:42:40 +00:00
Adam Lesinski
6a7d2757a9
Use the correct versionCode for Split APKs
...
Insert the correct versionCode into the generated
Split AndroidManifest.xml.
Change-Id: I0aec797b5a4ff8bd70f9394b18aee5ad292b37c8
2014-08-21 11:00:09 -07:00
Adam Lesinski
5b028aaa40
am a22046e2: am c931d0d8: am fcb42104: Merge "AAPT: Fix regression generating dynamic ref table for shared libraries" into lmp-dev
...
* commit 'a22046e20117aa49cbd92821bf949b3c5067e309':
AAPT: Fix regression generating dynamic ref table for shared libraries
2014-08-21 17:59:09 +00:00
Adam Lesinski
ad2d935763
am c931d0d8: am fcb42104: Merge "AAPT: Fix regression generating dynamic ref table for shared libraries" into lmp-dev
...
* commit 'c931d0d8540f7648d5bb247fa1b03e492363debb':
AAPT: Fix regression generating dynamic ref table for shared libraries
2014-08-21 17:48:33 +00:00
Adam Lesinski
6022debdbc
AAPT: Fix regression generating dynamic ref table for shared libraries
...
AAPT stopped generating dynamic reference tables for shared libraries.
Change-Id: Ib0025811bdca1a4756eb21080dd6b6bb3fc1ca3d
2014-08-20 17:55:33 -07:00
Deepanshu Gupta
68e3c9c8c9
am 015f660a: am 0c64e11d: am 93294c92: Merge "Fix "@null" resource values in LayoutLib." into lmp-dev
...
* commit '015f660a04135dccb931af1b6bb24d28b2b8a030':
Fix "@null" resource values in LayoutLib.
2014-08-20 00:39:27 +00:00
Deepanshu Gupta
48458f0505
am 6a006b9a: am 6cd282f4: am df6d9cd8: Merge "Add time to status bar and fix wifi icon." into lmp-dev
...
* commit '6a006b9a33d807bb2fda859c34542456de379446':
Add time to status bar and fix wifi icon.
2014-08-20 00:39:22 +00:00
Deepanshu Gupta
8292994c20
am 0c64e11d: am 93294c92: Merge "Fix "@null" resource values in LayoutLib." into lmp-dev
...
* commit '0c64e11d1c9deb6d425be80808372f5bc1730fd7':
Fix "@null" resource values in LayoutLib.
2014-08-20 00:31:04 +00:00
Deepanshu Gupta
c6ec49e705
am 6cd282f4: am df6d9cd8: Merge "Add time to status bar and fix wifi icon." into lmp-dev
...
* commit '6cd282f44468ff9143913c2fc9e1e2470c247cfd':
Add time to status bar and fix wifi icon.
2014-08-20 00:31:00 +00:00
Adam Lesinski
526dae5762
am 38e7e051: am f668e0ba: am f3d07927: Merge "Allow enum generated IDs to reuse existing IDs" into lmp-dev
...
* commit '38e7e05134f7b27809aa27eba3fdeaec2e576807':
Allow enum generated IDs to reuse existing IDs
2014-08-19 23:52:54 +00:00
Adam Lesinski
662e3221f7
am f668e0ba: am f3d07927: Merge "Allow enum generated IDs to reuse existing IDs" into lmp-dev
...
* commit 'f668e0ba54fa836a818807ec6f76600fc97343ae':
Allow enum generated IDs to reuse existing IDs
2014-08-19 23:44:42 +00:00
Deepanshu Gupta
92973b8f37
Merge "Add time to status bar and fix wifi icon." into lmp-dev
2014-08-19 21:23:09 +00:00
Deepanshu Gupta
486ed3da0a
Merge "Fix "@null" resource values in LayoutLib." into lmp-dev
2014-08-19 02:43:23 +00:00
Deepanshu Gupta
151b68ddc2
Fix "@null" resource values in LayoutLib.
...
Bug: http://b.android.com/74072
Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542
2014-08-19 17:16:48 -07:00
Adam Lesinski
43a0df04b0
Allow enum generated IDs to reuse existing IDs
...
Change-Id: Ida5dbbce1c4ecb0a4e57511555cec6448737be25
2014-08-19 03:46:00 +00:00
Adam Lesinski
67edc212d5
am 1e188ad9: am aae8a25a: am 427964ed: Merge "Include build number in aapt version" into lmp-dev
...
* commit '1e188ad96a0f9fffcf17e1f5a2e843bc8c8884cb':
Include build number in aapt version
2014-08-19 00:17:41 +00:00
Adam Lesinski
0ef02eac4e
am aae8a25a: am 427964ed: Merge "Include build number in aapt version" into lmp-dev
...
* commit 'aae8a25abafd824a7d6f644ca00518029e822a03':
Include build number in aapt version
2014-08-19 00:09:12 +00:00
Deepanshu Gupta
553a4e9138
Add time to status bar and fix wifi icon.
...
Add vector drawable for wifi icon. Also add time to the status bar.
Change-Id: I01da833087a607e9bb6ff085929e3844990179f8
2014-08-18 16:46:29 -07:00
Adam Lesinski
5f5bad4b0c
am 8efa12ef: am 4b9b84c5: am f611c1b5: Merge "Revert "Include build number in aapt version"" into lmp-dev
...
* commit '8efa12ef92a03ae98da2ed1856501c2f5f34a17d':
Revert "Include build number in aapt version"
2014-08-18 23:25:03 +00:00
Adam Lesinski
5da86bc21a
am 4b9b84c5: am f611c1b5: Merge "Revert "Include build number in aapt version"" into lmp-dev
...
* commit '4b9b84c5db6b0b6ba629cf64bc894016fe2cf0c1':
Revert "Include build number in aapt version"
2014-08-18 23:16:26 +00:00
Adam Lesinski
d88e64ebb1
am 9e2f9205: am fdbcc8e5: am a7ce555e: Include build number in aapt version
...
* commit '9e2f9205fbc94f8a6ed4ddb3caf93019d8c9ed8d':
Include build number in aapt version
2014-08-18 22:11:02 +00:00
Adam Lesinski
98eacc9f0a
am fdbcc8e5: am a7ce555e: Include build number in aapt version
...
* commit 'fdbcc8e52c90c09a65494c148243bd1e7109b71b':
Include build number in aapt version
2014-08-18 22:02:38 +00:00
Adam Lesinski
71809ee7f6
Include build number in aapt version
...
Teams are constantly confused over which version of aapt
they are running. Include the build number from the
Android build system in the binary. Can be retrieved by executing
'aapt version'.
Change-Id: Ie4692fb160c7cbe720a8e76b73e435170214fe0e
2014-08-18 21:08:15 +00:00
Adam Lesinski
9a9a17eb07
Revert "Include build number in aapt version"
...
This reverts commit a7ce555ee82ed91345a54ee171dc9a415b65e134.
Change-Id: I1018747766963e75bec11ddb01ba6d138f133959
2014-08-18 22:39:38 +00:00
Deepanshu Gupta
8d030f7094
am 2d1aa0f6: am 8f7cc496: am a4ceb9e6: am 32faabbe: Layoutlib: Update wifi and battery icon for KK
...
* commit '2d1aa0f63f133e0db3c621cdff5e48ce513f8fdc':
Layoutlib: Update wifi and battery icon for KK
2014-08-18 19:28:28 +00:00