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
ayoutlib/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
ayoutlib/create/CreateInfo.java
|
46d43ccfd8cef75b4315828073c094cf1efb05ff |
03-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make Layoutlib compile on Java 6. Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
ayoutlib/create/CreateInfo.java
ayoutlib/create/MethodAdapter.java
|
f7270ba9083e5b0069f73fc88aec439ab439275b |
05-Dec-2011 |
Tor Norbye <tnorbye@google.com> |
Upgrade layoutlib generation code to use ASM 4.0 Change-Id: I46b3854a05677dc7cadd217efb001dbb25631fbd
ayoutlib/create/AsmAnalyzer.java
ayoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/DelegateClassAdapter.java
ayoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/RenameClassAdapter.java
ayoutlib/create/StubMethodAdapter.java
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/create/DelegateClassAdapter.java
ayoutlib/create/Main.java
ayoutlib/create/TransformClassAdapter.java
|
af64556de0064eeb5a4d4e6d634c3f074f5f40ce |
20-Jul-2011 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: misc fix + start of AndroidBidi support. Change-Id: If2ce0b683da8cce01679322d503eed8dd474e521
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/create/DelegateClassAdapter.java
ayoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/DelegateMethodAdapter2.java
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/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
ayoutlib/annotations/LayoutlibDelegate.java
ayoutlib/annotations/Nullable.java
ayoutlib/annotations/VisibleForTesting.java
ayoutlib/create/AsmGenerator.java
ayoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/CreateInfo.java
ayoutlib/create/DelegateClassAdapter.java
ayoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/ICreateInfo.java
ayoutlib/create/Main.java
ayoutlib/create/TransformClassAdapter.java
|
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 |
06-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: improved rendering for system/title/action bars. Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
ayoutlib/create/CreateInfo.java
|
779c906592b67867fee83a6527d474c333a701ff |
05-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Replace custom BitmapFactory by a simpler delegate Change-Id: Ie61a0a5b4426e64bb71a22d76d05efa4c0865e5e
ayoutlib/create/CreateInfo.java
|
345f866bfd09476fd62aa10345a0670cc110b63c |
02-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
Make TimePicker/DatePicker/CalendarView render in Eclipse. Change-Id: Id5313a6f0f53bf45f6eaabc0e10fcf0660eeac08
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/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.
ayoutlib/create/CreateInfo.java
|
8d74c978bbf3da4095ef8e40c005a6fdf0637071 |
07-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: explicitely override PropertyValuesHolder native code. Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
ayoutlib/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
ayoutlib/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
ayoutlib/create/CreateInfo.java
|
071dee288ca726c7c15754c2559403b9cbf950bd |
11-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Misc fix in layoutlib bridge + View.isIneditMode as delegate. Change-Id: Ideab29167e933203da99d4270cebcb777726201f
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/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
ayoutlib/create/CreateInfo.java
|
4b606da91d2d76dd90a427cb3e37ea7df655e8e0 |
04-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: path effects and xfermode. Change-Id: Iafaac6dbaf452e2dba3e77c801089dad33ac4ea9
ayoutlib/create/CreateInfo.java
|
251d2e99245095369b52d891a660b2ed270f02e0 |
02-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: primitive shapes and shaders Change-Id: Id2b0c6231589e82d8e96c9f019042eba348a6583
ayoutlib/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
ayoutlib/create/CreateInfo.java
ayoutlib/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
ayoutlib/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
ayoutlib/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
ayoutlib/create/CreateInfo.java
|
d815e3704850a513e8d02ba3b88fa47f41cea9a5 |
26-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Fix rendering of digitalClock/Gallery in Eclipse editors. Change-Id: Iedcd3184cd9f34be8d0695a51eda953ac68683ce
ayoutlib/create/Main.java
|
f241c40476b6ff2acf57617d4f90cc8c229f1207 |
26-Oct-2010 |
Raphael <raphael@google.com> |
Revert "Fix rendering of digitalClock/Gallery in Eclipse editors." This reverts commit 25e96ce7b99f9736a6024d25bd65a83774c7640f.
ayoutlib/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
ayoutlib/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
ayoutlib/create/AsmGenerator.java
|
280372e2c7db128254b5f65395ea843ef285729e |
22-Oct-2010 |
Raphael <raphael@google.com> |
Layoutlib_create: fix binary name of delegate methods. Change-Id: Iebd7d730b23e12f770e6ecadafb2f5c3459958db
ayoutlib/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
ayoutlib/annotations/LayoutlibDelegate.java
ayoutlib/create/AsmGenerator.java
ayoutlib/create/CreateInfo.java
ayoutlib/create/DelegateClassAdapter.java
ayoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/ICreateInfo.java
ayoutlib/create/Main.java
ayoutlib/create/TransformClassAdapter.java
|
91512f579e7a1bf91d23254471ee47d3a88d342f |
24-Sep-2010 |
Raphael <raphael@google.com> |
Layoutlib_create: Unittest for ClassHasNativeVisitor. Change-Id: Id101bb3fc2644e450847e73c933cb6f616982f24
ayoutlib/annotations/Nullable.java
ayoutlib/annotations/VisibleForTesting.java
ayoutlib/create/ClassHasNativeVisitor.java
|
36ab1284d8e89486cadbd55320ca965e96d65f44 |
15-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: Add dash support to stroke. Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
ayoutlib/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
ayoutlib/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
ayoutlib/create/AsmGenerator.java
ayoutlib/create/CreateInfo.java
ayoutlib/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.
ayoutlib/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
ayoutlib/create/Main.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ayoutlib/create/AsmAnalyzer.java
ayoutlib/create/AsmGenerator.java
ayoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/Log.java
ayoutlib/create/LogAbortException.java
ayoutlib/create/Main.java
ayoutlib/create/MethodAdapter.java
ayoutlib/create/MethodListener.java
ayoutlib/create/OverrideMethod.java
ayoutlib/create/RenameClassAdapter.java
ayoutlib/create/StubMethodAdapter.java
ayoutlib/create/TransformClassAdapter.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ayoutlib/create/AsmAnalyzer.java
ayoutlib/create/AsmGenerator.java
ayoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/Log.java
ayoutlib/create/LogAbortException.java
ayoutlib/create/Main.java
ayoutlib/create/MethodAdapter.java
ayoutlib/create/MethodListener.java
ayoutlib/create/OverrideMethod.java
ayoutlib/create/RenameClassAdapter.java
ayoutlib/create/StubMethodAdapter.java
ayoutlib/create/TransformClassAdapter.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
ayoutlib/create/AsmGenerator.java
ayoutlib/create/Main.java
ayoutlib/create/MethodAdapter.java
ayoutlib/create/MethodListener.java
ayoutlib/create/OverrideMethod.java
ayoutlib/create/StubMethodAdapter.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
ayoutlib/create/AsmGenerator.java
ayoutlib/create/Main.java
ayoutlib/create/OverrideMethod.java
ayoutlib/create/StubMethodAdapter.java
ayoutlib/create/TransformClassAdapter.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
ayoutlib/create/AsmAnalyzer.java
ayoutlib/create/AsmGenerator.java
ayoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/Log.java
ayoutlib/create/LogAbortException.java
ayoutlib/create/Main.java
ayoutlib/create/OverrideMethod.java
ayoutlib/create/RenameClassAdapter.java
ayoutlib/create/StubMethodAdapter.java
ayoutlib/create/TransformClassAdapter.java
|