diff options
author | Flex1911 <dedsa2002@gmail.com> | 2017-04-19 17:45:52 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2017-10-18 15:11:23 +0000 |
commit | 04d9b436e1e2768e39597ab3f61b1d9dc3cbc82d (patch) | |
tree | 40b8882e24c993c04462fe8ea983bf90746dba1a /res/xml | |
parent | 9705f9dfbc57790df862ee1e229f7d265f86542c (diff) | |
download | android_packages_apps_Dialer-04d9b436e1e2768e39597ab3f61b1d9dc3cbc82d.tar.gz android_packages_apps_Dialer-04d9b436e1e2768e39597ab3f61b1d9dc3cbc82d.tar.bz2 android_packages_apps_Dialer-04d9b436e1e2768e39597ab3f61b1d9dc3cbc82d.zip |
Squashed support for multilanguage T9 dialer (1/2)
* Squash of the following:
Revert "dialer: Remove proprietary SmartDial extension"
This reverts commit 31eaffee82c53fb660a6f482afc74902a6c1ddf4.
Change-Id: I893b37b58731f8823ead441d09ec3c45f5b68da6
Russian T9 for Dialer
Change-Id: Ib99ff7b9ef5184db0450fe1bc8a6de79eb7efe24
Dialer: Add Greek T9 support
Change-Id: I006745075cbb83b23a6bda170032d146d9bc5aea
Hebrew T9 for Dialer
Please check it.
The implimentaion is built on the "Russian T9 for dialer".
Also added support for English but in Israel.
Change-Id: I58bfbdf053aff94e446d54f2649070a7cebd488b
Add Korean smart dial map
Change-Id: I93b8efa9093fce4f125e6ebe5b02b5fd581cd01a
Dialer: Refactor SmartDial for additional languages
Adds Chinese support and improved Korean support.
p4: Refactor for transliterating the displayName.
Change-Id: Id3175c6f4eda4962be9d25bd43c24a834c3c5ff1
Read option for t9 search input locale and refresh smart dial db when locale changes
Change-Id: I3cd942741310f16678ed9eb675bbba2cbc72d5e8
Add setting for t9 search input locale
Change-Id: I410b4e20afa85302a9ef3174c2f219e33b1b7987
Return match positions to enable highlighting for CN smart dial
Change-Id: I9255c582708c2fbfe22e7a2bf3ad971da692e2a9
Dialer: Fix T9 for Hebrew
Change-Id: I1c8be92acc1fc29b557eb7cda0d910cf036f3aea
Move smart dialer initialization to onStart().
The SmartDialCursorLoader expects the SmartDialPrefix map to be
initialized when it's created. As
- the loader is initialized in SmartDialSearchFragment's onStart and
- the fragment's onStart is called asynchronously after the activity's
onStart and
- the map initialization happens in
SmartDialPrefix.initializeNanpSettings() and
- the above method is currently called in the activity's onResume()
we have a race condition between the activity's onResume() and the
fragment's onStart() (at least when processing a dial intent, which is
what causes the dialpad fragment to be immediately shown).
Fix that race condition by moving the initialization into the activity's
onStart() and running it before calling the super method to ensure it
happens before fragments are started.
JIRA:NIGHTLIES-760
Change-Id: I9767cbba3b177fdd5b1de86914cb1e40d20835ab
Ensure the smart dial name matcher is initialized in onStart().
Otherwise SmartDialPrefix.getMap() might not be initialized yet.
JIRA: NIGHTLIES-1279
Change-Id: If3aca2809faf0c1f379518096a76f17d357fb8e2
Add Ukrainian T9 symbol map
Pretty close to Russian, but with a few differences
Ref CYNGNOS-2188
Change-Id: I29b2cf54fd61ec259e8a01bcedef548ec2fe91cc
Dialer: nuke proprietary smartsearch library references
We really should not use this.
Change-Id: I51395e475a0d9de2b31493d16ac08df72f2d996f
Feijao: empty string is not a valid locale
Empty string is not a valid locale. Setting the default locale
to english (en).
Change-Id: I7bc524dbb4aa65d31f1bb33fa5e8fadf4770fbaf
Issue-Id: FEIJ-306, CD-620
Dialer: use actually supported layouts for SmartDial
Change-Id: I7aafab71c6f8d904292bb82796ab39dc84e88253
Change-Id: I53674f3445ad4a39fdae76cd1afc4d8d27241b36
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/display_options_settings.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/display_options_settings.xml b/res/xml/display_options_settings.xml index 07aadf758..28bdfe0a5 100644 --- a/res/xml/display_options_settings.xml +++ b/res/xml/display_options_settings.xml @@ -28,4 +28,11 @@ android:title="@string/display_options_view_names_as" android:dialogTitle="@string/display_options_view_names_as" /> + <ListPreference + android:key="button_t9_search_input" + android:title="@string/t9_search_input_locale" + android:summary="%s" + android:defaultValue="" + android:persistent="false" /> + </PreferenceScreen> |