Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2013, 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+0906: "" DEVANAGARI LETTER AA -->
     25             <Key latin:keySpec="&#x0906;" />
     26             <!-- U+0919/U+094D: "" DEVANAGARI LETTER NGA/DEVANAGARI SIGN VIRAMA -->
     27             <Key
     28                 latin:keySpec="&#x0919;&#x094D;"
     29                 latin:keyLabelFlags="followKeyLetterRatio" />
     30             <!-- U+0921/U+094D/U+0921: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDA -->
     31             <Key
     32                 latin:keySpec="&#x0921;&#x094D;&#x0921;"
     33                 latin:keyLabelFlags="followKeyLetterRatio" />
     34             <!-- Because the font rendering system prior to API version 16 can't automatically
     35                  render dotted circle for incomplete combining letter of some scripts, different
     36                  set of Key definitions are needed based on the API version. -->
     37             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_candrabindu" />
     38             <Key latin:keyStyle="baseKeyDevanagariSignCandrabindu" />
     39             <!-- U+0926/U+094D/U+0926: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DA -->
     40             <Key
     41                 latin:keySpec="&#x0926;&#x094D;&#x0926;"
     42                 latin:keyLabelFlags="followKeyLetterRatio" />
     43             <!-- U+091D: "" DEVANAGARI LETTER JHA -->
     44             <Key latin:keySpec="&#x091D;" />
     45             <!-- Because the font rendering system prior to API version 16 can't automatically
     46                  render dotted circle for incomplete combining letter of some scripts, different
     47                  set of Key definitions are needed based on the API version. -->
     48             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_o" />
     49             <Key latin:keyStyle="baseKeyDevanagariVowelSignO" />
     50             <!-- U+092B: "" DEVANAGARI LETTER PHA -->
     51             <Key latin:keySpec="&#x092B;" />
     52             <!-- Because the font rendering system prior to API version 16 can't automatically
     53                  render dotted circle for incomplete combining letter of some scripts, different
     54                  set of Key definitions are needed based on the API version. -->
     55             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" />
     56             <Key latin:keyStyle="baseKeyDevanagariVowelSignIi" />
     57             <!-- U+091F/U+094D/U+0920: "" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA -->
     58             <Key
     59                 latin:keySpec="&#x091F;&#x094D;&#x0920;"
     60                 latin:keyLabelFlags="followKeyLetterRatio" />
     61             <!-- Because the font rendering system prior to API version 16 can't automatically
     62                  render dotted circle for incomplete combining letter of some scripts, different
     63                  set of Key definitions are needed based on the API version. -->
     64             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" />
     65             <Key latin:keyStyle="baseKeyDevanagariVowelSignUu" />
     66         </case>
     67         <default>
     68             <!-- U+092C: "" DEVANAGARI LETTER BA -->
     69             <Key latin:keySpec="&#x092C;" />
     70             <!-- U+0915: "" DEVANAGARI LETTER KA -->
     71             <Key latin:keySpec="&#x0915;" />
     72             <!-- U+092E: "" DEVANAGARI LETTER MA -->
     73             <Key latin:keySpec="&#x092E;" />
     74             <!-- Because the font rendering system prior to API version 16 can't automatically
     75                  render dotted circle for incomplete combining letter of some scripts, different
     76                  set of Key definitions are needed based on the API version. -->
     77             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_aa" />
     78             <Key latin:keyStyle="baseKeyDevanagariVowelSignAa" />
     79             <!-- U+0928: "" DEVANAGARI LETTER NA -->
     80             <Key latin:keySpec="&#x0928;" />
     81             <!-- U+091C: "" DEVANAGARI LETTER JA -->
     82             <Key latin:keySpec="&#x091C;" />
     83             <!-- U+0935: "" DEVANAGARI LETTER VA -->
     84             <Key latin:keySpec="&#x0935;" />
     85             <!-- U+092A: "" DEVANAGARI LETTER PA -->
     86             <Key latin:keySpec="&#x092A;" />
     87             <!-- Because the font rendering system prior to API version 16 can't automatically
     88                  render dotted circle for incomplete combining letter of some scripts, different
     89                  set of Key definitions are needed based on the API version. -->
     90             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_i" />
     91             <Key latin:keyStyle="baseKeyDevanagariVowelSignI" />
     92             <!-- U+0938: "" DEVANAGARI LETTER SA -->
     93             <Key latin:keySpec="&#x0938;" />
     94             <!-- Because the font rendering system prior to API version 16 can't automatically
     95                  render dotted circle for incomplete combining letter of some scripts, different
     96                  set of Key definitions are needed based on the API version. -->
     97             <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_u" />
     98             <Key latin:keyStyle="baseKeyDevanagariVowelSignU" />
     99         </default>
    100     </switch>
    101 </merge>
    102