History log of /frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ab37002ccffe94a5ba44e5d52f17a0e1424f62f0 14-Dec-2017 Diego Perez <diegoperez@google.com> Guard agains null opts in BitmapFactory

Test: N/A
Change-Id: Iec38a4b8543ada9f40891a6bb3efe4ef5f06b731
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
896eb1c37f6a44d65d3a459891475e99170b657c 04-Mar-2016 Deepanshu Gupta <deepanshu@google.com> Change BridgeResources to Resources_Delegate

This is a very hacky fix to make layoutlib work with the latest support
lib. Inject a couple of fields in android.content.res.Resources to
allow using most of the earlier code as is.

Bug: 27403642
Bug: http://b.android.com/201934
Change-Id: Ia96a1b4642a1907a77d9ca7a2392f78809b92e38
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
5cd1a1095273a5386653796f4d62b9894d0f4c26 07-Dec-2015 Deepanshu Gupta <deepanshu@google.com> Fix ninepatch scaling.

Really fix the bug now. Also add tests for the same and update
allwidgets golden file for M.

Bug: http://b.android.com/187939
Change-Id: I98cd55da0561fef9d47d8759bcd287ee36d03cc2
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
13bd2429660ffb36862852ac8ffec78c7d2737e0 05-Oct-2015 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix bitmap scaling.

Bug: http://b.android.com/187939
Change-Id: I20bf61746e8af3bb87ba9cfcc9bf58854ac7c5be
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
442aee6bc1abfb143dcfa1ba60d696e576d066c4 22-May-2015 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Change nullity annotations.

Switch from using tools nullity annotations (com.android.annotations)
to android framework annotations (android.annotation).

A new sdk-common prebuilt is required for LayoutLib tests. The new
sdk-common requires an updated tools-common. The updated tools-common
doesn't have nullity annotations. So, instead of adding the annotation
dependency, just reuse the platform ones. This also paves the way to
include other platform annotations like IdRes etc.

Change-Id: I87b8f767d3681d914abe7d1329e26a87f49f50a7
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
5da1b054b93ea98a3d615673e13c87696a15569b 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix NPE in Ninepatch creation.

Change-Id: Icead69cd8503e90aeb54ff42f9ec297e7af2b518
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
dac23cddedc0879d8080009105a139a8292e59a6 31-Jan-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of cb7cdd50 to klp-modular-dev-plus-aosp

Change-Id: I2fc48fb4bd779042fc9bc00e6c8aca876d4a5f0b
7e047b0f59388535e9d6a2c7458c866a5642a79e 29-Jan-2014 Narayan Kamath <narayan@google.com> Fix a few more delegate methods in layoutlib.

Change-Id: Icd7069452b9ac66498af69ec705d12c3acd1c848
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
09fddbe26354871c2f037017fcc68fd1c48ca573 26-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Update delegate methods in layoutlib.

Change-Id: I1f0fc274b6a74dbcf0ed46175c4a2fa4c2dd9a63
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ed1dc23c01d1c6bb2d061cfb0042776603883a17 04-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Add isPremultiplied option to Bitmap_Delegate in LayoutLib

Change-Id: Id06921d8db2fe898fdc60ef9d05d05f8dfe3f94a
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
506cc4043b43c41ee0401dfd495399d306a855db 24-Mar-2012 Xavier Ducrohet <xav@android.com> Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse.

Also fix some new/removed method from BitmapFactory.

Change-Id: I606bd8bee6ff1e2c6c9472b4672175bfdaff45de
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
7c0ad1b03679253affbd8177e3178e2e135e9910 30-Jul-2011 Xavier Ducrohet <xav@android.com> Misc layoutlib fix in preparation of the access change in framework code.

Change-Id: I873adb7345514be6daa5c4fea4ebabb515f203e2
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
94c80bfaff4e9f503817254237e1538096a018ef 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/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
1ab2e15233e7d3ea92dcef1cf3cf3280a17acfe4 06-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: improved rendering for system/title/action bars.

Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
02316e55ed65eeffc0eeefeaa3b1cce58f789387 05-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Replace custom BitmapFactory by a simpler delegate

Change-Id: Ie61a0a5b4426e64bb71a22d76d05efa4c0865e5e
/frameworks/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java