summaryrefslogtreecommitdiff
path: root/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java
AgeCommit message (Collapse)Author
2018-04-17Migrate UserDictionaryList to DashboardFragmentEmily Chuang
- Build a controller to generate/manage a list of preferences. - Move some logics to the controller and add tests. Test: manual Test: make RunSettingsRoboTests -j atest UniquePreferenceTest SettingsGatewayTest Change-Id: Ia3d885cb8917c7d5498b87818e24b938f0d95dbb
2017-07-13Load only unique dictionary wordsFan Zhang
- Move UserDictionarySettings to sub package - Convert cursor to loader Fix: 22058788 Test: robotests Change-Id: I1e8828abee58362b815abc210c044b678bf9d578
2016-08-30Can restore state on rotate personal dict screenSalvador Martinez
When adding/editing a word for your personal dictionary rotating the screen could cause the language to change back to the device default. This has been fixed. Test: ag/1389633, robolectric not supported in this branch. Bug: 30874931 Change-Id: I0c8ebec5f4d5e7b23112b656c482c3b2cda7791f
2014-06-04Allow multiple shortcuts for a personal dictionary wordJean Chalard
Bug: 13869301 Change-Id: I040613bdddc9f18875e29f3382418476262b00ce
2013-07-25Fix a bug with multiple word insertion.Jean Chalard
Bug: 7903831 Change-Id: I5202bc529a570292dd78d8503d8e2cc93b43d354
2013-07-22Remove the locale spinner and show the current languageSatoshi Kataoka
Bug: 8976598 Change-Id: I092141d0cc5c6d7af499ab8ceb69275923180e37
2013-06-14Fix a bug where a user dict entry is too longJean Chalard
Since there is a maxLength attribute to the text field, if the requested entry is too long for the text field it will be truncated, then setSelection will crash with an IOOB exception. Bug: 9410958 Change-Id: I7e916b4d77d338f49db7d3dab4e536d27ec76bc1
2012-12-17Distinguish adding an already present word / cancellingJean Chalard
Bug: 7725834 Change-Id: Iab3d1818f008a553868fb30e8460ea3f77c2de50
2012-12-14Call back to whom requested to add a word to the user dictJean Chalard
Bug: 7725834 Change-Id: I2537754789f25fa978efd457979ed130806b9fbf
2012-05-10Fix a bug with adding a wordJean Chalard
It was possible to insert a word without a shortcut while the same word used to be present with a shortcut. This change fixes that. Bug: 6026080 Change-Id: I3be98bf450aad8e2eb38336e8f77aedab39d5797
2012-05-10Implement the "more locales" feature.Jean Chalard
Bug: 6026080 Change-Id: I051a734321793e9130dc2cc77d4e7f670d2ce93d
2012-05-10Fix a bug with a duplicate entryJean Chalard
When going to the "all languages" dictionary and opening an entry, the "all languages" entry would be listed twice. Change-Id: Ie8cd7e9e824e95c05899b956905af6590b8929bc
2012-05-10Implement the delete button for user wordsJean Chalard
Bug: 6026080 Change-Id: I43345874edb0a1b51dfcac9c99e74c345eeef7e6
2012-05-09Rework the de-duplication scheme for shortcuts.Jean Chalard
Bug: 4646172 Change-Id: I88966f3e910f51711ce49336fb9134d0953930de
2012-05-09Pass the shortcut to the user dictionary provider.Jean Chalard
Bug: 6026080 Change-Id: I87b7c8b1ae89856f393871e6d3440b43efc22a29
2012-05-09Small cleanupJean Chalard
Change-Id: Id8e8352b725d2259c70690a1a7dfe29fab9b6eb0
2012-05-09Improve encapsulationJean Chalard
Change-Id: I30d28c3a62cc5de3432f04b6469eca077ee3eff6
2012-05-09Cut a helper method to increase encapsulation.Jean Chalard
Change-Id: Ie47503a99d455f7266e281914e92ed680b993551
2012-05-08Move the word commit code to UserDictionaryAddWordContent.Jean Chalard
...and call it from the fragment too. Bug: 6026080 Change-Id: Icb83fd60ed33dfa593124ed0af6b9fff4b63f1f5
2012-05-08Factor some codeJean Chalard
Bug: 6026080 Change-Id: I38475a95b1d421162099390244dbda09658346f5