Commit Graph

2996 Commits (cce61aa045f6344238d6ffd430183e70f80a7be1)

Author SHA1 Message Date
Tadashi G. Takaoka cce61aa045 Merge "Refactor Keyboard and KeyboardView resizing and drawing code" 2011-07-22 18:41:23 -07:00
Tadashi G. Takaoka 38f55b36c3 Refactor Keyboard and KeyboardView resizing and drawing code
Bug: 4311428
Change-Id: Ice4050f92c8f3cec1bec2074fe6a913d04f50524
2011-07-22 16:50:53 -07:00
Tadashi G. Takaoka f640a97566 Fix NPE
Bug: 5067161
Change-Id: I466d40fc1bffa01efc1205a47b3330ae6f30bc66
2011-07-22 12:58:45 -07:00
Tadashi G. Takaoka f3e7688361 Merge "Disable VoiceInputLogger inside LatinIME" 2011-07-22 02:41:31 -07:00
Jean Chalard a1778b9c84 Merge "Some native cleanup" 2011-07-22 02:40:15 -07:00
Tadashi G. Takaoka 255486a5d0 Disable VoiceInputLogger inside LatinIME
Bug: 4985273
Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
2011-07-22 02:37:56 -07:00
Tadashi G. Takaoka 60c8eba634 Merge "Check user dictionary is enabled before showing touch-to-save" 2011-07-22 02:35:16 -07:00
Jean Chalard 999ba61b34 Some native cleanup
Take a function that does not need to be a member and make it
static inline.
Also replace the return value of -1 by a #define'd constant.

Change-Id: I92e0deaa1df65998b76aba6329a4c8eb4d287485
2011-07-22 18:09:48 +09:00
Tadashi G. Takaoka ada26bb383 Check user dictionary is enabled before showing touch-to-save
Bug: 5024127
Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
2011-07-22 01:32:53 -07:00
Jean Chalard 6988d09ac2 Merge "Do not register null pointers as dictionaries" 2011-07-21 22:56:46 -07:00
Jean Chalard f6f0e63d79 Do not register null pointers as dictionaries
Bug: 5062425
Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
2011-07-22 14:46:43 +09:00
Tadashi G. Takaoka 68ff3a0a8b Merge "Fix missing right edge flag" 2011-07-21 14:59:50 -07:00
Tadashi G. Takaoka 419b90fe86 Fix missing right edge flag
Bug: 5062972
Change-Id: I2daffdd58802c6173696fe2417e6efcbef66d7bf
2011-07-21 14:32:16 -07:00
Ken Wakasa 035f0f5c94 Fix NPE
bug: 5054162
Change-Id: I69d308f0eeb32968515100dde98ad51a7c35020e
2011-07-22 06:14:22 +09:00
Ken Wakasa 8721398ec0 Merge "Fixed accessibility navigation gesture sound volume" 2011-07-21 13:21:11 -07:00
Ken Wakasa f9051733b7 Merge "Updated check for touch exploration enabled state" 2011-07-21 13:13:18 -07:00
Alan Viverette cc4b63ec4c Updated check for touch exploration enabled state
Bug: 5061704
Change-Id: Id2c0cce953f7bdb2b4c18b68f9e318d95eabc1b8
2011-07-21 10:49:16 -07:00
Alan Viverette 356d6871f1 Fixed accessibility navigation gesture sound volume
Bug: 5061527
Change-Id: I88728f7368a55ae7e6ca2ce6cfed6af42ffa03df
2011-07-21 10:44:57 -07:00
Jean Chalard a3dd3887c9 Merge "Set the locale for opening an asset" 2011-07-21 03:18:23 -07:00
Jean Chalard e150ef9856 Set the locale for opening an asset
This is necessary because we don't know any more whether the
locale of the process is the expected one when the dictionary
is loaded asynchronously.

Bug: 5023141
Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
2011-07-21 19:14:16 +09:00
Tadashi G. Takaoka 3be0039164 Fix potential NPE
Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
2011-07-21 02:27:27 -07:00
Tadashi G. Takaoka d85bc7221c Merge "Revert "Guard unused voice functions"" 2011-07-21 02:25:34 -07:00
Tadashi G. Takaoka 055265684b Revert "Guard unused voice functions"
This reverts commit 795a712ecf.
Bug: 4985273
2011-07-21 02:18:35 -07:00
Tadashi G. Takaoka 22ed2d3c49 Fix popup mini keyboard of comma key on symbols layout
Bug: 5058762
Change-Id: Ic2d48358b0aceb1d55b3e12bb32b4423ff41ccf3
2011-07-21 00:56:51 -07:00
Tadashi G. Takaoka b880731620 Merge "Revert "Add Right-To-Left delete icon"" 2011-07-21 00:45:08 -07:00
satok 60cb1cc7b3 Merge "Guard unused voice functions" 2011-07-21 00:10:30 -07:00
Tadashi G. Takaoka 852f052737 Merge "Fix centering key icon when visual inset is specified" 2011-07-21 00:08:13 -07:00
satok 795a712ecf Guard unused voice functions
Bug: 4985273
Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
2011-07-21 16:07:00 +09:00
Tadashi G. Takaoka 5cce2161fb Revert "Add Right-To-Left delete icon"
This reverts commit 886246b19a.

