Commit Graph

4526 Commits

Author SHA1 Message Date
Diego Perez
a7c802b359 Merge "Separate measure so it can only run inflate if needed" into nyc-dev am: 3874597
am: e4ad64b

* commit 'e4ad64b486699fe02b8551886ac5ab25db6b2c6d':
  Separate measure so it can only run inflate if needed

Change-Id: I928a8b8179c67ff77807b6ad479fdbbb72273c9b
2016-04-19 07:41:22 +00:00
Diego Perez
38745971c2 Merge "Separate measure so it can only run inflate if needed" into nyc-dev 2016-04-19 07:34:17 +00:00
Adam Lesinski
d699f726ce Merge "SettingsLib: Build with AAPT2" into nyc-dev
am: 0b1a203

* commit '0b1a203830f49b8998692873c161a8fb7c7ab9cb':
  SettingsLib: Build with AAPT2

Change-Id: Id8c103e38a78b13598bcf7d50d51239c08c22ca1
2016-04-16 07:06:09 +00:00
Adam Lesinski
0b1a203830 Merge "SettingsLib: Build with AAPT2" into nyc-dev 2016-04-16 07:01:08 +00:00
Diego Perez
39e540caff Separate measure so it can only run inflate if needed
This allows to only do inflate + measure and not to render.

Change-Id: I4be08513728b656f699e9115e14cf618d95b538a
2016-04-15 11:38:19 +01:00
Adam Lesinski
5ff3ad6312 SettingsLib: Build with AAPT2
Bug:22775504
Change-Id: I2e5015235384d124418d32186daa190f38e1c5b3
2016-04-14 14:45:21 -07:00
Deepanshu Gupta
21e1f3c5ad Merge "Return complete properties map instead of per view" into nyc-dev
am: e70464e

* commit 'e70464e11694712d62092ac3a623c32fe6d5e8a5':
  Return complete properties map instead of per view

Change-Id: I40f801e0f1daa9240af11d93dbe52cc17bd29ac8
2016-04-14 19:48:58 +00:00
Deepanshu Gupta
e70464e116 Merge "Return complete properties map instead of per view" into nyc-dev 2016-04-14 19:42:16 +00:00
Deepanshu Gupta
eaf1853b98 Return complete properties map instead of per view
Change-Id: Ib7c71606d1bf43bbaa80f5601a8508d7aa49d953
2016-04-14 12:38:23 -07:00
Jerome Gaillard
e4e690b655 Merge "Change method name in VectorDrawable_Delegate" into nyc-dev
am: ff9e0de

* commit 'ff9e0dede85d12576227013feeb3a1e7fd5a4774':
  Change method name in VectorDrawable_Delegate

Change-Id: I9b706ab3297c69f58a948282250ae1ed40cd3c0b
2016-04-13 12:21:28 +00:00
Jerome Gaillard
8c0ab16494 Change method name in VectorDrawable_Delegate
Following change in VectorDrawable from commit cdedc9a80d.

Change-Id: I5d17b2e77c9600fe3da981c77a3e39dcd4df1d1f
2016-04-13 11:48:28 +01:00
Diego Perez
dea620e428 Merge "Synchronize access to the main looper" into nyc-dev
am: 49a5436

* commit '49a54366c11ed5ac887e6f897aa6ee5e4b86489c':
  Synchronize access to the main looper

Change-Id: Ife3e869aea8c257c1a3e2dd38fc81f83ec747735
2016-04-13 08:23:09 +00:00
Diego Perez
49a54366c1 Merge "Synchronize access to the main looper" into nyc-dev 2016-04-13 08:14:57 +00:00
Suprabh Shukla
7b13098b62 Merge "Added api to delete cache files for a given user" into nyc-dev
am: 0a6a6db

* commit '0a6a6dbe9107a3e31d74293f853b46ae0e5b9e7b':
  Added api to delete cache files for a given user

Change-Id: If8bc5327e76680d3d30127b1129e7c4c36928421
2016-04-13 03:17:24 +00:00
TreeHugger Robot
0a6a6dbe91 Merge "Added api to delete cache files for a given user" into nyc-dev 2016-04-13 03:13:49 +00:00
Roozbeh Pournader
eae7a2de74 Merge "Add many more emoji tests" into nyc-dev
am: a51a12c

* commit 'a51a12cfe73c3f578a013543fddd9d913b46c143':
  Add many more emoji tests

Change-Id: I07fdc9040cec1a6be7fe7fa09fb56b6ea724e8d1
2016-04-13 02:09:00 +00:00
Roozbeh Pournader
a51a12cfe7 Merge "Add many more emoji tests" into nyc-dev 2016-04-13 02:01:19 +00:00
Suprabh Shukla
78c9eb8947 Added api to delete cache files for a given user
Added an api to delete application cache files for a specific user. This
allows settings to clear cache files for work profile apps as well.

