b556decf75b2b084e1aed54ac7fa23a141eedb7f |
07-Aug-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Switch SimpleDateFormat to icu. Use ICU's implementation of SimpleDateFormat in LayoutLib. The format patterns used are not supported by java.text.SimpleDateFormat. The change required adding a mechanism for promoting visibility of fields in the framework in the create tool. TODO: Add additional tests in the create tool for this new functionality. Change-Id: Id0f4be41f9731c42a28919c32cc5ef271a656982
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/PromoteFieldClassAdapter.java
|
82c7fdb1f6346862de373c95c618e370f81d8df6 |
05-Aug-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Replace Locale.getDefault with custom impl. In LayoutLib the default locale should always be the locale set the rendering params. This change replaces all calls to Locale.getDefault in the framework with calls to AndroidLocale.getDefault() which tries to find the locale from the current context, but falls back to the original call. Change-Id: I496b35dcfc17fd61fedee21c7495541ab870b1fc
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
214466c777e11eb7c8ab569b8fd7d2c38357003a |
29-Jul-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Include EpicenterTranslateClipReveal in LayoutLib Needed by Spinner to create transitions that are then ignored :) Change-Id: Ibe7167a643ecb186e97c9af446c0e1d2eb2d6f86
om/android/tools/layoutlib/create/Main.java
|
c71450114131c59bb3a8d65968faae4995cd2345 |
07-Jul-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Revert "Replace infinite loop with foreach." This reverts commit c77f9c76e4142db8dd76a28ad99b8f0395b82eba. Class.getDeclaredClasses() doesn't return anonymous inner class and hence the change was wrong. The revert doesn't undo the typo fixed in the original change. Change-Id: Id0595c4bc3db1185dd1ce39808a6b8c3610a1e11
om/android/tools/layoutlib/create/AsmGenerator.java
|
c77f9c76e4142db8dd76a28ad99b8f0395b82eba |
30-Jun-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Replace infinite loop with foreach. A method call exists to find all inner classes. Use it instead of manually enumerating the possibilities and checking. Also fix a typo. Change-Id: I2af678e92ea0c11b53617b247d8cda324391c185
om/android/tools/layoutlib/create/AsmGenerator.java
|
86caef1892e1ce063e0e880396c8deaa3a6a171d |
01-Jun-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Skip classes from java package. Classes in "java" package can't be defined at runtime anyway. No use including them in LayoutLib. Change-Id: I7e7c46f0d74e32c893b23093828569b4fa5e3a73
om/android/tools/layoutlib/create/DependencyFinder.java
|
bcbe9ba0f939803dfa9b48519e113dc1c32268dc |
27-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Include Shapes in LayoutLib." into mnc-dev
|
59164ec0551aa49f497acca81222f304cf4f344b |
26-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Include Shapes in LayoutLib. Change-Id: Ifb32882c478f8d407ad904e224b67fe2bd65dc08
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/create/Main.java
|
d5b82845450beac2d3c7db9cd80e9fc34d43a297 |
21-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Make DatePicker rendering not fail. Ensures that having a DatePicker in the layout doesn't crash the complete rendering. The rendering is still not perfect, but at least it works. - Return a non-null window token so that ViewPager thinks that it's attached to a window and doesn't skip populating the views. - Fix a style not found issue. Change-Id: Ied2b71de5b32bcb640bf4ec445e8a39509f800e9
om/android/tools/layoutlib/create/CreateInfo.java
|
bfc9c3bcbe3b7056d3330f754811c1506f181b88 |
20-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Inject anonymous inner classes of injected classes When injecting classes in LayoutLib (eg. CreateInfo), so that LayoutLib can refer back to the changes, also inject the anonymous inner classes. Without this, the injected classes are not loadable. Although, LayoutLib itself doesn't load these classes, but some tests do. Change-Id: Ib5f6b779ef4d79dec8d614d3dbb26eeac88a1064
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/InjectMethodRunnables.java
|
f8ea750455eec81e4e6d877b3e18e29a86d4ec95 |
19-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Make Context.getClassLoader() work. Context.getClassLoader() is used by the LayoutInflater and can be used by custom views. However, when called from the LayoutInflater, this needs to return only the Framework classes. This is so that the IDE gets a chance to instantiate the custom views, which helps in better error reporting and better fallback in case of exceptions, like MockView. To workaround this need of the same method returning different results based on where it's called from, the method call in LayoutInflater is renamed to getFrameworkClassLoader() and the new method is injected in Context. The implementation of getFrameworkClassLoader() maintains the existing behaviour of getClassLoader(). Context.getClassLoader() is now modified to return classes from both Framework and the app namespace. Also, update the list of packages to search for Framework views. Change-Id: I1a6be4aa1fc5c1c5520b5440a348a52f10b6eb3b
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/InjectMethodRunnables.java
om/android/tools/layoutlib/create/InjectMethodsAdapter.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
eca056926a5acacbd1fe6b144df2d2952dc4a86e |
13-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Load ICU data in LayoutLib Also return the correct version numbers for ICU data. Change-Id: I7de973b5553c73948870b97bdc12a880bb2fdd85
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.java
|
b10e33ff804a831c71be9303146cea892b9aeb5d |
04-Feb-2015 |
Jorim Jaggi <jjaggi@google.com> |
Split up android.policy into framework.jar and services.jar 1/3 Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
om/android/tools/layoutlib/create/CreateInfo.java
|
321bf43315ace2f091a54d514dd56902990bec7a |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 2d14feb4: Merge "Replace java.util.LinkedHashMap.eldest()" into lmp-mr1-dev automerge: 03c822a * commit '03c822aa585c319fb9cd05f392d8518501cc4f79': Replace java.util.LinkedHashMap.eldest()
|
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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
om/android/tools/layoutlib/java/LinkedHashMap_Delegate.java
|
e88c120ebf42f5a16565414415fa292f5ef9525b |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
resolve conflict for 8c831b2f -> lmp-mr1-dev-plus-aosp again The earlier resolution (a2a5ce49b29b8e3bf3cd695ff9f968e5579f4be2) wasn't the right one. This fixes it. Change-Id: I6a6dc908d3e7dd510064a46df932d129a58eed98
om/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
om/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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
om/android/tools/layoutlib/java/System_Delegate.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
om/android/tools/layoutlib/create/CreateInfo.java
|
2c5cddbd07bb46b22617a362f3af23be7720f9d5 |
11-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Don't skip loading object animator. This is used by Buttons as part of StateListAnimator. Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274
om/android/tools/layoutlib/create/DelegateClassAdapter.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
om/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
om/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
om/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
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
6ebeefa04cb3c360d8028eb77e60bacf8a800cb1 |
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 904d7711: am 7b561be3: 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 '904d77118bab63139174470ef728ca9a53e75a15': Fix SystemProperties in LayoutLib.
|
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.
|
f970d2c201649843b8d51d094b865f16b15bc0bc |
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs * commit '79c3f678d21f6b3c058623217cbe5dd57a553fe8': Fix SystemProperties in LayoutLib.
|
72cf03a27a73e91d4a3eabf74e0384b310f4a5b2 |
07-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs * commit '3a544a81b3d2d529b2995f4b5db2077760d440b5': 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
|
5476cfee6b8b5e17a7fa72bb141ca95ef913a4f5 |
06-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 505c675c: Fix SystemProperties in LayoutLib. * commit '505c675c3a536ac7c6ad264eb62542537532119c': Fix SystemProperties in LayoutLib.
|
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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
|
b80e42f93ff26984c410da0235dd10f463e5722a |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Replace more Locale methods. This change replaces some methods of java.util.Locale. Some of them were added in 1.7 and some are not present in the Desktop VM. Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
d2a411840c58eaee05499bab0190e3f3656e2e84 |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix LayoutLib Create tests. Change-Id: Ica3efe417d54da7dc74b21d28215199d37600744
om/android/tools/layoutlib/create/AbstractClassAdapter.java
om/android/tools/layoutlib/create/DependencyFinder.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
72c60ab7d487c487806f0f20564693c2264fc99d |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix classpath for AndroidLocale Change-Id: I9af9ac05ec26f12529d51e566bf38789a2579390
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
f5fbff9b1aeb3abb94b7ee45f989b965424ee43f |
10-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix EditText rendering [DO NOT MERGE] Framework has overloaded java.lang.System.arraycopy() for char[]. The method is not present on the Desktop VMs. This change replaces the calls to this method by its more general alternative - the one using Objects. TODO: Make it more configurable and flexible to allow rewrite of any such methods in the future. Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f (cherry picked from commit fc3e93300733b4a161adb9cceebea6cda353d085)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
5cd9dde5a2a77c5095f985186d8f03147fd22870 |
15-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Locale.toLanguageTag on Java 6 Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
c5a58437e62698f34abde93ec785c4cbe36aec2d |
11-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Style improvements to LayoutLib create. This change doesn't change the functionality but removes dead code and simplifies various places to remove warnings. Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter2.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
e1960cc0b541cda93db94de5bef42dff922b9ec3 |
10-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix System.arraycopy() Framework has specialized versions of java.lang.System.arraycopy() for all primitive data types. These versions are not present on the Desktop VM. This change replaces calls to any of the specialized versions with the more general alternative - the one using Objects. Note that this was already being done for char. Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.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
om/android/tools/layoutlib/create/CreateInfo.java
|
1160e6d2f7018117b0c29a7e2adba9ece36faec1 |
10-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix EditText rendering Framework has overloaded java.lang.System.arraycopy() for char[]. The method is not present on the Desktop VMs. This change replaces the calls to this method by its more general alternative - the one using Objects. TODO: Make it more configurable and flexible to allow rewrite of any such methods in the future. Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.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)
om/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
om/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]
|
70efbad0648eb96e9becbd0529cc1f34b6ffb986 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am bd5a3e65: am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp * commit 'bd5a3e6510e83b161a0e40c191d349524ae4a8e6': resolve conflicts for merge 5a7b3b65 correctly
|
bd5a3e6510e83b161a0e40c191d349524ae4a8e6 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp * commit '1677a9bdeba3961625236925e754920fca1b7e89': resolve conflicts for merge 5a7b3b65 correctly
|
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]
|
c70ce72a986f029c9f8c43b4060001624176068d |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev * commit 'af9fde9680922f072981a4853e37ccfcf974920a': 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]
|
8e015b7ba46b18a4a0741be7d64f389433c79230 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am a5461ebf: resolved conflicts for merge of 6d3c4ab2 to jb-mr1-dev * commit 'a5461ebfaebf3337a0cf1c752334f23de145a6d1': Action bar rendering in layoutlib [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
|
a5461ebfaebf3337a0cf1c752334f23de145a6d1 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of 6d3c4ab2 to jb-mr1-dev Change-Id: I5c4634897882deb663f32d8148202d7c9189521d
|
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]
|
727ad35081570c30f9b9ecde84d309a82b653856 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 5594616c: am 9602fc1c: am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] * commit '5594616c4f4513dc97b08d6cabb6fd7127dde131': Fix visitFieldInsn in layoutlib_create. [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]
|
5594616c4f4513dc97b08d6cabb6fd7127dde131 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 9602fc1c: am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] * commit '9602fc1c00e5e5cdf26cdc3fe22022ffcd115361': Fix visitFieldInsn in layoutlib_create. [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]
|
1677a9bdeba3961625236925e754920fca1b7e89 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp
|
51cce0ec42a04f94569e8da544b02c888b82b31d |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolve conflicts for merge 5a7b3b65 correctly Change-Id: I832b7ee50002bcd1429bf431cc91f12e60d19f84
om/android/tools/layoutlib/create/Main.java
|
0df5ae65a91174c99d1af633b45b3a1a7861cd1c |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE] * commit '0f209967bfc4a6f1eec46cc34a39cfe8af9f8af9': Add view cookies for action bar menus. [DO NOT MERGE]
|
6d3c4ab2456a30c5517f4ad6fb8df8d64c517beb |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 43b15371: Action bar rendering in layoutlib [DO NOT MERGE] * commit '43b15371f9f1da7d97fe0500eb1536d981097e31': Action bar rendering in layoutlib [DO NOT MERGE]
|
052e0c589e5cf714ca71bc8d7b3ce8b3f6c4cb96 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE] * commit '770e40f839f059e1e3a15a2b14157c7cbb3b0553': Fix theme/style resolution in Layoutlib [DO NOT MERGE]
|
9602fc1c00e5e5cdf26cdc3fe22022ffcd115361 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] * commit '87665388466812897e888680c0b2a1d7db1b9cbd': Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
|
69b3115e1c02f2b22165b93bd9bcc5c90ec69b12 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am e183855c: Add methods for Time_Delegate [DO NOT MERGE] * commit 'e183855c1eb7baf750c67bb20e70fb887eba7af6': Add methods for Time_Delegate [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
|
6f6989f3532b0022c8ebed59dbd9e4fdc5362978 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 80f2914b: am b67b1b45: am 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE] * commit '80f2914b4b12340ff590882125789144d4f00ce0': Add view cookies for action bar menus. [DO NOT MERGE]
|
e7c3ed442753c0ada27450868adcf1ff98fe9c39 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 21404483: am 0bb06b91: am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE] * commit '21404483adbd4f26b5a2c7ebee7c09e83f42607e': Action bar rendering in layoutlib [DO NOT MERGE]
|
57c0cf454ab8d8d321f2a10c4914eb4414722392 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 71acfa6c: am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE] * commit '71acfa6c1933806a080fc6efb820833f8de68d54': Fix theme/style resolution in Layoutlib [DO NOT MERGE]
|
3195ff0afad61fbb0787b80023bdb22ece4ecb6f |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am b90db3e6: am de3b2c06: am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE] * commit 'b90db3e6ab1bc89752ce8d7bd286268c41843693': Remove references to non-std Java classes. [DO NOT MERGE]
|
4654bfc14ce664e6a6247ffa0fdace17f3eeb964 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am c2a6f3b1: am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] * commit 'c2a6f3b1eda89365eec2508aec4a3a5024c140e5': Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
|
8a70bcef5a724906e3c35c58cb2266ee9c9e1b78 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp Change-Id: I6bafdb9c6a8dfc6f55a4d9adf67f447661137eb8
|
9f2f5e776aed6bfcd87be0b7dd6aa9d22af28817 |
13-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 2d82586b: Fix CalendarView to show the right labels. [DO NOT MERGE] * commit '2d82586b96593b1b3b5280d77d5ae9a09df9d1fd': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
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)
om/android/tools/layoutlib/create/CreateInfo.java
|
43b15371f9f1da7d97fe0500eb1536d981097e31 |
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib [DO NOT MERGE] This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. ActionBarImpl - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2 (cherry-picked from fe38489f6734fefd0a216e9cfe12f8f978ff371f)
om/android/tools/layoutlib/create/Main.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
87665388466812897e888680c0b2a1d7db1b9cbd |
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] The bug caused some classes to be missed when computing the dependencies of the existing classes. This change includes the new mock_android.jar compiled from the mock sources again. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa (cherry-picked from 6136af326e64037184a7a2a3ae60c399f04d631f)
om/android/tools/layoutlib/create/AsmAnalyzer.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)
om/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)
om/android/tools/layoutlib/create/AbstractClassAdapter.java
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/RefactorClassAdapter.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/java/AutoCloseable.java
om/android/tools/layoutlib/java/Charsets.java
om/android/tools/layoutlib/java/IntegralToString.java
om/android/tools/layoutlib/java/ModifiedUtf8.java
om/android/tools/layoutlib/java/UnsafeByteSequence.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)
om/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)
om/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)
om/android/tools/layoutlib/create/CreateInfo.java
|
fe38489f6734fefd0a216e9cfe12f8f978ff371f |
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib [DO NOT MERGE] This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. ActionBarImpl - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2 (cherry-picked from 20e0695b554e883b095f5223be10b6e1097db49f)
om/android/tools/layoutlib/create/Main.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)
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/java/Charsets.java
|
6136af326e64037184a7a2a3ae60c399f04d631f |
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa (cherry-picked from 6f9baea47757fef4745de434e09bd552fddc1f03)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/DependencyFinder.java
|
495c14d8b8e8a52554cfc0776c48d328657cda95 |
02-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 47ad22ed: am 961e3281: am 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE] * commit '47ad22edb7df502356598d417adbce0b0ce35616': Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
|
73f9e4675c0ebc23dd977a51f248dd6e603f7e33 |
02-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am edd67cb1: am 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE] * commit 'edd67cb194b54bb7c6c25eb570d28614900446cf': Add methods for Time_Delegate [DO NOT MERGE]
|
95fd97aa820dae4ba5040b6c040408b66887fe73 |
02-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 84e7a6b8: am 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE] * commit '84e7a6b82303b52c7b44f1a2a295177361edf9ea': Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
|
aab9d9a75cac9f1ed8291a5820d676c2eadc8b4d |
02-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 1a434aa8: am 697c511d: am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE] * commit '1a434aa8fcc118df13bea58e112da081d47ae73b': Remove references to non-std Java classes. [DO NOT MERGE]
|
2bb672a20800c5372e16b9a1fd72e2c0a444992f |
02-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 582bb0dc: am fbb1561a: am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE] * commit '582bb0dc7498997f441c5209b1558a4640b5a107': Fix CalendarView to show the right labels. [DO NOT MERGE]
|
6df2860b2316fb42e8686c3154b2156619c7777f |
16-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE] Change-Id: I8102da6c1c4625e887293a8823770d199521c53f (cherry-picked from 8a16f8e29a67c383e065ba9c47d5d1e80d7d2db9)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
9d7b5165576e3cf491fe47cf335feb6d204140b3 |
13-Nov-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Add libphonenumber to layoutlib.jar. [DO NOT MERGE] Issue: http://b.android.com/59497 Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5 (cherry picked from commit 317f304893c58c5e50255bd712448ca233ae5cec)
om/android/tools/layoutlib/create/Main.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)
om/android/tools/layoutlib/create/AbstractClassAdapter.java
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/RefactorClassAdapter.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/java/AutoCloseable.java
om/android/tools/layoutlib/java/IntegralToString.java
om/android/tools/layoutlib/java/ModifiedUtf8.java
om/android/tools/layoutlib/java/UnsafeByteSequence.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
20e0695b554e883b095f5223be10b6e1097db49f |
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib [DO NOT MERGE] This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. ActionBarImpl - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2 (cherry-picked from 4ccc4bd54f85d86818f61d728c6361d2003ddd8e)
om/android/tools/layoutlib/create/Main.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
f8144032d1fb7319bfd24914b12597505cfcc91f |
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa (cherry-picked from 6f9baea47757fef4745de434e09bd552fddc1f03)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/DependencyFinder.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)
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/java/Objects.java
|
6aaea1bd4aa056335776098cd9dc523e898716f1 |
24-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
|
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
om/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)
om/android/tools/layoutlib/create/CreateInfo.java
|
6f9baea47757fef4745de434e09bd552fddc1f03 |
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa (cherry-picked from 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/DependencyFinder.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
om/android/tools/layoutlib/create/CreateInfo.java
|
fb120acd841f7d8d0e1845f5bdd98abf35cb25b4 |
16-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
|
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
om/android/tools/layoutlib/create/CreateInfo.java
|
4ccc4bd54f85d86818f61d728c6361d2003ddd8e |
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib [DO NOT MERGE] This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. ActionBarImpl - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2 (cherry-picked from 14bf0cef7eeed572a67c29a328581afac4decc20)
om/android/tools/layoutlib/create/Main.java
|
acf0bce09fec2cabe871d7146aa62e9258fbf06d |
10-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support custom views using TimePickerDialog [DO NOT MERGE] Bug: http://b.android/com/61515 Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34 (cherry picked from commit 86e5218220a0e01f7eb574a2480bd91f9ebfae35)
om/android/tools/layoutlib/create/Main.java
|
14bf0cef7eeed572a67c29a328581afac4decc20 |
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. WindowDecorActionBar - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
om/android/tools/layoutlib/create/Main.java
|
849a8208c88d38e55ec13a1fa76bf295fde96cb5 |
26-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add DatePickerDialog to layoutlib [DO NOT MERGE] Includes android.app.DatePickerDialog in the layoutlib.jar Bug: http://b.android.com/28318 Change-Id: I583dde4a8b88204bf98bfca8d91470e1aa4719ce (cherry picked from commit c2016d4073c61e87439d4fa14837b397a3c1630a)
om/android/tools/layoutlib/create/Main.java
|
86e5218220a0e01f7eb574a2480bd91f9ebfae35 |
10-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support custom views using TimePickerDialog in layoutlib Bug: http://b.android/com/61515 Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34
om/android/tools/layoutlib/create/Main.java
|
6e5e160f19c404c272e70f7f0ade5b27850ebd05 |
09-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Make layoutlib load on Java 7 VM"
|
6a08225cee197e5baf80dd06dae46988db284122 |
09-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Make layoutlib load on Java 7 VM Prevent Java 7 VM from verifying the StackMapTable for methods by lying about the class version. The changeset also fixes the eclipse project by using the right asm library in the checkout. Change-Id: Idabf165380fb75fcc2d5c8fbd72388f52887a5df
om/android/tools/layoutlib/create/AbstractClassAdapter.java
|
bfec73c2db5a34ced248213edf5519c80727a65f |
12-Mar-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix theme/style resolution in Layoutlib Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
om/android/tools/layoutlib/create/CreateInfo.java
|
4a0f93bd32b8dd9b3c351680ad82e461d5111f38 |
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/DependencyFinder.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)
om/android/tools/layoutlib/create/CreateInfo.java
|
8a16f8e29a67c383e065ba9c47d5d1e80d7d2db9 |
16-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE] Change-Id: I8102da6c1c4625e887293a8823770d199521c53f (cherry-picked from 58037a4404e639d28695a0f1c17053b53b96b970)
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
|
317f304893c58c5e50255bd712448ca233ae5cec |
13-Nov-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Add libphonenumber to layoutlib.jar. [DO NOT MERGE] Issue: http://b.android.com/59497 Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5 (cherry-picked from 1f92d7fc0ffa72d7db93244c29a1a6575bb4b318)
om/android/tools/layoutlib/create/Main.java
|
c2016d4073c61e87439d4fa14837b397a3c1630a |
26-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add DatePickerDialog to layoutlib Includes android.app.DatePickerDialog in the layoutlib.jar Bug: http://b.android.com/28318 Change-Id: I583dde4a8b88204bf98bfca8d91470e1aa4719ce
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/create/CreateInfo.java
|
3bf38b4165877274067a385cfe6472639a203a58 |
06-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add methods for Time_Delegate" into klp-dev
|
eb3c5459eb893061779b102236a81069efdbef73 |
01-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add methods for Time_Delegate Bug: http://b.android.com/65359 Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
om/android/tools/layoutlib/create/CreateInfo.java
|
58037a4404e639d28695a0f1c17053b53b96b970 |
16-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing files to fix libphonenumber for layoutlib. Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
|
1f92d7fc0ffa72d7db93244c29a1a6575bb4b318 |
13-Nov-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Add libphonenumber to layoutlib.jar. DO NOT MERGE Issue: http://b.android.com/59497 Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/java/Objects.java
|
272d1bce798a5fef42cc2ee31f629d00c89f66eb |
17-Oct-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3
om/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
om/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
om/android/tools/layoutlib/create/AbstractClassAdapter.java
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/RefactorClassAdapter.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/java/AutoCloseable.java
om/android/tools/layoutlib/java/Charsets.java
om/android/tools/layoutlib/java/IntegralToString.java
om/android/tools/layoutlib/java/UnsafeByteSequence.java
|
36ee5485b85e34008dc31e0f7bace1b2516c5db5 |
13-Feb-2013 |
Xavier Ducrohet <xav@android.com> |
am 5d5c05de: am b7a4aed9: am f70b8c1c: Merge "Fix DateFormat for layoutlib." into jb-mr1.1-dev # Via Android Git Automerger (2) and others * commit '5d5c05dee9911eaf8add2d4298641e60f2a113d5': Fix DateFormat for layoutlib.
|
47a021f7649799187e2d30d4d43e2363fd8f6bd3 |
12-Feb-2013 |
Xavier Ducrohet <xav@android.com> |
Fix DateFormat for layoutlib. Change-Id: I389c9d106b93b9f81dd3614398a5b66ba2b39a70
om/android/tools/layoutlib/create/CreateInfo.java
|
58ed5d748c0b9b64845975ef5844ad313de7c3f6 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 768d9e1a: Merge "Correct executable bit for source files" * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
|
3a084af2e90849aaa8beb3a610189e3399c63ea0 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
Correct executable bit for source files Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
om/android/tools/layoutlib/annotations/Nullable.java
om/android/tools/layoutlib/annotations/VisibleForTesting.java
om/android/tools/layoutlib/create/DependencyFinder.java
|
6dfd0b39a63559999a769f93d5cdb48abe675344 |
15-Oct-2012 |
Xavier Ducrohet <xav@android.com> |
Fix SDK layout rendering in Eclipse. Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
om/android/tools/layoutlib/create/CreateInfo.java
|
54059cd38de24bbffc2525b56955535df73bf1eb |
11-Jul-2012 |
Xavier Ducrohet <xav@android.com> |
am 15c15eaa: Merge "Replace LruCache implementation for layoutlib. do not merge." into jb-dev * commit '15c15eaac51c0c375d18fb70cd1bd066d87b034e': Replace LruCache implementation for layoutlib. do not merge.
|
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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
|
bce1011dd2a371c587d2e39ad8c3d446b63049d0 |
14-Jun-2012 |
Raphael Moll <raphael@google.com> |
resolved conflicts for merge of 8cf489c1 to jb-dev-plus-aosp Change-Id: I06608e3c122b8f321429d457c51aa2213dd238b4
|
4306096a4351030cab4ea413b5e87460b60a84bf |
13-Jun-2012 |
Raphael Moll <ralf@android.com> |
Layoutlib Create: Find dependencies. Usage: layoutlib_create --list-deps /path/to/layoutlib.jar Prints: - all classes found in the Jar and the types they use (the dependencies). - all the dependencies missing from the Jar and what uses them. Change-Id: I8b2674df127e1494feed7a653282e88e4d2f5494
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/DependencyFinder.java
om/android/tools/layoutlib/create/Log.java
om/android/tools/layoutlib/create/Main.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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
|
46d43ccfd8cef75b4315828073c094cf1efb05ff |
03-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make Layoutlib compile on Java 6. Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/MethodAdapter.java
|
f7270ba9083e5b0069f73fc88aec439ab439275b |
05-Dec-2011 |
Tor Norbye <tnorbye@google.com> |
Upgrade layoutlib generation code to use ASM 4.0 Change-Id: I46b3854a05677dc7cadd217efb001dbb25631fbd
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter2.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/DelegateMethodAdapter2.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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.java
|
ea670054d6c5b59b8481cbf796e6a1cd9f38b672 |
09-Aug-2011 |
Philip Milne <pmilne@google.com> |
Implement native println_native in android.util.Log for LayoutLib Change-Id: I2ab83a131468490cf789bf17f9c12b6360e953a4
om/android/tools/layoutlib/create/CreateInfo.java
|
d2f664d42cc29507b01a98622298b69131463825 |
30-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
Misc layoutlib fix in preparation of the access change in framework code. Change-Id: I873adb7345514be6daa5c4fea4ebabb515f203e2
om/android/tools/layoutlib/create/Main.java
|
4f727fbdc302946b9b677e2518350dd3574d198a |
26-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
am ed07215e: am 55775e5f: am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public." * commit 'ed07215e482cae1ffedbba707284821b3afc310f': Layoutlib_create flag -p: don't change all accesses to public.
|
ed07215e482cae1ffedbba707284821b3afc310f |
25-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
am 55775e5f: am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public." * commit '55775e5f34af8d7c22ab3212c253b3a7d34a6f8a': Layoutlib_create flag -p: don't change all accesses to public.
|
e70b2b8fe0c265171f3a367a66c99b36c62567c7 |
22-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public." * commit '9bcf26ea7aa108ce4bf4e973b4774d3e60eebafe': Layoutlib_create flag -p: don't change all accesses to public.
|
caed59d90db8626462baaec351e66b2a3280dc34 |
20-Jul-2011 |
Raphael Moll <ralf@android.com> |
Layoutlib_create flag -p: don't change all accesses to public. Change-Id: Icb1709ed0cb275a5a51ca34030695a5e94091499
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
af64556de0064eeb5a4d4e6d634c3f074f5f40ce |
20-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: misc fix + start of AndroidBidi support. Change-Id: If2ce0b683da8cce01679322d503eed8dd474e521
om/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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter2.java
om/android/tools/layoutlib/create/StubMethodAdapter.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
om/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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.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
om/android/tools/layoutlib/annotations/LayoutlibDelegate.java
om/android/tools/layoutlib/annotations/Nullable.java
om/android/tools/layoutlib/annotations/VisibleForTesting.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 |
06-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: improved rendering for system/title/action bars. Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
|
811820f440b24db200e66874d42331023b7cd389 |
28-Jan-2011 |
Raphael <raphael@google.com> |
LayoutLib.Create: support Outer_Inner_Delegate renaming. When generating delegates, LayoutLib.Create support renaming inner classes. Only one level of inner class is supported. The method Outer$Inner#get(...) generates a call to: static Outer_Inner_Delegate#get(Outer instance, Outer$Inner instance, ...) Change-Id: Ie70f2b8e5e5f311ed9c7f26b7f64637ae6157a51
om/android/tools/layoutlib/create/DelegateMethodAdapter.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
om/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
om/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
om/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
om/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
om/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.
om/android/tools/layoutlib/create/CreateInfo.java
|
8d74c978bbf3da4095ef8e40c005a6fdf0637071 |
07-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: explicitely override PropertyValuesHolder native code. Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
om/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
om/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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.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
om/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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/DelegateMethodAdapter.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
om/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
om/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
om/android/tools/layoutlib/create/CreateInfo.java
|
d815e3704850a513e8d02ba3b88fa47f41cea9a5 |
26-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Fix rendering of digitalClock/Gallery in Eclipse editors. Change-Id: Iedcd3184cd9f34be8d0695a51eda953ac68683ce
om/android/tools/layoutlib/create/Main.java
|
f241c40476b6ff2acf57617d4f90cc8c229f1207 |
26-Oct-2010 |
Raphael <raphael@google.com> |
Revert "Fix rendering of digitalClock/Gallery in Eclipse editors." This reverts commit 25e96ce7b99f9736a6024d25bd65a83774c7640f.
om/android/tools/layoutlib/create/Main.java
|
68404a0125999ebe0d58c3eb1845b3c9aaf4d51e |
26-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
am a44a5e02: am 1b6180ec: Merge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread
|
a44a5e02d21505a9c891a31a34c83761600024c0 |
26-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
am 1b6180ec: Merge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread
|
25e96ce7b99f9736a6024d25bd65a83774c7640f |
26-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Fix rendering of digitalClock/Gallery in Eclipse editors. Change-Id: I80f4f90b173529632eaf2fbc3bb5471b7ede8216
om/android/tools/layoutlib/create/Main.java
|
e2e8ba904b306f11dfc5b71e00ab9ac013358cd7 |
23-Oct-2010 |
Raphael <raphael@google.com> |
Layoutlib_Create: Fix order of class adapters. The Transform adapter was running last, instead of running on the output of the Delegate adapter. Change-Id: I2cd777add7b0972c6bb197aaac6693d39dd5a103
om/android/tools/layoutlib/create/AsmGenerator.java
|
280372e2c7db128254b5f65395ea843ef285729e |
22-Oct-2010 |
Raphael <raphael@google.com> |
Layoutlib_create: fix binary name of delegate methods. Change-Id: Iebd7d730b23e12f770e6ecadafb2f5c3459958db
om/android/tools/layoutlib/create/AsmGenerator.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
om/android/tools/layoutlib/annotations/LayoutlibDelegate.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/DelegateClassAdapter.java
om/android/tools/layoutlib/create/DelegateMethodAdapter.java
om/android/tools/layoutlib/create/ICreateInfo.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
91512f579e7a1bf91d23254471ee47d3a88d342f |
24-Sep-2010 |
Raphael <raphael@google.com> |
Layoutlib_create: Unittest for ClassHasNativeVisitor. Change-Id: Id101bb3fc2644e450847e73c933cb6f616982f24
om/android/tools/layoutlib/annotations/Nullable.java
om/android/tools/layoutlib/annotations/VisibleForTesting.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
|
36ab1284d8e89486cadbd55320ca965e96d65f44 |
15-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: Add dash support to stroke. Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
om/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
om/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
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/CreateInfo.java
om/android/tools/layoutlib/create/Main.java
|
2473ef5654b2a4b65132a35677c6ddfd481aab2c |
15-Aug-2009 |
Xavier Ducrohet <xav@android.com> |
Improved drawing/matrix support in layoutlib - Make the custom Canvas actually replace the original one so that it's used even by parts of the framework that allocate their own temp Canvas object. - Better support for Matrix: added support for mapPoint() and mapRect(), and invert() - Implemented drawBitmap() with a Matrix, and made the paint object not NPE when null.
om/android/tools/layoutlib/create/Main.java
|
7953e7d89b1d4d7297176fbb6aeea882577df8e6 |
13-Aug-2009 |
Xavier Ducrohet <xav@android.com> |
Mock ServiceManager and AccesibilityManager to make the view renders in ADT BUG: 2049348
om/android/tools/layoutlib/create/Main.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
om/android/tools/layoutlib/create/Log.java
om/android/tools/layoutlib/create/LogAbortException.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/MethodAdapter.java
om/android/tools/layoutlib/create/MethodListener.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
om/android/tools/layoutlib/create/Log.java
om/android/tools/layoutlib/create/LogAbortException.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/MethodAdapter.java
om/android/tools/layoutlib/create/MethodListener.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/MethodAdapter.java
om/android/tools/layoutlib/create/MethodListener.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
om/android/tools/layoutlib/create/AsmAnalyzer.java
om/android/tools/layoutlib/create/AsmGenerator.java
om/android/tools/layoutlib/create/ClassHasNativeVisitor.java
om/android/tools/layoutlib/create/Log.java
om/android/tools/layoutlib/create/LogAbortException.java
om/android/tools/layoutlib/create/Main.java
om/android/tools/layoutlib/create/OverrideMethod.java
om/android/tools/layoutlib/create/RenameClassAdapter.java
om/android/tools/layoutlib/create/StubMethodAdapter.java
om/android/tools/layoutlib/create/TransformClassAdapter.java
|