Loading graphics/java/android/graphics/Shader.java +4 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,9 @@ public class Shader { */ private long mNativeInstance; /** * Current matrix - always set to null if local matrix is identity. */ private Matrix mLocalMatrix; public enum TileMode { Loading Loading @@ -70,7 +73,7 @@ public class Shader { public boolean getLocalMatrix(@NonNull Matrix localM) { if (mLocalMatrix != null) { localM.set(mLocalMatrix); return true; return true; // presence of mLocalMatrix means it's not identity } return false; } Loading Loading
graphics/java/android/graphics/Shader.java +4 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,9 @@ public class Shader { */ private long mNativeInstance; /** * Current matrix - always set to null if local matrix is identity. */ private Matrix mLocalMatrix; public enum TileMode { Loading Loading @@ -70,7 +73,7 @@ public class Shader { public boolean getLocalMatrix(@NonNull Matrix localM) { if (mLocalMatrix != null) { localM.set(mLocalMatrix); return true; return true; // presence of mLocalMatrix means it's not identity } return false; } Loading