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+0911: "" DEVANAGARI LETTER CANDRA O -->
     25             <Key latin:keySpec="&#x0911;" />
     26             <!-- Because the font rendering system prior to API version 16 can't automatically
     27                  render dotted circle for incomplete combining letter of some scripts, different
     28                  set of Key definitions are needed based on the API version. -->
     29             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_candrabindu" />
     30             <Key latin:keyStyle="baseKeyDevanagariSignCandrabindu" />
     31             <!-- U+0923: "" DEVANAGARI LETTER NNA -->
     32             <Key latin:keySpec="&#x0923;" />
     33             <!-- U+0929: "" DEVANAGARI LETTER NNNA -->
     34             <Key latin:keySpec="&#x0929;" />
     35             <!-- U+0933: "" DEVANAGARI LETTER LLA
     36                  U+0934: "" DEVANAGARI LETTER LLLA -->
     37             <Key
     38                 latin:keySpec="&#x0933;"
     39                 latin:moreKeys="&#x0934;" />
     40             <!-- U+0936: "" DEVANAGARI LETTER SHA -->
     41             <Key latin:keySpec="&#x0936;" />
     42             <!-- U+0937: "" DEVANAGARI LETTER SSA -->
     43             <Key latin:keySpec="&#x0937;" />
     44             <!-- Because the font rendering system prior to API version 16 can't automatically
     45                  render dotted circle for incomplete combining letter of some scripts, different
     46                  set of Key definitions are needed based on the API version. -->
     47             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_vocalic_r" />
     48             <Key latin:keyStyle="baseKeyDevanagariVowelSignVocalicR" />
     49             <!-- U+091E: "" DEVANAGARI LETTER NYA -->
     50             <Key latin:keySpec="&#x091E;" />
     51         </case>
     52         <default>
     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_vowel_sign_candra_o" />
     57             <Key latin:keyStyle="baseKeyDevanagariVowelSignCandraO" />
     58             <!-- Because the font rendering system prior to API version 16 can't automatically
     59                  render dotted circle for incomplete combining letter of some scripts, different
     60                  set of Key definitions are needed based on the API version. -->
     61             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_anusvara" />
     62             <Key latin:keyStyle="baseKeyDevanagariSignAnusvara" />
     63             <!-- U+092E: "" DEVANAGARI LETTER MA
     64                  U+0950: "" DEVANAGARI OM -->
     65             <Key
     66                 latin:keySpec="&#x092E;"
     67                 latin:moreKeys="&#x0950;" />
     68             <!-- U+0928: "" DEVANAGARI LETTER NA
     69                  U+091E: "" DEVANAGARI LETTER NYA
     70                  U+0919: "" DEVANAGARI LETTER NGA
     71                  U+0928/U+093C: "" DEVANAGARI LETTER NA/DEVANAGARI SIGN NUKTA -->
     72             <Key
     73                 latin:keySpec="&#x0928;"
     74                 latin:moreKeys="&#x091E;,&#x0919;,&#x0928;&#x093C;" />
     75             <!-- U+0935: "" DEVANAGARI LETTER VA -->
     76             <Key latin:keySpec="&#x0935;" />
     77             <!-- U+0932: "" DEVANAGARI LETTER LA
     78                  U+090C: "" DEVANAGARI LETTER VOCALIC L
     79                  U+0961: "" DEVANAGARI LETTER VOCALIC LL -->
     80             <Key
     81                 latin:keySpec="&#x0932;"
     82                 latin:moreKeys="&#x090C;,&#x0961;" />
     83             <!-- U+0938: "" DEVANAGARI LETTER SA -->
     84             <Key latin:keySpec="&#x0938;" />
     85             <!-- U+092F: "" DEVANAGARI LETTER YA
     86                  U+095F: "" DEVANAGARI LETTER YYA -->
     87             <Key
     88                 latin:keySpec="&#x092F;"
     89                 latin:moreKeys="&#x095F;" />
     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_sign_nukta" />
     94             <Key latin:keyStyle="baseKeyDevanagariSignNukta" />
     95         </default>
     96     </switch>
     97 </merge>
     98