Loading tools/layoutlib/bridge/src/android/graphics/BitmapFactory.java +1 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,7 @@ public class BitmapFactory { If the exception happened on open, bm will be null. If it happened on close, bm is still valid. */ Bridge.getLog().error(null, e); } finally { try { if (is != null) is.close(); Loading tools/layoutlib/bridge/src/android/graphics/Matrix_Delegate.java +1 −1 Original line number Diff line number Diff line Loading @@ -869,7 +869,7 @@ public final class Matrix_Delegate { tmpDest = new float[dstIndex + pointCount * 2]; } for (int i = 0 ; i < pointCount ; i++) { for (int i = 0 ; i < pointCount * 2 ; i += 2) { // just in case we are doing in place, we better put this in temp vars float x = mValues[0] * src[i + srcIndex] + mValues[1] * src[i + srcIndex + 1] + Loading tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java +2 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,8 @@ public class LayoutSceneImpl { return result; } Bridge.setLog(mParams.getLog()); // setup the display Metrics. DisplayMetrics metrics = new DisplayMetrics(); metrics.densityDpi = mParams.getDensity(); Loading Loading
tools/layoutlib/bridge/src/android/graphics/BitmapFactory.java +1 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,7 @@ public class BitmapFactory { If the exception happened on open, bm will be null. If it happened on close, bm is still valid. */ Bridge.getLog().error(null, e); } finally { try { if (is != null) is.close(); Loading
tools/layoutlib/bridge/src/android/graphics/Matrix_Delegate.java +1 −1 Original line number Diff line number Diff line Loading @@ -869,7 +869,7 @@ public final class Matrix_Delegate { tmpDest = new float[dstIndex + pointCount * 2]; } for (int i = 0 ; i < pointCount ; i++) { for (int i = 0 ; i < pointCount * 2 ; i += 2) { // just in case we are doing in place, we better put this in temp vars float x = mValues[0] * src[i + srcIndex] + mValues[1] * src[i + srcIndex + 1] + Loading
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java +2 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,8 @@ public class LayoutSceneImpl { return result; } Bridge.setLog(mParams.getLog()); // setup the display Metrics. DisplayMetrics metrics = new DisplayMetrics(); metrics.densityDpi = mParams.getDensity(); Loading