Commit Graph

6234 Commits

Author SHA1 Message Date
Eric Laurent
7570954a18 modifications for new system volume policy.
The new system and UX sound volume policy makes that STREAM_SYSTEM
volume is not fixed anymore. It is tracking STREAM_RING (phones) or
STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB.

Sound Fx where previously played over STREAM_SYSTEM with a fixed
attenuation of -20dB. The default value of 5% in the keypress sound
volume setting was corresponding to -26dB, meaning 6dB below default.

Modified the default volume value to 50% so that by default, keypress sound
volume varies from -30dB to -12dB which is also 6dB below the other system
sounds.

Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb
2012-04-26 18:37:10 -07:00
Eric Fischer
11c6f9ccf9 am 681b7bd8: (-s ours) Import translations. DO NOT MERGE
* commit '681b7bd8b58cb3aa856b004a2d7cada0725653ad':
  Import translations. DO NOT MERGE
2012-04-26 16:57:26 -07:00
Eric Fischer
7fe20f1a3f Import translations. DO NOT MERGE
Change-Id: Iee7815d0cdad906ac0724f9b9d6afac4d6940fce
2012-04-26 16:47:31 -07:00
Eric Fischer
681b7bd8b5 Import translations. DO NOT MERGE
Change-Id: I1df0104d5ec4dac73c45667c621cbb671b44e6df
2012-04-26 16:44:11 -07:00
Tadashi G. Takaoka
9db12f04bf am 18f0d193: Merge "Show settings key when noMicrophone option is enabled on PC QWERTY" into jb-dev
* commit '18f0d1938afaf8fd2d301454776c79ea7295270e':
  Show settings key when noMicrophone option is enabled on PC QWERTY
2012-04-26 01:46:34 -07:00
Tadashi G. Takaoka
18f0d1938a Merge "Show settings key when noMicrophone option is enabled on PC QWERTY" into jb-dev 2012-04-26 01:41:38 -07:00
Jean Chalard
7edb7a288b am 20a6dea1: Add a flag for bigram presence in the header
* commit '20a6dea1cabfd8822824f7dca828d898e5b91cbc':
  Add a flag for bigram presence in the header
2012-04-26 00:53:02 -07:00
Jean Chalard
20a6dea1ca Add a flag for bigram presence in the header
This is a cherry-pick of Icb602762 onto jb-dev.

Bug: 6355745
Change-Id: Icb602762bb0d81472f024fa491571062ec1fc4e9
2012-04-26 16:40:29 +09:00
Jean Chalard
a3c00c1530 am 329c8d7b: Merge "Ignore bigrams that are not also listed as unigrams" into jb-dev
* commit '329c8d7bcce4f785fa6e31df6cbda0c11014d49b':
  Ignore bigrams that are not also listed as unigrams
2012-04-26 00:30:37 -07:00
Jean Chalard
b096e3f589 am 604599c3: Merge "Fetch and pass the bigram position on suggestions." into jb-dev
* commit '604599c38913cc1cce38cf5f5b018b5507cf3766':
  Fetch and pass the bigram position on suggestions.
2012-04-26 00:28:35 -07:00
Jean Chalard
329c8d7bcc Merge "Ignore bigrams that are not also listed as unigrams" into jb-dev 2012-04-26 00:26:04 -07:00
Jean Chalard
604599c389 Merge "Fetch and pass the bigram position on suggestions." into jb-dev 2012-04-26 00:25:07 -07:00
Tadashi G. Takaoka
33d050e864 am 93e122e2: Merge "Fix potential "divided by zero" exception" into jb-dev
* commit '93e122e28d1a51d669104a7ac36ff8a8727d3252':
  Fix potential "divided by zero" exception
2012-04-26 00:24:58 -07:00
Tadashi G. Takaoka
93e122e28d Merge "Fix potential "divided by zero" exception" into jb-dev 2012-04-26 00:21:07 -07:00
Tadashi G. Takaoka
70172f1ee9 am 9bfec982: Merge "Increase CHAR LIMIT in some string resources" into jb-dev
* commit '9bfec98275c96d92ab1d5ccc6b8ed9e5f36bd2e2':
  Increase CHAR LIMIT in some string resources
