a0a51b6fb629c06c763b73cfe24c6c4d540d54eb |
|
12-Apr-2016 |
Diego Perez <diegoperez@google.com> |
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
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
7eeacc27e3466cffcdb617b852ea6ae99ac0ee4a |
|
23-Feb-2016 |
Diego Perez <diegoperez@google.com> |
Fix FontFamily nAddFontWeightStyle in nyc Change-Id: I156812384c758edbd6efa23fd18a0ce7b9b82993
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
3b6ea2e3a8545fb6e9a62079fa4fcdbe859b0d49 |
|
18-Feb-2016 |
Deepanshu Gupta <deepanshu@google.com> |
Entry -> Map.Entry. Fixes build break Change-Id: I72fe70d6f617c7753a278e134ac22d71125d8def
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
491523d52cd8368ef9a92e95fb3e9332bf86a996 |
|
07-Oct-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib fixes for N Moves LayoutLib to Java 8 - YAY! Fix delegates Change-Id: I098996e43e330e995d33f12df1c16355bbc02f0f
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
a87b07d7fafd59ae26073a80cd742b17ea427ecd |
|
06-Nov-2015 |
Ben Wagner <bungeman@google.com> |
Add support for gx font variation axes. This adds an 'axis' child element to the 'font' element. The 'axis' element has attributes 'tag' (a four byte identifier) and 'stylevalue' (a float value) to the parser. This also modifies reading the font file name in a backwards compatible fashion by using only the direct #text children of the 'font' element. (Both the Minikin and Skia parsers now allow the font file name on a separate line in the fonts.xml file). This information is then passed through to Skia in order to select the desired variation. The Skia parser already parses this way and has for some time, so Chrome and WebView can already read this format. Change-Id: I15623fe864fa92b2bf0705af5e389daedfb77e5c (cherry picked from commit b8e367fb7428076ff2e4aa2a97adaed1ef806e92)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
6dac0d4b7c55da32cb5deb9b589b1acb43cb536d |
|
24-Sep-2015 |
Diego Perez <diegoperez@google.com> |
Reduce the amount of allocations on Paint_Delegate When the text properties of the Paint object are updated, or when .set() is called, updateFontObject will be called. This method is currently at the top of the methods for number of allocations. This CL reduces the number of calls to updateFontObject by a 90%, reducing the number of Font allocations. Change-Id: I3e232f9e6e230da8ecdd19921faadf2d3f4ff763
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
476e582d2ffdf25102d4c55f8c242baa3d21d37f |
|
22-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Change nullity annotations. Switch from using tools nullity annotations (com.android.annotations) to android framework annotations (android.annotation). A new sdk-common prebuilt is required for LayoutLib tests. The new sdk-common requires an updated tools-common. The updated tools-common doesn't have nullity annotations. So, instead of adding the annotation dependency, just reuse the platform ones. This also paves the way to include other platform annotations like IdRes etc. Change-Id: I87b8f767d3681d914abe7d1329e26a87f49f50a7
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
d51834bdfad0cd3142ac464ab3a3b0db14f884c3 |
|
28-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add Asset management support for fonts. Change-Id: I10ca67dcffe244667d4ae0bda65dbc1aa6691d50
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
17a6170c62e6f74f2881623a9c16f0b6fea54721 |
|
21-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix AnalogClock rendering 1. Change calls to java.lang.System.log* since they don't exist on the host. 2. Clean up method rewrite mechanism in ReplaceMethodCallsAdapter. 3. Stub out creation of uninitialized GregorianCalendar. 4. Memory map the time zone data base file and provide a custom implementation of BufferIterator for use by ZoneInfoDB 5. Delete unused Time_Delegate Also fixed a comment in BridgeAssetManager and an error message in FontFamily_Delegate. Bug: http://b.android.com/79160 Change-Id: Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
b69ec7708b61535355d278ac0ea8f9a61540d1fb |
|
20-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Check Bridge init before disposing. In some cases ADT may dispose the Bridge even before init is called on it. This caused an NPE. Fixed this by checking for the initialization before disposing resources. Bug: http://b.android.com/77726 Change-Id: I741d6ea3595a3b7cb816abd0417f23aecca6370e
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
145bc2d067faa3fb49b71e9e8c8c70b40564061a |
|
28-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: support font weights. Also fixes a shader delegate method. Change-Id: I86be80ab55d04760084d5bf39235f2ee4de7be23
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
0e4be2540984235a0a7b84ea0466ef3c92d27b07 |
|
12-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Whitelist fonts instead of blacklist. A list of all fonts bundled with the SDK is generated. Load this file to know which fonts are missing from the SDK. Change-Id: I1554f1baec842ccdde3b21a93008437e9bac9353
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
e644ff8d92ba040d11636be0fb6c433b52bcc6c2 |
|
09-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Don't show warnings for fonts not bundled. The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType CFF fonts which don't work well with Java. These fonts are deliberately excluded from the SDK build. This change skips the warnings for the missing fonts. However, we still show warnings for other fonts that failed to load. If the set of fonts bundled with the SDK changes, we will need to update the list of missing fonts in FontFamily_Delegate.java. Change-Id: I3197b5350d048daa09512e8024188909179b1799
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
b0d767dcf17dd393646b8fc3e8c9f46dfe12e230 |
|
04-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Skip loading otf fonts on Java 6 Change-Id: I9668b84812e9be333d10603657dd911024fc292d
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
3c937cf5c730519e750cdee4d5fa61e2a593e33a |
|
01-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Typeface.createFromFile() Add support for Typeface.createFromFile() for platform fonts. The feature existed in the KitKat LayoutLib but was dropped for the L preview. This change adds it back. Change-Id: Ib1abe67a32c28a1fb0e2a4f3061c358b55129434
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
ad69aee5ed503d9592c10a0f6d1a5b617d99e6c5 |
|
31-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Font variants Update to support font variants properly. Change-Id: Iabe37babd9ddce80a9ba9eca7e0e5a0ffb090646
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
9113968f9570b0c8ada2dec34fa6cf893da7c022 |
|
23-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Fix FontFamily_Delegate use after unref FontFamily_Delegate was being reused after the nUnref call. The issue is fixed by storing the reference to the FontFamily_Delegate directly in the Typeface_Delegate rather than storing the native pointer. Change-Id: I0db724a83c4be3d7b64ccba0989cd64129f2a785
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|
baef8c1ffe5c900fb0da9512654bf249b5fc9269 |
|
20-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib fixes for L [DO NOT MERGE] This adds the new delegates that were missing. This starts the work on changes related to Minikin Fonts. There are some changes related to TypedArray that still need to be fixed. Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c (cherry picked from commit 7ca3612094270183243938e79337c84effea7ad0)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
|