Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2012, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 
     21 <merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
     22     <switch>
     23         <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
     24             <!-- U+0914: "" DEVANAGARI LETTER AU
     25                  U+0912/U+0902: "" DEVANAGARI LETTER SHORT O//DEVANAGARI SIGN ANUSVARA -->
     26             <Key
     27                 latin:keySpec="&#x0914;"
     28                 latin:moreKeys="&#x0912;&#x0902;" />
     29             <!-- U+0910: "" DEVANAGARI LETTER AI
     30                  U+0910/U+0902: "" DEVANAGARI LETTER AI/DEVANAGARI SIGN ANUSVARA -->
     31             <Key
     32                 latin:keySpec="&#x0910;"
     33                 latin:moreKeys="&#x0910;&#x0902;" />
     34             <!-- U+0906: "" DEVANAGARI LETTER AA
     35                  U+0906/U+0902: "" DEVANAGARI LETTER AA/DEVANAGARI SIGN ANUSVARA
     36                  U+0906/U+0901: "" DEVANAGARI LETTER AA/DEVANAGARI SIGN CANDRABINDU -->
     37             <Key
     38                 latin:keySpec="&#x0906;"
     39                 latin:moreKeys="&#x0906;&#x0902;,&#x0906;&#x0901;" />
     40             <!-- U+0908: "" DEVANAGARI LETTER II
     41                  U+0908/U+0902: "" DEVANAGARI LETTER II/DEVANAGARI SIGN ANUSVARA -->
     42             <Key
     43                 latin:keySpec="&#x0908;"
     44                 latin:moreKeys="&#x0908;&#x0902;" />
     45             <!-- U+090A: "" DEVANAGARI LETTER UU
     46                  U+090A/U+0902: "" DEVANAGARI LETTER UU/DEVANAGARI SIGN ANUSVARA
     47                  U+090A/U+0901: "" DEVANAGARI LETTER UU/DEVANAGARI SIGN CANDRABINDU -->
     48             <Key
     49                 latin:keySpec="&#x090A;"
     50                 latin:moreKeys="&#x090A;&#x0902;,&#x090A;&#x0901;" />
     51             <!-- U+092D: "" DEVANAGARI LETTER BHA -->
     52             <Key latin:keySpec="&#x092D;" />
     53             <!-- Because the font rendering system prior to API version 16 can't automatically
     54                  render dotted circle for incomplete combining letter of some scripts, different
     55                  set of Key definitions are needed based on the API version. -->
     56             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_visarga" />
     57             <Key latin:keyStyle="baseKeyDevanagariSignVisarga" />
     58             <!-- U+0918: "" DEVANAGARI LETTER GHA -->
     59             <Key latin:keySpec="&#x0918;" />
     60             <!-- U+0927: "" DEVANAGARI LETTER DHA
     61                  U+0915/U+094D/U+0937: "" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
     62                  U+0936/U+094D/U+0930: "" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
     63             <Key
     64                 latin:keySpec="&#x0927;"
     65                 latin:moreKeys="&#x0915;&#x094D;&#x0937;,&#x0936;&#x094D;&#x0930;" />
     66             <!-- U+091D: "" DEVANAGARI LETTER JHA -->
     67             <Key latin:keySpec="&#x091D;" />
     68             <!-- U+0922: "" DEVANAGARI LETTER DDHA -->
     69             <Key latin:keySpec="&#x0922;" />
     70         </case>
     71         <default>
     72             <!-- Because the font rendering system prior to API version 16 can't automatically
     73                  render dotted circle for incomplete combining letter of some scripts, different
     74                  set of Key definitions are needed based on the API version. -->
     75             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" />
     76             <!-- U+0967: "" DEVANAGARI DIGIT ONE -->
     77             <Key
     78                 latin:keyStyle="baseKeyDevanagariVowelSignAu"
     79                 latin:keyHintLabel="1"
     80                 latin:additionalMoreKeys="&#x0967;,1" />
     81             <!-- Because the font rendering system prior to API version 16 can't automatically
     82                  render dotted circle for incomplete combining letter of some scripts, different
     83                  set of Key definitions are needed based on the API version. -->
     84             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
     85             <!-- U+0968: "" DEVANAGARI DIGIT TWO -->
     86             <Key
     87                 latin:keyStyle="baseKeyDevanagariVowelSignAi"
     88                 latin:keyHintLabel="2"
     89                 latin:additionalMoreKeys="&#x0968;,2" />
     90             <!-- Because the font rendering system prior to API version 16 can't automatically
     91                  render dotted circle for incomplete combining letter of some scripts, different
     92                  set of Key definitions are needed based on the API version. -->
     93             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_aa" />
     94             <!-- U+0969: "" DEVANAGARI DIGIT THREE -->
     95             <Key
     96                 latin:keyStyle="baseKeyDevanagariVowelSignAa"
     97                 latin:keyHintLabel="3"
     98                 latin:additionalMoreKeys="&#x0969;,3" />
     99             <!-- Because the font rendering system prior to API version 16 can't automatically
    100                  render dotted circle for incomplete combining letter of some scripts, different
    101                  set of Key definitions are needed based on the API version. -->
    102             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" />
    103             <!-- U+096A: "" DEVANAGARI DIGIT FOUR -->
    104             <Key
    105                 latin:keyStyle="baseKeyDevanagariVowelSignIi"
    106                 latin:keyHintLabel="4"
    107                 latin:additionalMoreKeys="&#x096A;,4" />
    108             <!-- Because the font rendering system prior to API version 16 can't automatically
    109                  render dotted circle for incomplete combining letter of some scripts, different
    110                  set of Key definitions are needed based on the API version. -->
    111             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" />
    112             <!-- U+096B: "" DEVANAGARI DIGIT FIVE -->
    113             <Key
    114                 latin:keyStyle="baseKeyDevanagariVowelSignUu"
    115                 latin:keyHintLabel="5"
    116                 latin:additionalMoreKeys="&#x096B;,5" />
    117             <!-- U+092C: "" DEVANAGARI LETTER BA
    118                  U+092C/U+0952: "" DEVANAGARI LETTER BA/DEVANAGARI STRESS SIGN ANUDATTA
    119                  U+096C: "" DEVANAGARI DIGIT SIX -->
    120             <Key
    121                 latin:keySpec="&#x092C;"
    122                 latin:moreKeys="&#x092C;&#x0952;,%"
    123                 latin:keyHintLabel="6"
    124                 latin:additionalMoreKeys="&#x096C;,6" />
    125             <!-- U+0939: "" DEVANAGARI LETTER HA
    126                  U+096D: "" DEVANAGARI DIGIT SEVEN -->
    127             <Key
    128                 latin:keySpec="&#x0939;"
    129                 latin:keyHintLabel="7"
    130                 latin:additionalMoreKeys="&#x096D;,7" />
    131             <!-- U+0917: "" DEVANAGARI LETTER GA
    132                  U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
    133                  U+0917/U+093C: "" DEVANAGARI LETTER GA/DEVANAGARI SIGN NUKTA
    134                  U+0917/U+0952: "" DEVANAGARI LETTER GA/DEVANAGARI STRESS SIGN ANUDATTA
    135                  U+096E: "" DEVANAGARI DIGIT EIGHT -->
    136             <Key
    137                 latin:keySpec="&#x0917;"
    138                 latin:moreKeys="&#x091C;&#x094D;&#x091E;,&#x0917;&#x093C;,&#x0917;&#x0952;,%"
    139                 latin:keyHintLabel="8"
    140                 latin:additionalMoreKeys="&#x096E;,8" />
    141             <!-- U+0926: "" DEVANAGARI LETTER DA
    142                  U+096F: "" DEVANAGARI DIGIT NINE -->
    143             <Key
    144                 latin:keySpec="&#x0926;"
    145                 latin:keyHintLabel="9"
    146                 latin:additionalMoreKeys="&#x096F;,9" />
    147             <!-- U+091C: "" DEVANAGARI LETTER JA
    148                  U+091C/U+0952: "" DEVANAGARI LETTER JA/DEVANAGARI STRESS SIGN ANUDATTA
    149                  U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
    150                  U+091C/U+093C: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN NUKTA
    151                  U+0966: "" DEVANAGARI DIGIT ZERO -->
    152             <Key
    153                 latin:keySpec="&#x091C;"
    154                 latin:moreKeys="&#x091C;&#x0952;,&#x091C;&#x094D;&#x091E;,&#x091C;&#x093C;,%"
    155                 latin:keyHintLabel="0"
    156                 latin:additionalMoreKeys="&#x0966;,0" />
    157             <!-- U+0921: "" DEVANAGARI LETTER DDA
    158                  U+0921/U+0952: "" DEVANAGARI LETTER DDA/DEVANAGARI STRESS SIGN ANUDATTA
    159                  U+0921/U+093C: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN NUKTA -->
    160             <Key
    161                 latin:keySpec="&#x0921;"
    162                 latin:moreKeys="&#x0921;&#x0952;,&#x0921;&#x093C;" />
    163         </default>
    164     </switch>
    165 </merge>
    166