ada8c117b197dd61bd472399147dd18ff337a204 |
|
19-Jan-2016 |
Diego Perez <diegoperez@google.com> |
Fix bug in PropertyValuesHolder_Delegate method index The method index in PropertyValuesHolder was using only the method name + the number of parameters in the call to index the different properties methods. This worked ok most of the time because, for a given method name (let's say setTrimStartOffset), the class is usually the same. However, if the same method name is used in multiple classes, this will cause collisions and will most likely crash. Change-Id: Ie6fa8872c5c5e69e690f4f1bb79191a31bef2a28
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
29ed07524ce0fc2e5950f5340d306247145d0efa |
|
14-Oct-2015 |
Diego Perez <diegoperez@google.com> |
Add support for Choreographer animations First step to add support for Choreographer based animations. The Choreographer_Delegate avoid using a handler so the animation callbacks can be called on-demand (by using doFrame). This allows things like frame by frame animation or selecting a specific frame, and doesn't need a separate thread to run. The CL also changes the System and SystemClock implementations to allow to set specific times. Because animations heavily rely on the system time, this allows controlling it. It can also be useful to ensure that the rendering produces a deterministic result when using controls like the Calendar widget. Change-Id: Iff221d2698a82075cafbb60f341be01741f7aa13
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
9be03c4e980d3058aeb3fd730da5f7d4a4a4f8a8 |
|
22-Feb-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Update layoutlib tests to check methods return value. The test in layoutlib bridge has been updated to check the return value of the delegate method match the value of the overriden method. This changeset also fixes the problems found due to this change. Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
e05bb956ce429618fd4f971a9dc708b9313c59ea |
|
29-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix native method signatures Some new methods have been added which are yet to be implemented. Change-Id: Ie5a0657c7ccbe95200c270d5c15b516a385b083b
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
fbb35fb39eb74c6fa7ba6804faeaccb80483be14 |
|
17-Jan-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
AArch64: Use of long for pointers in PropertyValuesHolder Long is used in PropertyValuesHolder class to store native pointers as they can be 64-bit. Note that jmethodID, a pointer to structures, is also carried in long rather than int to support 64-bit system. Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> (cherry picked from commit 0141e884344a5c267239079d615e1c9d9898a222) Change-Id: I80408a7227427732db0d8b4c960bcb849b7c8060
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
282e181b58cf72b6ca770dc7ca5f91f135444502 |
|
24-Jan-2014 |
Adam Lesinski <adamlesinski@google.com> |
Revert "Move frameworks/base/tools/ to frameworks/tools/" This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e |
|
28-Aug-2013 |
Mike Lockwood <lockwood@google.com> |
Move frameworks/base/tools/ to frameworks/tools/ Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
9a4fe29c8d92014d2d9a848e9116b8cc9d0842f9 |
|
10-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Annotate the custom delegate methods. Every method implementing a delegate needed by the layoutlib_create bytecode modification must now be annotated with LayoutlibDelegate. The methods in the original source code that are delegated are already automatically annotated. Now with the implementations being annotated we can do bi-directional tests and find not only missing implementations but also dead obsolete code. This will be useful when backporting to earlier versions of Android, or when native (non public) method disappear. In fact, the new test detected one such method in Shader. Change-Id: I491708b68ac2736ca5669aa86cd5e930a00f9db3
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|
8d74c978bbf3da4095ef8e40c005a6fdf0637071 |
|
07-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: explicitely override PropertyValuesHolder native code. Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
/frameworks/base/tools/layoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
|