History log of /frameworks/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e05f1c4684fcc7e3f6a429ff01b210aa19f75304 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/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
95e58deaa2ab56de3df827ad615f5b7799506edc 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/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
e5d3baf22f046d0a579128fc258f6b92e700ca02 05-Oct-2015 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix bitmap scaling.

Bug: http://b.android.com/187939
Change-Id: I20bf61746e8af3bb87ba9cfcc9bf58854ac7c5be
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.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
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
e1d04d5421c3aa3c4cea5da56b3201a942392a85 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix NPE in Ninepatch creation.

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

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

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

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

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

Also fix some new/removed method from BitmapFactory.

Change-Id: I606bd8bee6ff1e2c6c9472b4672175bfdaff45de
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.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
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BitmapFactory_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/graphics/BitmapFactory_Delegate.java
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 06-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: improved rendering for system/title/action bars.

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

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