Revert "Remove preliminary subtypes from E-MR1 release"
This reverts commit 704db5f003
.
Bug: 17743363
Reverting due to unit test breakage..
Change-Id: Ie7c1e86e50af2a05b4b7877092122dc4f026aa54
This commit is contained in:
parent
704db5f003
commit
fe5132f783
9 changed files with 16 additions and 30 deletions
|
@ -183,7 +183,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Bengali (Bangladesh) keyboard is a preliminary layout.
|
<!-- TODO: This Bengali (Bangladesh) keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<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="0xa2144b0c"
|
android:subtypeId="0xa2144b0c"
|
||||||
|
@ -192,7 +191,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=bengali_akkhor,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=bengali_akkhor,EmojiCapable"
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0xbff5986c"
|
android:subtypeId="0xbff5986c"
|
||||||
|
@ -371,7 +369,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Hinglish keyboard is a preliminary layout.
|
<!-- TODO: This Hinglish keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_hi_ZZ"
|
android:label="@string/subtype_hi_ZZ"
|
||||||
android:subtypeId="0x352eb37c"
|
android:subtypeId="0x352eb37c"
|
||||||
|
@ -380,7 +377,6 @@
|
||||||
android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
|
android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
|
||||||
android:isAsciiCapable="true"
|
android:isAsciiCapable="true"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x35b7526a"
|
android:subtypeId="0x35b7526a"
|
||||||
|
@ -553,7 +549,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Myanmar keyboard is a preliminary layout.
|
<!-- TODO: This Myanmar keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<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="0xea266ea4"
|
android:subtypeId="0xea266ea4"
|
||||||
|
@ -562,7 +557,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=myanmar,EmojiCapable,CombiningRules=MyanmarReordering"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=myanmar,EmojiCapable,CombiningRules=MyanmarReordering"
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x3f12ee14"
|
android:subtypeId="0x3f12ee14"
|
||||||
|
@ -645,7 +639,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Sinhala keyboard is a preliminary layout.
|
<!-- TODO: This Sinhala keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<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="0x5c6b3bde"
|
android:subtypeId="0x5c6b3bde"
|
||||||
|
@ -654,7 +647,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=sinhala,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=sinhala,EmojiCapable"
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x8e94d413"
|
android:subtypeId="0x8e94d413"
|
||||||
|
@ -681,7 +673,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Serbian Latin keyboard is a preliminary layout.
|
<!-- TODO: This Serbian Latin keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_sr_ZZ"
|
android:label="@string/subtype_sr_ZZ"
|
||||||
android:subtypeId="0xf4a5569c"
|
android:subtypeId="0xf4a5569c"
|
||||||
|
@ -690,7 +681,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=serbian_qwertz,AsciiCapable,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=serbian_qwertz,AsciiCapable,EmojiCapable"
|
||||||
android:isAsciiCapable="true"
|
android:isAsciiCapable="true"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x48b4ff43"
|
android:subtypeId="0x48b4ff43"
|
||||||
|
@ -716,7 +706,6 @@
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
<!-- TODO: Enabling/Disabling ta_LK subtype must be aligned with si_LK subtype. -->
|
<!-- TODO: Enabling/Disabling ta_LK subtype must be aligned with si_LK subtype. -->
|
||||||
<!--
|
|
||||||
<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="0x6ca12d84"
|
android:subtypeId="0x6ca12d84"
|
||||||
|
@ -725,7 +714,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=tamil,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=tamil,EmojiCapable"
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x785abbd9"
|
android:subtypeId="0x785abbd9"
|
||||||
|
@ -776,7 +764,6 @@
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Uzbek keyboard is a preliminary layout.
|
<!-- TODO: This Uzbek keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification. -->
|
||||||
<!--
|
|
||||||
<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="0xad5cf7f6"
|
android:subtypeId="0xad5cf7f6"
|
||||||
|
@ -785,7 +772,6 @@
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=uzbek,AsciiCapable,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=uzbek,AsciiCapable,EmojiCapable"
|
||||||
android:isAsciiCapable="true"
|
android:isAsciiCapable="true"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<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="0x93972eee"
|
android:subtypeId="0x93972eee"
|
||||||
|
|
|
@ -27,8 +27,8 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
@SmallTest
|
@SmallTest
|
||||||
public class KeyboardLayoutSetSubtypesCountTests extends KeyboardLayoutSetTestsBase {
|
public class KeyboardLayoutSetSubtypesCountTests extends KeyboardLayoutSetTestsBase {
|
||||||
private static final int NUMBER_OF_SUBTYPES = 78;
|
private static final int NUMBER_OF_SUBTYPES = 85;
|
||||||
private static final int NUMBER_OF_ASCII_CAPABLE_SUBTYPES = 47;
|
private static final int NUMBER_OF_ASCII_CAPABLE_SUBTYPES = 50;
|
||||||
private static final int NUMBER_OF_PREDEFINED_ADDITIONAL_SUBTYPES = 2;
|
private static final int NUMBER_OF_PREDEFINED_ADDITIONAL_SUBTYPES = 2;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.BengaliAkkhor;
|
import com.android.inputmethod.keyboard.layout.BengaliAkkhor;
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
|
@ -29,7 +29,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* bn_BD: Bengali (Bangladesh)/bengali_akkhor
|
* bn_BD: Bengali (Bangladesh)/bengali_akkhor
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsBengaliBD extends LayoutTestsBase {
|
public final class TestsBengaliBD extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("bn", "BD");
|
private static final Locale LOCALE = new Locale("bn", "BD");
|
||||||
private static final LayoutBase LAYOUT = new BengaliAkkhor(new BengaliBDCustomzier(LOCALE));
|
private static final LayoutBase LAYOUT = new BengaliAkkhor(new BengaliBDCustomzier(LOCALE));
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.Qwerty;
|
import com.android.inputmethod.keyboard.layout.Qwerty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Locale;
|
||||||
/*
|
/*
|
||||||
* hi_ZZ: Hinglish/qwerty
|
* hi_ZZ: Hinglish/qwerty
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsHinglish extends LayoutTestsBase {
|
public final class TestsHinglish extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("hi", "ZZ");
|
private static final Locale LOCALE = new Locale("hi", "ZZ");
|
||||||
private static final LayoutBase LAYOUT = new Qwerty(new HinglishCustomizer(LOCALE));
|
private static final LayoutBase LAYOUT = new Qwerty(new HinglishCustomizer(LOCALE));
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.Myanmar;
|
import com.android.inputmethod.keyboard.layout.Myanmar;
|
||||||
|
@ -26,7 +26,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* my_MM: Myanmar (Myanmar)/myanmar
|
* my_MM: Myanmar (Myanmar)/myanmar
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsMyanmarMM extends LayoutTestsBase {
|
public final class TestsMyanmarMM extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("my", "MM");
|
private static final Locale LOCALE = new Locale("my", "MM");
|
||||||
private static final LayoutBase LAYOUT = new Myanmar(LOCALE);
|
private static final LayoutBase LAYOUT = new Myanmar(LOCALE);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.SerbianQwertz;
|
import com.android.inputmethod.keyboard.layout.SerbianQwertz;
|
||||||
|
@ -27,7 +27,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* sr_ZZ: Serbian (Latin)/serbian_qwertz
|
* sr_ZZ: Serbian (Latin)/serbian_qwertz
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsSerbianLatin extends LayoutTestsBase {
|
public final class TestsSerbianLatin extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("sr", "ZZ");
|
private static final Locale LOCALE = new Locale("sr", "ZZ");
|
||||||
private static final LayoutBase LAYOUT = new SerbianQwertz(new SerbianLatinCustomizer(LOCALE));
|
private static final LayoutBase LAYOUT = new SerbianQwertz(new SerbianLatinCustomizer(LOCALE));
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.Qwerty;
|
import com.android.inputmethod.keyboard.layout.Qwerty;
|
||||||
|
@ -29,7 +29,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* sr_ZZ: Serbian (Latin)/qwerty
|
* sr_ZZ: Serbian (Latin)/qwerty
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsSerbianLatinQwerty extends LayoutTestsBase {
|
public final class TestsSerbianLatinQwerty extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("sr", "ZZ");
|
private static final Locale LOCALE = new Locale("sr", "ZZ");
|
||||||
private static final LayoutBase LAYOUT = new Qwerty(new SerbianLatinQwertyCustomizer(LOCALE));
|
private static final LayoutBase LAYOUT = new Qwerty(new SerbianLatinQwertyCustomizer(LOCALE));
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.Uzbek;
|
import com.android.inputmethod.keyboard.layout.Uzbek;
|
||||||
|
@ -27,7 +27,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* uz_UZ: Uzbek (Uzbekistan)/uzbek
|
* uz_UZ: Uzbek (Uzbekistan)/uzbek
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsUzbek extends LayoutTestsBase {
|
public final class TestsUzbek extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("uz", "UZ");
|
private static final Locale LOCALE = new Locale("uz", "UZ");
|
||||||
private static final LayoutBase LAYOUT = new Uzbek(new UzbekCustomizer(LOCALE));
|
private static final LayoutBase LAYOUT = new Uzbek(new UzbekCustomizer(LOCALE));
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package com.android.inputmethod.keyboard.layout.tests;
|
package com.android.inputmethod.keyboard.layout.tests;
|
||||||
|
|
||||||
import android.test.suitebuilder.annotation.Suppress;
|
import android.test.suitebuilder.annotation.SmallTest;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||||
import com.android.inputmethod.keyboard.layout.Qwerty;
|
import com.android.inputmethod.keyboard.layout.Qwerty;
|
||||||
|
@ -28,7 +28,7 @@ import java.util.Locale;
|
||||||
/**
|
/**
|
||||||
* uz_UZ: Uzbek (Uzbekistan)/qwerty
|
* uz_UZ: Uzbek (Uzbekistan)/qwerty
|
||||||
*/
|
*/
|
||||||
@Suppress
|
@SmallTest
|
||||||
public final class TestsUzbekQwerty extends LayoutTestsBase {
|
public final class TestsUzbekQwerty extends LayoutTestsBase {
|
||||||
private static final Locale LOCALE = new Locale("uz", "UZ");
|
private static final Locale LOCALE = new Locale("uz", "UZ");
|
||||||
private static final LayoutBase LAYOUT = new Qwerty(new UzbekQwertyCustomizer(LOCALE));
|
private static final LayoutBase LAYOUT = new Qwerty(new UzbekQwertyCustomizer(LOCALE));
|
||||||
|
|
Loading…
Reference in a new issue