Merge remote branch 'goog/master' into merge
Conflicts: java/res/values-cs/strings.xml java/res/values-da/strings.xml java/res/values-de/strings.xml java/res/values-el/strings.xml java/res/values-es-rUS/strings.xml java/res/values-es/strings.xml java/res/values-fr/strings.xml java/res/values-it/strings.xml java/res/values-ja/strings.xml java/res/values-ko/strings.xml java/res/values-nb/strings.xml java/res/values-nl/strings.xml java/res/values-pl/strings.xml java/res/values-pt-rPT/strings.xml java/res/values-pt/strings.xml java/res/values-ru/strings.xml java/res/values-sv/strings.xml java/res/values-tr/strings.xml java/res/values-xlarge/dimens.xml java/res/values-zh-rCN/strings.xml java/res/values-zh-rTW/strings.xml java/res/values/bools.xml java/res/xml/kbd_qwerty_rows.xml java/res/xml/method.xml java/res/xml/prefs.xml Change-Id: I8768d16965e6e82c14ee742b9ada56438497eb86
|
@ -17,6 +17,6 @@ LOCAL_STATIC_JAVA_LIBRARIES := android-common
|
|||
|
||||
LOCAL_SDK_VERSION := current
|
||||
|
||||
LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
|
||||
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
|
10
java/AndroidManifest.xml
Executable file → Normal file
|
@ -10,7 +10,7 @@
|
|||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
|
||||
<application android:label="@string/english_ime_name"
|
||||
android:backupAgent="LatinIMEBackupAgent"
|
||||
android:backupAgent="BackupAgent"
|
||||
android:killAfterRestore="false">
|
||||
|
||||
<service android:name="LatinIME"
|
||||
|
@ -22,7 +22,13 @@
|
|||
<meta-data android:name="android.view.im" android:resource="@xml/method" />
|
||||
</service>
|
||||
|
||||
<activity android:name="LatinIMESettings" android:label="@string/english_ime_settings">
|
||||
<activity android:name="Settings" android:label="@string/english_ime_settings">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name="DebugSettings" android:label="@string/english_ime_debug_settings">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
</intent-filter>
|
||||
|
|
|
@ -5,4 +5,12 @@
|
|||
|
||||
-keep class com.android.inputmethod.latin.Suggest {
|
||||
<init>(...);
|
||||
com.android.inputmethod.latin.SuggestedWords getSuggestions(...);
|
||||
}
|
||||
|
||||
-keep class com.android.inputmethod.latin.UserBigramDictionary {
|
||||
void setDatabaseMax(int);
|
||||
void setDatabaseDelete(int);
|
||||
void waitUntilUpdateDBDone();
|
||||
void waitForDictionaryLoading();
|
||||
}
|
||||
|
|
|
@ -17,14 +17,13 @@
|
|||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="alternates_for_a">àáâãäåæ</string>
|
||||
<string name="alternates_for_e">èéêë</string>
|
||||
<string name="alternates_for_i">ìíîï</string>
|
||||
<string name="alternates_for_o">òóôõöœø</string>
|
||||
<string name="alternates_for_u">ùúûü</string>
|
||||
<string name="alternates_for_s">§ß</string>
|
||||
<string name="alternates_for_n">ñ</string>
|
||||
<string name="alternates_for_c">ç</string>
|
||||
<string name="alternates_for_y">ýÿ</string>
|
||||
</resources>
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
>
|
||||
<alpha
|
||||
android:fromAlpha="0.5"
|
||||
android:toAlpha="1.0"
|
||||
android:duration="@integer/config_preview_fadein_anim_time" />
|
||||
</set>
|
|
@ -17,14 +17,13 @@
|
|||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="alternates_for_a">àáâãäåæ</string>
|
||||
<string name="alternates_for_e">3èéêë</string>
|
||||
<string name="alternates_for_i">ìíîï8</string>
|
||||
<string name="alternates_for_o">òóôõöœø9</string>
|
||||
<string name="alternates_for_u">ùúûü7</string>
|
||||
<string name="alternates_for_s">§ß</string>
|
||||
<string name="alternates_for_n">ñ</string>
|
||||
<string name="alternates_for_c">ç</string>
|
||||
<string name="alternates_for_y">ýÿ6</string>
|
||||
</resources>
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
>
|
||||
<alpha
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0"
|
||||
android:duration="@integer/config_preview_fadeout_anim_time" />
|
||||
</set>
|
|
@ -17,14 +17,13 @@
|
|||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="alternates_for_a">àáâãäåæ</string>
|
||||
<string name="alternates_for_e">3èéêë</string>
|
||||
<string name="alternates_for_i">ìíîï8</string>
|
||||
<string name="alternates_for_o">òóôõöœø9</string>
|
||||
<string name="alternates_for_u">ùúûü7</string>
|
||||
<string name="alternates_for_s">§ß</string>
|
||||
<string name="alternates_for_n">ñ</string>
|
||||
<string name="alternates_for_c">ç</string>
|
||||
<string name="alternates_for_y">ýÿ6</string>
|
||||
</resources>
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
>
|
||||
<alpha
|
||||
android:fromAlpha="0.5"
|
||||
android:toAlpha="1.0"
|
||||
android:duration="@integer/config_preview_fadein_anim_time" />
|
||||
</set>
|
29
java/res/anim/mini_keyboard_fadeout.xml
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2010, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
>
|
||||
<alpha
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0"
|
||||
android:duration="@integer/config_preview_fadeout_anim_time" />
|
||||
</set>
|
BIN
java/res/drawable-hdpi/btn_candidate_normal.9.png
Normal file
After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 511 B |
BIN
java/res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.png
Normal file
After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 760 B |
After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 747 B After Width: | Height: | Size: 730 B |
BIN
java/res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.png
Normal file
After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 962 B After Width: | Height: | Size: 940 B |
After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 461 B |
BIN
java/res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.png
Normal file
After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 811 B |
BIN
java/res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.png
Normal file
After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 145 B |
BIN
java/res/drawable-hdpi/hint_popup.9.png
Normal file
After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 681 B |
BIN
java/res/drawable-hdpi/key_hint_at_holo.9.png
Normal file
After Width: | Height: | Size: 789 B |
BIN
java/res/drawable-hdpi/key_hint_at_large_holo.9.png
Normal file
After Width: | Height: | Size: 958 B |
BIN
java/res/drawable-hdpi/key_hint_colon_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-hdpi/key_hint_colon_large_holo.9.png
Normal file
After Width: | Height: | Size: 360 B |
BIN
java/res/drawable-hdpi/key_hint_comma_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-hdpi/key_hint_dash_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-hdpi/key_hint_doublecross_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-hdpi/key_hint_equal_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_exclamation_holo.9.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
java/res/drawable-hdpi/key_hint_exclamation_large_holo.9.png
Normal file
After Width: | Height: | Size: 520 B |
BIN
java/res/drawable-hdpi/key_hint_larger_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_parenclose_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_parenopen_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_period_holo.9.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
java/res/drawable-hdpi/key_hint_plus_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_plus_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
java/res/drawable-hdpi/key_hint_question_holo.9.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
java/res/drawable-hdpi/key_hint_question_large_holo.9.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
java/res/drawable-hdpi/key_hint_quote_holo.9.png
Normal file
After Width: | Height: | Size: 342 B |
BIN
java/res/drawable-hdpi/key_hint_quote_large_holo.9.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
java/res/drawable-hdpi/key_hint_semicolon_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-hdpi/key_hint_simplequote_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-hdpi/key_hint_slash_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_slash_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
java/res/drawable-hdpi/key_hint_smaller_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_star_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-hdpi/key_hint_underline_holo.9.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
java/res/drawable-hdpi/keyboard_background_holo.9.png
Normal file
After Width: | Height: | Size: 292 B |
After Width: | Height: | Size: 1,004 B |
After Width: | Height: | Size: 4.7 KiB |
BIN
java/res/drawable-hdpi/mic_slash_holo.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
java/res/drawable-hdpi/sym_keyboard_shift_locked_holo.png
Normal file
After Width: | Height: | Size: 803 B |
0
java/res/drawable-hdpi/working.png
Executable file → Normal file
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_normal.9.png
Executable file
After Width: | Height: | Size: 737 B |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_normal_off.9.png
Executable file
After Width: | Height: | Size: 941 B |
After Width: | Height: | Size: 2.6 KiB |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_normal_on.9.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.7 KiB |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_normal_stone.9.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_pressed.9.png
Executable file
After Width: | Height: | Size: 733 B |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_pressed_off.9.png
Executable file
After Width: | Height: | Size: 964 B |
BIN
java/res/drawable-land-hdpi/btn_keyboard_key_pressed_on.9.png
Executable file
After Width: | Height: | Size: 1 KiB |
BIN
java/res/drawable-land-hdpi/keyboard_suggest_strip_divider.png
Executable file
After Width: | Height: | Size: 172 B |
BIN
java/res/drawable-land-mdpi/hint_popup_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_at_holo.9.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_at_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_colon_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_colon_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_comma_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_dash_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_doublecross_holo.9.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_equal_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_exclamation_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_larger_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_parenclose_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_parenopen_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_period_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_plus_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_plus_large_holo.9.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_question_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_question_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_quote_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_quote_large_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_semicolon_holo.9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_simplequote_holo.9.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_slash_holo.9.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
java/res/drawable-land-mdpi/key_hint_slash_large_holo.9.png
Normal file
After Width: | Height: | Size: 770 B |