Bug: b/25338468
Change-Id: I52d4944a7a03b6d63ad44dd6bb868aec62815eab
2016-04-12 18:23:56 -07:00
Deepanshu Gupta
e69268012d Merge "Add post resolve property values" into nyc-dev
am: a8d21a0

* commit 'a8d21a0facb415ed085059298c50eaa58544129a':
  Add post resolve property values

Change-Id: I6f2c2f086a680dc82a02450b891e1d9de8885004
2016-04-12 22:21:33 +00:00
Deepanshu Gupta
79c59fe4a8 Add post resolve property values
Change-Id: Ia86b7dfc479cc5313cce36b6b3066fbb1d00c292
2016-04-12 12:46:09 -07:00
Diego Perez
8d25697bf0 Synchronize access to the main looper
Change-Id: I4b9375d07c4191393c04f8b40905e63742b3baad
2016-04-12 18:27:31 +01:00
Diego Perez
aa1f2e6750 Merge "Fix broken delegates for FontFamily and PathParser" into nyc-dev
am: 37e16f8

* commit '37e16f8e3bc3b3e3d3a4c37b5b7ccda953c78ac9':
  Fix broken delegates for FontFamily and PathParser

Change-Id: Id418eaa3ccf69a4a757f8410f152718e4088f373
2016-04-12 16:34:51 +00:00
Diego Perez
a0a51b6fb6 Fix broken delegates for FontFamily and PathParser
The theme editor is throwing an exception with the last embedded
layoutlib because a missing method. Added also another missing method in
FontFamily.

Change-Id: I710ba7618df6444a3185b581cdc5dc8400f7c604
2016-04-12 17:21:00 +01:00
Adam Lesinski
e4c16f8cc2 Merge "AAPT2: Clean up R JavaDoc generation" into nyc-dev
am: d3caf46

* commit 'd3caf46a850fb3191562fc5e05c2aa8b5912b598':
  AAPT2: Clean up R JavaDoc generation

Change-Id: I4e83f950621c8be80600c3dc11a0cd9081477549
2016-04-08 01:29:37 +00:00
Adam Lesinski
d3caf46a85 Merge "AAPT2: Clean up R JavaDoc generation" into nyc-dev 2016-04-08 01:23:29 +00:00
Adam Lesinski
626b3dbf74 AAPT2: Clean up R JavaDoc generation
- Don't generate private attributes in public R.java
- Strip out @SystemApi from comment when generating @android.annotation.SystemApi
- Only emit a single line (up to the first period) of an attribute's comment within
  a styleable's attribute table.

Change-Id: Id6316a6861540325934133958939a12074ad4428
2016-04-07 16:26:14 -07:00
Diego Perez
d1acd13cb0 Merge "Fix NPE when runnin testActivity" into nyc-dev
am: 2155ad8

* commit '2155ad82042eb2f69b9c9d2a9ecf3884d265ad7b':
  Fix NPE when runnin testActivity

Change-Id: I5b0c4b2686ebee6814866edf0c9e30e12ea14d26
2016-04-07 19:06:38 +00:00
Diego Perez
2155ad8204 Merge "Fix NPE when runnin testActivity" into nyc-dev 2016-04-07 19:02:34 +00:00
Adam Lesinski
1f337234d0 Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev
am: f22df48

* commit 'f22df48067ec8f0a2c609c40ba842a0e5a0812b0':
  AAPT2: Enable windows build and make sure it builds

Change-Id: I4a576df3e8d90546bb9d510821bcf1fbc349bdca
2016-04-07 17:08:32 +00:00
Adam Lesinski
c02d20bdfe Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev
am: c399df7

* commit 'c399df7a683d831f55b5afdb6945ef86bfe0e181':
  AAPT: Dump uses-feature version in dump badging

Change-Id: I9fc30542458cd4a94ac6b00fb8dc943271961516
2016-04-07 17:08:30 +00:00
Adam Lesinski
f22df48067 Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev 2016-04-07 17:03:55 +00:00
Adam Lesinski
c399df7a68 Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev 2016-04-07 17:03:23 +00:00
Diego Perez
8cdf61a02e Fix NPE when runnin testActivity
Change-Id: I7ac81cb286b8d5593ae7f5fedb99bfd0fda791c5
2016-04-07 18:00:17 +01:00
Diego Perez
cdd194704b Merge "Fix rect shadow detection" into nyc-dev
am: 8d35506

* commit '8d35506e512cbbce09cedfe8e1d76653440ca3a5':
  Fix rect shadow detection

