You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx support library, which is used in many android apps
This commit is contained in:
@@ -220,7 +220,7 @@ public class Matrix {
|
||||
if (src == null) {
|
||||
reset();
|
||||
} else {
|
||||
native_set(native_instance, src.native_instance);
|
||||
// native_set(native_instance, src.native_instance);
|
||||
}
|
||||
}
|
||||
/**
|
||||
@@ -739,7 +739,7 @@ public class Matrix {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
finalizer(native_instance);
|
||||
// finalizer(native_instance);
|
||||
} finally {
|
||||
super.finalize();
|
||||
}
|
||||
@@ -747,7 +747,9 @@ public class Matrix {
|
||||
/*package*/ final int ni() {
|
||||
return native_instance;
|
||||
}
|
||||
private static native int native_create(int native_src_or_zero);
|
||||
private static /*native*/ int native_create(int native_src_or_zero) {
|
||||
return 0;
|
||||
}
|
||||
private static native boolean native_isIdentity(int native_object);
|
||||
private static native boolean native_rectStaysRect(int native_object);
|
||||
private static native void native_reset(int native_object);
|
||||
|
||||
Reference in New Issue
Block a user