Add navigateEmoji
Bug: 11074625 Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733main
parent
287c739db9
commit
4deb824f3a
|
@ -413,6 +413,7 @@
|
||||||
</attr>
|
</attr>
|
||||||
<attr name="navigateNext" format="boolean" />
|
<attr name="navigateNext" format="boolean" />
|
||||||
<attr name="navigatePrevious" format="boolean" />
|
<attr name="navigatePrevious" format="boolean" />
|
||||||
|
<attr name="navigateEmoji" format="boolean" />
|
||||||
<attr name="passwordInput" format="boolean" />
|
<attr name="passwordInput" format="boolean" />
|
||||||
<attr name="clobberSettingsKey" format="boolean" />
|
<attr name="clobberSettingsKey" format="boolean" />
|
||||||
<attr name="shortcutKeyEnabled" format="boolean" />
|
<attr name="shortcutKeyEnabled" format="boolean" />
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
>
|
>
|
||||||
<!-- Navigate more keys style -->
|
<!-- Navigate more keys style -->
|
||||||
<switch>
|
<switch>
|
||||||
|
<!-- navigateEmoji="false" -->
|
||||||
<case
|
<case
|
||||||
latin:imeAction="actionNext"
|
latin:imeAction="actionNext"
|
||||||
latin:navigatePrevious="true"
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle"
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
@ -35,6 +37,7 @@
|
||||||
<case
|
<case
|
||||||
latin:imeAction="actionNext"
|
latin:imeAction="actionNext"
|
||||||
latin:navigatePrevious="false"
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle" />
|
latin:styleName="navigateMoreKeysStyle" />
|
||||||
|
@ -42,6 +45,7 @@
|
||||||
<case
|
<case
|
||||||
latin:imeAction="actionPrevious"
|
latin:imeAction="actionPrevious"
|
||||||
latin:navigateNext="true"
|
latin:navigateNext="true"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle"
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
@ -51,6 +55,7 @@
|
||||||
<case
|
<case
|
||||||
latin:imeAction="actionPrevious"
|
latin:imeAction="actionPrevious"
|
||||||
latin:navigateNext="false"
|
latin:navigateNext="false"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle" />
|
latin:styleName="navigateMoreKeysStyle" />
|
||||||
|
@ -59,6 +64,7 @@
|
||||||
<case
|
<case
|
||||||
latin:navigateNext="true"
|
latin:navigateNext="true"
|
||||||
latin:navigatePrevious="true"
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle"
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
@ -68,6 +74,7 @@
|
||||||
<case
|
<case
|
||||||
latin:navigateNext="true"
|
latin:navigateNext="true"
|
||||||
latin:navigatePrevious="false"
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle"
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
@ -77,13 +84,100 @@
|
||||||
<case
|
<case
|
||||||
latin:navigateNext="false"
|
latin:navigateNext="false"
|
||||||
latin:navigatePrevious="true"
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle"
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
latin:moreKeys="!text/action_previous_as_more_key" />
|
latin:moreKeys="!text/action_previous_as_more_key" />
|
||||||
</case>
|
</case>
|
||||||
<!-- naviagteNext="false" and navigatePrevious="false" -->
|
<case
|
||||||
|
latin:navigateNext="false"
|
||||||
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="false"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle" />
|
||||||
|
</case>
|
||||||
|
<!-- navigateEmoji="true" -->
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionNext"
|
||||||
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
|
latin:moreKeys="!fixedColumnOrder!2,!needsDividers!,!text/emoji_key_as_more_key,!text/action_previous_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionNext"
|
||||||
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:moreKeys="!text/emoji_key_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionPrevious"
|
||||||
|
latin:navigateNext="true"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
|
latin:moreKeys="!fixedColumnOrder!2,!needsDividers!,!text/emoji_key_as_more_key,!text/action_next_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionPrevious"
|
||||||
|
latin:navigateNext="false"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:moreKeys="!text/emoji_key_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<!-- imeAction!="actionNext" and imeAction!="actionPrevious" -->
|
||||||
|
<case
|
||||||
|
latin:navigateNext="true"
|
||||||
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
|
latin:moreKeys="!fixedColumnOrder!3,!needsDividers!,!text/emoji_key_as_more_key,!text/action_previous_as_more_key,!text/action_next_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:navigateNext="true"
|
||||||
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
|
latin:moreKeys="!fixedColumnOrder!2,!needsDividers!,!text/emoji_key_as_more_key,!text/action_next_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:navigateNext="false"
|
||||||
|
latin:navigatePrevious="true"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||||
|
latin:moreKeys="!fixedColumnOrder!2,!needsDividers!,!text/emoji_key_as_more_key,!text/action_previous_as_more_key" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:navigateNext="false"
|
||||||
|
latin:navigatePrevious="false"
|
||||||
|
latin:navigateEmoji="true"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="navigateMoreKeysStyle"
|
||||||
|
latin:moreKeys="!text/emoji_key_as_more_key" />
|
||||||
|
</case>
|
||||||
<default>
|
<default>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="navigateMoreKeysStyle" />
|
latin:styleName="navigateMoreKeysStyle" />
|
||||||
|
|
|
@ -251,6 +251,7 @@ public final class KeyboardTextsSet {
|
||||||
/* 146 */ "more_keys_for_single_quote",
|
/* 146 */ "more_keys_for_single_quote",
|
||||||
/* 147 */ "more_keys_for_double_quote",
|
/* 147 */ "more_keys_for_double_quote",
|
||||||
/* 148 */ "more_keys_for_tablet_double_quote",
|
/* 148 */ "more_keys_for_tablet_double_quote",
|
||||||
|
/* 149 */ "emoji_key_as_more_key",
|
||||||
};
|
};
|
||||||
|
|
||||||
private static final String EMPTY = "";
|
private static final String EMPTY = "";
|
||||||
|
@ -439,6 +440,7 @@ public final class KeyboardTextsSet {
|
||||||
/* 146 */ "!fixedColumnOrder!5,!text/single_quotes,!text/single_angle_quotes",
|
/* 146 */ "!fixedColumnOrder!5,!text/single_quotes,!text/single_angle_quotes",
|
||||||
/* 147 */ "!fixedColumnOrder!5,!text/double_quotes,!text/double_angle_quotes",
|
/* 147 */ "!fixedColumnOrder!5,!text/double_quotes,!text/double_angle_quotes",
|
||||||
/* 148 */ "!fixedColumnOrder!6,!text/double_quotes,!text/single_quotes,!text/double_angle_quotes,!text/single_angle_quotes",
|
/* 148 */ "!fixedColumnOrder!6,!text/double_quotes,!text/single_quotes,!text/double_angle_quotes,!text/single_angle_quotes",
|
||||||
|
/* 149 */ "!icon/emoji_key|!code/key_emoji",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Language af: Afrikaans */
|
/* Language af: Afrikaans */
|
||||||
|
|
|
@ -246,4 +246,5 @@
|
||||||
<string name="more_keys_for_single_quote">!fixedColumnOrder!5,!text/single_quotes,!text/single_angle_quotes</string>
|
<string name="more_keys_for_single_quote">!fixedColumnOrder!5,!text/single_quotes,!text/single_angle_quotes</string>
|
||||||
<string name="more_keys_for_double_quote">!fixedColumnOrder!5,!text/double_quotes,!text/double_angle_quotes</string>
|
<string name="more_keys_for_double_quote">!fixedColumnOrder!5,!text/double_quotes,!text/double_angle_quotes</string>
|
||||||
<string name="more_keys_for_tablet_double_quote">!fixedColumnOrder!6,!text/double_quotes,!text/single_quotes,!text/double_angle_quotes,!text/single_angle_quotes</string>
|
<string name="more_keys_for_tablet_double_quote">!fixedColumnOrder!6,!text/double_quotes,!text/single_quotes,!text/double_angle_quotes,!text/single_angle_quotes</string>
|
||||||
|
<string name="emoji_key_as_more_key">!icon/emoji_key|!code/key_emoji</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue