├── UyghurSDK ├── .idea │ ├── .name │ ├── copyright │ │ └── profiles_settings.xml │ ├── encodings.xml │ ├── modules.xml │ ├── runConfigurations.xml │ ├── compiler.xml │ ├── gradle.xml │ └── misc.xml ├── app │ ├── .gitignore │ ├── src │ │ ├── main │ │ │ ├── assets │ │ │ │ ├── uwf.ttf │ │ │ │ ├── UKIJKesme-b.ttf │ │ │ │ └── UkijTuzTom.ttf │ │ │ ├── res │ │ │ │ ├── drawable-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── normal_key_bg.9.png │ │ │ │ │ ├── normal_key_hl_bg.9.png │ │ │ │ │ ├── web_before_disable.png │ │ │ │ │ ├── nav_menu_selected_back.png │ │ │ │ │ ├── sdl_background_light.9.png │ │ │ │ │ └── nav_menu_selected_back_unsel.png │ │ │ │ ├── drawable-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── translate.png │ │ │ │ │ └── image_setting.png │ │ │ │ ├── drawable │ │ │ │ │ └── nav_menu_xml.xml │ │ │ │ ├── values │ │ │ │ │ ├── styles.xml │ │ │ │ │ └── colors.xml │ │ │ │ └── layout │ │ │ │ │ ├── list_item_main.xml │ │ │ │ │ ├── fragment_text_viewer.xml │ │ │ │ │ ├── activity_main.xml │ │ │ │ │ ├── activity_edit_text.xml │ │ │ │ │ ├── fragment_edit_text.xml │ │ │ │ │ ├── activity_text_viewer.xml │ │ │ │ │ └── activity_user_input.xml │ │ │ ├── java │ │ │ │ └── top │ │ │ │ │ └── talant │ │ │ │ │ ├── uyghursdk │ │ │ │ │ ├── AppConfig.java │ │ │ │ │ ├── HomeAdapter.java │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ ├── EditTextActivity.java │ │ │ │ │ ├── UserInputActivity.java │ │ │ │ │ └── TextViewerActivity.java │ │ │ │ │ └── fragment │ │ │ │ │ ├── FontAdapter.java │ │ │ │ │ ├── TextViewerFragment.java │ │ │ │ │ └── EditTextFragment.java │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── top │ │ │ │ └── talant │ │ │ │ └── uyghursdk │ │ │ │ └── ExampleUnitTest.java │ │ └── androidTest │ │ │ └── java │ │ │ └── top │ │ │ └── talant │ │ │ └── uyghursdk │ │ │ └── ApplicationTest.java │ ├── proguard-rules.pro │ └── build.gradle ├── uyghurlib │ ├── .gitignore │ ├── libs │ │ ├── UyghurSDK.jar │ │ └── icu4j-core.jar │ ├── src │ │ ├── main │ │ │ ├── assets │ │ │ │ └── UkijTuzTom.ttf │ │ │ ├── jniLibs │ │ │ │ ├── mips │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ ├── x86 │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ ├── armeabi │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ ├── mips64 │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ ├── x86_64 │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ ├── arm64-v8a │ │ │ │ │ └── libUyghurSDK.so │ │ │ │ └── armeabi-v7a │ │ │ │ │ └── libUyghurSDK.so │ │ │ ├── res │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ ├── uy_key_normal.9.png │ │ │ │ │ ├── uy_key_selected.9.png │ │ │ │ │ ├── uy_keyboard_left.png │ │ │ │ │ ├── uy_keyboard_right.png │ │ │ │ │ ├── uy_keyboard_shift.png │ │ │ │ │ ├── uy_keyboard_delete.png │ │ │ │ │ └── uy_keyboard_return.png │ │ │ │ ├── values │ │ │ │ │ ├── dimens.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── attrs.xml │ │ │ │ ├── drawable │ │ │ │ │ ├── uy_keyboard_key.xml │ │ │ │ │ ├── uy_edittext_focused.xml │ │ │ │ │ ├── uy_bg_edittext_normal.xml │ │ │ │ │ ├── uy_bg_edittext.xml │ │ │ │ │ └── uy_keyboard_background.xml │ │ │ │ └── xml │ │ │ │ │ ├── number.xml │ │ │ │ │ ├── china.xml │ │ │ │ │ ├── symbol.xml │ │ │ │ │ ├── qwerty_large.xml │ │ │ │ │ ├── qwerty.xml │ │ │ │ │ ├── uyghur.xml │ │ │ │ │ ├── signs.xml │ │ │ │ │ ├── signs_large.xml │ │ │ │ │ └── uyghur_large.xml │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── almas │ │ │ │ └── uyghur │ │ │ │ └── ExampleUnitTest.java │ │ └── androidTest │ │ │ └── java │ │ │ └── com │ │ │ └── almas │ │ │ └── uyghur │ │ │ └── ApplicationTest.java │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── build.gradle ├── gradle.properties └── gradlew.bat ├── .gitignore ├── doc ├── package-list ├── resources │ ├── tab.gif │ ├── background.gif │ ├── titlebar.gif │ └── titlebar_end.gif ├── overview-frame.html ├── com │ └── almas │ │ ├── view │ │ ├── package-frame.html │ │ ├── package-use.html │ │ └── class-use │ │ │ ├── UyButton.html │ │ │ ├── UyEditText.html │ │ │ ├── UyTextView.html │ │ │ └── UySyllabelTextView.html │ │ ├── keyboard │ │ ├── package-frame.html │ │ └── class-use │ │ │ ├── ImageUtils.html │ │ │ ├── UyghurKeyboard.html │ │ │ └── UyghurKeyboard.UyghurKey.html │ │ └── tools │ │ ├── package-frame.html │ │ └── class-use │ │ ├── UyDrawer.html │ │ ├── UySyllable.html │ │ ├── DensityUtil.html │ │ ├── NativeClass.html │ │ ├── StringUtils.html │ │ ├── UyBaseAndEx.html │ │ ├── UySyllabelDrawer.html │ │ ├── UyDrawer.WordSeperator.html │ │ ├── UyDrawer.SpaceSeperator.html │ │ ├── UyDrawer.LineBreakerSeperator.html │ │ └── UySyllabelDrawer.ElongatedWord.html ├── index.html ├── allclasses-noframe.html ├── deprecated-list.html ├── allclasses-frame.html └── overview-summary.html ├── proguard.cfg └── README.md /UyghurSDK/.idea/.name: -------------------------------------------------------------------------------- 1 | UyghurSDK -------------------------------------------------------------------------------- /UyghurSDK/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | local.properties 2 | build/* 3 | out/* 4 | -------------------------------------------------------------------------------- /UyghurSDK/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':uyghurlib' 2 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | com.almas.keyboard 2 | com.almas.tools 3 | com.almas.view 4 | -------------------------------------------------------------------------------- /doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/doc/resources/tab.gif -------------------------------------------------------------------------------- /doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/doc/resources/background.gif -------------------------------------------------------------------------------- /doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /UyghurSDK/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/assets/uwf.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/assets/uwf.ttf -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/libs/UyghurSDK.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/libs/UyghurSDK.jar -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/libs/icu4j-core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/libs/icu4j-core.jar -------------------------------------------------------------------------------- /UyghurSDK/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/assets/UKIJKesme-b.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/assets/UKIJKesme-b.ttf -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/assets/UkijTuzTom.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/assets/UkijTuzTom.ttf -------------------------------------------------------------------------------- /UyghurSDK/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/assets/UkijTuzTom.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/assets/UkijTuzTom.ttf -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-xxhdpi/translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-xxhdpi/translate.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/mips/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/mips/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/x86/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/x86/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/normal_key_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/normal_key_bg.9.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-xxhdpi/image_setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-xxhdpi/image_setting.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/armeabi/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/armeabi/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/mips64/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/mips64/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/x86_64/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/x86_64/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/normal_key_hl_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/normal_key_hl_bg.9.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/web_before_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/web_before_disable.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/arm64-v8a/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/arm64-v8a/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/jniLibs/armeabi-v7a/libUyghurSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/jniLibs/armeabi-v7a/libUyghurSDK.so -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/nav_menu_selected_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/nav_menu_selected_back.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/sdl_background_light.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/sdl_background_light.9.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_key_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_key_normal.9.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_key_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_key_selected.9.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_left.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_right.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_shift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_shift.png -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable-hdpi/nav_menu_selected_back_unsel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/app/src/main/res/drawable-hdpi/nav_menu_selected_back_unsel.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_delete.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alimjan2009/UyghurSDK/HEAD/UyghurSDK/uyghurlib/src/main/res/drawable-xxhdpi/uy_keyboard_return.png -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 50.0dip 6 | 7 | 8 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | مۇلازىم 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /UyghurSDK/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /proguard.cfg: -------------------------------------------------------------------------------- 1 | -keep class com.almas.** { 2 | *; 3 | } 4 | -keepclassmembers class **.R$* { 5 | public static ; 6 | } 7 | -keep class **.R$* { 8 | 9 | *; 10 | } 11 | 12 | -keepattributes InnerClasses 13 | 14 | -keep class **.R 15 | -keep class **.R$* { 16 | ; 17 | } 18 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable/uy_keyboard_key.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable/uy_edittext_focused.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable/uy_bg_edittext_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable/uy_bg_edittext.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/test/java/top/talant/uyghursdk/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.talant.uyghursdk; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/test/java/com/almas/uyghur/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghur; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /UyghurSDK/app/src/androidTest/java/top/talant/uyghursdk/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package top.talant.uyghursdk; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/drawable/nav_menu_xml.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/androidTest/java/com/almas/uyghur/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghur; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/drawable/uy_keyboard_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 14 | 15 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/AppConfig.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import android.graphics.Color; 4 | 5 | public class AppConfig { 6 | public static int textSize = 20; 7 | public static int fontIndex = 0; 8 | public static String [] fontName={"UkijTuzTom.ttf","uwf.ttf","UKIJKesme-b.ttf"}; 9 | 10 | public static float lineSpace = 1.2f; 11 | 12 | public static int firstLineIndentWidth = 40; 13 | 14 | public static boolean enableFistLine = true; 15 | 16 | public static int textColor = Color.BLACK; 17 | public static int textHintColor = Color.GRAY; 18 | 19 | public static String stringEnterText = ""; 20 | public static String stringSpaceText = "بوشلۇق"; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 17 | 18 | -------------------------------------------------------------------------------- /UyghurSDK/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/alimjan/Library/Android/android-sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /UyghurSDK/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:2.1.0' 10 | classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' 11 | classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' 12 | // NOTE: Do not place your application dependencies here; they belong 13 | // in the individual module build.gradle files 14 | } 15 | } 16 | 17 | allprojects { 18 | repositories { 19 | jcenter() 20 | } 21 | } 22 | 23 | task clean(type: Delete) { 24 | delete rootProject.buildDir 25 | } 26 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/alimjan/Library/Android/android-sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UyghurSDK/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /UyghurSDK/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.3" 6 | 7 | defaultConfig { 8 | applicationId "com.almas.uyghursdk" 9 | minSdkVersion 15 10 | targetSdkVersion 20 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | repositories { 22 | maven { 23 | url 'https://dl.bintray.com/alimjan/uyghur' 24 | } 25 | } 26 | dependencies { 27 | compile fileTree(dir: 'libs', include: ['*.jar']) 28 | testCompile 'junit:junit:4.12' 29 | compile 'com.android.support:appcompat-v7:23.4.0' 30 | compile 'com.almas.uyghur:uyghurlib:1.0.1' 31 | 32 | // compile project(':uyghurlib') 33 | } 34 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/list_item_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 15 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 24 | 25 | -------------------------------------------------------------------------------- /doc/overview-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Overview List 8 | 9 | 10 | 11 | 12 | 13 |
14 |

Packages

15 | 20 |
21 |

 

22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/com/almas/view/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.almas.view 8 | 9 | 10 | 11 | 12 |

com.almas.view

13 |
14 |

Classes

15 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/fragment_text_viewer.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 18 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 11 | 19 | 20 | 30 | 31 | 32 | 33 | 38 | 39 | -------------------------------------------------------------------------------- /doc/com/almas/keyboard/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.almas.keyboard 8 | 9 | 10 | 11 | 12 |

com.almas.keyboard

13 |
14 |

Interfaces

15 | 18 |

Classes

19 | 25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/HomeAdapter.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import android.content.Context; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.BaseAdapter; 8 | import android.widget.ListAdapter; 9 | 10 | import com.almas.view.UySyllabelTextView; 11 | 12 | public class HomeAdapter extends BaseAdapter implements ListAdapter { 13 | 14 | private String[] title={"ئۇيغۇرچە","Engilish","كىرگۈزگۈچ"}; 15 | private LayoutInflater inflater; 16 | public HomeAdapter(Context context) { 17 | // TODO Auto-generated constructor stub 18 | inflater = LayoutInflater.from(context); 19 | } 20 | 21 | @Override 22 | public int getCount() { 23 | // TODO Auto-generated method stub 24 | return title.length; 25 | } 26 | 27 | @Override 28 | public Object getItem(int position) { 29 | // TODO Auto-generated method stub 30 | return position; 31 | } 32 | 33 | @Override 34 | public long getItemId(int position) { 35 | // TODO Auto-generated method stub 36 | return position; 37 | } 38 | 39 | @Override 40 | public View getView(int position, View convertView, ViewGroup parent) { 41 | // TODO Auto-generated method stub 42 | if(convertView==null){ 43 | convertView = inflater.inflate(R.layout.list_item_main, null); 44 | } 45 | UySyllabelTextView textView = (UySyllabelTextView ) convertView.findViewById(R.id.text); 46 | textView.setText(title[position]); 47 | return convertView; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/number.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 36 | 37 | 38 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.view.View; 7 | import android.view.Window; 8 | import android.widget.AdapterView; 9 | import android.widget.AdapterView.OnItemClickListener; 10 | import android.widget.ListView; 11 | 12 | public class MainActivity extends Activity implements OnItemClickListener{ 13 | 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | requestWindowFeature(Window.FEATURE_NO_TITLE); 18 | setContentView(R.layout.activity_main); 19 | ListView listView = (ListView) findViewById(R.id.listView); 20 | listView.setAdapter(new HomeAdapter(this)); 21 | listView.setOnItemClickListener(this); 22 | } 23 | 24 | public void onTestActivityClicked(View v){ 25 | this.finish(); 26 | } 27 | 28 | @Override 29 | public void onItemClick(AdapterView parent, View view, int position, 30 | long id) { 31 | // TODO Auto-generated method stub 32 | Intent intent = null; 33 | switch (position) { 34 | case 0: 35 | intent = new Intent(this, TextViewerActivity.class); 36 | intent.putExtra("isUyghur", "YES"); 37 | break; 38 | case 1: 39 | intent = new Intent(this, TextViewerActivity.class); 40 | intent.putExtra("isUyghur", "NO"); 41 | break; 42 | case 2: 43 | intent = new Intent(this, EditTextActivity.class); 44 | 45 | break; 46 | 47 | default: 48 | break; 49 | } 50 | if(intent!=null) startActivity(intent); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/fragment/FontAdapter.java: -------------------------------------------------------------------------------- 1 | package com.almas.fragment; 2 | 3 | import android.content.Context; 4 | import android.graphics.Color; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.BaseAdapter; 8 | import android.widget.SpinnerAdapter; 9 | 10 | import com.almas.tools.DensityUtil; 11 | import com.almas.view.UySyllabelTextView; 12 | 13 | public class FontAdapter extends BaseAdapter implements SpinnerAdapter { 14 | 15 | 16 | private String [] fontName; 17 | private Context context; 18 | public FontAdapter(Context activity,String[] font) { 19 | // TODO Auto-generated constructor stub 20 | this.context = activity; 21 | fontName = font; 22 | } 23 | 24 | @Override 25 | public int getCount() { 26 | // TODO Auto-generated method stub 27 | return fontName.length; 28 | } 29 | 30 | @Override 31 | public Object getItem(int position) { 32 | // TODO Auto-generated method stub 33 | return position; 34 | } 35 | 36 | @Override 37 | public long getItemId(int position) { 38 | // TODO Auto-generated method stub 39 | return position; 40 | } 41 | 42 | @Override 43 | public View getView(int position, View convertView, ViewGroup parent) { 44 | // TODO Auto-generated method stub 45 | if(convertView==null){ 46 | convertView = new UySyllabelTextView(context); 47 | } 48 | UySyllabelTextView text = (UySyllabelTextView) convertView; 49 | text.setBackgroundColor(Color.WHITE); 50 | text.setText(fontName[position]); 51 | text.setTextSize(DensityUtil.dip2px(context, 25)); 52 | return convertView; 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/activity_edit_text.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 19 | 26 | 27 | 39 | 40 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/fragment_edit_text.xml: -------------------------------------------------------------------------------- 1 | 5 | 14 | 24 | 28 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #43859d 5 | #555555 6 | #FF000000 7 | #AA00003D 8 | #330000FF 9 | #ffffffff 10 | #ff000000 11 | #ff0000ff 12 | #ff00ff00 13 | #ffff0000 14 | #ff0078f0 15 | #ff7d7d7d 16 | #ffffcc00 17 | #ff274462 18 | #CCCCCC 19 | #FFFFFF 20 | #000000 21 | #000000 22 | #ffd7dadc 23 | #F0F0F0 24 | #F5F5F5 25 | 26 | #00000000 27 | #B22222 28 | #212121 29 | 30 | #faa31f 31 | 32 | #ffb7babb 33 | 34 | #662B1D 35 | 36 | #FFFFFF 37 | #FFFFFF 38 | 39 | 40 | #ff3590c4 41 | #ff2570ba 42 | 43 | 44 | #000000 45 | #ffffff 46 | 47 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/activity_text_viewer.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 17 | 24 | 25 | 36 | 47 | 48 | 54 | 55 | -------------------------------------------------------------------------------- /UyghurSDK/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 46 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/EditTextActivity.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import com.almas.fragment.EditTextFragment; 4 | import com.almas.fragment.EditTextFragmentController; 5 | import com.almas.fragment.EditTextFragmentController.ConfirmClickedListener; 6 | 7 | import android.os.Bundle; 8 | import android.support.v4.app.FragmentActivity; 9 | import android.support.v4.app.FragmentManager; 10 | import android.support.v4.app.FragmentTransaction; 11 | import android.view.View; 12 | import android.view.Window; 13 | 14 | public class EditTextActivity extends FragmentActivity implements ConfirmClickedListener { 15 | 16 | private EditTextFragmentController editTextFragmentController; 17 | private EditTextFragment editTextFragment; 18 | @Override 19 | protected void onCreate(Bundle savedInstanceState) { 20 | super.onCreate(savedInstanceState); 21 | requestWindowFeature(Window.FEATURE_NO_TITLE); 22 | setContentView(R.layout.activity_edit_text); 23 | 24 | editTextFragmentController = new EditTextFragmentController(this); 25 | editTextFragment = new EditTextFragment(); 26 | openEditTextFragment(); 27 | } 28 | 29 | 30 | private void openEditTextFragment() { 31 | // TODO Auto-generated method stub 32 | if(isSettingMode==true){ 33 | FragmentManager fm = getSupportFragmentManager(); 34 | FragmentTransaction transaction = fm.beginTransaction(); 35 | transaction.replace(R.id.frameLayout, editTextFragment); 36 | transaction.commit(); 37 | isSettingMode = false; 38 | } 39 | } 40 | 41 | public void onSettingClicked(View v){ 42 | if(isSettingMode)openEditTextFragment(); 43 | else openSettingFragment(); 44 | } 45 | private boolean isSettingMode = true; 46 | private void openSettingFragment() { 47 | // TODO Auto-generated method stub 48 | if(isSettingMode==false){ 49 | FragmentManager fm = getSupportFragmentManager(); 50 | FragmentTransaction transaction = fm.beginTransaction(); 51 | transaction.replace(R.id.frameLayout, editTextFragmentController); 52 | transaction.commit(); 53 | isSettingMode = true; 54 | } 55 | } 56 | 57 | public void onRetrunClicked(View v){ 58 | if(isSettingMode==true){ 59 | this.openEditTextFragment(); 60 | }else{ 61 | this.finish(); 62 | } 63 | 64 | } 65 | 66 | 67 | @Override 68 | public void onConfirmClicked() { 69 | // TODO Auto-generated method stub 70 | openEditTextFragment(); 71 | } 72 | 73 | 74 | } 75 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/fragment/TextViewerFragment.java: -------------------------------------------------------------------------------- 1 | package com.almas.fragment; 2 | 3 | 4 | 5 | import android.content.Context; 6 | import android.os.Bundle; 7 | import android.support.annotation.Nullable; 8 | import android.support.v4.app.Fragment; 9 | import android.view.LayoutInflater; 10 | import android.view.View; 11 | import android.view.ViewGroup; 12 | 13 | import com.almas.tools.DensityUtil; 14 | import com.almas.tools.NativeClass; 15 | import com.almas.tools.SyllabelTextAlighnment; 16 | import com.almas.tools.UyBaseAndEx; 17 | import com.almas.uyghursdk.AppConfig; 18 | import com.almas.uyghursdk.R; 19 | import com.almas.view.UySyllabelTextView; 20 | 21 | public class TextViewerFragment extends Fragment { 22 | 23 | private View mainView; 24 | private UySyllabelTextView textView; 25 | private Context context; 26 | private int stringId; 27 | public TextViewerFragment(Context context,int stringId,boolean isUyghur) { 28 | // TODO Auto-generated constructor stub 29 | this.context = context; 30 | this.stringId = stringId; 31 | this.isUyghur = isUyghur; 32 | } 33 | @Override 34 | public View onCreateView(LayoutInflater inflater, 35 | @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { 36 | // TODO Auto-generated method stub 37 | mainView = inflater.inflate(R.layout.fragment_text_viewer, null); 38 | textView = (UySyllabelTextView)mainView.findViewById(R.id.syllabelText); 39 | updateUI(); 40 | return mainView; 41 | } 42 | private boolean isUyghur = true; 43 | private void updateUI() { 44 | // TODO Auto-generated method stub 45 | if(isUyghur){ 46 | textView.setText(context.getString(this.stringId)); 47 | textView.SetSyllabelTextAlighnment(SyllabelTextAlighnment.Right); 48 | }else{ 49 | textView.setText(NativeClass.toSelawenNative(context.getString(this.stringId))); 50 | textView.SetSyllabelTextAlighnment(SyllabelTextAlighnment.Left); 51 | } 52 | textView.setTextSize(DensityUtil.dip2px(context, AppConfig.textSize)); 53 | textView.setPaintFontName(AppConfig.fontName[AppConfig.fontIndex]); 54 | textView.setLineSpaceMutliUy(AppConfig.lineSpace); 55 | textView.setEnableFirstLineIndent(AppConfig.enableFistLine); 56 | if(AppConfig.enableFistLine){ 57 | textView.setFirstLineIndentWidth(DensityUtil.dip2px(getActivity(), AppConfig.firstLineIndentWidth)); 58 | } 59 | textView.setTextColor(AppConfig.textColor); 60 | } 61 | @Override 62 | public void onResume() { 63 | // TODO Auto-generated method stub 64 | super.onResume(); 65 | updateUI(); 66 | } 67 | 68 | public void switchLanguage() { 69 | // TODO Auto-generated method stub 70 | isUyghur = !isUyghur; 71 | updateUI(); 72 | } 73 | 74 | } 75 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/china.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 50 | 51 | 53 | 54 | 56 | 57 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/symbol.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 50 | 51 | 53 | 54 | 56 | 57 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/qwerty_large.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 50 | 52 | 54 | 55 | 57 | 58 | -------------------------------------------------------------------------------- /UyghurSDK/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/qwerty.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 50 | 52 | 54 | 55 | 57 | 58 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/uyghur.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 51 | 53 | 55 | 56 | 58 | 59 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/res/layout/activity_user_input.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 19 | 26 | 27 | 37 | 46 | 47 | 51 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /doc/com/almas/tools/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.almas.tools 8 | 9 | 10 | 11 | 12 |

com.almas.tools

13 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/fragment/EditTextFragment.java: -------------------------------------------------------------------------------- 1 | package com.almas.fragment; 2 | import android.os.Bundle; 3 | import android.support.annotation.Nullable; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.almas.keyboard.KeyboardUtil; 10 | import com.almas.keyboard.UyghurKeyboardView; 11 | import com.almas.tools.DensityUtil; 12 | import com.almas.uyghursdk.AppConfig; 13 | import com.almas.uyghursdk.R; 14 | import com.almas.view.UyEditText; 15 | 16 | 17 | public class EditTextFragment extends Fragment { 18 | 19 | private View viewMain; 20 | private UyEditText editText; 21 | private UyghurKeyboardView keyboardView; 22 | private KeyboardUtil keyboardUtil; 23 | private String text; 24 | public EditTextFragment() { 25 | // TODO Auto-generated constructor stub 26 | } 27 | @Override 28 | public View onCreateView(LayoutInflater inflater, 29 | @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { 30 | // TODO Auto-generated method stub 31 | this.viewMain = inflater.inflate(R.layout.fragment_edit_text, null); 32 | editText = (UyEditText) viewMain.findViewById(R.id.uyEditText); 33 | keyboardView = (UyghurKeyboardView)viewMain.findViewById(R.id.keyboard_view); 34 | keyboardUtil = new KeyboardUtil(getActivity(), editText,keyboardView); 35 | if(text!=null){ 36 | editText.setText(text); 37 | } 38 | updateUI(); 39 | 40 | return this.viewMain; 41 | } 42 | @Override 43 | public void onResume() { 44 | // TODO Auto-generated method stub 45 | super.onResume(); 46 | updateUI(); 47 | 48 | } 49 | @Override 50 | public void onStart() { 51 | // TODO Auto-generated method stub 52 | super.onStart(); 53 | 54 | } 55 | private void updateUI() { 56 | // TODO Auto-generated method stub 57 | editText.setTextSize(DensityUtil.dip2px(getActivity(), AppConfig.textSize)); 58 | editText.setPaintFontName(AppConfig.fontName[AppConfig.fontIndex]); 59 | editText.setLineSpaceMutliUy(AppConfig.lineSpace); 60 | editText.setTextColor(AppConfig.textColor); 61 | editText.setTextHintColor(AppConfig.textHintColor); 62 | 63 | if(AppConfig.stringEnterText!=null&&AppConfig.stringEnterText.length()>0){ 64 | keyboardUtil.setEnterText(AppConfig.stringEnterText); 65 | }else{ 66 | keyboardUtil.setEnterText(null); 67 | } 68 | if(AppConfig.stringSpaceText!=null&&AppConfig.stringSpaceText.length()>0){ 69 | keyboardUtil.setSpaceIconText(AppConfig.stringSpaceText); 70 | }else{ 71 | keyboardUtil.setSpaceIconText(null); 72 | } 73 | 74 | } 75 | @Override 76 | public void onSaveInstanceState(Bundle outState) { 77 | // TODO Auto-generated method stub 78 | super.onSaveInstanceState(outState); 79 | } 80 | @Override 81 | public void onDestroyView() { 82 | // TODO Auto-generated method stub 83 | super.onDestroyView(); 84 | if(editText!=null){ 85 | this.text = editText.getText(); 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/signs.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 51 | 53 | 55 | 56 | 58 | 59 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/signs_large.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 51 | 53 | 55 | 56 | 58 | 59 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Generated Documentation (Untitled) 8 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | <noscript> 69 | <div>JavaScript is disabled on your browser.</div> 70 | </noscript> 71 | <h2>Frame Alert</h2> 72 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/src/main/res/xml/uyghur_large.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 60 | 61 | 62 | 64 | 66 | 68 | 69 | 71 | 72 | -------------------------------------------------------------------------------- /doc/allclasses-noframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 |

All Classes

13 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/UserInputActivity.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import android.app.Activity; 4 | import android.graphics.Color; 5 | import android.os.Bundle; 6 | import android.os.Handler; 7 | import android.os.Message; 8 | import android.text.TextUtils; 9 | import android.view.Gravity; 10 | import android.view.View; 11 | import android.view.Window; 12 | import android.widget.Toast; 13 | 14 | import com.almas.keyboard.KeyboardUtil; 15 | import com.almas.keyboard.UyghurKeyboardView; 16 | import com.almas.tools.DensityUtil; 17 | import com.almas.tools.OnKeyboardClickedListener; 18 | import com.almas.view.UyEditText; 19 | import com.almas.view.UySyllabelTextView; 20 | 21 | 22 | public class UserInputActivity extends Activity implements OnKeyboardClickedListener { 23 | 24 | private UyEditText editText; 25 | private UyghurKeyboardView keyboardView; 26 | private KeyboardUtil keyboardUtil; 27 | private boolean isForSpace; 28 | @Override 29 | protected void onCreate(Bundle savedInstanceState) { 30 | super.onCreate(savedInstanceState); 31 | requestWindowFeature(Window.FEATURE_NO_TITLE); 32 | setContentView(R.layout.activity_user_input); 33 | editText = (UyEditText) findViewById(R.id.uyEditText1); 34 | keyboardView = (UyghurKeyboardView) findViewById(R.id.uyghurKeyboardView1); 35 | keyboardUtil = new KeyboardUtil(this, editText, keyboardView); 36 | editText.setKeyboardUtil(keyboardUtil); 37 | String action = getIntent().getStringExtra("for"); 38 | if(action!=null) 39 | isForSpace = action.equals("space"); 40 | 41 | if(isForSpace){ 42 | if(TextUtils.isEmpty(AppConfig.stringSpaceText)==false) 43 | editText.setText(AppConfig.stringSpaceText); 44 | }else{ 45 | if(TextUtils.isEmpty(AppConfig.stringEnterText)==false) 46 | editText.setText(AppConfig.stringEnterText); 47 | } 48 | editText.setOnKeyboardClickedListener(this); 49 | if(AppConfig.stringEnterText!=null&&AppConfig.stringEnterText.length()>0){ 50 | keyboardUtil.setEnterText(AppConfig.stringEnterText); 51 | }else{ 52 | keyboardUtil.setEnterText(null); 53 | } 54 | if(AppConfig.stringSpaceText!=null&&AppConfig.stringSpaceText.length()>0){ 55 | keyboardUtil.setSpaceIconText(AppConfig.stringSpaceText); 56 | }else{ 57 | keyboardUtil.setSpaceIconText(null); 58 | } 59 | } 60 | public void onRetrunClicked(View v){ 61 | this.finish(); 62 | } 63 | @Override 64 | public void onTextChanged() { 65 | // TODO Auto-generated method stub 66 | 67 | } 68 | @Override 69 | public void onEnterClicked() { 70 | // TODO Auto-generated method stub 71 | 72 | this.keyboardUtil.hideKeyboard(); 73 | if(isForSpace){ 74 | AppConfig.stringSpaceText = editText.getText(); 75 | }else{ 76 | AppConfig.stringEnterText = editText.getText(); 77 | } 78 | showToast(); 79 | Handler handler = new Handler(){ 80 | @Override 81 | public void handleMessage(Message msg) { 82 | // TODO Auto-generated method stub 83 | super.handleMessage(msg); 84 | UserInputActivity.this.finish(); 85 | } 86 | }; 87 | handler.sendEmptyMessageDelayed(1, 1000); 88 | } 89 | 90 | private void showToast() { 91 | // TODO Auto-generated method stub 92 | Toast toast = new Toast(this); 93 | toast.setGravity(Gravity.BOTTOM, 0, DensityUtil.dip2px(this, 20)); 94 | toast.setDuration(Toast.LENGTH_LONG); 95 | UySyllabelTextView textView = new UySyllabelTextView(this); 96 | 97 | textView.setTextColor(Color.WHITE); 98 | textView.setBackgroundColor(Color.BLACK); 99 | textView.setTextSize(DensityUtil.dip2px(this, 16)); 100 | 101 | textView.setText("ئۇتۇقلۇق بولدى"); 102 | toast.setView(textView); 103 | toast.show(); 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /doc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Deprecated List 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Deprecated API

68 |

Contents

69 |
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/allclasses-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 |

All Classes

13 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /UyghurSDK/app/src/main/java/top/talant/uyghursdk/TextViewerActivity.java: -------------------------------------------------------------------------------- 1 | package com.almas.uyghursdk; 2 | 3 | import android.graphics.Color; 4 | import android.os.Bundle; 5 | import android.support.v4.app.FragmentActivity; 6 | import android.support.v4.app.FragmentManager; 7 | import android.support.v4.app.FragmentTransaction; 8 | import android.view.Gravity; 9 | import android.view.View; 10 | import android.view.Window; 11 | import android.widget.Toast; 12 | 13 | import com.almas.fragment.TextViewerControllerFragment; 14 | import com.almas.fragment.TextViewerControllerFragment.ConfirmClickedListener; 15 | import com.almas.fragment.TextViewerFragment; 16 | import com.almas.tools.DensityUtil; 17 | import com.almas.view.UySyllabelTextView; 18 | 19 | public class TextViewerActivity extends FragmentActivity implements ConfirmClickedListener{ 20 | 21 | private TextViewerFragment textViewerFragment; 22 | private TextViewerControllerFragment controllerFragment; 23 | private boolean isUyghurLetters; 24 | 25 | @Override 26 | protected void onCreate(Bundle savedInstanceState) { 27 | super.onCreate(savedInstanceState); 28 | requestWindowFeature(Window.FEATURE_NO_TITLE); 29 | setContentView(R.layout.activity_text_viewer); 30 | if(getIntent().getStringExtra("isUyghur")!=null){ 31 | isUyghurLetters = getIntent().getStringExtra("isUyghur").equals("YES"); 32 | }else{ 33 | isUyghurLetters = true; 34 | } 35 | 36 | if(isUyghurLetters){ 37 | textViewerFragment = new TextViewerFragment(this,R.string.test5,true); 38 | findViewById(R.id.selaven).setVisibility(View.VISIBLE); 39 | }else{ 40 | textViewerFragment = new TextViewerFragment(this,R.string.test3,false); 41 | findViewById(R.id.selaven).setVisibility(View.GONE); 42 | } 43 | controllerFragment = new TextViewerControllerFragment(this); 44 | openTextFragment(); 45 | } 46 | 47 | private void openTextFragment() { 48 | // TODO Auto-generated method stub 49 | if(isSettingMode==true){ 50 | FragmentManager fm = getSupportFragmentManager(); 51 | FragmentTransaction transaction = fm.beginTransaction(); 52 | transaction.replace(R.id.frameLayout, textViewerFragment); 53 | transaction.commit(); 54 | isSettingMode = false; 55 | } 56 | } 57 | 58 | public void onSettingClicked(View v){ 59 | if(isSettingMode)openTextFragment(); 60 | else openSettingFragment(); 61 | } 62 | private boolean isSettingMode = true; 63 | private ColorPickerDialog dialog; 64 | private void openSettingFragment() { 65 | // TODO Auto-generated method stub 66 | if(isSettingMode==false){ 67 | FragmentManager fm = getSupportFragmentManager(); 68 | FragmentTransaction transaction = fm.beginTransaction(); 69 | transaction.replace(R.id.frameLayout, controllerFragment); 70 | transaction.commit(); 71 | isSettingMode = true; 72 | } 73 | } 74 | @Override 75 | public void onConfirmClicked() { 76 | // TODO Auto-generated method stub 77 | openTextFragment(); 78 | } 79 | public void onSelavenClicked(View v){ 80 | if(textViewerFragment!=null&&isSettingMode==false){ 81 | textViewerFragment.switchLanguage(); 82 | showToast(); 83 | } 84 | } 85 | private void showToast() { 86 | // TODO Auto-generated method stub 87 | Toast toast = new Toast(this); 88 | toast.setGravity(Gravity.BOTTOM, 0, DensityUtil.dip2px(this, 20)); 89 | toast.setDuration(Toast.LENGTH_LONG); 90 | UySyllabelTextView textView = new UySyllabelTextView(this); 91 | 92 | textView.setTextColor(Color.WHITE); 93 | textView.setBackgroundColor(Color.BLACK); 94 | textView.setTextSize(DensityUtil.dip2px(this, 16)); 95 | 96 | textView.setText("ئۇتۇقلۇق بولدى"); 97 | toast.setView(textView); 98 | toast.show(); 99 | } 100 | public void onRetrunClicked(View v){ 101 | if(isSettingMode==true){ 102 | this.openTextFragment(); 103 | }else{ 104 | this.finish(); 105 | } 106 | 107 | } 108 | @Override 109 | protected void onDestroy() { 110 | // TODO Auto-generated method stub 111 | super.onDestroy(); 112 | textViewerFragment = null; 113 | controllerFragment = null; 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /doc/com/almas/view/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Package com.almas.view 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Package
com.almas.view

68 |
69 |
No usage of com.almas.view
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/view/class-use/UyButton.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.view.UyButton 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.view.UyButton

68 |
69 |
No usage of com.almas.view.UyButton
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /UyghurSDK/uyghurlib/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | apply plugin: 'com.github.dcendents.android-maven' 3 | apply plugin: 'com.jfrog.bintray' 4 | version = "1.0.1" 5 | android { 6 | compileSdkVersion 23 7 | buildToolsVersion "23.0.3" 8 | 9 | defaultConfig { 10 | minSdkVersion 15 11 | targetSdkVersion 23 12 | versionCode 1 13 | versionName "1.0" 14 | } 15 | buildTypes { 16 | release { 17 | minifyEnabled false 18 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 19 | } 20 | } 21 | } 22 | 23 | dependencies { 24 | compile fileTree(dir: 'libs', include: ['*.jar']) 25 | testCompile 'junit:junit:4.12' 26 | compile 'com.android.support:appcompat-v7:23.4.0' 27 | compile files('libs/icu4j-core.jar') 28 | compile files('libs/UyghurSDK.jar') 29 | } 30 | 31 | def siteUrl = 'https://github.com/Alimjan2009/UyghurSDK' // Homepage URL of the library 32 | def gitUrl = 'https://github.com/Alimjan2009/UyghurSDK.git' // Git repository URL 33 | group = "com.almas.uyghur" // Maven Group ID for the artifact 34 | 35 | install { 36 | repositories.mavenInstaller { 37 | // This generates POM.xml with proper parameters 38 | pom { 39 | project { 40 | packaging 'aar' 41 | 42 | // Add your description here 43 | name 'android_uyghur' 44 | description = 'CyberLink for Android is a development package for UPnP™ developers on Android development.' 45 | url siteUrl 46 | 47 | // Set your license 48 | licenses { 49 | license { 50 | name 'The Apache Software License, Version 2.0' 51 | url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 52 | } 53 | } 54 | developers { 55 | developer { 56 | id 'alimjan' 57 | name 'alimjan' 58 | email '822161777@qq.com' 59 | } 60 | } 61 | scm { 62 | connection gitUrl 63 | developerConnection gitUrl 64 | url siteUrl 65 | 66 | } 67 | } 68 | } 69 | } 70 | } 71 | 72 | task sourcesJar(type: Jar) { 73 | from android.sourceSets.main.java.srcDirs 74 | classifier = 'sources' 75 | } 76 | 77 | task javadoc(type: Javadoc) { 78 | source = android.sourceSets.main.java.srcDirs 79 | classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) 80 | } 81 | 82 | task javadocJar(type: Jar, dependsOn: javadoc) { 83 | classifier = 'javadoc' 84 | from javadoc.destinationDir 85 | } 86 | artifacts { 87 | archives javadocJar 88 | archives sourcesJar 89 | } 90 | 91 | Properties properties = new Properties() 92 | properties.load(project.rootProject.file('local.properties').newDataInputStream()) 93 | 94 | // https://github.com/bintray/gradle-bintray-plugin 95 | bintray { 96 | user = properties.getProperty("bintray.user") 97 | key = properties.getProperty("bintray.apikey") 98 | 99 | configurations = ['archives'] 100 | pkg { 101 | repo = "uyghur" 102 | // it is the name that appears in bintray when logged 103 | name = "android_uyghur" 104 | websiteUrl = siteUrl 105 | vcsUrl = gitUrl 106 | licenses = ["Apache-2.0"] 107 | publish = true 108 | version { 109 | gpg { 110 | sign = true //Determines whether to GPG sign the files. The default is false 111 | passphrase = properties.getProperty("bintray.gpg.password") 112 | //Optional. The passphrase for GPG signing' 113 | } 114 | // mavenCentralSync { 115 | // sync = true //Optional (true by default). Determines whether to sync the version to Maven Central. 116 | // user = properties.getProperty("bintray.oss.user") //OSS user token 117 | // password = properties.getProperty("bintray.oss.password") //OSS user password 118 | // close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually. 119 | // } 120 | } 121 | } 122 | } -------------------------------------------------------------------------------- /doc/com/almas/view/class-use/UyEditText.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.view.UyEditText 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.view.UyEditText

68 |
69 |
No usage of com.almas.view.UyEditText
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/view/class-use/UyTextView.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.view.UyTextView 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.view.UyTextView

68 |
69 |
No usage of com.almas.view.UyTextView
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UyDrawer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UyDrawer 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UyDrawer

68 |
69 |
No usage of com.almas.tools.UyDrawer
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ئۇيغۇرچە يۇمشاق دىتال ئىچىش قورالى Android 2 | ------------------------------------------ 3 | 4 | 5 | ---------- 6 | ## قىسقىچە چۈشەندۈرىلىشى:‫ ## 7 | بۇ ‫‫SDK بولسا كەڭ ئۇيغۇرچە Android ئەپ ئاچقۇچىلار ئۈچۈن تەييارلانغان بولۇپ،ئىشلىتىش قولايلىق،كۆرۈنمە يۈزى كۆركەم,TextView,EditTextView ‫قۇرۇلمىلار ئىشقا ئاشۇرۇلغان .ئىچىدە سىزىش قاتارلىق فونكىسىيلەر تەمىنلەنگەن بولۇپ،ئەپ ئاچقۇچىلار خائىشى بويىچە باشقا قۇرۇلمىلارنىمۇ ئۆزگەرتىپ چىقسا بولىدۇ. 8 | 9 | ئاساسلىق رولى تۆۋەندىكىچە:‫‫ 10 | 11 | ‫1. ئۇيغۇرچىنى نورمال كۆرسىتىش 12 | ‫2. قۇر ئاخىرىدىكى سۆزلەرنى بوغۇمغا بۆلۈش 13 | ‫3. ھەر قايسى قۇرلارنى رەتلىك چىقىرىش 14 | ‫4. كونۇپكا تاختىسى ۋە كىرگۈزگۈچى بىلەن تەمىنلەش 15 | 16 | 17 | ---------- 18 | ## Anroid Studio Gradle 快速集成 ## 19 | 20 | ``` 21 | dependencies { 22 | compile 'com.almas.uyghur:uyghurlib:1.0.1' 23 | } 24 | ``` 25 | 26 | ---------- 27 | 28 | ---------- 29 | ## كەسمە رەسىملىرى ## 30 | ![](http://dev.almas.biz/images/c1.png)![](http://dev.almas.biz/images/c2.png) 31 | ---------- 32 | ## سىناش ئۇسۇلى:‫ ## 33 | ‫1. Activity نىڭ xml ھۆججىتىگە 34 | 35 | 40 | 41 | 51 | 61 | 65 | 75 | 76 | 77 | 78 | 79 | ‫2. Activity نىڭ java ھۆججىتىگە 80 | 81 | > private UyghurKeyboardView keyboardView; 82 | private UyEditText uyEditText; 83 | private KeyboardUtil keyboardUtil; 84 | 85 | @Override 86 | protected void onCreate(Bundle savedInstanceState) { 87 | super.onCreate(savedInstanceState); 88 | requestWindowFeature(Window.FEATURE_NO_TITLE); 89 | setContentView(R.layout.activity_main); 90 | 91 | keyboardView = (UyghurKeyboardView) findViewById(R.id.uyghurKeyboardView1); 92 | uyEditText = (UyEditText)findViewById(R.id.uyEditText1); 93 | keyboardUtil = new KeyboardUtil(this,uyEditText,keyboardView); 94 | uyEditText.setKeyboardUtil(keyboardUtil); 95 | uyEditText.setOnKeyboardClickedListener(new OnKeyboardClickedListener() { 96 | 97 | @Override 98 | public void onTextChanged() { 99 | // TODO Auto-generated method stub 100 | 101 | } 102 | 103 | @Override 104 | public void onEnterClicked() { 105 | // TODO Auto-generated method stub 106 | keyboardUtil.hideKeyboard(); 107 | } 108 | }); 109 | } 110 | 111 | 112 | ---------- 113 | ## 混淆: ## 114 | ``` 115 | 116 | -keep class com.almas.** { 117 | *; 118 | } 119 | -keepclassmembers class **.R$* { 120 | public static ; 121 | } 122 | -keep class **.R$* { 123 | 124 | *; 125 | } 126 | 127 | -keepattributes InnerClasses 128 | 129 | -keep class **.R 130 | -keep class **.R$* { 131 | ; 132 | } 133 | ``` 134 | 135 | ---------- 136 | ## توربىتىمىز:‫ ## 137 | [توربىتىمىز](http://dev.almas.biz/index.html) 138 | http://dev.almas.biz/ 139 | Email:822161777@qq.com 140 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UySyllable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UySyllable 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UySyllable

68 |
69 |
No usage of com.almas.tools.UySyllable
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/DensityUtil.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.DensityUtil 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.DensityUtil

68 |
69 |
No usage of com.almas.tools.DensityUtil
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/NativeClass.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.NativeClass 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.NativeClass

68 |
69 |
No usage of com.almas.tools.NativeClass
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/StringUtils.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.StringUtils 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.StringUtils

68 |
69 |
No usage of com.almas.tools.StringUtils
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UyBaseAndEx.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UyBaseAndEx 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UyBaseAndEx

68 |
69 |
No usage of com.almas.tools.UyBaseAndEx
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/keyboard/class-use/ImageUtils.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.keyboard.ImageUtils 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.keyboard.ImageUtils

68 |
69 |
No usage of com.almas.keyboard.ImageUtils
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/view/class-use/UySyllabelTextView.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.view.UySyllabelTextView 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.view.UySyllabelTextView

68 |
69 |
No usage of com.almas.view.UySyllabelTextView
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UySyllabelDrawer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UySyllabelDrawer 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UySyllabelDrawer

68 |
69 |
No usage of com.almas.tools.UySyllabelDrawer
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/keyboard/class-use/UyghurKeyboard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.keyboard.UyghurKeyboard 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.keyboard.UyghurKeyboard

68 |
69 |
No usage of com.almas.keyboard.UyghurKeyboard
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UyDrawer.WordSeperator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UyDrawer.WordSeperator 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UyDrawer.WordSeperator

68 |
69 |
No usage of com.almas.tools.UyDrawer.WordSeperator
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UyDrawer.SpaceSeperator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UyDrawer.SpaceSeperator 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UyDrawer.SpaceSeperator

68 |
69 |
No usage of com.almas.tools.UyDrawer.SpaceSeperator
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/keyboard/class-use/UyghurKeyboard.UyghurKey.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.keyboard.UyghurKeyboard.UyghurKey 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.keyboard.UyghurKeyboard.UyghurKey

68 |
69 |
No usage of com.almas.keyboard.UyghurKeyboard.UyghurKey
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/overview-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Overview 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Android Uyghur SDK

68 |
69 |
70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 |
Packages 
PackageDescription
com.almas.keyboard 
com.almas.tools 
com.almas.view 
91 |
92 | 93 |
94 | 95 | 96 | 97 | 98 | 108 |
109 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UyDrawer.LineBreakerSeperator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UyDrawer.LineBreakerSeperator 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UyDrawer.LineBreakerSeperator

68 |
69 |
No usage of com.almas.tools.UyDrawer.LineBreakerSeperator
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /doc/com/almas/tools/class-use/UySyllabelDrawer.ElongatedWord.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.almas.tools.UySyllabelDrawer.ElongatedWord 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 37 |
38 | 65 | 66 |
67 |

Uses of Class
com.almas.tools.UySyllabelDrawer.ElongatedWord

68 |
69 |
No usage of com.almas.tools.UySyllabelDrawer.ElongatedWord
70 | 71 |
72 | 73 | 74 | 75 | 76 | 86 |
87 | 114 | 115 | 116 | 117 | --------------------------------------------------------------------------------