Change-Id: I499e845d9f28f094f15284f3450c2852a2046713
2016-04-07 16:34:41 +00:00
Diego Perez
8d35506e51 Merge "Fix rect shadow detection" into nyc-dev 2016-04-07 16:27:00 +00:00
Adam Lesinski
92a14b851f Merge "AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml" into nyc-dev
am: 450ae41

* commit '450ae41c54a39495c2e3421a73ebb38735880b58':
  AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml

Change-Id: Ic176a1179810ed6445825dff073c0cd55b478724
2016-04-07 00:50:38 +00:00
Adam Lesinski
c728c3daba AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml
Change-Id: I38c49a2a31e560dec963d44d94e067035fd59150
2016-04-06 17:40:25 -07:00
Adam Lesinski
694d0a7dfd AAPT: Dump uses-feature version in dump badging
Bug:27162500
Change-Id: I4f82cdd8ef1801c92d4ea6b4bb982c6e7d91edb5
2016-04-06 16:40:23 -07:00
Adam Lesinski
803c7c8079 AAPT2: Enable windows build and make sure it builds
Mingw32 4.8 is kind of picky with macros and some complicated template
stuff. Luckily there was another way to represent the
SFINAE code that works on all platforms. Yay!

Change-Id: Idc2e38f47bfdc57b394550bfa0f53cc0b825df25
2016-04-06 16:24:02 -07:00
Adam Lesinski
3815795263 Merge "AAPT2: Implement XmlActionExecutor to verify manifest" into nyc-dev
am: ae3622a

* commit 'ae3622a2f75c1082aec1240b365bf834e986379a':
  AAPT2: Implement XmlActionExecutor to verify manifest

Change-Id: I1f44b84672bc6a5908f4405b0202c85360b1e1a3
2016-04-06 20:51:35 +00:00
Adam Lesinski
ae3622a2f7 Merge "AAPT2: Implement XmlActionExecutor to verify manifest" into nyc-dev 2016-04-06 20:43:25 +00:00
Deepanshu Gupta
11bd8bd2e2 Merge "Add missing setAccessible to Choreographer\'s threadInstance" into nyc-dev
am: 5b758bf

* commit '5b758bf272e3e24c8822523c2a3c3f38ba6f8025':
  Add missing setAccessible to Choreographer's threadInstance

Change-Id: I276f1450023cb31b2c6cfd2e0033c4fd1db5a6fc
2016-04-06 19:36:02 +00:00
Deepanshu Gupta
5b758bf272 Merge "Add missing setAccessible to Choreographer's threadInstance" into nyc-dev 2016-04-06 19:32:02 +00:00
Deepanshu Gupta
42c8bd1b4a Add missing setAccessible to Choreographer's threadInstance
Change-Id: I753660cf68ba5a9c375942222e32059d952739bb
2016-04-06 12:29:55 -07:00
Deepanshu Gupta
bc468db47d Merge "Clear ThreadLocal storage from Choreographer" into nyc-dev
am: 39f1311b

* commit '39f1311b545f1f8732ee3a8b565018dcd0da7323':
  Clear ThreadLocal storage from Choreographer

Change-Id: I6245cf707bc5449df2d729af4f89923223aeae93
2016-04-06 19:15:11 +00:00
Deepanshu Gupta
39f1311b54 Merge "Clear ThreadLocal storage from Choreographer" into nyc-dev 2016-04-06 19:04:00 +00:00
Adam Lesinski
cc5609d8e4 AAPT2: Implement XmlActionExecutor to verify manifest
Defines a set of actions to perform on XML elements defined by their
hierarchy, eg: manifest -> application -> activity.

This can be used to easily add rules to check more tags in AndroidManifest.xml

Change-Id: I76c6916a98b6403075a7e56e16230979dc6cbee1
2016-04-06 11:37:05 -07:00
Deepanshu Gupta
61ccc9198a Clear ThreadLocal storage from Choreographer
Change-Id: I5abb5c68a635e7808b0a036ba4d9971cd0139aa3
2016-04-06 11:32:36 -07:00
Diego Perez
a4d7ad8663 Fix rect shadow detection
ViewGroup_Delegate was trying to use a rect shadow even in cases where
we needed to use a path. This caused that using a ToggleButton would
throw an exception with radius < 0.
Also, changed the tests so we can detect certain render errors and
ignore other (like known fidelity warnings).

Change-Id: I900d45f9efa892ad0aebc8f4ef73fc9f21ab9d92
2016-04-06 12:33:26 +01:00
Deepanshu Gupta
168f4185fa Merge "Add properties from textAppearance to property map" into nyc-dev
am: bad02b0

* commit 'bad02b0ec9fb977f588db405a878ade9535bf240':
  Add properties from textAppearance to property map

Change-Id: I9cdbaedb061cff1a31a2ba5ceb8e92624d22c33f
2016-04-06 00:07:22 +00:00