- 21 Jul, 2015 3 commits
-
-
Hans Boehm authored
* commit '70f49ecd': More correctly pronounce advanced operators in Talkback
-
Hans Boehm authored
* commit '9d75c1ac': More correctly pronounce advanced operators in Talkback
-
Hans Boehm authored
* commit '8a4f81c5': More correctly pronounce advanced operators in Talkback
-
- 20 Jul, 2015 1 commit
-
-
Hans Boehm authored
Bug: 19190211 Bug: 19202945 Bug: 21052751 Bug: 19165054 Bug: 22594908 Add TtsSpans for operators that are otherwise misread by TalkBack. Force correct reading for some individual characters. This greatly improves Talkback for advanced operators in Calculator. This is imperfect. There is no guarantee that the strings I'm using will work in all languages. But they're almost certainly better than what we have now. And it makes parentheses and factorial usable, though perhaps a bit verbose. We also no longer pronounce "sine" as "sin". Removed some now obsolete TODO comments. Change-Id: I5236f682be828699e08dca04ee6fa073269964f6
-
- 15 Jul, 2015 4 commits
-
-
Geoff Mendal authored
am 432f67c4: (-s ours) am d28d46e3: (-s ours) am 22c0a189: (-s ours) Import translations. DO NOT MERGE * commit '432f67c4': Import translations. DO NOT MERGE
-
Geoff Mendal authored
* commit 'd28d46e3': Import translations. DO NOT MERGE
-
Geoff Mendal authored
* commit '22c0a189': Import translations. DO NOT MERGE
-
Geoff Mendal authored
Change-Id: Ie444e4259eb75707b8549ee4e62f25844f897736 Auto-generated-cl: translation import
-
- 14 Jul, 2015 4 commits
-
-
Hans Boehm authored
* commit '3fa10288': Force reevaluation if mChangedValue is true
-
Hans Boehm authored
* commit 'b9762f77': Force reevaluation if mChangedValue is true
-
Hans Boehm authored
* commit 'ae807e1d': Force reevaluation if mChangedValue is true
-
Hans Boehm authored
Bug: 22481292 This could result in display of an old result. Factor out code to start a result evaluation. Change-Id: I651d4386323c0abd7a86176b386072093345a1b1
-
- 13 Jul, 2015 2 commits
-
-
Geoff Mendal authored
* commit '9942e6f2': Import translations. DO NOT MERGE
-
Geoff Mendal authored
* commit '3c46e939': Import translations. DO NOT MERGE
-
- 11 Jul, 2015 1 commit
-
-
Geoff Mendal authored
Change-Id: Ic4484a9655f7ace9bf03b310b6ee97ac5819c185 Auto-generated-cl: translation import
-
- 09 Jul, 2015 4 commits
-
-
Hans Boehm authored
* commit 'c2269122': Support pasting of scientific notation numbers
-
Hans Boehm authored
* commit '8f4a8c73': Support pasting of scientific notation numbers
-
Hans Boehm authored
* commit '0b9806f6': Support pasting of scientific notation numbers
-
Hans Boehm authored
Bug: 21470972 Support pasting of numbers using scientific notation with 'E'. This is intentionally very restricted to dodge ambiguities with the constant e. We only accept a scientific notation constant if it is 1) Contained within a single pasted text element. 2) Uses capital 'E' to introduce the exponent. 3) Does not contain an explicit '+' in the exponent. We do currently use the same notion of 'digit' as elsewhere, i.e. Character.isDigit(), which might be too general. For consistency, and to make sure that we can recognize machine generated output, this also adds a few more aliases for text input of arithmetic operators. For consistency, always use 'E' internally for scientific notation as well. We ensure that a pasted numeric string is not concatenated with a pre-existing constant. This is a judgment call, but it means that pasting a previous calculator result gets similar treatment whether or not we are still running the same calculator instance. We support limited editing on exponents. Once an exponent is deleted, the only way to restore it is via pasting. The 10^x button produces similar results, though with different operator precedence behavior. Change-Id: I2d0f3dceb641cdad327fd3c3540b5eea38030146
-
- 08 Jul, 2015 5 commits
-
-
Hans Boehm authored
am 792e8388: am 63b08564: am a8f47d36: Merge "Have TalkBack announce results and formula changes" into mnc-dev * commit '792e8388': Have TalkBack announce results and formula changes
-
Hans Boehm authored
* commit '63b08564': Have TalkBack announce results and formula changes
-
Hans Boehm authored
* commit 'a8f47d36': Have TalkBack announce results and formula changes
-
Hans Boehm authored
-
Hans Boehm authored
Bug: 21048155 Bug: 19189356 Incrementally announce additions to the formula. Explicitly announce result after hitting equals. Announce when display is cleared. Remove old FIXME comment after a bit more testing. Change-Id: I836ff6672de3f891888b2724470290c8721d4fcf
-
- 06 Jul, 2015 4 commits
-
-
Geoff Mendal authored
am 16171454: (-s ours) am 78d41d21: (-s ours) am b72e493b: (-s ours) Import translations. DO NOT MERGE * commit '16171454': Import translations. DO NOT MERGE
-
Geoff Mendal authored
* commit '78d41d21': Import translations. DO NOT MERGE
-
Geoff Mendal authored
* commit 'b72e493b': Import translations. DO NOT MERGE
-
Geoff Mendal authored
Change-Id: Ic2e154e85079caf915c8d10072ded3a08e7fec50 Auto-generated-cl: translation import
-
- 02 Jul, 2015 2 commits
-
-
Justin Klaassen authored
* commit 'b43e6810': Tweak text sizes and padding to prevent clipping
-
Justin Klaassen authored
* commit 'b2c3e440': Always use "H" for formula text alignment
-
- 01 Jul, 2015 4 commits
-
-
Justin Klaassen authored
Bug: 22206007 Some languages contain oversized glyphs which may inadvertently be clipped when displayed by AlignedTextView. The updated text sizes and padding values should ensure that enough room is always reserved for these glyphs (even when font scaling is set to HUGE). Change-Id: Ic62df3104d033b1eafcf7d83f7e91d5329c8be70
-
Justin Klaassen authored
Bug: 22208425 Most of the mathematical operators/symbols (e.g. "π") cannot be encoded using "ISO-8859-1" however they still should be aligned using the default capital letter height ("H"). Change-Id: I4ca6674de6e6a96b0ce513ecd8acea775f2e7081
-
Geoff Mendal authored
* commit '6a83e391': Import translations. DO NOT MERGE
-
Geoff Mendal authored
Change-Id: I631ffe9434ba119d50835247c1bd6cfcbc77355c Auto-generated-cl: translation import
-
- 30 Jun, 2015 2 commits
-
-
Hans Boehm authored
* commit 'a3723849': Reimplement overflow menu messages as DialogFragments
-
Hans Boehm authored
Bug: 20650813 This preserves fraction and "with leading digits" displays during rotation. It also turns out to easily support copy, which is a useful bonus, since it was an obvious hole in the UI for the fraction display. For the "with leading digits" display, this is similar to a plain display copy, but it allows character-level selection. Much of the code here was cloned from Justin's. Change-Id: I4805280fa6a46f06833be0bde9563c3ce04dca45
-
- 28 Jun, 2015 1 commit
-
-
Hans Boehm authored
* commit 'e8553769': Make trailing operator handling consistent with L
-
- 27 Jun, 2015 1 commit
-
-
Hans Boehm authored
Bug: 246391 Only ignore trailing BINARY operators when computing instant results. We used to be much more aggressive. Also ignore trailing binary operators when the user hits "=". This makes us consistent with the L design and ensures that instant results don't turn into errors when the user hits "=". Change-Id: I260e95d152168b70774330ac95d5bc567cf79b3d
-
- 24 Jun, 2015 2 commits
-
-
Hans Boehm authored
* commit '19e93c98': Reflect conversion of CR to unchecked exceptions
-
Hans Boehm authored
Bug: 20667245 Update calculator code to reflect the fact that CR Errors have become exceptions, and they are now delcared local to CR. Change-Id: Ie9c9e10cef2f98a23856aa9e49328ae7ba52c9bc
-