2012-04-26 00:02:42 -07:00
Tadashi G. Takaoka
bd2ca9c021 Fix potential "divided by zero" exception
This change also refactors the language name selection to use text
x-scale.

Bug: 6396854
Change-Id: I31249a85bd042a93d627f40413161aef13617c87
2012-04-26 16:01:55 +09:00
Tadashi G. Takaoka
9bfec98275 Merge "Increase CHAR LIMIT in some string resources" into jb-dev 2012-04-25 23:58:38 -07:00
Tadashi G. Takaoka
6b006b4947 Increase CHAR LIMIT in some string resources
Bug: 6374565
Bug: 6381144
Change-Id: I2fff2323e8f0f79df2b71ed030a1a0953b2854c8
2012-04-26 15:38:41 +09:00
Tadashi G. Takaoka
e5fb1075d8 am 45c57dcc: Merge "Fix SubtypeSwitcher incomplete initialization" into jb-dev
* commit '45c57dcc2dd0eeb0c7e9672d5cada7f6e368235c':
  Fix SubtypeSwitcher incomplete initialization
2012-04-25 23:25:14 -07:00
Jean Chalard
351864b38a Fetch and pass the bigram position on suggestions.
This is a cherry-pick of change I2d81742f

Bug: 6313806
Change-Id: Ic1190b7980d032bc11b57841bca040d980889b6b
2012-04-26 15:24:42 +09:00
Tadashi G. Takaoka
45c57dcc2d Merge "Fix SubtypeSwitcher incomplete initialization" into jb-dev 2012-04-25 23:22:06 -07:00
Jean Chalard
44c64f46a1 Ignore bigrams that are not also listed as unigrams
This is a cherry pick of I14b67e51 on jb-dev

Bug: 6340915
Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
2012-04-26 15:20:30 +09:00
Tadashi G. Takaoka
41398ba265 Show settings key when noMicrophone option is enabled on PC QWERTY
Change-Id: Ib419a597e218af347e5d5da19f5ca8b3db8548c7
2012-04-26 15:20:23 +09:00
Tadashi G. Takaoka
5509329264 am 27b42ced: (-s ours) Fix "no language" subtype name (DO NOT MERGE)
* commit '27b42ced86e1c85de3d59d91a9e5c577fa552569':
  Fix "no language" subtype name (DO NOT MERGE)
2012-04-25 22:47:22 -07:00
Tadashi G. Takaoka
3d407cc086 Fix SubtypeSwitcher incomplete initialization
Bug: 6400718
Change-Id: Id5dce156ad397b911bfeaedeeddd4aeb21a10b3a
2012-04-26 13:41:15 +09:00
Tadashi G. Takaoka
27b42ced86 Fix "no language" subtype name (DO NOT MERGE)
* Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to
  LatinLeyboardView and add unit tests (SpacebarTextTests).
* Add SubtypeLocale.getSubtypeDisplayName()

This is a cherry-pick of I57420c6a from Master.

Bug: 6393865
Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
2012-04-26 11:50:28 +09:00
Tadashi G. Takaoka
154e688862 Fix "no language" subtype name
* Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to
  LatinLeyboardView and add unit tests (SpacebarTextTests).
* Add SubtypeLocale.getSubtypeDisplayName()

