Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3495d08c authored by Elliott Hughes's avatar Elliott Hughes Committed by Android (Google) Code Review
Browse files

Merge "Remove useless forward declarations."

parents 2e3ede52 4cb1753e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -655,7 +655,6 @@ static JNINativeMethod gBitmapMethods[] = {

#define kClassPathName  "android/graphics/Bitmap"

int register_android_graphics_Bitmap(JNIEnv* env);
int register_android_graphics_Bitmap(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env, kClassPathName,
+0 −2
Original line number Diff line number Diff line
@@ -98,7 +98,6 @@ static JNINativeMethod gCameraMethods[] = {
    { "dotWithNormal",       "(FFF)F", (void*)Camera_dotWithNormal }
};

int register_android_graphics_Camera(JNIEnv* env);
int register_android_graphics_Camera(JNIEnv* env) {
    jclass clazz = env->FindClass("android/graphics/Camera");
    if (clazz == 0) {
@@ -113,4 +112,3 @@ int register_android_graphics_Camera(JNIEnv* env) {
                                               gCameraMethods,
                                               SK_ARRAY_COUNT(gCameraMethods));
}
+2 −3
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ static JNINativeMethod gInterpolatorMethods[] = {
    { "nativeTimeToValues",     "(II[F)I",      (void*)Interpolator_timeToValues    }
};

int register_android_graphics_Interpolator(JNIEnv* env);
int register_android_graphics_Interpolator(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env,
+1 −3
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ static JNINativeMethod gLayerRasterizerMethods[] = {
    { "nativeAddLayer",     "(IIFF)V",  (void*)SkLayerRasterizerGlue::addLayer  }
};

int register_android_graphics_LayerRasterizer(JNIEnv* env);
int register_android_graphics_LayerRasterizer(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env,
@@ -31,4 +30,3 @@ int register_android_graphics_LayerRasterizer(JNIEnv* env)
                                                       gLayerRasterizerMethods,
                                                       SK_ARRAY_COUNT(gLayerRasterizerMethods));
}
+3 −5
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ static JNINativeMethod gTableMaskFilterMethods[] = {
    result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array));  \
    if (result < 0) return result

int register_android_graphics_MaskFilter(JNIEnv* env);
int register_android_graphics_MaskFilter(JNIEnv* env)
{
    int result;
@@ -91,4 +90,3 @@ int register_android_graphics_MaskFilter(JNIEnv* env)

    return 0;
}
Loading