18ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka/*
28ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * Copyright (C) 2014 The Android Open Source Project
38ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka *
48ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * Licensed under the Apache License, Version 2.0 (the "License");
58ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * you may not use this file except in compliance with the License.
68ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * You may obtain a copy of the License at
78ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka *
88ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka *      http://www.apache.org/licenses/LICENSE-2.0
98ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka *
108ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * Unless required by applicable law or agreed to in writing, software
118ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * distributed under the License is distributed on an "AS IS" BASIS,
128ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * See the License for the specific language governing permissions and
148ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * limitations under the License.
158ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka */
168ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka
176959a0f214fc18e314f54213877956d95a1631e8Tadashi G. Takaokapackage com.android.inputmethod.keyboard.layout.customizer;
188ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka
198ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaokaimport com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
208ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka
218ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaokaimport java.util.Locale;
228ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka
238ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka/**
248ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka * Turkic languages layout customizer.
258ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka */
266959a0f214fc18e314f54213877956d95a1631e8Tadashi G. Takaokapublic class TurkicCustomizer extends LayoutCustomizer {
278ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka    public TurkicCustomizer(final Locale locale) { super(locale); }
288ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka
298ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka    @Override
308ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka    public ExpectedKeyboardBuilder setAccentedLetters(final ExpectedKeyboardBuilder builder) {
318ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka        return builder
328ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0259: "ə" LATIN SMALL LETTER SCHWA
338ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
348ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("e", "\u0259", "\u00E9")
358ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00FD: "ý" LATIN SMALL LETTER Y WITH ACUTE
368ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("y", "\u00FD")
378ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS
388ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00FB: "û" LATIN SMALL LETTER U WITH CIRCUMFLEX
398ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F9: "ù" LATIN SMALL LETTER U WITH GRAVE
408ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00FA: "ú" LATIN SMALL LETTER U WITH ACUTE
418ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+016B: "ū" LATIN SMALL LETTER U WITH MACRON
428ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("u", "\u00FC", "\u00FB", "\u00F9", "\u00FA", "\u016B")
438ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0131: "ı" LATIN SMALL LETTER DOTLESS I
448ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00EE: "î" LATIN SMALL LETTER I WITH CIRCUMFLEX
458ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00EF: "ï" LATIN SMALL LETTER I WITH DIAERESIS
468ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00EC: "ì" LATIN SMALL LETTER I WITH GRAVE
478ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00ED: "í" LATIN SMALL LETTER I WITH ACUTE
488ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+012F: "į" LATIN SMALL LETTER I WITH OGONEK
498ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+012B: "ī" LATIN SMALL LETTER I WITH MACRON
508ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("i",
518ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                        "\u0131", "\u00EE", "\u00EF", "\u00EC", "\u00ED", "\u012F", "\u012B")
528ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS
538ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F4: "ô" LATIN SMALL LETTER O WITH CIRCUMFLEX
548ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0153: "œ" LATIN SMALL LIGATURE OE
558ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F2: "ò" LATIN SMALL LETTER O WITH GRAVE
568ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F3: "ó" LATIN SMALL LETTER O WITH ACUTE
578ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F5: "õ" LATIN SMALL LETTER O WITH TILDE
588ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F8: "ø" LATIN SMALL LETTER O WITH STROKE
598ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+014D: "ō" LATIN SMALL LETTER O WITH MACRON
608ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("o",
618ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                        "\u00F6", "\u00F4", "\u0153", "\u00F2", "\u00F3", "\u00F5", "\u00F8",
628ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                        "\u014D")
638ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00E2: "â" LATIN SMALL LETTER A WITH CIRCUMFLEX
648ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS
658ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
668ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("a", "\u00E2", "\u00E4", "\u00E1")
678ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+015F: "ş" LATIN SMALL LETTER S WITH CEDILLA
688ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00DF: "ß" LATIN SMALL LETTER SHARP S
698ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+015B: "ś" LATIN SMALL LETTER S WITH ACUTE
708ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0161: "š" LATIN SMALL LETTER S WITH CARON
718ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("s", "\u015F", "\u00DF", "\u015B", "\u0161")
728ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+011F: "ğ" LATIN SMALL LETTER G WITH BREVE
738ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("g", "\u011F")
748ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+017E: "ž" LATIN SMALL LETTER Z WITH CARON
758ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("z", "\u017E")
768ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00E7: "ç" LATIN SMALL LETTER C WITH CEDILLA
778ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0107: "ć" LATIN SMALL LETTER C WITH ACUTE
788ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+010D: "č" LATIN SMALL LETTER C WITH CARON
798ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("c", "\u00E7", "\u0107", "\u010D")
808ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+0148: "ň" LATIN SMALL LETTER N WITH CARON
818ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                // U+00F1: "ñ" LATIN SMALL LETTER N WITH TILDE
828ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka                .setMoreKeysOf("n", "\u0148", "\u00F1");
838ea51a2760958cc19954878b8c38b9e5e068a5d1Tadashi G. Takaoka    }
846959a0f214fc18e314f54213877956d95a1631e8Tadashi G. Takaoka}
85