History log of /frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66098964e240e76e6136b4dec3f9cc6234012695 19-Nov-2015 Deepanshu Gupta <deepanshu@google.com> Revert "Revert "Update StaticLayout_Delegate to use new nLoadHyphenator""

This reverts commit 65a834980cdbb9407a3f27e48cd0a8c472182cd6.


The original revert was only for cherry-pick to release
branch.

Change-Id: Ib78f9a06ce49681c767f65b262058f18a670e38e
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
65a834980cdbb9407a3f27e48cd0a8c472182cd6 19-Nov-2015 Deepanshu Gupta <deepanshu@google.com> Revert "Update StaticLayout_Delegate to use new nLoadHyphenator"

This reverts commit 631c2ffd6ff1bfa7463d29a39a7ee74be019b3f9.

The revert is only for cherry-pick back to mnc-sdk-release.

Change-Id: I42cb392528b7890b58d689c732f90c3b9ba5f74c
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
631c2ffd6ff1bfa7463d29a39a7ee74be019b3f9 04-Nov-2015 Diego Perez <diegoperez@google.com> Update StaticLayout_Delegate to use new nLoadHyphenator

Small fix to update call parameters

Change-Id: I4322aa212493ec2970ae17ec1918b9b7e2f8e93a
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_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/text/StaticLayout_Delegate.java
719c9b93f1f1b0a42addceb99484879b4ba10d50 21-May-2015 Deepanshu Gupta <deepanshu@google.com> Fix line breaking.

Essentially moves line breaking measurement later in the process when
character widths have already been computed.

Change-Id: I17c5bc10d373d8906c5caf86604ce8504650cd7f
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
88b92541be0447f71430960811e95a5ae7eea415 14-May-2015 Deepanshu Gupta <deepanshu@google.com> Use Balanced line breaker instead of HighQuality.

Fallback to the Balanced line breaker till the time HighQuality one is
implemented.

Change-Id: I51e9882c5c733e5409f932ef740684829340ced9
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
d77b9ed7dcc42efca33b225c4594a30aab9e709c 12-May-2015 Deepanshu Gupta <deepanshu@google.com> Add missing delegates for M preview.

- Remove ICU dependency (use the version bundled with platform).
- Restructure intelliJ project to move dependencies to module.
- Minor fixes to layoutlib tests.

TODO:
- Load ICU data.
- Hyphenator doesn't work.
- High quality line breaker not present.

Change-Id: I965e096e17bfc97ee995a649c3f4f6f64bb4f70d
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
6386b8dae77dc264513e6da2e48a6abaa3eed8b2 23-Mar-2015 Diego Perez <diegoperez@google.com> More layoutlib delegate native methods to do text rendering.

Moving some more methods to measure the text and compute the line
breaks.
The missing methods were causing crashes when running layoutlib from
master.

Change-Id: I910e1509836186fcff5cdd40c1dc38466b44c434
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
fe12aa77743c4a4a98409418a6cbb0be11b8fee5 09-Mar-2015 Diego Perez <diegoperez@google.com> Add support for the new native Builder class on StaticLayout.

This patch updates StaticLayout_Delegate to support the new Builder
class introduced in ag/646289.

Change-Id: I9f8c528b8751ce69482e33ac6f1bc42406a0b606
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
b95475404e70f4f0c7a8d4a6a452439223ffe297 07-Jan-2015 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 20db8770 to master

Change-Id: Ifffcf8e2741ec242d940c3ba81244d4df57642fc
10bb1371dca38b5b59f083ee963f7987da6511f2 05-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Add preferences rendering.

NO_SQ: Depends on updating layoutlib-api-prebuilt.jar
Change-Id: Iae93ab74c478e6f2158e1528467bec9ee2d7ee9b
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
7053919a3a55ad1b58e6db701afda18850037732 16-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Add Optimized Line breaking to LayoutLib

Change-Id: I308a7d07d98ddd7747f16e06bcffcfd14d667534
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java
45aab0eb8f479b9967e7c3c43d0342412fb49b57 02-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Use ICU's line break algo.

Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
/frameworks/base/tools/layoutlib/bridge/src/android/text/StaticLayout_Delegate.java