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

Commit 0bbb917d authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Cosmetic fixes and style fixes

Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
parent 0657b969
Loading
Loading
Loading
Loading
+15 −16
Original line number Original line Diff line number Diff line
/*
/*
**
 *
** Copyright 2011, The Android Open Source Project
 * Copyright 2011, The Android Open Source Project
**
 *
** Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
 * You may obtain a copy of the License at
**
 *
**     http://www.apache.org/licenses/LICENSE-2.0
 *     http://www.apache.org/licenses/LICENSE-2.0
**
 *
** Unless required by applicable law or agreed to in writing, software
 * Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
 * distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
 * See the License for the specific language governing permissions and
** limitations under the License.
 * limitations under the License.
 */
 */


#define LOG_TAG "LatinIME: jni: ProximityInfo"
#define LOG_TAG "LatinIME: jni: ProximityInfo"
@@ -85,5 +85,4 @@ int register_ProximityInfo(JNIEnv *env) {
    return registerNativeMethods(env, kClassPathName, sKeyboardMethods,
    return registerNativeMethods(env, kClassPathName, sKeyboardMethods,
            sizeof(sKeyboardMethods) / sizeof(sKeyboardMethods[0]));
            sizeof(sKeyboardMethods) / sizeof(sKeyboardMethods[0]));
}
}

} // namespace latinime
} // namespace latinime
+16 −17
Original line number Original line Diff line number Diff line
/*
/*
**
 *
** Copyright 2011, The Android Open Source Project
 * Copyright 2011, The Android Open Source Project
**
 *
** Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
 * You may obtain a copy of the License at
**
 *
**     http://www.apache.org/licenses/LICENSE-2.0
 *     http://www.apache.org/licenses/LICENSE-2.0
**
 *
** Unless required by applicable law or agreed to in writing, software
 * Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
 * distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
 * See the License for the specific language governing permissions and
** limitations under the License.
 * limitations under the License.
 */
 */


#ifndef _COM_ANDROID_INPUTMETHOD_KEYBOARD_PROXIMITYINFO_H
#ifndef _COM_ANDROID_INPUTMETHOD_KEYBOARD_PROXIMITYINFO_H
@@ -24,6 +24,5 @@ namespace latinime {


int register_ProximityInfo(JNIEnv *env);
int register_ProximityInfo(JNIEnv *env);


}
} // namespace latinime

#endif // _COM_ANDROID_INPUTMETHOD_KEYBOARD_PROXIMITYINFO_H
#endif // _COM_ANDROID_INPUTMETHOD_KEYBOARD_PROXIMITYINFO_H
+18 −19
Original line number Original line Diff line number Diff line
/*
/*
**
 *
** Copyright 2009, The Android Open Source Project
 * Copyright 2009, The Android Open Source Project
**
 *
** Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
 * You may obtain a copy of the License at
**
 *
**     http://www.apache.org/licenses/LICENSE-2.0
 *     http://www.apache.org/licenses/LICENSE-2.0
**
 *
** Unless required by applicable law or agreed to in writing, software
 * Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
 * distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
 * See the License for the specific language governing permissions and
** limitations under the License.
 * limitations under the License.
 */
 */


#define LOG_TAG "LatinIME: jni: BinaryDictionary"
#define LOG_TAG "LatinIME: jni: BinaryDictionary"
@@ -267,5 +267,4 @@ int register_BinaryDictionary(JNIEnv *env) {
    return registerNativeMethods(env, kClassPathName, sMethods,
    return registerNativeMethods(env, kClassPathName, sMethods,
            sizeof(sMethods) / sizeof(sMethods[0]));
            sizeof(sMethods) / sizeof(sMethods[0]));
}
}

} // namespace latinime
} // namespace latinime
+16 −17
Original line number Original line Diff line number Diff line
/*
/*
**
 *
** Copyright 2011, The Android Open Source Project
 * Copyright 2011, The Android Open Source Project
**
 *
** Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
 * You may obtain a copy of the License at
**
 *
**     http://www.apache.org/licenses/LICENSE-2.0
 *     http://www.apache.org/licenses/LICENSE-2.0
**
 *
** Unless required by applicable law or agreed to in writing, software
 * Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
 * distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
 * See the License for the specific language governing permissions and
** limitations under the License.
 * limitations under the License.
 */
 */


#ifndef _COM_ANDROID_INPUTMETHOD_LATIN_BINARYDICTIONARY_H
#ifndef _COM_ANDROID_INPUTMETHOD_LATIN_BINARYDICTIONARY_H
@@ -24,6 +24,5 @@ namespace latinime {


int register_BinaryDictionary(JNIEnv *env);
int register_BinaryDictionary(JNIEnv *env);


}
} // namespace latinime

#endif // _COM_ANDROID_INPUTMETHOD_LATIN_BINARYDICTIONARY_H
#endif // _COM_ANDROID_INPUTMETHOD_LATIN_BINARYDICTIONARY_H
+16 −17
Original line number Original line Diff line number Diff line
/*
/*
**
 *
** Copyright 2012, The Android Open Source Project
 * Copyright 2012, The Android Open Source Project
**
 *
** Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
 * You may obtain a copy of the License at
**
 *
**     http://www.apache.org/licenses/LICENSE-2.0
 *     http://www.apache.org/licenses/LICENSE-2.0
**
 *
** Unless required by applicable law or agreed to in writing, software
 * Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
 * distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
 * See the License for the specific language governing permissions and
** limitations under the License.
 * limitations under the License.
 */
 */


#include "com_android_inputmethod_latin_NativeUtils.h"
#include "com_android_inputmethod_latin_NativeUtils.h"
@@ -36,5 +36,4 @@ int register_NativeUtils(JNIEnv *env) {
    return registerNativeMethods(env, kClassPathName, sMethods,
    return registerNativeMethods(env, kClassPathName, sMethods,
            sizeof(sMethods) / sizeof(sMethods[0]));
            sizeof(sMethods) / sizeof(sMethods[0]));
}
}

} // namespace latinime
} // namespace latinime
Loading