Bug: 5047500
Change-Id: Iefef20b7aeba0dbedfe8f81384a33f65e3907e9f
2011-07-21 00:05:22 -07:00
Jean Chalard 728ab86f8c Merge "Fallback to the included dict if the passed one is invalid" 2011-07-20 19:50:54 -07:00
Jean Chalard 5f4ebfc67b Merge "Check the binary dictionary magic number" 2011-07-20 19:49:43 -07:00
Tadashi G. Takaoka 6ffb827ad5 Fix centering key icon when visual inset is specified
Change-Id: Iae9cb87cc341a88fab269b629aa45c77adf232be
2011-07-20 19:05:27 -07:00
Tadashi G. Takaoka 8507589085 Merge "Remove Key edge flags from XML" 2011-07-20 17:00:33 -07:00
Tadashi G. Takaoka 426723a9cf Remove Key edge flags from XML
The first key and the last of the row are automatically marked as left
and right edge key respectively.  The existence of Spacer will prevent
those automatic marking.

Bug: 5038844
Change-Id: Ie34169ceaf76e24923b8d8125eda6ecb95cf1fee
2011-07-20 16:56:21 -07:00
Tadashi G. Takaoka 81ff3ba343 Update Keyboard background drawable
Bug: 4948171
Change-Id: I0f408ff67c7f2eef3830a43d2919b943dab74235
2011-07-20 14:20:33 -07:00
Jean Chalard 7e19a64c86 Fallback to the included dict if the passed one is invalid
If all dictionaries returned by the dictionary pack are invalid,
then fallback to the dictionary included in the resources for this
locale.

Bug: 5052486
Change-Id: Id875194ca56a74b2ed6f5b0b4fdd55475f6842c8
2011-07-20 19:53:47 +09:00
Jean Chalard f0a9809662 Check the binary dictionary magic number
...and return NULL if it does not matched an expected value.

Bug: 5052486
Change-Id: I1dc7955d2785ee080bc5c22398be9befe332f096
2011-07-20 19:43:14 +09:00
Ken Wakasa 856b582cfb Vibrator.hasVibrator() takes no parameter.
bug: 5038842
Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297
2011-07-20 16:51:05 +09:00
Tadashi G. Takaoka ef5dfc480c Remove sliding spacebar language switcher
Bug: 4971680
Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
2011-07-19 23:24:49 -07:00
Tadashi G. Takaoka 1dc80048d7 Merge "Support select input method dialog on pre-HC platform" 2011-07-19 23:22:37 -07:00
Tadashi G. Takaoka bf9d8348d8 Support select input method dialog on pre-HC platform
Bug: 4971680
Change-Id: I641b336da54813e13409bd7874aa22e51f790729
2011-07-19 22:22:47 -07:00
Tadashi G. Takaoka 597b115797 Merge "Add Arabic percent sign" 2011-07-19 21:28:34 -07:00
Tadashi G. Takaoka d856b94a7b Merge "Revert "Keep keyboard layout while orientation change"" 2011-07-19 21:22:14 -07:00
Tadashi G. Takaoka 7c2b3a474f Add Arabic percent sign
Bug: 5046333
Change-Id: I7be8c465ce6be2b78d9e8ece4dc4119941230d97
2011-07-19 18:28:54 -07:00
Tadashi G. Takaoka 89bb88f61c Revert "Keep keyboard layout while orientation change"
This reverts commit 8ebbe03fed.

Bug: 5037466
2011-07-19 18:13:22 -07:00
Tadashi G. Takaoka 5ab5807d91 Remove long-press-to-save feature from CandidateView
Bug: 5027059
Change-Id: I884a84e50e810c0c4a8255217b39ea24937c756b
2011-07-19 17:22:02 -07:00
Jean Chalard 40f7efc172 Fix an NPE related to absent InputConnection
Bug: 5035577
Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
2011-07-19 19:25:48 +09:00
Jean Chalard 44861474fb Add a number of NULL pointer guards.
None of these are expected to actually be null, but those are
included for peace of mind and foolproofing against future
code changes.

Bug: 4580040
Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
2011-07-19 18:19:23 +09:00
Jean Chalard 494ab16396 Merge "Deactivate the user unigram dictionary." 2011-07-19 01:50:57 -07:00
Jean Chalard 52f20d6a43 Deactivate the user unigram dictionary.
Bug: 3459274
Change-Id: I41b7617623b5b2e48c2e460dc7f2d5ff410c8a4c
2011-07-19 17:30:52 +09:00