├── app ├── .gitignore ├── repo │ └── speechkit-2.5.0-SNAPSHOT.aar └── src │ ├── main │ ├── assets │ │ ├── fonts │ │ │ ├── Roboto-Medium.ttf │ │ │ └── TextBook-New-55.otf │ │ └── samples │ │ │ ├── 1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_ermil.mp3 │ │ │ ├── 1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_omazh.mp3 │ │ │ ├── 5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_ermil.mp3 │ │ │ ├── 5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_omazh.mp3 │ │ │ ├── 74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_ermil.mp3 │ │ │ ├── 74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_omazh.mp3 │ │ │ ├── 8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_ermil.mp3 │ │ │ ├── 8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_omazh.mp3 │ │ │ ├── 96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_ermil.mp3 │ │ │ ├── 96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_omazh.mp3 │ │ │ ├── c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_ermil.mp3 │ │ │ ├── c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_omazh.mp3 │ │ │ ├── d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_ermil.mp3 │ │ │ ├── d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_omazh.mp3 │ │ │ ├── d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_ermil.mp3 │ │ │ ├── d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_omazh.mp3 │ │ │ ├── f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_ermil.mp3 │ │ │ └── f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_omazh.mp3 │ ├── res │ │ ├── drawable-hdpi │ │ │ ├── ic_pin.png │ │ │ ├── ic_microphone.png │ │ │ ├── ic_settings.png │ │ │ ├── ic_talk_logo.png │ │ │ ├── drawer_shadow.9.png │ │ │ ├── ic_action_info.png │ │ │ ├── ic_action_more.png │ │ │ ├── ic_yandex_city.png │ │ │ ├── ic_yandex_disk.png │ │ │ ├── ic_yandex_maps.png │ │ │ ├── ic_yandex_metro.png │ │ │ ├── bubble_incoming.9.png │ │ │ ├── bubble_outgoing.9.png │ │ │ ├── ic_action_speaker.png │ │ │ ├── ic_conversations.png │ │ │ ├── ic_hamburger_black.png │ │ │ ├── ic_vocalize_normal.png │ │ │ ├── ic_yandex_browser.png │ │ │ ├── ic_yandex_search.png │ │ │ ├── yandex_talk_logo.png │ │ │ ├── ic_talk_yandex_logo.png │ │ │ ├── ic_vocalize_pressed.png │ │ │ ├── ic_yandex_navigator.png │ │ │ ├── ic_yandex_translate.png │ │ │ ├── material_shadow_z3.9.png │ │ │ ├── ic_ab_back_mtrl_black.png │ │ │ ├── ic_action_content_add.png │ │ │ ├── ic_action_send_disabled.png │ │ │ ├── ic_action_send_normal.png │ │ │ ├── ic_start_conversation.png │ │ │ ├── yandex_speechkit_logo.png │ │ │ ├── bubble_incoming_pinned.9.png │ │ │ ├── bubble_outgoing_pinned.9.png │ │ │ ├── ic_exit_fullscreen_normal.png │ │ │ ├── ic_action_change_orientation.png │ │ │ ├── ic_action_slide_next_normal.png │ │ │ ├── ic_action_slide_next_pressed.png │ │ │ ├── ic_action_slide_prev_normal.png │ │ │ ├── ic_action_slide_prev_pressed.png │ │ │ ├── ic_exit_fullscreen_pressed.png │ │ │ ├── ic_switch_to_keyboard_normal.png │ │ │ ├── ic_switch_to_keyboard_pressed.png │ │ │ ├── list_item_background_focused.9.png │ │ │ ├── list_item_background_pressed.9.png │ │ │ ├── list_item_background_activated.9.png │ │ │ ├── ic_switch_to_quick_responses_normal.png │ │ │ ├── list_item_background_longpressed.9.png │ │ │ ├── microphone_bar_message_background.9.png │ │ │ ├── ic_switch_to_quick_responses_pressed.png │ │ │ └── list_item_background_selector_disabled.9.png │ │ ├── drawable-mdpi │ │ │ ├── ic_pin.png │ │ │ ├── ic_microphone.png │ │ │ ├── ic_settings.png │ │ │ ├── ic_talk_logo.png │ │ │ ├── drawer_shadow.9.png │ │ │ ├── ic_action_info.png │ │ │ ├── ic_action_more.png │ │ │ ├── ic_yandex_city.png │ │ │ ├── ic_yandex_disk.png │ │ │ ├── ic_yandex_maps.png │ │ │ ├── ic_yandex_metro.png │ │ │ ├── bubble_incoming.9.png │ │ │ ├── bubble_outgoing.9.png │ │ │ ├── ic_action_speaker.png │ │ │ ├── ic_conversations.png │ │ │ ├── ic_hamburger_black.png │ │ │ ├── ic_vocalize_normal.png │ │ │ ├── ic_yandex_browser.png │ │ │ ├── ic_yandex_search.png │ │ │ ├── yandex_talk_logo.png │ │ │ ├── ic_talk_yandex_logo.png │ │ │ ├── ic_vocalize_pressed.png │ │ │ ├── ic_yandex_navigator.png │ │ │ ├── ic_yandex_translate.png │ │ │ ├── material_shadow_z3.9.png │ │ │ ├── ic_ab_back_mtrl_black.png │ │ │ ├── ic_action_content_add.png │ │ │ ├── ic_action_send_disabled.png │ │ │ ├── ic_action_send_normal.png │ │ │ ├── ic_start_conversation.png │ │ │ ├── yandex_speechkit_logo.png │ │ │ ├── bubble_incoming_pinned.9.png │ │ │ ├── bubble_outgoing_pinned.9.png │ │ │ ├── ic_exit_fullscreen_normal.png │ │ │ ├── ic_action_change_orientation.png │ │ │ ├── ic_action_slide_next_normal.png │ │ │ ├── ic_action_slide_next_pressed.png │ │ │ ├── ic_action_slide_prev_normal.png │ │ │ ├── ic_action_slide_prev_pressed.png │ │ │ ├── ic_exit_fullscreen_pressed.png │ │ │ ├── ic_switch_to_keyboard_normal.png │ │ │ ├── ic_switch_to_keyboard_pressed.png │ │ │ ├── list_item_background_focused.9.png │ │ │ ├── list_item_background_pressed.9.png │ │ │ ├── list_item_background_activated.9.png │ │ │ ├── ic_switch_to_quick_responses_normal.png │ │ │ ├── list_item_background_longpressed.9.png │ │ │ ├── microphone_bar_message_background.9.png │ │ │ ├── ic_switch_to_quick_responses_pressed.png │ │ │ └── list_item_background_selector_disabled.9.png │ │ ├── drawable-xhdpi │ │ │ ├── ic_pin.png │ │ │ ├── ic_settings.png │ │ │ ├── ic_talk_logo.png │ │ │ ├── ic_action_info.png │ │ │ ├── ic_action_more.png │ │ │ ├── ic_microphone.png │ │ │ ├── ic_yandex_city.png │ │ │ ├── ic_yandex_disk.png │ │ │ ├── ic_yandex_maps.png │ │ │ ├── bubble_incoming.9.png │ │ │ ├── bubble_outgoing.9.png │ │ │ ├── drawer_shadow.9.png │ │ │ ├── ic_action_speaker.png │ │ │ ├── ic_conversations.png │ │ │ ├── ic_yandex_browser.png │ │ │ ├── ic_yandex_metro.png │ │ │ ├── ic_yandex_search.png │ │ │ ├── yandex_talk_logo.png │ │ │ ├── ic_hamburger_black.png │ │ │ ├── ic_talk_yandex_logo.png │ │ │ ├── ic_vocalize_normal.png │ │ │ ├── ic_vocalize_pressed.png │ │ │ ├── ic_yandex_navigator.png │ │ │ ├── ic_yandex_translate.png │ │ │ ├── ic_ab_back_mtrl_black.png │ │ │ ├── ic_action_content_add.png │ │ │ ├── ic_action_send_normal.png │ │ │ ├── ic_start_conversation.png │ │ │ ├── material_shadow_z3.9.png │ │ │ ├── yandex_speechkit_logo.png │ │ │ ├── bubble_incoming_pinned.9.png │ │ │ ├── bubble_outgoing_pinned.9.png │ │ │ ├── ic_action_send_disabled.png │ │ │ ├── ic_action_slide_next_normal.png │ │ │ ├── ic_action_slide_prev_normal.png │ │ │ ├── ic_exit_fullscreen_normal.png │ │ │ ├── ic_exit_fullscreen_pressed.png │ │ │ ├── ic_action_change_orientation.png │ │ │ ├── ic_action_slide_next_pressed.png │ │ │ ├── ic_action_slide_prev_pressed.png │ │ │ ├── ic_switch_to_keyboard_normal.png │ │ │ ├── ic_switch_to_keyboard_pressed.png │ │ │ ├── list_item_background_activated.9.png │ │ │ ├── list_item_background_focused.9.png │ │ │ ├── list_item_background_pressed.9.png │ │ │ ├── list_item_background_longpressed.9.png │ │ │ ├── ic_switch_to_quick_responses_normal.png │ │ │ ├── ic_switch_to_quick_responses_pressed.png │ │ │ ├── microphone_bar_message_background.9.png │ │ │ └── list_item_background_selector_disabled.9.png │ │ ├── drawable-xxhdpi │ │ │ ├── ic_pin.png │ │ │ ├── ic_settings.png │ │ │ ├── ic_microphone.png │ │ │ ├── ic_talk_logo.png │ │ │ ├── ic_action_info.png │ │ │ ├── ic_action_more.png │ │ │ ├── ic_conversations.png │ │ │ ├── ic_yandex_city.png │ │ │ ├── ic_yandex_disk.png │ │ │ ├── ic_yandex_maps.png │ │ │ ├── ic_yandex_metro.png │ │ │ ├── ic_yandex_search.png │ │ │ ├── yandex_talk_logo.png │ │ │ ├── bubble_incoming.9.png │ │ │ ├── bubble_outgoing.9.png │ │ │ ├── ic_action_speaker.png │ │ │ ├── ic_hamburger_black.png │ │ │ ├── ic_vocalize_normal.png │ │ │ ├── ic_yandex_browser.png │ │ │ ├── ic_ab_back_mtrl_black.png │ │ │ ├── ic_action_content_add.png │ │ │ ├── ic_action_send_normal.png │ │ │ ├── ic_start_conversation.png │ │ │ ├── ic_talk_yandex_logo.png │ │ │ ├── ic_vocalize_pressed.png │ │ │ ├── ic_yandex_navigator.png │ │ │ ├── ic_yandex_translate.png │ │ │ ├── material_shadow_z3.9.png │ │ │ ├── yandex_speechkit_logo.png │ │ │ ├── ic_action_send_disabled.png │ │ │ ├── bubble_incoming_pinned.9.png │ │ │ ├── bubble_outgoing_pinned.9.png │ │ │ ├── ic_exit_fullscreen_normal.png │ │ │ ├── ic_exit_fullscreen_pressed.png │ │ │ ├── ic_action_change_orientation.png │ │ │ ├── ic_action_slide_next_normal.png │ │ │ ├── ic_action_slide_next_pressed.png │ │ │ ├── ic_action_slide_prev_normal.png │ │ │ ├── ic_action_slide_prev_pressed.png │ │ │ ├── ic_switch_to_keyboard_normal.png │ │ │ ├── ic_switch_to_keyboard_pressed.png │ │ │ ├── list_item_background_focused.9.png │ │ │ ├── list_item_background_pressed.9.png │ │ │ ├── list_item_background_activated.9.png │ │ │ ├── ic_switch_to_quick_responses_normal.png │ │ │ ├── ic_switch_to_quick_responses_pressed.png │ │ │ ├── list_item_background_longpressed.9.png │ │ │ └── list_item_background_selector_disabled.9.png │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── raw │ │ │ └── multimedia_pop_up_alert_tone_2.mp3 │ │ ├── values-v17 │ │ │ └── bools.xml │ │ ├── drawable-nodpi │ │ │ ├── appwidget_list_view_preview.png │ │ │ └── appwidget_quick_start_preview.png │ │ ├── values │ │ │ ├── integer.xml │ │ │ ├── bools.xml │ │ │ ├── integers.xml │ │ │ ├── ids.xml │ │ │ └── attrs.xml │ │ ├── values-sw600dp │ │ │ └── integer.xml │ │ ├── drawable-v21 │ │ │ ├── borderless_background_selector.xml │ │ │ ├── list_item_background_selector.xml │ │ │ └── start_conversation_button_background.xml │ │ ├── layout │ │ │ ├── list_item_starting_phrases_footer.xml │ │ │ ├── activity_settings.xml │ │ │ ├── activity_conversations.xml │ │ │ ├── fragment_navigation_menu.xml │ │ │ ├── dialog_fragment_no_connection.xml │ │ │ ├── dialog_fragment_change_orientation_hint.xml │ │ │ ├── dialog_fragment_whats_new.xml │ │ │ ├── dialog_fragment_quality_feedback.xml │ │ │ ├── popup_quick_responses.xml │ │ │ ├── layout_toolbar.xml │ │ │ ├── activity_questionnaire.xml │ │ │ ├── list_item_quick_response.xml │ │ │ ├── dialog_fragment_edit_phrase.xml │ │ │ ├── list_item_partial_result.xml │ │ │ ├── view_microphone_bar_message.xml │ │ │ ├── appwidget_start_conversation.xml │ │ │ ├── fragment_conversation.xml │ │ │ ├── list_item_starting_phrases_header.xml │ │ │ ├── fragment_question.xml │ │ │ ├── activity_splash.xml │ │ │ ├── list_item_answer.xml │ │ │ ├── list_item_appwidget_phrase.xml │ │ │ ├── fragment_zoomed_message.xml │ │ │ ├── activity_quick_start.xml │ │ │ ├── list_item_navigation_menu.xml │ │ │ ├── list_item_yandex_app.xml │ │ │ ├── fragment_phrases.xml │ │ │ ├── fragment_feedback.xml │ │ │ ├── list_item_quality_feedback.xml │ │ │ ├── view_speaker.xml │ │ │ ├── activity_conversation.xml │ │ │ ├── fragment_conversations.xml │ │ │ ├── view_zoomed_message_speaker.xml │ │ │ ├── dialog_fragment_tutorial.xml │ │ │ ├── layout_navigation_menu_footer.xml │ │ │ ├── view_microphone_bar.xml │ │ │ └── appwidget_phrases.xml │ │ ├── drawable │ │ │ ├── list_item_background_selector.xml │ │ │ ├── ic_action_send.xml │ │ │ ├── ic_vocalize.xml │ │ │ ├── ic_action_slide_next.xml │ │ │ ├── ic_action_slide_prev.xml │ │ │ ├── borderless_background_selector.xml │ │ │ ├── ic_exit_fullscreen.xml │ │ │ ├── ic_switch_to_keyboard.xml │ │ │ ├── list_item_selector_background_transition.xml │ │ │ ├── activated_item_background_selector.xml │ │ │ ├── ic_switch_to_quick_responses.xml │ │ │ ├── white_bottom_dim.xml │ │ │ ├── start_conversation_button_background.xml │ │ │ └── pre_lollipop_list_item_background_selector.xml │ │ ├── color │ │ │ └── text_primary_color_selector.xml │ │ ├── menu │ │ │ ├── menu_feedback.xml │ │ │ ├── menu_zoomed_message.xml │ │ │ ├── context_menu_starting_phrases.xml │ │ │ ├── menu_conversation.xml │ │ │ ├── menu_quick_start.xml │ │ │ ├── context_menu_conversation.xml │ │ │ └── context_menu_message.xml │ │ ├── xml │ │ │ ├── appwidget_phrases.xml │ │ │ └── appwidget_start_conversation.xml │ │ └── values-v21 │ │ │ └── styles.xml │ └── java │ │ └── ru │ │ └── yandex │ │ └── subtitles │ │ ├── content │ │ ├── data │ │ │ └── Member.java │ │ ├── Subscribeable.java │ │ ├── dao │ │ │ ├── Identify.java │ │ │ └── QueryUtils.java │ │ ├── provider │ │ │ └── BaseColumns.java │ │ └── loader │ │ │ ├── QuickResponsesLoader.java │ │ │ ├── StartingPhrasesLoader.java │ │ │ ├── AbstractContentProviderLoader.java │ │ │ └── MessagesLoader.java │ │ ├── ui │ │ ├── widget │ │ │ ├── microphonebar │ │ │ │ ├── impl │ │ │ │ │ └── ColorSet.java │ │ │ │ ├── MicrophoneBarListener.java │ │ │ │ └── ColorUtils.java │ │ │ ├── NoFadeItemAnimator.java │ │ │ ├── PopupMenuItemClickAdapter.java │ │ │ └── InterceptableToolbar.java │ │ ├── fragment │ │ │ ├── OnBackKeyEventListener.java │ │ │ └── navigation │ │ │ │ ├── MenuItem.java │ │ │ │ └── YandexAppItem.java │ │ ├── activity │ │ │ ├── ActivityResultListener.java │ │ │ └── ConversationsActivity.java │ │ ├── appwidget │ │ │ └── PhrasesAppWidgetRemoteService.java │ │ └── adapter │ │ │ ├── ZoomedMessagesAdapter.java │ │ │ ├── AnswersAdapter.java │ │ │ └── AbstractFragmentViewPagerAdapter.java │ │ ├── service │ │ ├── speechkit │ │ │ ├── speaker │ │ │ │ ├── Speaker.java │ │ │ │ ├── SpeakerListener.java │ │ │ │ └── Voice.java │ │ │ ├── recognition │ │ │ │ └── RecognitionListener.java │ │ │ └── initializer │ │ │ │ └── InitializerCallbacks.java │ │ ├── messaging │ │ │ └── ConversationError.java │ │ └── cache │ │ │ ├── PhrasesUtils.java │ │ │ ├── ConnectivityChangeBroadcastReceiver.java │ │ │ └── SpeechKitTtsCloudApi.java │ │ ├── utils │ │ ├── LocaleUtils.java │ │ ├── CollectionsExt.java │ │ └── IntentUtils.java │ │ ├── analytics │ │ ├── MessageAnalytics.java │ │ ├── EventTracker.java │ │ └── ThreadAnalytics.java │ │ └── SubtitlesApplication.java │ └── dev │ └── res │ ├── values-uk │ └── strings.xml │ └── values │ └── strings.xml ├── settings.gradle ├── doc ├── resources │ ├── tab.gif │ ├── background.gif │ ├── titlebar.gif │ └── titlebar_end.gif ├── ru │ └── yandex │ │ └── subtitles │ │ ├── service │ │ ├── speechkit │ │ │ ├── package-frame.html │ │ │ └── initializer │ │ │ │ └── package-frame.html │ │ ├── package-frame.html │ │ ├── cache │ │ │ └── package-frame.html │ │ └── messaging │ │ │ └── package-frame.html │ │ ├── analytics │ │ └── impl │ │ │ └── package-frame.html │ │ ├── content │ │ ├── package-frame.html │ │ ├── provider │ │ │ ├── package-frame.html │ │ │ └── database │ │ │ │ └── package-frame.html │ │ ├── data │ │ │ └── package-frame.html │ │ └── loader │ │ │ └── package-frame.html │ │ └── ui │ │ ├── widget │ │ ├── keyboard │ │ │ └── package-frame.html │ │ └── microphonebar │ │ │ └── package-frame.html │ │ ├── fragment │ │ ├── package-frame.html │ │ ├── phrases │ │ │ └── package-frame.html │ │ ├── navigation │ │ │ └── package-frame.html │ │ └── settings │ │ │ └── package-frame.html │ │ └── appwidget │ │ └── package-frame.html └── package-list ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── AUTHORS ├── .gitignore └── LICENSE /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/doc/resources/tab.gif -------------------------------------------------------------------------------- /doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/doc/resources/background.gif -------------------------------------------------------------------------------- /doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | support.email = DECLARE_YOUR_SUPPORT_EMAIL_HERE -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/repo/speechkit-2.5.0-SNAPSHOT.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/repo/speechkit-2.5.0-SNAPSHOT.aar -------------------------------------------------------------------------------- /app/src/main/assets/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_pin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_pin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_pin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_pin.png -------------------------------------------------------------------------------- /app/src/main/assets/fonts/TextBook-New-55.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/fonts/TextBook-New-55.otf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_microphone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_settings.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_microphone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_settings.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_settings.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_settings.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/drawer_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/drawer_shadow.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_more.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_city.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_disk.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_maps.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_metro.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/drawer_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/drawer_shadow.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_more.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_city.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_disk.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_maps.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_metro.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_more.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_microphone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_city.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_disk.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_maps.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_microphone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/bubble_incoming.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/bubble_incoming.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/bubble_outgoing.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/bubble_outgoing.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_speaker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_conversations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_conversations.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_hamburger_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_hamburger_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_vocalize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_vocalize_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_browser.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/yandex_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/yandex_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/bubble_incoming.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/bubble_incoming.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/bubble_outgoing.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/bubble_outgoing.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_speaker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_conversations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_conversations.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_hamburger_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_hamburger_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_vocalize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_vocalize_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_browser.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/yandex_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/yandex_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/bubble_incoming.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/bubble_incoming.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/bubble_outgoing.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/bubble_outgoing.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/drawer_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/drawer_shadow.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_speaker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_conversations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_conversations.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_browser.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_metro.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/yandex_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/yandex_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_more.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_conversations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_conversations.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_city.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_disk.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_maps.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_metro.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/yandex_talk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/yandex_talk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_talk_yandex_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_talk_yandex_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_vocalize_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_vocalize_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_navigator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_navigator.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_yandex_translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_yandex_translate.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/material_shadow_z3.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/material_shadow_z3.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_talk_yandex_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_talk_yandex_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_vocalize_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_vocalize_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_navigator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_navigator.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_yandex_translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_yandex_translate.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/material_shadow_z3.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/material_shadow_z3.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_hamburger_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_hamburger_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_talk_yandex_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_talk_yandex_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_vocalize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_vocalize_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_vocalize_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_vocalize_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_navigator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_navigator.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_yandex_translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_yandex_translate.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bubble_incoming.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/bubble_incoming.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bubble_outgoing.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/bubble_outgoing.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_speaker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_hamburger_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_hamburger_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_vocalize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_vocalize_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_browser.png -------------------------------------------------------------------------------- /app/src/main/res/raw/multimedia_pop_up_alert_tone_2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/raw/multimedia_pop_up_alert_tone_2.mp3 -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_ab_back_mtrl_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_ab_back_mtrl_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_content_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_content_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_send_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_send_disabled.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_send_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_send_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_start_conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_start_conversation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/yandex_speechkit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/yandex_speechkit_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_ab_back_mtrl_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_ab_back_mtrl_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_content_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_content_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_send_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_send_disabled.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_send_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_send_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_start_conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_start_conversation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/yandex_speechkit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/yandex_speechkit_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_ab_back_mtrl_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_ab_back_mtrl_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_content_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_content_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_send_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_send_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_start_conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_start_conversation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/material_shadow_z3.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/material_shadow_z3.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/yandex_speechkit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/yandex_speechkit_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_ab_back_mtrl_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_ab_back_mtrl_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_content_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_content_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_send_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_send_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_start_conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_start_conversation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_talk_yandex_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_talk_yandex_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_vocalize_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_vocalize_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_navigator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_navigator.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_yandex_translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_yandex_translate.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/material_shadow_z3.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/material_shadow_z3.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/yandex_speechkit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/yandex_speechkit_logo.png -------------------------------------------------------------------------------- /app/src/dev/res/values-uk/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Розмова.Dev 4 | 5 | -------------------------------------------------------------------------------- /app/src/dev/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Разговор.Dev 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/bubble_incoming_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/bubble_incoming_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/bubble_outgoing_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/bubble_outgoing_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_exit_fullscreen_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_exit_fullscreen_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/bubble_incoming_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/bubble_incoming_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/bubble_outgoing_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/bubble_outgoing_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_exit_fullscreen_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_exit_fullscreen_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/bubble_incoming_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/bubble_incoming_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/bubble_outgoing_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/bubble_outgoing_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_send_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_send_disabled.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_send_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_send_disabled.png -------------------------------------------------------------------------------- /app/src/main/res/values-v17/bools.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_change_orientation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_change_orientation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_slide_next_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_slide_next_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_slide_next_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_slide_next_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_slide_prev_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_slide_prev_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action_slide_prev_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_action_slide_prev_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_exit_fullscreen_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_exit_fullscreen_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_switch_to_keyboard_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_switch_to_keyboard_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_change_orientation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_change_orientation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_slide_next_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_slide_next_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_slide_next_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_slide_next_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_slide_prev_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_slide_prev_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action_slide_prev_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_action_slide_prev_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_exit_fullscreen_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_exit_fullscreen_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_switch_to_keyboard_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_switch_to_keyboard_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-nodpi/appwidget_list_view_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-nodpi/appwidget_list_view_preview.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_slide_next_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_slide_next_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_slide_prev_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_slide_prev_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_exit_fullscreen_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_exit_fullscreen_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_exit_fullscreen_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_exit_fullscreen_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bubble_incoming_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/bubble_incoming_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bubble_outgoing_pinned.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/bubble_outgoing_pinned.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_exit_fullscreen_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_exit_fullscreen_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_exit_fullscreen_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_exit_fullscreen_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_switch_to_keyboard_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_switch_to_keyboard_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/list_item_background_focused.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/list_item_background_focused.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/list_item_background_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/list_item_background_pressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_switch_to_keyboard_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_switch_to_keyboard_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/list_item_background_focused.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/list_item_background_focused.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/list_item_background_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/list_item_background_pressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-nodpi/appwidget_quick_start_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-nodpi/appwidget_quick_start_preview.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_change_orientation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_change_orientation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_slide_next_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_slide_next_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action_slide_prev_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_action_slide_prev_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_switch_to_keyboard_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_switch_to_keyboard_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_switch_to_keyboard_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_switch_to_keyboard_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_change_orientation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_change_orientation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_slide_next_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_slide_next_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_slide_next_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_slide_next_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_slide_prev_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_slide_prev_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_slide_prev_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_slide_prev_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_switch_to_keyboard_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_switch_to_keyboard_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/list_item_background_activated.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/list_item_background_activated.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/list_item_background_activated.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/list_item_background_activated.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/list_item_background_activated.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/list_item_background_activated.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/list_item_background_focused.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/list_item_background_focused.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/list_item_background_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/list_item_background_pressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_switch_to_keyboard_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_switch_to_keyboard_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/list_item_background_focused.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/list_item_background_focused.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/list_item_background_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/list_item_background_pressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/values/integer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_switch_to_quick_responses_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_switch_to_quick_responses_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/list_item_background_longpressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/list_item_background_longpressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/microphone_bar_message_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/microphone_bar_message_background.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_switch_to_quick_responses_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_switch_to_quick_responses_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/list_item_background_longpressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/list_item_background_longpressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/microphone_bar_message_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/microphone_bar_message_background.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/list_item_background_longpressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/list_item_background_longpressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/list_item_background_activated.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/list_item_background_activated.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_switch_to_quick_responses_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/ic_switch_to_quick_responses_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_switch_to_quick_responses_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/ic_switch_to_quick_responses_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_switch_to_quick_responses_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_switch_to_quick_responses_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_switch_to_quick_responses_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/ic_switch_to_quick_responses_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/microphone_bar_message_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/microphone_bar_message_background.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_switch_to_quick_responses_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_switch_to_quick_responses_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_switch_to_quick_responses_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/ic_switch_to_quick_responses_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/list_item_background_longpressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/list_item_background_longpressed.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/list_item_background_selector_disabled.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-hdpi/list_item_background_selector_disabled.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/list_item_background_selector_disabled.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-mdpi/list_item_background_selector_disabled.9.png -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/integer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0.75 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/list_item_background_selector_disabled.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xhdpi/list_item_background_selector_disabled.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/list_item_background_selector_disabled.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/res/drawable-xxhdpi/list_item_background_selector_disabled.9.png -------------------------------------------------------------------------------- /app/src/main/assets/samples/1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/1d416ea0-54d3-474d-8d8e-73d7dfe1a272_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/5ae45f37-ecd0-42fe-aec9-9a2ef1940acc_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/74a4a827-649b-4e83-8070-cbec3d5fc81d_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/8f4b184d-178e-4b61-87ad-d171cc09803e_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/96760c32-78c8-42cd-8daf-09c6fbd032af_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/c88a62e0-39ae-4c99-9df9-dfc7b1c3fa24_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/d71e4ad5-2304-4c36-96b0-9fc15237d1a9_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/d936b667-aa0a-4569-aa55-721c06dfb9f2_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_ermil.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_ermil.mp3 -------------------------------------------------------------------------------- /app/src/main/assets/samples/f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_omazh.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/deaf/HEAD/app/src/main/assets/samples/f0417d64-32c8-40bd-a072-11cfe48e3a53_ru-RU_omazh.mp3 -------------------------------------------------------------------------------- /app/src/main/res/values/bools.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | false 4 | false 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/integers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/borderless_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_starting_phrases_footer.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_item_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_conversations.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | The following authors have created the source code of "TALK" 2 | published and distributed by YANDEX LLC as the owner: 3 | 4 | - Dmitry Ustimov 5 | - Konstantin Osipov 6 | - Alexander Krapivnoy 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 16 15:48:37 FET 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.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_action_send.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_vocalize.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/color/text_primary_color_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_action_slide_next.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_action_slide_prev.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/borderless_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_exit_fullscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_switch_to_keyboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_item_selector_background_transition.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/activated_item_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/list_item_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_switch_to_quick_responses.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_bottom_dim.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_feedback.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_zoomed_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_navigation_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/menu/context_menu_starting_phrases.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_no_connection.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/xml/appwidget_phrases.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_quick_start.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/xml/appwidget_start_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_change_orientation_hint.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_whats_new.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_quality_feedback.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/popup_quick_responses.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # files for the dex VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # generated files 12 | bin/** 13 | gen/** 14 | out/** 15 | gen-external-apklibs/** 16 | 17 | # Local configuration file (sdk path, etc) 18 | local.properties 19 | 20 | # IntellijJ IDEA 21 | *.iml 22 | *.ipr 23 | *.iws 24 | .idea/** 25 | classes/** 26 | target/** 27 | 28 | # Mac OS 29 | .DS_Store 30 | 31 | # Gradle 32 | gradle-app.setting 33 | .gradletasknamecache 34 | .gradle/** 35 | build/** 36 | 37 | # Other 38 | clean-src.sh 39 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/menu/context_menu_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2016 YANDEX LLC 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_questionnaire.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_quick_response.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_edit_phrase.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_partial_result.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_microphone_bar_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/start_conversation_button_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/appwidget_start_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 15 | 16 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/start_conversation_button_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_starting_phrases_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/data/Member.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.data; 17 | 18 | public class Member { 19 | 20 | public static final long DEVICE_OWNER = 0L; 21 | public static final long VISAVIS = 1L; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/microphonebar/impl/ColorSet.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget.microphonebar.impl; 17 | 18 | public class ColorSet { 19 | 20 | public int colorNormal; 21 | public int colorPressed; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_question.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_answer.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 17 | 18 | 22 | 23 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/service/speechkit/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.service.speechkit 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.service.speechkit

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/speechkit/speaker/Speaker.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.speechkit.speaker; 17 | 18 | public interface Speaker { 19 | 20 | void speak(); 21 | 22 | long getMessageId(); 23 | 24 | boolean inProgress(); 25 | 26 | void cancel(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/speechkit/speaker/SpeakerListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.speechkit.speaker; 17 | 18 | public interface SpeakerListener { 19 | 20 | void onSpeakerStarted(final long messageId); 21 | 22 | void onSpeakerFinished(final long messageId); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/analytics/impl/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.analytics.impl 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.analytics.impl

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/fragment/OnBackKeyEventListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.fragment; 17 | 18 | /** 19 | * Interface indicates classes responsible for handling back pressed event. 20 | */ 21 | public interface OnBackKeyEventListener { 22 | 23 | boolean onBackPressed(); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/menu/context_menu_message.xml: -------------------------------------------------------------------------------- 1 | 2 |

3 | 4 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_appwidget_phrase.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 19 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_zoomed_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/microphonebar/MicrophoneBarListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget.microphonebar; 17 | 18 | public interface MicrophoneBarListener { 19 | 20 | void onMicrophoneClicked(final MicrophoneBarController controller, 21 | @MicrophoneBarController.State final int state); 22 | 23 | } -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/NoFadeItemAnimator.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget; 17 | 18 | import android.support.v7.widget.DefaultItemAnimator; 19 | 20 | public class NoFadeItemAnimator extends DefaultItemAnimator { 21 | 22 | public NoFadeItemAnimator() { 23 | super(); 24 | setChangeDuration(0L); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_quick_start.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/messaging/ConversationError.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.messaging; 17 | 18 | public class ConversationError { 19 | 20 | public static final int KIND_UNKNOWN = 0; 21 | public static final int KIND_NETWORK = -1; 22 | public static final int KIND_DATABASE = -2; 23 | 24 | private ConversationError() { 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/Subscribeable.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content; 17 | 18 | import android.content.Context; 19 | 20 | /** 21 | * Interface defines subscribeable behavior of concrete implementation. 22 | */ 23 | public interface Subscribeable { 24 | 25 | void subscribe(final Context context); 26 | 27 | void unsubscribe(final Context context); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/activity/ActivityResultListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.activity; 17 | 18 | import android.content.Intent; 19 | 20 | /** 21 | * Interface to mark any class available to handle result. 22 | */ 23 | public interface ActivityResultListener { 24 | 25 | void onActivityResult(final int requestCode, final int resultCode, final Intent data); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/dao/Identify.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.dao; 17 | 18 | /** 19 | * Interface to any data entity class that can be inserted, updated or deleted 20 | * by using {@link AbstractIdentifyDAO} implementation. 21 | */ 22 | public interface Identify { 23 | 24 | /** 25 | * Returns an entity primary key as is. 26 | */ 27 | K getId(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/provider/BaseColumns.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.provider; 17 | 18 | public interface BaseColumns { 19 | 20 | /** 21 | * The unique ID for a row. 22 | *

Type: TEXT

23 | */ 24 | String _ID = "_id"; 25 | 26 | /** 27 | * The count of rows in a directory. 28 | *

Type: INTEGER

29 | */ 30 | String _COUNT = "_count"; 31 | 32 | } -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/speechkit/recognition/RecognitionListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.speechkit.recognition; 17 | 18 | import android.support.annotation.NonNull; 19 | 20 | /** 21 | * A {@link RecognitionClient} callbacks. 22 | */ 23 | public interface RecognitionListener { 24 | 25 | void onPhraseRecognized(final long threadId, @NonNull final String phrase); 26 | 27 | void onRecognitionError(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/utils/LocaleUtils.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.utils; 17 | 18 | import android.content.Context; 19 | import android.support.annotation.NonNull; 20 | 21 | import ru.yandex.subtitles.R; 22 | 23 | public final class LocaleUtils { 24 | 25 | @NonNull 26 | public static String getLanguage(final Context context) { 27 | return context.getString(R.string.locale); 28 | } 29 | 30 | private LocaleUtils() { 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/appwidget/PhrasesAppWidgetRemoteService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.appwidget; 17 | 18 | import android.content.Intent; 19 | import android.widget.RemoteViewsService; 20 | 21 | public class PhrasesAppWidgetRemoteService extends RemoteViewsService { 22 | 23 | @Override 24 | public RemoteViewsFactory onGetViewFactory(final Intent intent) { 25 | return new PhrasesRemoteFactory(getApplicationContext(), intent); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/pre_lollipop_list_item_background_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/microphonebar/ColorUtils.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget.microphonebar; 17 | 18 | import android.graphics.Color; 19 | 20 | public class ColorUtils { 21 | 22 | public static int setAlpha(final int color, final int alpha) { 23 | final int r = Color.red(color); 24 | final int g = Color.green(color); 25 | final int b = Color.blue(color); 26 | return Color.argb(alpha, r, g, b); 27 | } 28 | 29 | private ColorUtils() { 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_navigation_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/service/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.service 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.service

12 |
13 |

Classes

14 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/speechkit/initializer/InitializerCallbacks.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.speechkit.initializer; 17 | 18 | import ru.yandex.speechkit.Error; 19 | import ru.yandex.speechkit.Initializer; 20 | 21 | public interface InitializerCallbacks { 22 | 23 | void onSpeechKitInitializerBegin(final Initializer initializer); 24 | 25 | void onSpeechKitInitialized(final Initializer initializer); 26 | 27 | void onSpeechKitInitializerError(final Initializer initializer, final Error error); 28 | 29 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_yandex_app.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 22 | 23 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_phrases.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 18 | 19 | 29 | 30 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | ru.yandex.subtitles 2 | ru.yandex.subtitles.analytics 3 | ru.yandex.subtitles.analytics.impl 4 | ru.yandex.subtitles.content 5 | ru.yandex.subtitles.content.dao 6 | ru.yandex.subtitles.content.data 7 | ru.yandex.subtitles.content.loader 8 | ru.yandex.subtitles.content.provider 9 | ru.yandex.subtitles.content.provider.database 10 | ru.yandex.subtitles.service 11 | ru.yandex.subtitles.service.cache 12 | ru.yandex.subtitles.service.messaging 13 | ru.yandex.subtitles.service.speechkit 14 | ru.yandex.subtitles.service.speechkit.initializer 15 | ru.yandex.subtitles.service.speechkit.recognition 16 | ru.yandex.subtitles.service.speechkit.speaker 17 | ru.yandex.subtitles.ui.activity 18 | ru.yandex.subtitles.ui.adapter 19 | ru.yandex.subtitles.ui.appwidget 20 | ru.yandex.subtitles.ui.fragment 21 | ru.yandex.subtitles.ui.fragment.conversations 22 | ru.yandex.subtitles.ui.fragment.interactive 23 | ru.yandex.subtitles.ui.fragment.navigation 24 | ru.yandex.subtitles.ui.fragment.phrases 25 | ru.yandex.subtitles.ui.fragment.settings 26 | ru.yandex.subtitles.ui.widget 27 | ru.yandex.subtitles.ui.widget.keyboard 28 | ru.yandex.subtitles.ui.widget.microphonebar 29 | ru.yandex.subtitles.ui.widget.microphonebar.impl 30 | ru.yandex.subtitles.utils 31 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/content/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.content 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.content

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/analytics/MessageAnalytics.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.analytics; 17 | 18 | import ru.yandex.subtitles.content.data.Message; 19 | 20 | public class MessageAnalytics { 21 | 22 | private final Message mMessage; 23 | private final boolean mOpeningPhrase; 24 | 25 | public MessageAnalytics(final Message message, final boolean openingPhrase) { 26 | mMessage = message; 27 | mOpeningPhrase = openingPhrase; 28 | } 29 | 30 | public Message getMessage() { 31 | return mMessage; 32 | } 33 | 34 | public boolean isOpeningPhrase() { 35 | return mOpeningPhrase; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/content/provider/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.content.provider 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.content.provider

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/content/data/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.content.data 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.content.data

12 |
13 |

Classes

14 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_feedback.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 28 | 29 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/utils/CollectionsExt.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.utils; 17 | 18 | import android.support.annotation.NonNull; 19 | 20 | import java.util.ArrayList; 21 | import java.util.List; 22 | 23 | public final class CollectionsExt { 24 | 25 | @NonNull 26 | @SafeVarargs 27 | public static List join(final List... lists) { 28 | int totalSize = 0; 29 | for (final List list : lists) { 30 | totalSize += list.size(); 31 | } 32 | 33 | final List result = new ArrayList(totalSize); 34 | for (final List list : lists) { 35 | result.addAll(list); 36 | } 37 | return result; 38 | } 39 | 40 | private CollectionsExt() { 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_quality_feedback.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 19 | 20 | 29 | 30 | 33 | 34 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/widget/keyboard/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.widget.keyboard 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.widget.keyboard

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/loader/QuickResponsesLoader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.loader; 17 | 18 | import android.content.Context; 19 | 20 | import java.util.List; 21 | 22 | import ru.yandex.subtitles.content.dao.PhrasesDAO; 23 | import ru.yandex.subtitles.content.data.Phrase; 24 | 25 | public class QuickResponsesLoader extends AbstractContentProviderLoader> { 26 | 27 | private final PhrasesDAO mPhrasesDao; 28 | 29 | public QuickResponsesLoader(final Context context) { 30 | super(context, PhrasesDAO.CONTENT_URI); 31 | mPhrasesDao = new PhrasesDAO(context); 32 | } 33 | 34 | @Override 35 | public List loadInBackground() { 36 | return mPhrasesDao.getQuickResponses(); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/loader/StartingPhrasesLoader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.loader; 17 | 18 | import android.content.Context; 19 | 20 | import java.util.List; 21 | 22 | import ru.yandex.subtitles.content.dao.PhrasesDAO; 23 | import ru.yandex.subtitles.content.data.Phrase; 24 | 25 | public class StartingPhrasesLoader extends AbstractContentProviderLoader> { 26 | 27 | private final PhrasesDAO mPhrasesDao; 28 | 29 | public StartingPhrasesLoader(final Context context) { 30 | super(context, PhrasesDAO.STARTING_PHRASES_CONTENT_URI); 31 | mPhrasesDao = new PhrasesDAO(context); 32 | } 33 | 34 | @Override 35 | public List loadInBackground() { 36 | return mPhrasesDao.getStartingPhrases(); 37 | } 38 | 39 | } -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/cache/PhrasesUtils.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.cache; 17 | 18 | import android.support.annotation.NonNull; 19 | 20 | public class PhrasesUtils { 21 | 22 | public static final String ASSETS_SAMPLES_DIR = "samples"; 23 | public static final String SAMPLES_DIR = "samples"; 24 | 25 | private static final String SAMPLE_NAME_FORMAT = "%1$s_%2$s_%3$s.%4$s"; 26 | 27 | @NonNull 28 | public static String formatFilename(@NonNull final String sample, @NonNull final String locale, 29 | @NonNull final String voice, @NonNull final String extension) { 30 | return String.format(SAMPLE_NAME_FORMAT, sample, locale, voice, extension); 31 | } 32 | 33 | private PhrasesUtils() { 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/fragment/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.fragment 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.fragment

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/service/cache/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.service.cache 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.service.cache

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/appwidget/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.appwidget 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.appwidget

12 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/content/provider/database/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.content.provider.database 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.content.provider.database

12 |
13 |

Classes

14 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/fragment/phrases/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.fragment.phrases 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.fragment.phrases

12 |
13 |

Interfaces

14 | 17 |

Classes

18 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_speaker.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 20 | 21 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_conversation.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 18 | 19 | 27 | 28 | 29 | 30 | 31 | 32 | 37 | 38 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/cache/ConnectivityChangeBroadcastReceiver.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.cache; 17 | 18 | import android.content.BroadcastReceiver; 19 | import android.content.Context; 20 | import android.content.Intent; 21 | import android.net.ConnectivityManager; 22 | 23 | import ru.yandex.subtitles.service.PhrasesService; 24 | import ru.yandex.subtitles.utils.NetworkUtils; 25 | 26 | public class ConnectivityChangeBroadcastReceiver extends BroadcastReceiver { 27 | 28 | @Override 29 | public void onReceive(final Context context, final Intent intent) { 30 | final String action = (intent != null ? intent.getAction() : null); 31 | if (ConnectivityManager.CONNECTIVITY_ACTION.equals(action)) { 32 | if (NetworkUtils.isNetworkConnected(context)) { 33 | PhrasesService.invalidateSamples(context); 34 | } 35 | } 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/speechkit/speaker/Voice.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.speechkit.speaker; 17 | 18 | import android.support.annotation.NonNull; 19 | 20 | import ru.yandex.speechkit.Vocalizer; 21 | 22 | /** 23 | * Enumeration contains voices which are supported by Yandex.SpeechKit SDK. 24 | */ 25 | public enum Voice { 26 | 27 | /** 28 | * SPEAKERS = {'jane': ['evil', 'good', 'neutral'], 29 | * 'ermil': ['neutral'], 30 | * 'zahar': ['neutral'], 31 | * 'omazh': ['evil', 'good', 'neutral']} 32 | */ 33 | 34 | JANE(Vocalizer.Voice.JANE), 35 | ERMIL(Vocalizer.Voice.ERMIL), 36 | ZAHAR(Vocalizer.Voice.ZAHAR), 37 | OMAZH(Vocalizer.Voice.OMAZH); 38 | 39 | private String mVoice; 40 | 41 | /* package */ Voice(@NonNull final String voice) { 42 | mVoice = voice; 43 | } 44 | 45 | @NonNull 46 | public String value() { 47 | return mVoice; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/analytics/EventTracker.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.analytics; 17 | 18 | import android.app.Activity; 19 | import android.content.Context; 20 | import android.support.annotation.NonNull; 21 | 22 | import java.util.Map; 23 | 24 | /** 25 | * Implement interface to provide event reporting to any tracking system, like Yandex.Metrica, 26 | * Google Analytics, Fabric, etc. 27 | */ 28 | public interface EventTracker { 29 | 30 | /** 31 | * Activate your event tracker implementation with the application context. 32 | * 33 | * @param context an application context 34 | */ 35 | void activate(final Context context); 36 | 37 | void onResumeActivity(final Activity activity); 38 | 39 | void onPauseActivity(final Activity activity); 40 | 41 | void reportEvent(@NonNull final String event); 42 | 43 | void reportEvent(@NonNull final String event, @NonNull final Map attrs); 44 | 45 | } 46 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/SubtitlesApplication.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles; 17 | 18 | import android.app.Application; 19 | 20 | import ru.yandex.subtitles.analytics.Analytics; 21 | import ru.yandex.subtitles.service.MessagingService; 22 | import ru.yandex.subtitles.service.PhrasesService; 23 | 24 | public class SubtitlesApplication extends Application { 25 | 26 | @Override 27 | public void onCreate() { 28 | super.onCreate(); 29 | 30 | /* 31 | Uncomment the line below to report analytics events. Please also 32 | modify YandexMetricaEventTracker.java to provide your unique Yandex.Metrica API key. 33 | */ 34 | // Analytics.addEventTracker(new YandexMetricaEventTracker()); 35 | Analytics.initialize(this); 36 | 37 | Preferences.instantiate(this); 38 | 39 | MessagingService.start(this); 40 | 41 | PhrasesService.prepareSamples(this); 42 | PhrasesService.invalidateSamples(this); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/fragment/navigation/MenuItem.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.fragment.navigation; 17 | 18 | import android.support.annotation.DrawableRes; 19 | import android.support.annotation.StringRes; 20 | 21 | public class MenuItem { 22 | 23 | private int mId; 24 | private int mTitleResId; 25 | private int mDrawableResId; 26 | 27 | public MenuItem(final int id, @StringRes final int titleResId) { 28 | this(id, titleResId, 0); 29 | } 30 | 31 | public MenuItem(final int id, @StringRes final int titleResId, @DrawableRes final int drawableResId) { 32 | mId = id; 33 | mTitleResId = titleResId; 34 | mDrawableResId = drawableResId; 35 | } 36 | 37 | public int getId() { 38 | return mId; 39 | } 40 | 41 | @StringRes 42 | public int getTitleResId() { 43 | return mTitleResId; 44 | } 45 | 46 | @DrawableRes 47 | public int getDrawableResId() { 48 | return mDrawableResId; 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/fragment/navigation/YandexAppItem.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.fragment.navigation; 17 | 18 | import android.support.annotation.DrawableRes; 19 | import android.support.annotation.StringRes; 20 | 21 | public class YandexAppItem { 22 | 23 | private int mIconResId; 24 | private int mTitleResId; 25 | private int mPackageNameResId; 26 | 27 | public YandexAppItem(@DrawableRes final int iconResId, @StringRes final int titleResId, 28 | @StringRes final int packageNameResId) { 29 | mIconResId = iconResId; 30 | mTitleResId = titleResId; 31 | mPackageNameResId = packageNameResId; 32 | } 33 | 34 | @DrawableRes 35 | public int getIconResId() { 36 | return mIconResId; 37 | } 38 | 39 | @StringRes 40 | public int getTitleResId() { 41 | return mTitleResId; 42 | } 43 | 44 | @StringRes 45 | public int getPackageNameResId() { 46 | return mPackageNameResId; 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/PopupMenuItemClickAdapter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget; 17 | 18 | import android.support.annotation.NonNull; 19 | import android.support.v7.widget.PopupMenu; 20 | import android.view.MenuItem; 21 | 22 | public class PopupMenuItemClickAdapter implements PopupMenu.OnMenuItemClickListener { 23 | 24 | public interface OnPopupMenuItemClickListener { 25 | 26 | boolean onPopupMenuItemClick(final MenuItem item, final E entity); 27 | 28 | } 29 | 30 | private final E mEntity; 31 | private final OnPopupMenuItemClickListener mListener; 32 | 33 | public PopupMenuItemClickAdapter(@NonNull final E entity, 34 | @NonNull final OnPopupMenuItemClickListener listener) { 35 | mEntity = entity; 36 | mListener = listener; 37 | } 38 | 39 | @Override 40 | public boolean onMenuItemClick(final MenuItem item) { 41 | return mListener.onPopupMenuItemClick(item, mEntity); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/service/cache/SpeechKitTtsCloudApi.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.service.cache; 17 | 18 | import retrofit.client.Response; 19 | import retrofit.http.GET; 20 | import retrofit.http.Query; 21 | import retrofit.http.Streaming; 22 | 23 | public interface SpeechKitTtsCloudApi { 24 | 25 | String TTS_ENDPOINT = "https://tts.voicetech.yandex.net"; 26 | 27 | String FORMAT_MP3 = "mp3"; 28 | String FORMAT_WAV = "wav"; 29 | 30 | /** 31 | * Replace API_KEY with your unique API key. Please, read official documentation how to obtain one: 32 | * https://tech.yandex.ru/speechkit/cloud/ 33 | */ 34 | String API_KEY = "API_KEY"; 35 | 36 | @GET("/generate") 37 | @Streaming 38 | Response generate(@Query("text") final String text, 39 | @Query("format") final String format, 40 | @Query("lang") final String lang, 41 | @Query("speaker") final String speaker, 42 | @Query("key") final String apiKey); 43 | 44 | } 45 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/service/messaging/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.service.messaging 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.service.messaging

12 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/service/speechkit/initializer/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.service.speechkit.initializer 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.service.speechkit.initializer

12 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/analytics/ThreadAnalytics.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.analytics; 17 | 18 | public class ThreadAnalytics { 19 | 20 | private int mConversationsCount = 0; 21 | private int mOwnerStatementCount = 0; 22 | private int mVisavisStatementCount = 0; 23 | 24 | public ThreadAnalytics() { 25 | } 26 | 27 | public int getConversationsCount() { 28 | return mConversationsCount; 29 | } 30 | 31 | public void setConversationsCount(final int conversationsCount) { 32 | mConversationsCount = conversationsCount; 33 | } 34 | 35 | public int getVisavisStatementCount() { 36 | return mVisavisStatementCount; 37 | } 38 | 39 | public void setVisavisStatementCount(final int visavisStatementCount) { 40 | mVisavisStatementCount = visavisStatementCount; 41 | } 42 | 43 | public int getOwnerStatementCount() { 44 | return mOwnerStatementCount; 45 | } 46 | 47 | public void setOwnerStatementCount(final int ownerStatementCount) { 48 | mOwnerStatementCount = ownerStatementCount; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/fragment/navigation/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.fragment.navigation 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.fragment.navigation

12 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_conversations.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 23 | 24 | 29 | 30 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/utils/IntentUtils.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.utils; 17 | 18 | import android.content.Context; 19 | import android.content.Intent; 20 | import android.content.pm.PackageManager; 21 | import android.support.annotation.NonNull; 22 | 23 | public final class IntentUtils { 24 | 25 | @NonNull 26 | public static Intent createActionIntent(final Context context, final Class cls, final String action) { 27 | final Intent intent = new Intent(context, cls); 28 | intent.setAction(action); 29 | return intent; 30 | } 31 | 32 | public static boolean canStartActivity(@NonNull final Context context, @NonNull final String action) { 33 | return canStartActivity(context, new Intent(action)); 34 | } 35 | 36 | public static boolean canStartActivity(@NonNull final Context context, @NonNull final Intent intent) { 37 | final PackageManager packageManager = context.getPackageManager(); 38 | return (packageManager != null && packageManager.resolveActivity(intent, 0) != null); 39 | } 40 | 41 | private IntentUtils() { 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/loader/AbstractContentProviderLoader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.loader; 17 | 18 | import android.content.Context; 19 | import android.net.Uri; 20 | import android.support.annotation.Nullable; 21 | 22 | import ru.yandex.subtitles.content.ContentProviderChangeObserver; 23 | import ru.yandex.subtitles.content.Subscribeable; 24 | 25 | /** 26 | * A loader that returns an object entity or {@link java.util.List} of entities. 27 | * Provided {@link Uri} is used to register content change observer. 28 | * This class performs the data query on a background thread 29 | * so that it does not block the application's UI. 30 | */ 31 | public abstract class AbstractContentProviderLoader extends AbstractLoader { 32 | 33 | private final Uri mUri; 34 | 35 | public AbstractContentProviderLoader(final Context context, final Uri uri) { 36 | super(context); 37 | mUri = uri; 38 | } 39 | 40 | @Nullable 41 | @Override 42 | public final Subscribeable onCreateContentObserver() { 43 | return new ContentProviderChangeObserver(this, mUri); 44 | } 45 | 46 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/view_zoomed_message_speaker.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 22 | 23 | 39 | 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_fragment_tutorial.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 22 | 23 | 32 | 33 | 42 | 43 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/fragment/settings/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.fragment.settings 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.fragment.settings

12 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/dao/QueryUtils.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.dao; 17 | 18 | import android.support.annotation.NonNull; 19 | 20 | public class QueryUtils { 21 | 22 | @NonNull 23 | public static String in(final String column, final int argsNumber) { 24 | return in(column, argsNumber, true); 25 | } 26 | 27 | @NonNull 28 | public static String notIn(final String column, final int argsNumber) { 29 | return in(column, argsNumber, false); 30 | } 31 | 32 | @NonNull 33 | public static String in(final String column, final int argsNumber, final boolean in) { 34 | final StringBuilder inClause = new StringBuilder(); 35 | 36 | if (argsNumber > 0) { 37 | inClause.append(column) 38 | .append(in ? " " : " not ") 39 | .append("in ("); 40 | for (int i = 0; i < argsNumber; i++) { 41 | if (i > 0) { 42 | inClause.append(", "); 43 | } 44 | inClause.append("?"); 45 | } 46 | inClause.append(")"); 47 | } 48 | 49 | return inClause.toString(); 50 | } 51 | 52 | private QueryUtils() { 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/adapter/ZoomedMessagesAdapter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.adapter; 17 | 18 | import android.support.annotation.NonNull; 19 | import android.support.v4.app.Fragment; 20 | import android.support.v4.app.FragmentManager; 21 | 22 | import ru.yandex.subtitles.analytics.ZoomedMessage; 23 | import ru.yandex.subtitles.ui.fragment.conversations.ZoomedMessageFragment; 24 | import ru.yandex.subtitles.ui.fragment.conversations.ZoomedMessagesFragment; 25 | 26 | public class ZoomedMessagesAdapter extends AbstractFragmentViewPagerAdapter { 27 | 28 | private Fragment mTargetFragment; 29 | 30 | public ZoomedMessagesAdapter(@NonNull final Fragment targetFragment, 31 | @NonNull final FragmentManager fragmentManager) { 32 | super(targetFragment.getActivity(), fragmentManager); 33 | mTargetFragment = targetFragment; 34 | } 35 | 36 | @NonNull 37 | @Override 38 | public Fragment getItem(final int position) { 39 | final Fragment fragment = ZoomedMessageFragment.newInstance(getData(position)); 40 | fragment.setTargetFragment(mTargetFragment, ZoomedMessagesFragment.EXIT_FULLSCREEN_REQUEST_CODE); 41 | return fragment; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/content/loader/MessagesLoader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.content.loader; 17 | 18 | import android.content.Context; 19 | import android.os.Bundle; 20 | import android.support.annotation.NonNull; 21 | 22 | import java.util.List; 23 | 24 | import ru.yandex.subtitles.content.dao.MessagesDAO; 25 | import ru.yandex.subtitles.content.data.Message; 26 | 27 | public class MessagesLoader extends AbstractContentProviderLoader> { 28 | 29 | private static final String EXTRA_THREAD = "thread_id"; 30 | 31 | @NonNull 32 | public static Bundle forThreadId(final long threadId) { 33 | final Bundle args = new Bundle(); 34 | args.putLong(EXTRA_THREAD, threadId); 35 | return args; 36 | } 37 | 38 | private final MessagesDAO mMessagesDao; 39 | private final long mThreadId; 40 | 41 | public MessagesLoader(final Context context, @NonNull final Bundle args) { 42 | super(context, MessagesDAO.CONTENT_URI); 43 | 44 | mMessagesDao = new MessagesDAO(context); 45 | mThreadId = args.getLong(EXTRA_THREAD); 46 | } 47 | 48 | @Override 49 | public List loadInBackground() { 50 | return mMessagesDao.getAllByThreadId(mThreadId); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/activity/ConversationsActivity.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.activity; 17 | 18 | import android.content.Context; 19 | import android.content.Intent; 20 | import android.os.Bundle; 21 | import android.support.annotation.Nullable; 22 | 23 | import ru.yandex.subtitles.R; 24 | import ru.yandex.subtitles.ui.fragment.conversations.ConversationsFragment; 25 | 26 | public class ConversationsActivity extends AbstractActivity implements ConversationsFragment.OnConversationClickListener { 27 | 28 | public static void start(final Context context) { 29 | final Intent intent = new Intent(context, ConversationsActivity.class); 30 | context.startActivity(intent); 31 | } 32 | 33 | @Override 34 | protected void onCreate(@Nullable final Bundle savedInstanceState) { 35 | super.onCreate(savedInstanceState); 36 | setContentView(R.layout.activity_conversations); 37 | 38 | if (savedInstanceState == null) { 39 | showFragmentNoAnimate(ConversationsFragment.newInstance(), ConversationsFragment.TAG); 40 | } 41 | } 42 | 43 | @Override 44 | public void onConversationClick(final long conversationId) { 45 | ConversationActivity.openConversation(this, conversationId); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/ui/widget/microphonebar/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.ui.widget.microphonebar 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.ui.widget.microphonebar

12 |
13 |

Interfaces

14 | 18 |

Classes

19 | 24 |

Annotation Types

25 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_navigation_menu_footer.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | 15 | 26 | 27 | 37 | 38 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_microphone_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 20 | 21 | 34 | 35 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /app/src/main/res/layout/appwidget_phrases.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 17 | 18 | 30 | 31 | 41 | 42 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/widget/InterceptableToolbar.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.widget; 17 | 18 | import android.content.Context; 19 | import android.support.annotation.NonNull; 20 | import android.support.annotation.Nullable; 21 | import android.support.v7.widget.Toolbar; 22 | import android.util.AttributeSet; 23 | import android.view.MotionEvent; 24 | 25 | public class InterceptableToolbar extends Toolbar { 26 | 27 | private OnTouchListener mIntersectionTouchListener; 28 | 29 | public InterceptableToolbar(final Context context) { 30 | this(context, null); 31 | } 32 | 33 | public InterceptableToolbar(final Context context, @Nullable final AttributeSet attrs) { 34 | this(context, attrs, android.support.v7.appcompat.R.attr.toolbarStyle); 35 | } 36 | 37 | public InterceptableToolbar(final Context context, @Nullable final AttributeSet attrs, final int defStyleAttr) { 38 | super(context, attrs, defStyleAttr); 39 | } 40 | 41 | public void setIntersectionTouchListener(final OnTouchListener touchListener) { 42 | mIntersectionTouchListener = touchListener; 43 | } 44 | 45 | @Override 46 | public boolean onTouchEvent(@NonNull final MotionEvent event) { 47 | super.onTouchEvent(event); 48 | return (mIntersectionTouchListener != null && mIntersectionTouchListener.onTouch(this, event)); 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/adapter/AnswersAdapter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.adapter; 17 | 18 | import android.content.Context; 19 | import android.view.View; 20 | import android.view.ViewGroup; 21 | import android.widget.TextView; 22 | 23 | import ru.yandex.subtitles.R; 24 | 25 | public class AnswersAdapter extends AbstractRecyclerViewAdapter { 26 | 27 | public AnswersAdapter(final Context context) { 28 | super(context); 29 | } 30 | 31 | @Override 32 | public ViewHolder onCreateViewHolder(final ViewGroup parent, final int viewType) { 33 | final View view = getLayoutInflater().inflate(R.layout.list_item_answer, parent, false); 34 | return new ViewHolder(view); 35 | } 36 | 37 | @Override 38 | public void onBindViewHolder(final ViewHolder holder, final int position) { 39 | super.onBindViewHolder(holder, position); 40 | holder.bindAnswer(getItem(position)); 41 | } 42 | 43 | /* package */ static class ViewHolder extends AbstractViewHolder { 44 | 45 | private final TextView mAnswerView; 46 | 47 | public ViewHolder(final View itemView) { 48 | super(itemView); 49 | mAnswerView = findView(R.id.answer); 50 | } 51 | 52 | public void bindAnswer(final String answer) { 53 | mAnswerView.setText(answer); 54 | } 55 | 56 | } 57 | 58 | } 59 | -------------------------------------------------------------------------------- /doc/ru/yandex/subtitles/content/loader/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ru.yandex.subtitles.content.loader 7 | 8 | 9 | 10 | 11 |

ru.yandex.subtitles.content.loader

12 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/java/ru/yandex/subtitles/ui/adapter/AbstractFragmentViewPagerAdapter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 YA LLC 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package ru.yandex.subtitles.ui.adapter; 17 | 18 | import android.content.Context; 19 | import android.support.annotation.NonNull; 20 | import android.support.v4.app.FragmentManager; 21 | import android.support.v4.app.FragmentPagerAdapter; 22 | 23 | import java.util.ArrayList; 24 | import java.util.List; 25 | 26 | /** 27 | * Base adapter class that simplifies working with {@link android.support.v4.view.ViewPager}. 28 | */ 29 | public abstract class AbstractFragmentViewPagerAdapter extends FragmentPagerAdapter { 30 | 31 | private final Context mContext; 32 | private final List mData = new ArrayList(); 33 | 34 | public AbstractFragmentViewPagerAdapter(@NonNull final Context context, 35 | @NonNull final FragmentManager fragmentManager) { 36 | super(fragmentManager); 37 | mContext = context; 38 | } 39 | 40 | @NonNull 41 | public Context getContext() { 42 | return mContext; 43 | } 44 | 45 | public void setData(@NonNull final List data) { 46 | mData.clear(); 47 | mData.addAll(data); 48 | notifyDataSetChanged(); 49 | } 50 | 51 | public E getData(final int position) { 52 | return mData.get(position); 53 | } 54 | 55 | @Override 56 | public int getCount() { 57 | return mData.size(); 58 | } 59 | 60 | } 61 | --------------------------------------------------------------------------------