OSDN Git Service

LayoutLib: fix Capabilities and getDimensionPixelSize
authorXavier Ducrohet <xav@android.com>
Tue, 8 Mar 2011 19:50:21 +0000 (11:50 -0800)
committerXavier Ducrohet <xav@android.com>
Tue, 8 Mar 2011 23:00:35 +0000 (15:00 -0800)
commitadaa12cd9e421edf34e36de8cfacc3e3c334bb64
tree8a52c39f4e27d9ad86beda0197908b3e7ac55ced
parent6f2fb570642189ec2b6068632c25f02391007bb5
LayoutLib: fix Capabilities and getDimensionPixelSize

Commented out a Capability that is not in ADT 10.

BridgeTypedArray.getDimensionPixelSize shouldn't call
getDimension since most of the code is duplicated, and
it prevents use from properly detecting malformed attribute
values.

Change-Id: I005b17061590dc0668729af16e896fad815f1973
tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java