Fix 2414566 : Capitalizing first letter in unexpected fields.

Also move some symbols around as per yaks' request.
This commit is contained in:
Amith Yamasani 2010-03-01 23:18:48 -08:00
parent 6aaafeed96
commit 4032c24b73
3 changed files with 11 additions and 10 deletions

View file

@ -77,7 +77,7 @@
/> />
<Key android:codes="45" android:keyLabel="-" <Key android:codes="45" android:keyLabel="-"
android:popupKeyboard="@xml/kbd_popup_template" android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="–—" android:popupCharacters="_–—"
/> />
<Key android:keyLabel="+" <Key android:keyLabel="+"
android:popupKeyboard="@xml/kbd_popup_template" android:popupKeyboard="@xml/kbd_popup_template"

View file

@ -26,8 +26,8 @@
> >
<Row android:rowEdgeFlags="top"> <Row android:rowEdgeFlags="top">
<Key android:keyLabel=";" android:keyEdgeFlags="left" /> <Key android:keyLabel=":" android:keyEdgeFlags="left" />
<Key android:keyLabel="," /> <Key android:keyLabel="/" />
<Key android:keyLabel="&amp;" /> <Key android:keyLabel="&amp;" />
<Key android:keyLabel="(" /> <Key android:keyLabel="(" />
<Key android:keyLabel=")" /> <Key android:keyLabel=")" />
@ -35,12 +35,12 @@
<Key android:keyLabel="+" android:keyEdgeFlags="right" /> <Key android:keyLabel="+" android:keyEdgeFlags="right" />
</Row> </Row>
<Row android:rowEdgeFlags="bottom"> <Row android:rowEdgeFlags="bottom">
<Key android:codes="58" android:keyLabel=":" android:keyEdgeFlags="left" /> <Key android:keyLabel=";" android:keyEdgeFlags="left" />
<Key android:codes="47" android:keyLabel="/" /> <Key android:keyLabel="," />
<Key android:codes="64" android:keyLabel="\@" /> <Key android:keyLabel="\@" />
<Key android:codes="39" android:keyLabel="\'" /> <Key android:keyLabel="\'" />
<Key android:codes="34" android:keyLabel="&quot;" /> <Key android:keyLabel="&quot;" />
<Key android:codes="63" android:keyLabel="\?" /> <Key android:keyLabel="\?" />
<Key android:codes="33" android:keyLabel="!" android:keyEdgeFlags="right" /> <Key android:keyLabel="!" android:keyEdgeFlags="right" />
</Row> </Row>
</Keyboard> </Keyboard>

View file

@ -534,6 +534,7 @@ public class LatinIME extends InputMethodService
mDeleteCount = 0; mDeleteCount = 0;
mJustAddedAutoSpace = false; mJustAddedAutoSpace = false;
loadSettings(); loadSettings();
updateShiftKeyState(attribute);
setCandidatesViewShown(false); setCandidatesViewShown(false);
setSuggestions(null, false, false, false); setSuggestions(null, false, false, false);