1330f79f95fd14b53c393402fbcbf7b7bbdcbc60 |
|
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Replace java.util.LinkedHashMap.eldest() Provide an alternate implementation for the above method and replace the calls to it, since the method is not available on host VM. Change-Id: I329d86b457d1859b137da8fb2790ddd7f8efa788
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
86f96d07c7d531d69bab3d402d33eb8f15038eee |
|
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 0db2524c: am b2ebb968: Merge "Remove Time from CreateInfo" into lmp-dev * commit '0db2524caa01022629075a113d3370a1b7c3da30': Remove Time from CreateInfo
|
b88a65df73798becc57004b3fc55fdf8c0a83a13 |
|
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am cec8e5a1: am f861c0ce: Merge "Fix default initial value for preferences" into lmp-dev * commit 'cec8e5a10de413c733223b8b1cc11b70c6254647': Fix default initial value for preferences
|
2bd01ebfa99815d4fb6b4e77754146a22cf66d03 |
|
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 7ed14549: am 7081a114: Merge "Add preferences rendering." into lmp-dev * commit '7ed145493d3f5bea32c567980f77cc42f613197e': Add preferences rendering.
|
4022272a4f714a8d140c09804881ad338964f324 |
|
02-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Remove Time from CreateInfo Time_Delegate was removed in change with Change-Id: Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55. But the name wasn't removed from CreateInfo. This didn't cause any problems at runtime, but caused the layoutlib_create tests to fail. Change-Id: I079b1e024b97d389eb07d4f088fd860efbb02eb3
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
f5b02eb7c43a96d3f70a3ecc81738b0dff86df13 |
|
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for a0bc2e7e to lmp-mr1-dev The original change wasn't properly merged into lmp-mr1-dev because of merge conflicts. This change manually resolves the conflicts. The main reason for the conflict was that TimePickerSpinnerDelegate was swapped with TimePickerClockDelegate. This change also fixes the typo in the original change which was fixed in a subsequent change. Original commit: 12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a fix for typo: cb09bc45c58740af953874f9915306d351fc3d9d Change-Id: I50bf8c2d86318f632465a38adfad16d1382a9319
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
dfeffd4c0ae165a3f225b818ef8d6f5d1cb89a2c |
|
06-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix default initial value for preferences NO_SQ: Depends on unsubmitted changes. Change-Id: I061cf71f6167d382e9ef060abeb4d5cff83c4104
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
302a7cc13a02863ef2e9d9102df761e92150de65 |
|
04-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4628d51a: am 141c7614: Merge "Fix AnalogClock rendering" into lmp-dev * commit '4628d51a0d01641ca7fe2cf8403ad551ea6f50ce': Fix AnalogClock rendering
|
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/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a |
|
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Stub AM/PM keycodes in Time Picker. TimePickerSpinnerDelegate doesn't need to deal with input when running inside LayoutLib. So, we just return the keycodes as if it's running in English locale. Bug: http://b.android.com/79189 Change-Id: Ife0ae91a1e34a8dac379bc1dda1c1c8ed461c164
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
796e9b7f9910f2ba8133cdb6f137107585b2e5fa |
|
05-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add primitive shadows support to LayoutLib The shadows rendered are not the same as rendered by the framework. The main purpose of the shadows here is let the user know when shadows will be cast. Currently rectangular shadows are available in only two intensities. Any elevation below 10dp uses one shadow and any elevation over 10 dp uses the other. Also, even though the code for arbitrary shapes exist, it doesn't quite work yet. No shadows are visible when that code is run. Change-Id: Ie8235ffccf1d3809713f5d8f82afde434817d6b2
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
75bf1b1c6af0bc0d09b04292565915fab0e49a30 |
|
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Skip loading animations." into lmp-dev
|
0b42936d860238be9321f05cf70e934f81b94d72 |
|
28-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Skip loading animations. This is a temporary fix until Path.approximate() is supported. Bug: http://b.android.com/77865 Change-Id: I28739e58f51fabaaf1dcc1c9be61cd0b17e84eec
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
b6444c43094353065f083d1ae6e4617f098a8b2b |
|
28-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix multiple styles case in resource resolution. When multiple styles are applied to a theme, we only remembered the last one. This change fixes the issue. Change-Id: I46490e882edc3eabe522a641c83366234b5bb25d
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
908a4f9a4372a9627e821b5800936095b0f0b5b0 |
|
08-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4f133894: Exclude KXmlParser from LayoutLib. * commit '4f133894a6e98d8d30557ea42cec92cfb21fa5c9': Exclude KXmlParser from LayoutLib.
|
4f133894a6e98d8d30557ea42cec92cfb21fa5c9 |
|
08-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Exclude KXmlParser from LayoutLib. The class was incorrectly being included in the LayoutLib. Change-Id: I3c86662efa068019fe9165f2fc49a00d0a1b7f2d
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
11b14e3996d3602155d6a61afb286e5bc0941a1f |
|
02-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Use ICU's line break algo. [DO NOT MERGE] Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07 (cherry picked from commit 760f6394d0f65fbb5365186e8e068d53c506b653)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7b561be3a6fedebfce412cecd8c36d6686f6576c |
|
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs * commit '09c3c2edb2391d3ffed9a07ec360b9f75b9f7637': Fix SystemProperties in LayoutLib.
|
db94ea9ed03dbaa0ca075a433a986d7e414e8f8d |
|
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs * commit 'f970d2c201649843b8d51d094b865f16b15bc0bc': Fix SystemProperties in LayoutLib.
|
3a544a81b3d2d529b2995f4b5db2077760d440b5 |
|
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of a232a68d to jb-mr1.1-docs Change-Id: I1ea220e3e0a81880db68abab87beab56dc4a336c
|
a232a68d4ccf2960350adff6af99a52bde2b021d |
|
06-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of 5476cfee to jb-mr1-dev Change-Id: I5197271e6fdd36fed9ca9f9b7221d9a99141a4b4
|
505c675c3a536ac7c6ad264eb62542537532119c |
|
06-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix SystemProperties in LayoutLib. Not all System Properties were used via Build class. Also, properties like SDK_INT which called SystemProperties directly were not initialized properly. This change is essentially cherry picking of the relevant parts from the following commits: 984749bf75c9ce9d3401b8410ea7d6276544b6ee 167bc25bceea9280bbe4858db4cb8233f86ce325 Bug: http://b.android.com/73046 Change-Id: Ia0fb467ee6d5fdedda500d57d02be20006f115df
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
0c5cd96522bae516a43d79d9014e93bca4727785 |
|
02-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add SystemProperties native method implementations. Bug: http://b.android.com/73046 Change-Id: Ia695e7beb81f426509b646cfd929201f7e0a4ade
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
45aab0eb8f479b9967e7c3c43d0342412fb49b57 |
|
02-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Use ICU's line break algo. Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5cd9dde5a2a77c5095f985186d8f03147fd22870 |
|
15-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Locale.toLanguageTag on Java 6 Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
3c989eaa0af6e3c4427af4119cf4949b1f05dba2 |
|
25-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add VMRuntime_Delegate Framework now uses libart which moved the implementation of newUnpaddedArray() to native. This copies over the implementation of the method from libdvm to restore the old behaviour. Change-Id: Ic062aeb01f9ea52b6ed35517f742058d0ba8c804
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
130d2353edda445b8e36a6b5e4b176fd748035b0 |
|
20-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib fixes for L 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
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
6376c407d433c91174e4cef735ddb0014461a906 |
|
15-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Update delegates for L Update delegate method signatures for L. Change-Id: Ie607293bcae60b2d3a61d1cad3ac5f04bda2a238
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
425645c738f200b44d0c9344ec286562a841d155 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 567f948b: am 872a5a1a: am 01fefec9: am 5fc8f945: am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev * commit '567f948b60e9a647610454745b0629c136d492db': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
5fc8f945ee6a763b08e47019319432ec71ba1d1a |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev * commit 'b0f2ded5e9e84fb51ec5b2cb6b419b040b008276': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
9ddb073bf72d9ca587ecc626dcc9721dd33447c9 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev * commit 'c70ce72a986f029c9f8c43b4060001624176068d': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
cc9e359699e9464ac8a8d6bbd4f12c23a0009d3c |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 5280c911: am 0df5ae65: am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE] * commit '5280c911d81a7db5ec8854850bef60d8b0951358': Add view cookies for action bar menus. [DO NOT MERGE]
|
5280c911d81a7db5ec8854850bef60d8b0951358 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 0df5ae65: am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE] * commit '0df5ae65a91174c99d1af633b45b3a1a7861cd1c': Add view cookies for action bar menus. [DO NOT MERGE]
|
a43aaf00b583e8a88681cdcc6ebe1ae2c52f6f20 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev Change-Id: I4ab1b0a71b99692458efc3a67c8a8da3690afb7b
|
0f26b5102574f0a989023485f4d63a9ac50107d2 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 9053261a: am 052e0c58: am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE] * commit '9053261a5413f401168d25fa4a9749723b232949': Fix theme/style resolution in Layoutlib [DO NOT MERGE]
|
8a4f39351f5784c81501462fc84d6fe199bdedca |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 48bf7b49: am 69b3115e: am e183855c: Add methods for Time_Delegate [DO NOT MERGE] * commit '48bf7b49bb361a4084e5fb4c6d0ae497a606c700': Add methods for Time_Delegate [DO NOT MERGE]
|
5f61e9b4ef31274f64965cf676757c84b368a2f1 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am ed98abec: am 8a70bcef: resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp * commit 'ed98abecad359ab1765ac1f698c8ba06dbd00745': Remove references to non-std Java classes. [DO NOT MERGE]
|
9053261a5413f401168d25fa4a9749723b232949 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 052e0c58: am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE] * commit '052e0c589e5cf714ca71bc8d7b3ce8b3f6c4cb96': Fix theme/style resolution in Layoutlib [DO NOT MERGE]
|
48bf7b49bb361a4084e5fb4c6d0ae497a606c700 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 69b3115e: am e183855c: Add methods for Time_Delegate [DO NOT MERGE] * commit '69b3115e1c02f2b22165b93bd9bcc5c90ec69b12': Add methods for Time_Delegate [DO NOT MERGE]
|
ed98abecad359ab1765ac1f698c8ba06dbd00745 |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 8a70bcef: resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp * commit '8a70bcef5a724906e3c35c58cb2266ee9c9e1b78': Remove references to non-std Java classes. [DO NOT MERGE]
|
9c00e6739c3d0a11a714a0f654b893531b0f1c5d |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 2fb139e0: resolved conflicts for merge of 9f2f5e77 to jb-mr1-dev * commit '2fb139e02c1e9d2d7c92acf813445a063e73d94f': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
2fb139e02c1e9d2d7c92acf813445a063e73d94f |
|
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of 9f2f5e77 to jb-mr1-dev Change-Id: Id8cb5e2e9d0c41bdaf767563ebd6e3951ae68a3c
|
0f209967bfc4a6f1eec46cc34a39cfe8af9f8af9 |
|
18-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add view cookies for action bar menus. [DO NOT MERGE] The change adds the view cookies for the menus rendered in the action bar. This enables the IDE to map the menu to the relevant XML Tag in the menu xml and show the highlighting accordingly. The change also contains a bugfix where a method wasn't renamed properly. Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca (cherry-picked from commit 094fd8ecb6f4b666be6c9e7332679bce28fdc3ca)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
770e40f839f059e1e3a15a2b14157c7cbb3b0553 |
|
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib [DO NOT MERGE] Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d (cherry picked from commit 76dccb7f436565136ff5e15b1ca57530940f5642)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
e183855c1eb7baf750c67bb20e70fb887eba7af6 |
|
01-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add methods for Time_Delegate [DO NOT MERGE] Bug: http://b.android.com/65359 Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923 (cherry-picked from 02cde9ceeb4c052ee273a5d809816dfd355ebb56)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5a7b3b65b691edbdb855eb6154b8b30f5700acbb |
|
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Remove references to non-std Java classes. [DO NOT MERGE] Do not add the non-standard Java classes. Updates the references to all non-standard classes to new classes in com.android.tools.layoulib.create package. This also treats java.lang.AutoCloseable which is part of Java 7 similarly so that we can still run on Java 6. This also adapts the cherrypick for this branch by updating references to the non-standard Java classes present in this branch. This also includes the following change that includes some changes that the original cherrypick missed. Change-Id: I76c87c74ee088778b37d1a7a7d531e0fde5c758f commit: 1ed75bde09275c9f2bd1f81830e381ea864ac7f5 Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589 (cherry picked from 80c668f2a076e91d887dbf77776cd503ff88b0b4)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
2d82586b96593b1b3b5280d77d5ae9a09df9d1fd |
|
15-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Fix CalendarView to show the right labels. [DO NOT MERGE] Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9 (cherry picked from commit 44bcd64e5b9fd211dd56b0598693a0559f65dc1a)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
094fd8ecb6f4b666be6c9e7332679bce28fdc3ca |
|
18-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add view cookies for action bar menus. [DO NOT MERGE] The change adds the view cookies for the menus rendered in the action bar. This enables the IDE to map the menu to the relevant XML Tag in the menu xml and show the highlighting accordingly. The change also contains a bugfix where a method wasn't renamed properly. Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca (cherry-picked from commit 7704837947455909f295b088a3d15a20e107dbd7)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7704837947455909f295b088a3d15a20e107dbd7 |
|
18-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add view cookies for action bar menus. [DO NOT MERGE] The change adds the view cookies for the menus rendered in the action bar. This enables the IDE to map the menu to the relevant XML Tag in the menu xml and show the highlighting accordingly. The change also contains a bugfix where a method wasn't renamed properly. Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca (cherry-picked from commit 5ba2f230faa355eb9bc1e90f6c48eeeb437f390c)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
76dccb7f436565136ff5e15b1ca57530940f5642 |
|
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib [DO NOT MERGE] Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d (cherry picked from commit 3c00b28bf60ab01b449e16df045238f4bae4d700)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
1ed75bde09275c9f2bd1f81830e381ea864ac7f5 |
|
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Remove references to non-std Java classes. [DO NOT MERGE] This change adds a substitute for the Charsets class in java namespace. The original cherry pick of the change had dropped this substitute. But the substitute is required for bug b.android.com/59732 The original cherry-pick is 6335590aa8997944cc7fb358a315dbb9b789f87f and the original change is 81f74f4bc96ea4266cebe1b785d095558f540800 The original Change-Id is Iac5b272652e2780c9bb72d19f415d150948ca589 Change-Id: I76c87c74ee088778b37d1a7a7d531e0fde5c758f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
02cde9ceeb4c052ee273a5d809816dfd355ebb56 |
|
01-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add methods for Time_Delegate [DO NOT MERGE] Bug: http://b.android.com/65359 Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923 (cherry-picked from ddb7f3273c3c00e6520794dcaabdaad20fd98e26)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
80c668f2a076e91d887dbf77776cd503ff88b0b4 |
|
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Remove references to non-std Java classes. [DO NOT MERGE] Do not add the non-standard Java classes. Updates the references to all non-standard classes to new classes in com.android.tools.layoulib.create package. This also treats java.lang.AutoCloseable which is part of Java 7 similarly so that we can still run on Java 6. This also adapts the cherrypick for this branch by updating references to the non-standard Java classes present in this branch. Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589 (cherry picked from 0b7d80765c21dbd9294a0245f92a655fdd61514e)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
44bcd64e5b9fd211dd56b0598693a0559f65dc1a |
|
15-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Fix CalendarView to show the right labels. [DO NOT MERGE] Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9 (cherry picked from commit 083e3caf66c21f7cc9511db479726c38d90e2d2f)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
3c00b28bf60ab01b449e16df045238f4bae4d700 |
|
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib [DO NOT MERGE] Cherry picked from klp-dev from Change-Id: If1e7187645f0b0388f7b97d742395efd228b347a which was cherrypicked from master with the following Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d (cherry picked from commit f1e7187645f0b0388f7b97d742395efd228b347a)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
d4f0073f4805cd1036218f243d9b7c7c5bb90e41 |
|
18-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Remove references to java package class Objects. [DO NOT MERGE] Remove references to Java 7 class java.util.Objects and replace it with a new class that can be loaded on Java 6. Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704 (cherry-picked from commit 45f5cd49fa898a59484edfd8e291dbe10df82db2)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7d3ae4f17d93125f8c45e17d3a6a22d5ab23b624 |
|
24-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Bug fix in layoutlib Renaming a method wasn't completed properly. The bug was introduced in the following change: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca (1001961f904bac5294aaf73a47c2497aa764bf7f) Change-Id: I698437b428d696c656e2268ded654a612a3e0c80
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5ba2f230faa355eb9bc1e90f6c48eeeb437f390c |
|
18-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add view cookies for action bar menus. [DO NOT MERGE] The change adds the view cookies for the menus rendered in the action bar. This enables the IDE to map the menu to the relevant XML Tag in the menu xml and show the highlighting accordingly. The change also contains a bugfix where a method wasn't renamed properly. Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca (cherry-picked from commit 1001961f904bac5294aaf73a47c2497aa764bf7f)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
1001961f904bac5294aaf73a47c2497aa764bf7f |
|
18-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add view cookies for action bar menus. The change adds the view cookies for the menus rendered in the action bar. This enables the IDE to map the menu to the relevant XML Tag in the menu xml and show the highlighting accordingly. Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
f1e7187645f0b0388f7b97d742395efd228b347a |
|
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib [DO NOT MERGE] Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d (cherry picked from commit bfec73c2db5a34ced248213edf5519c80727a65f) Conflicts: core/java/android/content/res/Resources.java tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
bfec73c2db5a34ced248213edf5519c80727a65f |
|
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
ddb7f3273c3c00e6520794dcaabdaad20fd98e26 |
|
01-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add methods for Time_Delegate [DO NOT MERGE] Bug: http://b.android.com/65359 Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923 (cherry-picked from eb3c5459eb893061779b102236a81069efdbef73)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
857ba4af8519479298a671461cd6f5cace35b99b |
|
15-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix layoutlib by avoiding Java7 calls This change also fixes a NPE in TypedArray caused by changes in the framework. Change-Id: Ie64237c567fa16c35c807db22ce9a4b609ee411d
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
eb3c5459eb893061779b102236a81069efdbef73 |
|
01-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add methods for Time_Delegate Bug: http://b.android.com/65359 Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
45f5cd49fa898a59484edfd8e291dbe10df82db2 |
|
18-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib Create: Remove references to java package class Objects. Remove references to Java 7 class java.util.Objects and replace it with a new class that can be loaded on Java 6. Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
272d1bce798a5fef42cc2ee31f629d00c89f66eb |
|
17-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
083e3caf66c21f7cc9511db479726c38d90e2d2f |
|
15-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Fix CalendarView to show the right month and year label. Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
1cf5df38f4bdafa1beb2674ca548ad6d9650766b |
|
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib Create: Remove references to non-std Java classes. Do not add the non-standard Java classes. Updates the references to all non-standard classes to new classes in com.android.tools.layoulib.create package. This also treats java.lang.AutoCloseable which is part of Java 7 similarly so that we can still run on Java 6. Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
47a021f7649799187e2d30d4d43e2363fd8f6bd3 |
|
12-Feb-2013 |
Xavier Ducrohet <xav@android.com> |
Fix DateFormat for layoutlib. Change-Id: I389c9d106b93b9f81dd3614398a5b66ba2b39a70
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
6dfd0b39a63559999a769f93d5cdb48abe675344 |
|
15-Oct-2012 |
Xavier Ducrohet <xav@android.com> |
Fix SDK layout rendering in Eclipse. Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
54a18ef7ad9da65a95f4d383952ae6268f8a4f34 |
|
10-Jul-2012 |
Xavier Ducrohet <xav@android.com> |
Replace LruCache implementation for layoutlib. do not merge. The android version depends on a custom version of LinkedHashMap which is not present on desktop VMs. This new implementation is done in a way that minimizes the difference between the two. Also some minor fixes. (cherry picked from commit 01b6c755dbcf24e71192dc44757e2eea2a426091) Change-Id: Idc7bca820e472e281a3024a5b610fd55606cf428
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
01b6c755dbcf24e71192dc44757e2eea2a426091 |
|
10-Jul-2012 |
Xavier Ducrohet <xav@android.com> |
Replace LruCache implementation for layoutlib. The android version depends on a custom version of LinkedHashMap which is not present on desktop VMs. This new implementation is done in a way that minimizes the difference between the two. Also some minor fixes. Change-Id: Ib27b0419f9d0e6ba4d4abb26b2ccd968af59eba8
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
22f700a1b8fb9d2ac7b261e30a46a040928c23bc |
|
24-Mar-2012 |
Xavier Ducrohet <xav@android.com> |
Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse. Also fix some new/removed method from BitmapFactory. Change-Id: I606bd8bee6ff1e2c6c9472b4672175bfdaff45de
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
a421f6c0ba8c354e2a81830e6402654bbf732780 |
|
22-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Fix sdk layout rendering in JB. Since JB, com.android.internal.R does not contain all the resources, instead only the ones that are accessed through Java. This means we need to dynamically generate IDs for resources that are private and only accessed from other XML resources. This is done through the DynamicIdMap class. Also add a PolicyManager and a PowerManager since those are now needed by ViewRootImpl?!? Change-Id: If2ae8ad79502fa084d852664a44aefd46e01aec6
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
46d43ccfd8cef75b4315828073c094cf1efb05ff |
|
03-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make Layoutlib compile on Java 6. Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
f1dee199a009fec5e3a5d1469f654098261f8b06 |
|
01-Oct-2011 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: add support for ITextServicesManager. This include a fix in layoutlib_create to properly handle delegating a static method of an inner class (was broken and only worked on non static method). Added a few comments here and there to *_Accessor classes so that it's a bit more obvious what they are for and how they are used. Change-Id: Ifc31dd1a006393bb0c08e22b6a17f500dd62e090
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7f9f99ea11051614a7727dfb9f9578b518e76e3c |
|
11-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Make some methods/fields package private so that layoutlib can access them. Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
ea670054d6c5b59b8481cbf796e6a1cd9f38b672 |
|
09-Aug-2011 |
Philip Milne <pmilne@google.com> |
Implement native println_native in android.util.Log for LayoutLib Change-Id: I2ab83a131468490cf789bf17f9c12b6360e953a4
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
af64556de0064eeb5a4d4e6d634c3f074f5f40ce |
|
20-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: misc fix + start of AndroidBidi support. Change-Id: If2ce0b683da8cce01679322d503eed8dd474e521
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
96131eef3869f2be1300e1620f5c3874b41bb534 |
|
12-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: updated fake accessbility manager and ensure there's an InputMethodManager We had replaced the accessibility Manager but it lacked some new API. Obvisouly this is fragile and should be fixed, but this works for now. After fixing this there was another issue with the lack of InputMethodManager. To fix this I had to create an implementation of IInputMethodManager which normally comes from a binder object. I may want to do a similar trick with the accessibility manager later. Change-Id: I28c6494e333f39072f348d0199124efac93256a5
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
0a49635b171f3ba366b1a7ebf28791c4661829bd |
|
12-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Delegate for Display and IWindowManager implementation. This allows ViewConfiguration to be properly implemented which is now required for the rendering to happen. Change-Id: I55629689fa8f5f874b43fcac2aa0789ce02d58f4
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
f9705ef6d3f1502991dd312bfdbfb93cb07fe672 |
|
23-Jun-2011 |
Raphael Moll <ralf@android.com> |
am 2b5f2d01: am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods." * commit '2b5f2d01558ba338042f486c754f63873c4061fe': Laoutlib_creator: keep original of delegate methods.
|
2b5f2d01558ba338042f486c754f63873c4061fe |
|
23-Jun-2011 |
Raphael Moll <ralf@android.com> |
am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods." * commit 'e2b41b0d5c8db85a60cd190c7094052db61114b2': Laoutlib_creator: keep original of delegate methods.
|
865c3bef54228a353fd449a093b0c8d155618296 |
|
18-Jun-2011 |
Raphael Moll <ralf@android.com> |
Laoutlib_creator: keep original of delegate methods. For specific methods, Layoublib_create can rewrite the implementation of a method to invoke a delegate instead of the original code. This allows layoutlib to implement native code or override existing behavior. This patch also 'saves' the original implementation of a rewritten method so that the delegate can access the original implementation as needed. Obviously this is only done for non-native methods. Given a non-native SomeClass.MethodName, we generate 2 methods: - A copy of the original method named "SomeClass.MethodName_original". The content is the original method as-is from the reader. - A brand new implementation of SomeClass.MethodName which calls to a non-existing method named "SomeClass_delegate.MethodName". The implementation of this 'delegate' method is done in layoutlib_brigde. Change-Id: I5ca2cd3ac55991a8e8a51c417e75ee447bf9e9e6
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
fb93ce9684120a36862b5b5e67b1865a652907e9 |
|
04-Jun-2011 |
Xavier Ducrohet <xav@android.com> |
Import the Layoutlib from hc-mr1. This is squash commit of all the missing patches. Change-Id: Ie081c46a173290646deddbde503a720d50c4400f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
156a211b21fbaeb6391162a056390b9cd8748fae |
|
04-Jun-2011 |
Xavier Ducrohet <xav@android.com> |
Cherrypick d1ed33c4 from hc-mr1. do not merge. Fix zombie threads in the Layoutlib. Some widgets can create (indirectly) HandlerThread which are started but never stopped. This patch use the delegate methods to override the thread run method to record which threads are started to be able to call quit() on them after a render. Note that we should really fix layoutlib_create to be able to call the default implementation from a delegate to remove code duplication. Change-Id: Iaf5432623e9704bb3114a8e0583c8553282c205e
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4c1e73b69a13a4f24a8fc123f599a9e9d8505525 |
|
20-May-2011 |
Xavier Ducrohet <xav@android.com> |
Merge e57aa434 from honeycomb-mr1. do not merge. LayoutLib: Fix issue where <include> with no layout params wouldn't display. The issue is that the layout params from the root element of the included layout should be used but this failed because loading the layout params from the <include> tag didn't throw a RuntimeException in our modified code (BridgeTypedArray). Because we don't want to throw exception in general we only throw it when reading the layout params of an include node which is pretty crappy, but works for now. Change-Id: I83ccf956e8b476f34dfc9a70aebae2288d53746e
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
031d2f8b6db5bf7b249ae1c9a72915bf2d3a8d7b |
|
08-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Adapt the HC layoutlib to GB. do not merge. Change-Id: I0b2016987a65fabbc0ce7011514543349e9fb929
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4b52ec49fee79b0488d6a9eaaa4ea5d74ce90905 |
|
08-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Original import of Honeycomb's layoutlib. do not merge. frameworks/base.git @ f0a53435f14d23d9555fc46014352ee6a7baa647 Change-Id: Ibc215751693dc7650683b61bb458f7c8beaf8060
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 |
|
06-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: improved rendering for system/title/action bars. Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
779c906592b67867fee83a6527d474c333a701ff |
|
05-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Replace custom BitmapFactory by a simpler delegate Change-Id: Ie61a0a5b4426e64bb71a22d76d05efa4c0865e5e
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
345f866bfd09476fd62aa10345a0670cc110b63c |
|
02-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
Make TimePicker/DatePicker/CalendarView render in Eclipse. Change-Id: Id5313a6f0f53bf45f6eaabc0e10fcf0660eeac08
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7d7016e72431ad7ee595d857a19231c69efeb6de |
|
26-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: return ViewInfo for all merged items + Build init. android.os.Build is now initialized from the build properties parsed from the SDK build.prop file. Change-Id: If16953215ca90fb0beacb51bf405b89a5c8a34fa
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
82b9232565bfececdb643a94cecdd1bd1cb5c643 |
|
24-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Use special view cookie for include-merge case. All items directly under the <merge> tag now return the view cookie of the referencing <include> tag using a special class for easy differentiation in the calling client. Change-Id: I7a2a4e642be9564f47e256fd1586012497d34792
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
0de16070935adb8656d646b8c69a362652db7443 |
|
11-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: fix XmlUtils.convertValueToInt It looks like the device implementation of Integer.parseInt is able to handle converting hexa value > 80000000 while the desktop VM cannot. This patch provide a fix for this. While implementing it and running the TestDegates test I realized that some delegate methods for Region were mising, so this adds them too. Change-Id: Ifee1efd47c8c52adc2f4658ec4fc8bd55adb84b4
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
b44b43b1579486ff7ecd0f7528f17711acdeae98 |
|
23-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Support Region through delegates. also finish supporting some clip operation on the canvas. Change-Id: I743b9e52a7aa6e9340506f1c904cc1cfbf3ff81f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
d43909c7503e11eb335a452d296a10804bb01fd6 |
|
23-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: add support for unsupported drawing modifiers. DrawFilter, Rasterizer, ColorFilter and MaskFilter are not supported but we need to provide their JNI counterparts anyway, to at least display warnings when they are used. Also improved the API to query Paint for Shaders and PathEffects, and clean up some code by moving asserts into the DelegateManager. Change-Id: I8942514565d28576d5608c6373bda25d86d42ff2
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
d348b6eaa98e23cb38d90906df109aaa2d20ea7f |
|
20-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: support for Path and BitmapShader using delegates. Also created delegates for all missing shader, xfermode and patheffect classes. Moved the logic of the xfermode, and patheffects that was in Canvas_Delegate into the xfermode/patheffect classes, and added support (in all 3 clases) for knowing if the shader/xfermode/patheffect is actually supported or not. Make use of fidelityWarning in LayoutLog if they are not.
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
8d74c978bbf3da4095ef8e40c005a6fdf0637071 |
|
07-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: explicitely override PropertyValuesHolder native code. Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
2eea6fab1cbb0a5c8f913491c2d622c904759893 |
|
24-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: Animation support. New locking mechanims to prevent concurrent renderings. There's now a thread specific prepareThread() method (only prepares the looper) and its associated cleanupThread(). For the rendering itself, acquire must be called before doing any type of Android specific work on the scene (inflate or rendering) After instantiation, init() must be called, which also acts as acquire. Added a lot of checks to make sure method aren't called without acquire or if scenes try to be rendered while acquire was called from the same thread but on another scene. Animation implementation: - Handler delegate to use our own queue (since the animation runs through handler messages). This uses a callback to process the message. This callback is per-thread and only used in animation threads. - SystemClock delegate to provide clock implementation. - AnimationThread to handle playing the animation and calling back to the animation listener. Change-Id: Ia39aba7ed476759df1da3200e413fe3e92590d15
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
2d56b273ef6e2984a4e8914fb67772b173d0a154 |
|
23-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: use default nine patch classes. Move away from using our own implementation of NinePatchDrawable. Now use native delegate for a few methods of NinePatch. The byte[] used to describe the 9-patch chunk is entirely controlled by the delegate. Therefore, while the default version (JNI) use the array as a representation of a C struct, this version uses the array as a serialized version of NinePatchChunk. A cache mechanism using SoftReferences allows us to not deserialize the array every time rendering needs to access the chunk itself. The Bridge-level cache mechanism for bitmaps and nine-patches as changed. Since the new nine-patches doesn't hold the bitmap data anymore (it's stored in a normal Android bitmap which is cached itself through the cache), then the nine-patch cache has been changed to only contain the nine patch chunk. Also initialize the canvas with the display metrics to prepare for correct scaling when density of the assets don't match the target density. Still to come: actual density support in the 9-patch drawing code. Change-Id: Ibefcccf4432e1986e8436e0c41a0107741593536
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
071dee288ca726c7c15754c2559403b9cbf950bd |
|
11-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Misc fix in layoutlib bridge + View.isIneditMode as delegate. Change-Id: Ideab29167e933203da99d4270cebcb777726201f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
7f7752439543db6e13c599bdd10cb10254c24528 |
|
05-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: Load fragments This change does the following: - Make the bridge context extend Activity instead of Context so that it can act as a view factory. This is needed because the Activity is used as factory for Fragment objects. - Override the default Fragment.instantiate(...) method through a delegate. This is done to load the Fragment classes located in the project (similar to custom views). Change-Id: If62e7c9ff2b7585677077ad825aa1c3591d1b5e0
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
9c05b3972872d83c60bf5afe1a05f08c7753cd9a |
|
04-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: FloatMath. While the difference is pretty minor since it's a small class, the point is that the unit test will ensure that we detect new methods added to FloatMath more easily. Change-Id: Ia8bfee231cc4ae0cfeb18692be86d02649c187d5
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4b606da91d2d76dd90a427cb3e37ea7df655e8e0 |
|
04-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: path effects and xfermode. Change-Id: Iafaac6dbaf452e2dba3e77c801089dad33ac4ea9
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
251d2e99245095369b52d891a660b2ed270f02e0 |
|
02-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: primitive shapes and shaders Change-Id: Id2b0c6231589e82d8e96c9f019042eba348a6583
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
9f63ff263b0a97f0fa63e97136c18f6abccbfc68 |
|
28-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib Canvas and Paint implementation through native delegates Also fix native delegate generation to put "this" parameter even for methods that don't have any parameters. Change-Id: I5dd0c505871370ff7b4cda16de84a5b3ae438f73
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5de11a18e9151e6bc9b3e81cf31fc43dc63dffbf |
|
30-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Implement the layoutlib Bitmap through a native delegate. This does not implement all the native methods of the android.graphics.Bitmap class, only what's needed to draw an ImageView object. The rest will be implemented after Canvas and Paint have been moved to the native delegate. Change-Id: Ia0c3b2cafa03871c298deaef5817a25ac1c35521
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5e7ed8da0d990cbc55071d16b5db270231ff0c89 |
|
28-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Move layoutlib typeface implementation to delegate. Also move BridgeContentProvider to its own class to make it less messy in BridgeContentResolver. Change-Id: Id3462218b500d43d4c9b20b25326ad24e4106fa5
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4f291d33e14e62b3301acc056a82fe206c74835f |
|
22-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Reimplement the native matrix method using the new delegate way. Instead of renaming the old Matrix class into _Original_Matrix and have layoutlib provide a full new implementation of Matrix, we keep the old one by only modifying it to implement the native methods which calls out to a new Matrix_Delegate class. The goal is to not have to maintain the java portion in sync between the framework and the layoutlib version. Change-Id: I3e1aefffbae45e91b75331c0c6ff2260323deacd
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
bc101806249eb883f89c4a770a8c27f9ac315837 |
|
27-Sep-2010 |
Raphael <raphael@google.com> |
layoutlib_create: Generate delegate to implement native methods. - Some new parameters are added to CreateInfo with the list of methods or classes to override with delegates. - DelegateClassAdapter and DelegateMethodAdapter do the work... see javadoc. Change-Id: I0657cd929837181d81c65db7051d8ccbdc59c741
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
36ab1284d8e89486cadbd55320ca965e96d65f44 |
|
15-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: Add dash support to stroke. Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
ae4bd059caa71aa4652c0f07fde7c2687169906e |
|
14-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: Reimplement parts of BitmapFactory The original bitmap factory is mostly done in native and deals with the normal android Bitmap class which has been replaced in the layoutlib by a bitmap that is merely a wrapper around an AWT BufferedImage. This new BitmapFactory creates the layoutlib version of Bitmap all in Java. Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|
ac7391de5f32cf051678886f0d393fe0431dc6d1 |
|
05-Oct-2009 |
Xavier Ducrohet <xav@android.com> |
Refactor class/method names used by layoutlib_create. Information about classes and methods that are replaced, renamed, removed into CreateInfo, so that it can be used by the tests. Change-Id: I8874a40503249416621aa90b2ca02dcaf30ecd57
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
|