Fix "pi" input issues. Added a popup for greek capital pi. Bug: 2220892
Change-Id: Ie465e2ed93c79b0efe9d518cc44df1028f1bb392main
parent
40c86618c1
commit
67607ea8b1
|
@ -34,7 +34,10 @@
|
||||||
android:popupCharacters="♪♥♠♦♣"
|
android:popupCharacters="♪♥♠♦♣"
|
||||||
/>
|
/>
|
||||||
<Key android:keyLabel="√"/>
|
<Key android:keyLabel="√"/>
|
||||||
<Key android:keyLabel="π"/>
|
<Key android:keyLabel="π"
|
||||||
|
android:popupKeyboard="@xml/kbd_popup_template"
|
||||||
|
android:popupCharacters="Π"
|
||||||
|
/>
|
||||||
<Key android:keyLabel="÷"/>
|
<Key android:keyLabel="÷"/>
|
||||||
<Key android:keyLabel="×"/>
|
<Key android:keyLabel="×"/>
|
||||||
<Key android:keyLabel="{"/>
|
<Key android:keyLabel="{"/>
|
||||||
|
|
|
@ -34,7 +34,10 @@
|
||||||
android:popupCharacters="♪♥♠♦♣"
|
android:popupCharacters="♪♥♠♦♣"
|
||||||
/>
|
/>
|
||||||
<Key android:keyLabel="√"/>
|
<Key android:keyLabel="√"/>
|
||||||
<Key android:keyLabel="π"/>
|
<Key android:keyLabel="π"
|
||||||
|
android:popupKeyboard="@xml/kbd_popup_template"
|
||||||
|
android:popupCharacters="Π"
|
||||||
|
/>
|
||||||
<Key android:keyLabel="÷"/>
|
<Key android:keyLabel="÷"/>
|
||||||
<Key android:keyLabel="×"/>
|
<Key android:keyLabel="×"/>
|
||||||
<Key android:keyLabel="{"/>
|
<Key android:keyLabel="{"/>
|
||||||
|
|
|
@ -1144,7 +1144,9 @@ public class LatinIME extends InputMethodService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mPredicting) {
|
if (mPredicting) {
|
||||||
if (mKeyboardSwitcher.getInputView().isShifted() && mComposing.length() == 0) {
|
if (mKeyboardSwitcher.getInputView().isShifted()
|
||||||
|
&& mKeyboardSwitcher.isAlphabetMode()
|
||||||
|
&& mComposing.length() == 0) {
|
||||||
mWord.setCapitalized(true);
|
mWord.setCapitalized(true);
|
||||||
}
|
}
|
||||||
mComposing.append((char) primaryCode);
|
mComposing.append((char) primaryCode);
|
||||||
|
|
Loading…
Reference in New Issue