Commit Graph

4376 Commits

Author SHA1 Message Date
Roozbeh Pournader
c23474b1c4 Merge "Add more emoji-related tests" into nyc-dev
am: 1169f65

* commit '1169f652348c8a919ea011c18e6d457f7a802a22':
  Add more emoji-related tests
2016-03-17 22:25:04 +00:00
Roozbeh Pournader
1169f65234 Merge "Add more emoji-related tests" into nyc-dev 2016-03-17 22:18:51 +00:00
Jeff Sharkey
5a128c4f33 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev
am: a0a58a2

* commit 'a0a58a2fd5cbc1bb8056227bb04f276b364c6e96':
  Refactoring FBE APIs based on council feedback.
2016-03-17 22:07:23 +00:00
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06:00
Sudheer Shanka
3430c45bcb Merge "Flush package restriction changes for a user." into nyc-dev
am: f9124ec

* commit 'f9124ecad9ec20f572df8cdca6f985ef3f97210d':
  Flush package restriction changes for a user.
2016-03-17 17:35:25 +00:00
Roozbeh Pournader
97b8b9a92a Merge "Add emoji-related tests for the font chain" into nyc-dev
am: 276b1bc

* commit '276b1bc2ba980942e02f3b20c100be73b82d23fe':
  Add emoji-related tests for the font chain
2016-03-17 17:35:20 +00:00
Roozbeh Pournader
7b822e5fc1 Add more emoji-related tests
1. Check that dual-use text/emoji character that default to text
style are available in a font before the emoji font. (Exceptions are
Unicode 7.0 characters that Noto Symbols doesn't support yet and four
odd characters that should be added to the Noto Symbols subset.)

2. Remove previous workaround for default emoji-style characters that
were in the Noto CJK fonts, since they are now subsetted out from
Noto CJK.

Bug: 26113320
Bug: 26187231
Change-Id: Ib9ea2f4f7e6ca0cd8d291f1dc3d7ee5053d4928e
2016-03-17 08:50:43 -07:00
Benjamin Franz
f9124ecad9 Merge "Flush package restriction changes for a user." into nyc-dev 2016-03-16 23:51:44 +00:00
Roozbeh Pournader
fa1facc0fd Add emoji-related tests for the font chain
1. Check that all emoji characters are supported in emoji fonts.

2. Check that no default-emoji characters are included in any font
that can get a higher score then the color emoji font, either by
being before it or by having a language/script assigned.

Bug: 26187231

Change-Id: Ic76bf59f1c6f9d2d290b1b64128d725ae08dcb5c
2016-03-16 13:57:22 -07:00
Sudheer Shanka
bbb3ff2b2a Flush package restriction changes for a user.
Change-Id: I7c4481f820b6b368487d00de6c783e64cec99f4b
2016-03-16 01:42:23 +00:00
Adrian Roos
8fa819399b Merge "Don\'t show wallpaper when backdrop is visible" into nyc-dev
am: 7400f82699

* commit '7400f82699c76618d5ca24d6528580afb4695dbf':
  Don't show wallpaper when backdrop is visible
2016-03-15 03:30:01 +00:00
Adrian Roos
7400f82699 Merge "Don't show wallpaper when backdrop is visible" into nyc-dev 2016-03-15 03:26:02 +00:00
Adrian Roos
d5c2db630f Don't show wallpaper when backdrop is visible
Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.

Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.

Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1
2016-03-14 18:55:41 -07:00
Diego Perez
ebd8510ad6 Merge "Do not deallocate on Bitmap.recycle" into nyc-dev
am: e5155dee85

* commit 'e5155dee85b6ea704e61fe39ba3bfea3e981880d':
  Do not deallocate on Bitmap.recycle
2016-03-14 16:44:36 +00:00
Diego Perez
adf62b3ebc Do not deallocate on Bitmap.recycle
Layoutlib only disposes the bitmap and doesn't recycle them. This causes
a double deallocation that triggers an assertion.
This change makes Bitmaps to be only freed when the finalizer is called.

Bug: http://b.android.com/203129
Change-Id: Ieabc1443544cfd2b4bf8ba9c8f9a4df8dd6e8220
2016-03-14 09:31:07 +00:00
Adam Lesinski
863968bb70 Merge "AAPT2: statically link protobuf library" into nyc-dev
am: 52db414176

* commit '52db41417629777733e1c8ede0528b2d6a5426ab':
  AAPT2: statically link protobuf library
2016-03-11 23:54:13 +00:00
Roozbeh Pournader
f7ab0c684e Merge "Add test script for sanity of font fallback chain" into nyc-dev
am: e3dedf9f44

* commit 'e3dedf9f4481f41ab0a818e7c88197859a281aba':
  Add test script for sanity of font fallback chain
