Revert "Add Swiss French and German keyboard layouts."
This reverts commit 220ce8f269
.
Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week.
Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
main
parent
220ce8f269
commit
56402cf10a
|
@ -1,63 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<merge
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/key_styles_common" />
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="8.182%p"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_swiss1" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="deleteKeyStyle"
|
|
||||||
latin:keyWidth="fillRight" />
|
|
||||||
</Row>
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="8.182%p"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_swiss2" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="enterKeyStyle"
|
|
||||||
latin:keyWidth="fillRight" />
|
|
||||||
</Row>
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="8.182%p"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="shiftKeyStyle"
|
|
||||||
latin:keyWidth="10.0%p" />
|
|
||||||
<Spacer
|
|
||||||
latin:keyWidth="3.181%p" />
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_qwertz3" />
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/keys_exclamation_question" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="shiftKeyStyle"
|
|
||||||
latin:keyXPos="-10.0%p"
|
|
||||||
latin:keyWidth="fillRight" />
|
|
||||||
</Row>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
|
||||||
</merge>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<Keyboard
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_swiss" />
|
|
||||||
</Keyboard>
|
|
|
@ -1,42 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<KeyboardLayoutSet
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
|
|
||||||
<Element
|
|
||||||
latin:elementName="alphabet"
|
|
||||||
latin:elementKeyboard="@xml/kbd_swiss"
|
|
||||||
latin:enableProximityCharsCorrection="true" />
|
|
||||||
<Element
|
|
||||||
latin:elementName="symbols"
|
|
||||||
latin:elementKeyboard="@xml/kbd_symbols" />
|
|
||||||
<Element
|
|
||||||
latin:elementName="symbolsShifted"
|
|
||||||
latin:elementKeyboard="@xml/kbd_symbols_shift" />
|
|
||||||
<Element
|
|
||||||
latin:elementName="phone"
|
|
||||||
latin:elementKeyboard="@xml/kbd_phone" />
|
|
||||||
<Element
|
|
||||||
latin:elementName="phoneSymbols"
|
|
||||||
latin:elementKeyboard="@xml/kbd_phone_symbols" />
|
|
||||||
<Element
|
|
||||||
latin:elementName="number"
|
|
||||||
latin:elementKeyboard="@xml/kbd_number" />
|
|
||||||
</KeyboardLayoutSet>
|
|
|
@ -32,7 +32,6 @@
|
||||||
cs: Czech/qwertz
|
cs: Czech/qwertz
|
||||||
da: Danish/nordic
|
da: Danish/nordic
|
||||||
de: German/qwertz
|
de: German/qwertz
|
||||||
de_CH: German Switzerland/swiss
|
|
||||||
el: Greek/greek
|
el: Greek/greek
|
||||||
en_US: English United States/qwerty
|
en_US: English United States/qwerty
|
||||||
en_GB: English Great Britain/qwerty
|
en_GB: English Great Britain/qwerty
|
||||||
|
@ -45,7 +44,6 @@
|
||||||
fi: Finnish/nordic
|
fi: Finnish/nordic
|
||||||
fr: French/azerty
|
fr: French/azerty
|
||||||
fr_CA: French Canada/qwerty
|
fr_CA: French Canada/qwerty
|
||||||
fr_CH: French Switzerland/swiss
|
|
||||||
hi: Hindi/hindi
|
hi: Hindi/hindi
|
||||||
hr: Croatian/qwertz
|
hr: Croatian/qwertz
|
||||||
hu: Hungarian/qwertz
|
hu: Hungarian/qwertz
|
||||||
|
@ -181,13 +179,6 @@
|
||||||
android:imeSubtypeMode="keyboard"
|
android:imeSubtypeMode="keyboard"
|
||||||
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
||||||
/>
|
/>
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
|
||||||
android:label="@string/subtype_generic"
|
|
||||||
android:subtypeId="0x7acfd0aa"
|
|
||||||
android:imeSubtypeLocale="de_CH"
|
|
||||||
android:imeSubtypeMode="keyboard"
|
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=swiss,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
|
||||||
/>
|
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_generic"
|
android:label="@string/subtype_generic"
|
||||||
android:subtypeId="0x0e7802d3"
|
android:subtypeId="0x0e7802d3"
|
||||||
|
@ -260,13 +251,6 @@
|
||||||
android:imeSubtypeMode="keyboard"
|
android:imeSubtypeMode="keyboard"
|
||||||
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
||||||
/>
|
/>
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
|
||||||
android:label="@string/subtype_generic"
|
|
||||||
android:subtypeId="0xeadc55f5"
|
|
||||||
android:imeSubtypeLocale="fr_CH"
|
|
||||||
android:imeSubtypeMode="keyboard"
|
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=swiss,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
|
|
||||||
/>
|
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_generic"
|
android:label="@string/subtype_generic"
|
||||||
android:subtypeId="0x39753b7f"
|
android:subtypeId="0x39753b7f"
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<merge
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_qwertz1" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_swiss_row1_11"
|
|
||||||
latin:moreKeys="!text/more_keys_for_swiss_row1_11" />
|
|
||||||
</merge>
|
|
|
@ -1,32 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<merge
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_qwerty2" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_swiss_row2_10"
|
|
||||||
latin:moreKeys="!text/more_keys_for_swiss_row2_10" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_swiss_row2_11"
|
|
||||||
latin:moreKeys="!text/more_keys_for_swiss_row2_11" />
|
|
||||||
</merge>
|
|
|
@ -1,57 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2013, 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<merge
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/key_styles_common" />
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="9.091%p"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_swiss1" />
|
|
||||||
</Row>
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="9.091%p"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_swiss2" />
|
|
||||||
</Row>
|
|
||||||
<Row
|
|
||||||
latin:keyWidth="9.2%p"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="shiftKeyStyle"
|
|
||||||
latin:keyWidth="15%p"
|
|
||||||
latin:visualInsetsRight="1%p" />
|
|
||||||
<Spacer
|
|
||||||
latin:keyWidth="2.8%p" />
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rowkeys_qwertz3" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="deleteKeyStyle"
|
|
||||||
latin:keyXPos="-15%p"
|
|
||||||
latin:keyWidth="fillRight"
|
|
||||||
latin:visualInsetsLeft="1%p" />
|
|
||||||
</Row>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
|
||||||
</merge>
|
|
File diff suppressed because it is too large
Load Diff
|
@ -197,9 +197,7 @@ public final class SubtypeLocaleUtils {
|
||||||
// es_US spanish F Español (EE.UU.) exception
|
// es_US spanish F Español (EE.UU.) exception
|
||||||
// fr azerty F Français
|
// fr azerty F Français
|
||||||
// fr_CA qwerty F Français (Canada)
|
// fr_CA qwerty F Français (Canada)
|
||||||
// fr_CH swiss F Français (Suisse)
|
|
||||||
// de qwertz F Deutsch
|
// de qwertz F Deutsch
|
||||||
// de_CH swiss T Deutsch (Schweiz)
|
|
||||||
// zz qwerty F No language (QWERTY) in system locale
|
// zz qwerty F No language (QWERTY) in system locale
|
||||||
// fr qwertz T Français (QWERTZ)
|
// fr qwertz T Français (QWERTZ)
|
||||||
// de qwerty T Deutsch (QWERTY)
|
// de qwerty T Deutsch (QWERTY)
|
||||||
|
@ -300,9 +298,7 @@ public final class SubtypeLocaleUtils {
|
||||||
// es_US spanish F Es Español Español (EE.UU.) exception
|
// es_US spanish F Es Español Español (EE.UU.) exception
|
||||||
// fr azerty F Fr Français Français
|
// fr azerty F Fr Français Français
|
||||||
// fr_CA qwerty F Fr Français Français (Canada)
|
// fr_CA qwerty F Fr Français Français (Canada)
|
||||||
// fr_CH swiss F Fr Français Français (Suisse)
|
|
||||||
// de qwertz F De Deutsch Deutsch
|
// de qwertz F De Deutsch Deutsch
|
||||||
// de_CH swiss T De Deutsch Deutsch (Schweiz)
|
|
||||||
// zz qwerty F QWERTY QWERTY
|
// zz qwerty F QWERTY QWERTY
|
||||||
// fr qwertz T Fr Français Français
|
// fr qwertz T Fr Français Français
|
||||||
// de qwerty T De Deutsch Deutsch
|
// de qwerty T De Deutsch Deutsch
|
||||||
|
|
|
@ -41,9 +41,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
InputMethodSubtype ES_US;
|
InputMethodSubtype ES_US;
|
||||||
InputMethodSubtype FR;
|
InputMethodSubtype FR;
|
||||||
InputMethodSubtype FR_CA;
|
InputMethodSubtype FR_CA;
|
||||||
InputMethodSubtype FR_CH;
|
|
||||||
InputMethodSubtype DE;
|
InputMethodSubtype DE;
|
||||||
InputMethodSubtype DE_CH;
|
|
||||||
InputMethodSubtype ZZ;
|
InputMethodSubtype ZZ;
|
||||||
InputMethodSubtype DE_QWERTY;
|
InputMethodSubtype DE_QWERTY;
|
||||||
InputMethodSubtype FR_QWERTZ;
|
InputMethodSubtype FR_QWERTZ;
|
||||||
|
@ -72,12 +70,8 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
Locale.FRENCH.toString(), "azerty");
|
Locale.FRENCH.toString(), "azerty");
|
||||||
FR_CA = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
FR_CA = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
||||||
Locale.CANADA_FRENCH.toString(), "qwerty");
|
Locale.CANADA_FRENCH.toString(), "qwerty");
|
||||||
FR_CH = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
|
||||||
"fr_CH", "swiss");
|
|
||||||
DE = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
DE = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
||||||
Locale.GERMAN.toString(), "qwertz");
|
Locale.GERMAN.toString(), "qwertz");
|
||||||
DE_CH = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
|
||||||
"de_CH", "swiss");
|
|
||||||
ZZ = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
ZZ = mRichImm.findSubtypeByLocaleAndKeyboardLayoutSet(
|
||||||
SubtypeLocaleUtils.NO_LANGUAGE, "qwerty");
|
SubtypeLocaleUtils.NO_LANGUAGE, "qwerty");
|
||||||
DE_QWERTY = AdditionalSubtypeUtils.createAdditionalSubtype(
|
DE_QWERTY = AdditionalSubtypeUtils.createAdditionalSubtype(
|
||||||
|
@ -118,9 +112,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
assertEquals("es_US", "spanish", SubtypeLocaleUtils.getKeyboardLayoutSetName(ES_US));
|
assertEquals("es_US", "spanish", SubtypeLocaleUtils.getKeyboardLayoutSetName(ES_US));
|
||||||
assertEquals("fr ", "azerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR));
|
assertEquals("fr ", "azerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR));
|
||||||
assertEquals("fr_CA", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR_CA));
|
assertEquals("fr_CA", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR_CA));
|
||||||
assertEquals("fr_CH", "swiss", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR_CH));
|
|
||||||
assertEquals("de ", "qwertz", SubtypeLocaleUtils.getKeyboardLayoutSetName(DE));
|
assertEquals("de ", "qwertz", SubtypeLocaleUtils.getKeyboardLayoutSetName(DE));
|
||||||
assertEquals("de_CH", "swiss", SubtypeLocaleUtils.getKeyboardLayoutSetName(DE_CH));
|
|
||||||
assertEquals("zz ", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(ZZ));
|
assertEquals("zz ", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(ZZ));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,9 +125,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// es_US spanish F Spanish (US) exception
|
// es_US spanish F Spanish (US) exception
|
||||||
// fr azerty F French
|
// fr azerty F French
|
||||||
// fr_CA qwerty F French (Canada)
|
// fr_CA qwerty F French (Canada)
|
||||||
// fr_CH swiss F French (Switzerland)
|
|
||||||
// de qwertz F German
|
// de qwertz F German
|
||||||
// de_CH swiss F German (Switzerland)
|
|
||||||
// zz qwerty F Alphabet (QWERTY)
|
// zz qwerty F Alphabet (QWERTY)
|
||||||
// fr qwertz T French (QWERTZ)
|
// fr qwertz T French (QWERTZ)
|
||||||
// de qwerty T German (QWERTY)
|
// de qwerty T German (QWERTY)
|
||||||
|
@ -158,12 +148,8 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR));
|
||||||
assertEquals("fr_CA", "French (Canada)",
|
assertEquals("fr_CA", "French (Canada)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
||||||
assertEquals("fr_CH", "French (Switzerland)",
|
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CH));
|
|
||||||
assertEquals("de ", "German",
|
assertEquals("de ", "German",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
||||||
assertEquals("de_CH", "German (Switzerland)",
|
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE_CH));
|
|
||||||
assertEquals("zz ", "Alphabet (QWERTY)",
|
assertEquals("zz ", "Alphabet (QWERTY)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
||||||
return null;
|
return null;
|
||||||
|
@ -203,9 +189,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// es_US spanish F Espagnol (États-Unis) exception
|
// es_US spanish F Espagnol (États-Unis) exception
|
||||||
// fr azerty F Français
|
// fr azerty F Français
|
||||||
// fr_CA qwerty F Français (Canada)
|
// fr_CA qwerty F Français (Canada)
|
||||||
// fr_CH swiss F Français (Suisse)
|
|
||||||
// de qwertz F Allemand
|
// de qwertz F Allemand
|
||||||
// de_CH swiss F Allemand (Suisse)
|
|
||||||
// zz qwerty F Aucune langue (QWERTY)
|
// zz qwerty F Aucune langue (QWERTY)
|
||||||
// fr qwertz T Français (QWERTZ)
|
// fr qwertz T Français (QWERTZ)
|
||||||
// de qwerty T Allemand (QWERTY)
|
// de qwerty T Allemand (QWERTY)
|
||||||
|
@ -228,12 +212,8 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR));
|
||||||
assertEquals("fr_CA", "Français (Canada)",
|
assertEquals("fr_CA", "Français (Canada)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
||||||
assertEquals("fr_CH", "Français (Suisse)",
|
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CH));
|
|
||||||
assertEquals("de ", "Allemand",
|
assertEquals("de ", "Allemand",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
||||||
assertEquals("de_CH", "Allemand (Suisse)",
|
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE_CH));
|
|
||||||
assertEquals("zz ", "Alphabet latin (QWERTY)",
|
assertEquals("zz ", "Alphabet latin (QWERTY)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
||||||
return null;
|
return null;
|
||||||
|
@ -320,9 +300,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// es_US spanish F Es Español Español (EE.UU.) exception
|
// es_US spanish F Es Español Español (EE.UU.) exception
|
||||||
// fr azerty F Fr Français Français
|
// fr azerty F Fr Français Français
|
||||||
// fr_CA qwerty F Fr Français Français (Canada)
|
// fr_CA qwerty F Fr Français Français (Canada)
|
||||||
// fr_CH swiss F Fr Français Français (Suisse)
|
|
||||||
// de qwertz F De Deutsch Deutsch
|
// de qwertz F De Deutsch Deutsch
|
||||||
// de_CH swiss F De Deutsch Deutsch (Schweiz)
|
|
||||||
// zz qwerty F QWERTY QWERTY
|
// zz qwerty F QWERTY QWERTY
|
||||||
// fr qwertz T Fr Français Français
|
// fr qwertz T Fr Français Français
|
||||||
// de qwerty T De Deutsch Deutsch
|
// de qwerty T De Deutsch Deutsch
|
||||||
|
@ -339,11 +317,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
assertEquals("fr ", "Français", SubtypeLocaleUtils.getFullDisplayName(FR));
|
assertEquals("fr ", "Français", SubtypeLocaleUtils.getFullDisplayName(FR));
|
||||||
assertEquals("fr_CA", "Français (Canada)",
|
assertEquals("fr_CA", "Français (Canada)",
|
||||||
SubtypeLocaleUtils.getFullDisplayName(FR_CA));
|
SubtypeLocaleUtils.getFullDisplayName(FR_CA));
|
||||||
assertEquals("fr_CH", "Français (Suisse)",
|
|
||||||
SubtypeLocaleUtils.getFullDisplayName(FR_CH));
|
|
||||||
assertEquals("de ", "Deutsch", SubtypeLocaleUtils.getFullDisplayName(DE));
|
assertEquals("de ", "Deutsch", SubtypeLocaleUtils.getFullDisplayName(DE));
|
||||||
assertEquals("de_CH", "Deutsch (Schweiz)",
|
|
||||||
SubtypeLocaleUtils.getFullDisplayName(DE_CH));
|
|
||||||
assertEquals("zz ", "QWERTY", SubtypeLocaleUtils.getFullDisplayName(ZZ));
|
assertEquals("zz ", "QWERTY", SubtypeLocaleUtils.getFullDisplayName(ZZ));
|
||||||
|
|
||||||
assertEquals("en_US", "English", SubtypeLocaleUtils.getMiddleDisplayName(EN_US));
|
assertEquals("en_US", "English", SubtypeLocaleUtils.getMiddleDisplayName(EN_US));
|
||||||
|
@ -351,9 +325,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
assertEquals("es_US", "Español", SubtypeLocaleUtils.getMiddleDisplayName(ES_US));
|
assertEquals("es_US", "Español", SubtypeLocaleUtils.getMiddleDisplayName(ES_US));
|
||||||
assertEquals("fr ", "Français", SubtypeLocaleUtils.getMiddleDisplayName(FR));
|
assertEquals("fr ", "Français", SubtypeLocaleUtils.getMiddleDisplayName(FR));
|
||||||
assertEquals("fr_CA", "Français", SubtypeLocaleUtils.getMiddleDisplayName(FR_CA));
|
assertEquals("fr_CA", "Français", SubtypeLocaleUtils.getMiddleDisplayName(FR_CA));
|
||||||
assertEquals("fr_CH", "Français", SubtypeLocaleUtils.getMiddleDisplayName(FR_CH));
|
|
||||||
assertEquals("de ", "Deutsch", SubtypeLocaleUtils.getMiddleDisplayName(DE));
|
assertEquals("de ", "Deutsch", SubtypeLocaleUtils.getMiddleDisplayName(DE));
|
||||||
assertEquals("de_CH", "Deutsch", SubtypeLocaleUtils.getMiddleDisplayName(DE_CH));
|
|
||||||
assertEquals("zz ", "QWERTY", SubtypeLocaleUtils.getMiddleDisplayName(ZZ));
|
assertEquals("zz ", "QWERTY", SubtypeLocaleUtils.getMiddleDisplayName(ZZ));
|
||||||
|
|
||||||
assertEquals("en_US", "En", SubtypeLocaleUtils.getShortDisplayName(EN_US));
|
assertEquals("en_US", "En", SubtypeLocaleUtils.getShortDisplayName(EN_US));
|
||||||
|
@ -361,9 +333,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
assertEquals("es_US", "Es", SubtypeLocaleUtils.getShortDisplayName(ES_US));
|
assertEquals("es_US", "Es", SubtypeLocaleUtils.getShortDisplayName(ES_US));
|
||||||
assertEquals("fr ", "Fr", SubtypeLocaleUtils.getShortDisplayName(FR));
|
assertEquals("fr ", "Fr", SubtypeLocaleUtils.getShortDisplayName(FR));
|
||||||
assertEquals("fr_CA", "Fr", SubtypeLocaleUtils.getShortDisplayName(FR_CA));
|
assertEquals("fr_CA", "Fr", SubtypeLocaleUtils.getShortDisplayName(FR_CA));
|
||||||
assertEquals("fr_CH", "Fr", SubtypeLocaleUtils.getShortDisplayName(FR_CH));
|
|
||||||
assertEquals("de ", "De", SubtypeLocaleUtils.getShortDisplayName(DE));
|
assertEquals("de ", "De", SubtypeLocaleUtils.getShortDisplayName(DE));
|
||||||
assertEquals("de_CH", "De", SubtypeLocaleUtils.getShortDisplayName(DE_CH));
|
|
||||||
assertEquals("zz ", "", SubtypeLocaleUtils.getShortDisplayName(ZZ));
|
assertEquals("zz ", "", SubtypeLocaleUtils.getShortDisplayName(ZZ));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,18 +55,6 @@
|
||||||
<!-- U+00F1: "ñ" LATIN SMALL LETTER N WITH TILDE
|
<!-- U+00F1: "ñ" LATIN SMALL LETTER N WITH TILDE
|
||||||
U+0144: "ń" LATIN SMALL LETTER N WITH ACUTE -->
|
U+0144: "ń" LATIN SMALL LETTER N WITH ACUTE -->
|
||||||
<string name="more_keys_for_n">ñ,ń</string>
|
<string name="more_keys_for_n">ñ,ń</string>
|
||||||
<!-- U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS -->
|
|
||||||
<string name="keylabel_for_swiss_row1_11">ü</string>
|
|
||||||
<!-- U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE -->
|
|
||||||
<string name="more_keys_for_swiss_row1_11">è</string>
|
|
||||||
<!-- U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS -->
|
|
||||||
<string name="keylabel_for_swiss_row2_10">ö</string>
|
|
||||||
<!-- U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE -->
|
|
||||||
<string name="more_keys_for_swiss_row2_10">é</string>
|
|
||||||
<!-- U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS -->
|
|
||||||
<string name="keylabel_for_swiss_row2_11">ä</string>
|
|
||||||
<!-- U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE -->
|
|
||||||
<string name="more_keys_for_swiss_row2_11">à</string>
|
|
||||||
<string name="single_quotes">!text/single_9qm_lqm</string>
|
<string name="single_quotes">!text/single_9qm_lqm</string>
|
||||||
<string name="double_quotes">!text/double_9qm_lqm</string>
|
<string name="double_quotes">!text/double_9qm_lqm</string>
|
||||||
<string name="single_angle_quotes">!text/single_raqm_laqm</string>
|
<string name="single_angle_quotes">!text/single_raqm_laqm</string>
|
||||||
|
|
|
@ -65,16 +65,4 @@
|
||||||
<string name="more_keys_for_c">ç,ć,č</string>
|
<string name="more_keys_for_c">ç,ć,č</string>
|
||||||
<!-- U+00FF: "ÿ" LATIN SMALL LETTER Y WITH DIAERESIS -->
|
<!-- U+00FF: "ÿ" LATIN SMALL LETTER Y WITH DIAERESIS -->
|
||||||
<string name="more_keys_for_y">%,ÿ</string>
|
<string name="more_keys_for_y">%,ÿ</string>
|
||||||
<!-- U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE -->
|
|
||||||
<string name="keylabel_for_swiss_row1_11">è</string>
|
|
||||||
<!-- U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS -->
|
|
||||||
<string name="more_keys_for_swiss_row1_11">ü</string>
|
|
||||||
<!-- U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE -->
|
|
||||||
<string name="keylabel_for_swiss_row2_10">é</string>
|
|
||||||
<!-- U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS -->
|
|
||||||
<string name="more_keys_for_swiss_row2_10">ö</string>
|
|
||||||
<!-- U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE -->
|
|
||||||
<string name="keylabel_for_swiss_row2_11">à</string>
|
|
||||||
<!-- U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS -->
|
|
||||||
<string name="more_keys_for_swiss_row2_11">ä</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -63,12 +63,6 @@
|
||||||
<string name="keylabel_for_south_slavic_row3_8"></string>
|
<string name="keylabel_for_south_slavic_row3_8"></string>
|
||||||
<string name="more_keys_for_cyrillic_ie"></string>
|
<string name="more_keys_for_cyrillic_ie"></string>
|
||||||
<string name="more_keys_for_cyrillic_i"></string>
|
<string name="more_keys_for_cyrillic_i"></string>
|
||||||
<string name="keylabel_for_swiss_row1_11"></string>
|
|
||||||
<string name="keylabel_for_swiss_row2_10"></string>
|
|
||||||
<string name="keylabel_for_swiss_row2_11"></string>
|
|
||||||
<string name="more_keys_for_swiss_row1_11"></string>
|
|
||||||
<string name="more_keys_for_swiss_row2_10"></string>
|
|
||||||
<string name="more_keys_for_swiss_row2_11"></string>
|
|
||||||
<!-- Label for "switch to alphabetic" key. -->
|
<!-- Label for "switch to alphabetic" key. -->
|
||||||
<string name="label_to_alpha_key">ABC</string>
|
<string name="label_to_alpha_key">ABC</string>
|
||||||
<string name="single_quotes">!text/single_lqm_rqm</string>
|
<string name="single_quotes">!text/single_lqm_rqm</string>
|
||||||
|
|
Loading…
Reference in New Issue