am 4deb824f: Add navigateEmoji

* commit '4deb824f3a91e2e157a3a0334e46b9bba394bc1a':
  Add navigateEmoji
main
Satoshi Kataoka 2013-10-06 23:35:34 -07:00 committed by Android Git Automerger
commit b3ac25f1d9
4 changed files with 99 additions and 1 deletions

View File

@ -413,6 +413,7 @@
</attr>
<attr name="navigateNext" format="boolean" />
<attr name="navigatePrevious" format="boolean" />
<attr name="navigateEmoji" format="boolean" />
<attr name="passwordInput" format="boolean" />
<attr name="clobberSettingsKey" format="boolean" />
<attr name="shortcutKeyEnabled" format="boolean" />

View File

@ -23,9 +23,11 @@
>
<!-- Navigate more keys style -->
<switch>
<!-- navigateEmoji="false" -->
<case
latin:imeAction="actionNext"
latin:navigatePrevious="true"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle"
@ -35,6 +37,7 @@
<case
latin:imeAction="actionNext"
latin:navigatePrevious="false"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle" />
@ -42,6 +45,7 @@
<case
latin:imeAction="actionPrevious"
latin:navigateNext="true"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle"
@ -51,6 +55,7 @@
<case
latin:imeAction="actionPrevious"
latin:navigateNext="false"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle" />
@ -59,6 +64,7 @@
<case
latin:navigateNext="true"
latin:navigatePrevious="true"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle"
@ -68,6 +74,7 @@
<case
latin:navigateNext="true"
latin:navigatePrevious="false"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle"
@ -77,13 +84,100 @@
<case
latin:navigateNext="false"
latin:navigatePrevious="true"
latin:navigateEmoji="false"
>
<key-style
latin:styleName="navigateMoreKeysStyle"
latin:keyLabelFlags="hasPopupHint|preserveCase"
latin:moreKeys="!text/action_previous_as_more_key" />
</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>
<key-style
latin:styleName="navigateMoreKeysStyle" />

View File

@ -251,6 +251,7 @@ public final class KeyboardTextsSet {
/* 146 */ "more_keys_for_single_quote",
/* 147 */ "more_keys_for_double_quote",
/* 148 */ "more_keys_for_tablet_double_quote",
/* 149 */ "emoji_key_as_more_key",
};
private static final String EMPTY = "";
@ -439,6 +440,7 @@ public final class KeyboardTextsSet {
/* 146 */ "!fixedColumnOrder!5,!text/single_quotes,!text/single_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",
/* 149 */ "!icon/emoji_key|!code/key_emoji",
};
/* Language af: Afrikaans */

View File

@ -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_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="emoji_key_as_more_key">!icon/emoji_key|!code/key_emoji</string>
</resources>