2016-03-11 23:54:12 +00:00
Adam Lesinski
52db414176 Merge "AAPT2: statically link protobuf library" into nyc-dev 2016-03-11 21:33:34 +00:00
Roozbeh Pournader
e3dedf9f44 Merge "Add test script for sanity of font fallback chain" into nyc-dev 2016-03-11 20:36:01 +00:00
Jorim Jaggi
b1e14fc05e Merge "Add ability to swap docked/fullscreen stack" into nyc-dev
am: 95b69f8231

* commit '95b69f82316220bc40d227bf7208920eb6ed9283':
  Add ability to swap docked/fullscreen stack
2016-03-11 12:06:04 +00:00
Jorim Jaggi
95b69f8231 Merge "Add ability to swap docked/fullscreen stack" into nyc-dev 2016-03-11 12:02:38 +00:00
Adam Lesinski
979aa9e6df Merge "AAPT2: Add descriptions of Attributes in Styleables for R.java" into nyc-dev
am: 330c57dbd1

* commit '330c57dbd19a064d1f5a4adb3c8ed014711b473f':
  AAPT2: Add descriptions of Attributes in Styleables for R.java
2016-03-11 09:18:48 +00:00
Adam Lesinski
330c57dbd1 Merge "AAPT2: Add descriptions of Attributes in Styleables for R.java" into nyc-dev 2016-03-11 09:16:44 +00:00
Adam Lesinski
7656554f91 AAPT2: Add descriptions of Attributes in Styleables for R.java
Change-Id: I69e7b73cbdfe4baf502348397435c501ae29ff5e
2016-03-11 00:22:52 -08:00
Adam Lesinski
f4ab612684 AAPT2: statically link protobuf library
Change-Id: I0bce42dfef2f11181c6407839875c97f88445dbd
2016-03-11 07:20:49 +00:00
Roozbeh Pournader
0e969e2c0b Add test script for sanity of font fallback chain
Various tests have been added:

1. Availability of hyphens: Make sure that every font used for
rendering a language that is automatically hyphenated includes either
of Unicode hyphen characters U+2010 HYPHEN or U+002D HYPHEN-MINUS.

2. Range of values: Make sure that styles, weights, and styles belong
to certain limited sets.

Bug: 26187231
Bug: 21570828
Bug: 21815394
Change-Id: Ia63d63cc8da4f2d6bc81fe5619ccac6cfcd9a54e
2016-03-10 18:07:15 -08:00
Jorim Jaggi
d47e7e1176 Add ability to swap docked/fullscreen stack
Adds tap affordance that moves all tasks of the docked
stack into the fullscreen stack as well as moves the top task
of the fullscreen stack into the docked stack.

Also make sure not to trigger focus switch when tapping the divider
handle. For that, add a method so SysUI can specify the touchable
region which then gets excludes for the focus switch touch region.

Bug: 27358134
Change-Id: I34f39c53cacc0b9c00f87a792b88c3f64a5f61e1
2016-03-10 19:49:45 +01:00
Adam Lesinski
45527c3d17 Merge "AAPT2: Fix file::mkdirs when given absolute paths" into nyc-dev
am: d96ce2675f

* commit 'd96ce2675f6b7156bd63f7b328dc33741e186723':
  AAPT2: Fix file::mkdirs when given absolute paths
2016-03-10 00:45:22 +00:00
Adam Lesinski
96917c25f0 AAPT2: Fix file::mkdirs when given absolute paths
file::mkdirs would try to extract the first part of the
path '/path' which would be the empty string ''. Mkdir would
fail creating the empty string directory.

Change-Id: Ice8ba92135f145f52f3663499a2c49eebe797328
2016-03-09 13:23:12 -08:00
Siva Velusamy
48c7904a44 BridgeContext: Fix typo in attr name (toLeft -> toLeftOf) am: af0f3bda17
am: f1c6e0bd7b

* commit 'f1c6e0bd7bb2f7683207048978af4fb87ee3f7c1':
  BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
2016-03-08 14:01:04 +00:00
Siva Velusamy
f1c6e0bd7b BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
am: af0f3bda17

* commit 'af0f3bda17ee3de4ad3560c9a675527b20e2af5f':
  BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
2016-03-08 13:58:52 +00:00
Siva Velusamy
af0f3bda17 BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
Change-Id: I214ddf066bd69d56275477712419745cf781cee3
2016-03-08 13:52:02 +00:00
Diego Perez
b99f8aa7d0 Merge "Add missing references to VNativeObject" into nyc-dev
am: f84d7bfb81

* commit 'f84d7bfb81e1ee1b88555e97c67b48bb4b446939':
  Add missing references to VNativeObject
2016-03-07 22:20:36 +00:00
Diego Perez
39b205cc92 Add missing references to VNativeObject
Change-Id: I2db4ad94009c0daff4649da6f85e5c084f4c01ea
2016-03-07 22:12:01 +00:00
Deepanshu Gupta
0a89e933be Merge "Change BridgeResources to Resources_Delegate" into nyc-dev
am: 7ba6dc0fcc

* commit '7ba6dc0fcc66c96383aabd8db40adf1bac66ce7f':
  Change BridgeResources to Resources_Delegate
2016-03-07 21:49:58 +00:00
Diego Perez
61c3cc2647 Merge "Animated vector drawable support" into nyc-dev
am: 5b5b1c0c5d

* commit '5b5b1c0c5debd7a90c086f36cbafa688c857a673':
  Animated vector drawable support
2016-03-07 21:47:58 +00:00
Xavier Ducrohet
7ba6dc0fcc Merge "Change BridgeResources to Resources_Delegate" into nyc-dev 2016-03-07 20:28:14 +00:00
Xavier Ducrohet
5b5b1c0c5d Merge "Animated vector drawable support" into nyc-dev 2016-03-07 20:26:56 +00:00
Diego Perez
d1c05c50ba Add support for GradientColor in layoutlib
am: 566b303365

* commit '566b303365078fac9a454f1595add19e02631db3':
  Add support for GradientColor in layoutlib
2016-03-07 09:19:28 +00:00
Diego Perez
566b303365 Add support for GradientColor in layoutlib
Change-Id: Ia9a55a9e00d7ddb5263f3dbe46b5da8dde457526
2016-03-07 09:11:11 +00:00
Deepanshu Gupta
e05f1c4684 Change BridgeResources to Resources_Delegate
This is a very hacky fix to make layoutlib work with the latest support
lib. Inject a couple of fields in android.content.res.Resources to
allow using most of the earlier code as is.

Bug: 27403642
Bug: http://b.android.com/201934
Change-Id: Ia96a1b4642a1907a77d9ca7a2392f78809b92e38
2016-03-07 09:09:02 +00:00
Adam Lesinski
838917a010 Remove accidentally committed core dump file
am: c53244db5e

* commit 'c53244db5efb791d42b9b70c05ae8ed89b62c530':
  Remove accidentally committed core dump file
2016-03-05 07:46:55 +00:00
Adam Lesinski
c53244db5e Remove accidentally committed core dump file
Change-Id: I610abfbce62585c25e98b5c36ac9f496861e66e7
2016-03-04 22:30:32 -08:00
Adam Lesinski
27b3d553c6 Merge "AAPT2: Emit proper doclava comments in R.java" into nyc-dev
am: 5b37ef489a

* commit '5b37ef489a4090da3643041c8d0e6efa282ad8b6':
  AAPT2: Emit proper doclava comments in R.java
2016-03-05 05:44:02 +00:00
Adam Lesinski
3535da2076 Merge "AAPT2: Support --no-version-vectors" into nyc-dev
am: c7f8f45c69

* commit 'c7f8f45c69323228cc2ebf6a02028c0397f512ca':
  AAPT2: Support --no-version-vectors
2016-03-05 05:42:04 +00:00
Adam Lesinski
74605cd402 AAPT2: Emit proper doclava comments in R.java
Bug:25958912
Change-Id: I663f2eb5bd54e3c3288ce9bc186c928f0a014f93
2016-03-04 20:06:05 -08:00
Adam Lesinski
626a69f345 AAPT2: Support --no-version-vectors
Change-Id: I8029b2f9e2f7ab8e37a49565f95210f47a7be609
2016-03-04 17:02:42 -08:00
Adam Lesinski
739b9f7b0f Merge "AAPT2: Support building, linking, and merging static libraries" into nyc-dev
am: 8b030cce34

* commit '8b030cce347dbfc5c2f33d96daf1de7eeb219c76':
  AAPT2: Support building, linking, and merging static libraries
2016-03-04 23:51:32 +00:00
Adam Lesinski
8b030cce34 Merge "AAPT2: Support building, linking, and merging static libraries" into nyc-dev 2016-03-04 23:46:49 +00:00
Adam Lesinski
64587af817 AAPT2: Support building, linking, and merging static libraries
Android static libraries are like APKs but they contain much more debugging
and source information. We need to treat them differently in 3 ways:

1) When building a static library, we skip things like ID assignment and
   product/config stripping. Source information is emitted as well.
2) When building a static library and linking against another
   static library, we don't want to merge, we want to simply reference.
3) When building an app that uses static libraries, we want to merge
   the static library under the same package with or without mangling.

Bug:25958912
Change-Id: I425e032857936a3e83173c1edc2a6cdc6020b842
2016-03-04 14:39:01 -08:00