Bug: 6393865
Change-Id: I57420c6ae9a7b4d847a415211ff295a79a138f45
2012-04-25 18:43:51 +09:00
Tadashi G. Takaoka
49caddbdab Support PC QWERTY layout
Bug: 4460018
Change-Id: I9a29f6a322af66f6a152fa1883b3686c5f7a3328
2012-04-25 16:34:59 +09:00
Tadashi G. Takaoka
cbaf6d85f1 Cancel SubtypePreference dialog properly
Bug: 6384416
Bug: 6387408
Change-Id: Ia7b0653a09410b42a55915815c887bf0ad56c856
2012-04-25 15:42:14 +09:00
Tadashi G. Takaoka
9f0a137f82 Save & restore additional subtype dialog state when orientation is changed
Bug: 6384416
Change-Id: Id5fa4742ad900fafb82cc37a0bbb9f380b99254d
2012-04-25 15:29:05 +09:00
Tadashi G. Takaoka
d454fcc2cf Merge "Ignore unknown keyboard layout safely" 2012-04-24 23:22:26 -07:00
Tadashi G. Takaoka
96e404310d Ignore unknown keyboard layout safely
Bug: 6393755
Change-Id: I3a74b23f934cd52925026ad04647cc76de92ee07
2012-04-25 13:34:04 +09:00
Tadashi G. Takaoka
b7286439f6 Fix percent sign in more keys
Bug: 6029665
Change-Id: I4bf0f5703d0c11d76bab478da2729b0e20fc64ea
2012-04-25 11:51:19 +09:00
Eric Fischer
da346cadb2 Merge "Import translations. DO NOT MERGE" 2012-04-24 14:21:42 -07:00
Eric Fischer
b4f5c9c088 Import translations. DO NOT MERGE
Change-Id: I17745dd7dbabcc6409361e1b2fa0141ff3f13e09
2012-04-24 14:17:36 -07:00
Tom Ouyang
ce54a14bed Merge "Change expandable binary dict write to a temp file first." 2012-04-24 10:54:56 -07:00
Tom Ouyang
a9b2be8a81 Change expandable binary dict write to a temp file first.
Bug: 6380724
Change-Id: Ic1d0d902dc45ecb41a1792f33a60ab85e606fcef
2012-04-24 10:52:53 -07:00
Tadashi G. Takaoka
bce2c214d1 Use HTML entity for non-ASCII unicode
Change-Id: If8b605778196a5c0a0205ebd49378759027ee265
2012-04-24 18:06:54 +09:00
Jean Chalard
8b01650b12 Merge "Pass the bigram list position from the top level" 2012-04-24 01:13:52 -07:00
Tadashi G. Takaoka
3443f52150 Merge "Move functional keys out from rowkeys_symbols{_shift}3." 2012-04-24 00:49:38 -07:00
Tadashi G. Takaoka
8e7740b28a Merge "Add header commnets of KeyboardTextsSet.tmpl" 2012-04-24 00:49:11 -07:00
Jean Chalard
4d9b202c40 Pass the bigram list position from the top level
The position itself is still a const int = 0 until we have the previous
word passed to the function. This basically does the plumbing.

Bug: 6313806
Change-Id: Ib58995f334fe93e3ff5704d7c79f332017f101ac
2012-04-24 16:47:09 +09:00
Tadashi G. Takaoka
5723bedcd0 Merge "Revert keyHintLetterPadding only to apply horizontally" 2012-04-24 00:41:57 -07:00
Tadashi G. Takaoka
ab771b01eb Revert keyHintLetterPadding only to apply horizontally
Partially reverts the Ia3680d84.

Bug: 6356125
Change-Id: I8faa810b833cb98ce6f0f760aa1722e63475cd45
2012-04-24 16:20:47 +09:00
Tadashi G. Takaoka
aaac9a5217 Add header commnets of KeyboardTextsSet.tmpl
Bug: 6371604
Change-Id: I1054685b9985b6923e3176679b3d95424d8114e0
2012-04-24 16:19:17 +09:00
Jean Chalard
805fed49e1 Merge "Fix binary reading code performance." 2012-04-23 23:39:37 -07:00
Tadashi G. Takaoka
fe4d13cbcb Merge "Make the "Touch again to save" hint text touchable." 2012-04-23 23:20:49 -07:00
Jean Chalard
1d80a7f395 Fix binary reading code performance.
This is not the Right fix ; the Right fix would be to read
the file in a buffered way. However this delivers tolerable
performance for a minimal amount of code changes.
We may want to skip submitting this patch, but keep it around
in case we need to use the functionality until we have a good
patch.

Change-Id: I1ba938f82acfd9436c3701d1078ff981afdbea60
2012-04-24 15:16:17 +09:00
Tadashi G. Takaoka
0b6f6729d2 Move functional keys out from rowkeys_symbols{_shift}3.
Change-Id: Iee5e7e93e5f319551a8ad28c58813c00fc713308
2012-04-24 14:25:27 +09:00
Jean Chalard
cbebbaf065 Merge "Fix a bug where a node size would be seen as increasing." 2012-04-23 22:19:19 -07:00