Léa Saviot
169913b800
[apps/calculation] Fix background redraw bug.
...
The margins around the textfield did not redraw themselves properly
after dismissing a toolbox for instance. The textfield now takes the
full height of edition zone.
Change-Id: I0794b8273a880a2dc921c5f492eb0f41aef7fe97
2018-01-17 14:26:58 +01:00
Léa Saviot
3154decf8b
[apps] Fixed bug in MathToolbox.
...
When returning a MathToolbox, the textfield delegate did not set the
toolbox action for textfields.
Change-Id: I51f78ff5601f784be8e283cf3fb6d3462b776d9a
2018-01-17 14:26:58 +01:00
Léa Saviot
d8803c610c
[apps] "New Matrix" item in math toolbox.
...
Change-Id: Iec01ffa96ec64f42d2cbc4b15b14eea7cfe4eaa4
2018-01-17 14:26:50 +01:00
Léa Saviot
05de98ea04
[apps/calculation] Fetch the edition mode in the preferences.
...
Change-Id: Iec7cfc5695907b8c410077a48749fd43efb6cc65
2018-01-17 10:39:20 +01:00
Léa Saviot
8ab8ef4c5f
[apps/settings] Add a setting for the edition mode (1D or 2D).
...
Change-Id: Ia6783d3443a8b059e67a293a517bc652950aab55
2018-01-17 10:38:43 +01:00
Léa Saviot
51e33b6903
[apps/calculation] Fix margins.
...
Change-Id: If799563af90c9de4ea02d3177a0ee2375d8ddbb4
2018-01-16 17:33:58 +01:00
Léa Saviot
24a22fb374
[apps/calculation] Delete layout when unloading view.
...
Change-Id: I7c7afc4882051266c04f28cf2823d58c803f05c0
2018-01-16 16:54:10 +01:00
Léa Saviot
fc2788cc79
[apps/Makefile] Remove the ExpressionEditor app.
...
Change-Id: I5bcb5064bf1335abda8d6e032eb00f1798463797
2018-01-16 16:43:40 +01:00
Léa Saviot
f50391689f
[apps/calculation] Handle OK event in calculation history.
...
Change-Id: I3e4c309a3bc031476eea0d64d433b535b1220a8f
2018-01-16 16:43:40 +01:00
Léa Saviot
1d701f3305
[apps] Handle EditableExpressionView in VariableBoxController.
...
Change-Id: Ibd5f1b1a8999241c8aa818a075f48adb28c4032e
2018-01-16 16:43:40 +01:00
Léa Saviot
e1235cdb4f
[escher] EditableExpressionView: Remove the cursor when not editing.
...
Change-Id: If333f6074bce39d71ceb89b9424f7fec26a1f0c6
2018-01-16 16:43:40 +01:00
Léa Saviot
86b29f7e2f
[apps/calculation] Fix rendering bug.
...
When powering off then on the device, the EditableExpressionView had a
rendering bug on the bottom left corner.
Change-Id: I1792831f949b8e646fff68b9e784c1ff573516fc
2018-01-16 16:43:40 +01:00
Léa Saviot
53556ffacf
[apps/calculation] Handle "ans" event in EditableExpressionView.
...
Change-Id: I7761f36b5a94bb5c8190cd5b238542280666c256
2018-01-16 16:43:38 +01:00
Léa Saviot
91c05b3bb7
[apps/calculation] EditableExpressionView in calculation app.
...
Change-Id: I8b67353682652695f7296f0222939930f4b21794
2018-01-16 16:43:15 +01:00
Léa Saviot
82229250a2
[apps/Shared] EditableExpressionView delegate and delegate app.
...
Change-Id: Ib6e0157e5523a37e4d652b8bd5063762cd0b6735
2018-01-15 12:14:09 +01:00
Léa Saviot
8f58c33c31
[apps] Dummy handling of EditableExpressionView in VariableBoxController.
...
Change-Id: I565f613c13ee13d39efb652ae37f281e55f5d999
2018-01-15 12:14:09 +01:00
Léa Saviot
ed82496b56
[apps] Handle EditableExpressionView in MathToolbox.
...
Change-Id: Ic85cf67d225c60c90c3ad536d813bb489ceb6fe5
2018-01-15 12:14:09 +01:00
Léa Saviot
01880d30c3
[apps/Makefile] Keep only ExpressionEditor and Calculation apps.
...
Change-Id: I34816ec88395114e4d6034f78918253652be5cc9
2018-01-15 12:13:07 +01:00
Léa Saviot
5ff32b8162
[expression_editor] Controller::handleAddEvent returns void.
...
Change-Id: Iaac5fd3d0798f5c2e81d3c982198f402534f6dfe
2018-01-15 11:58:07 +01:00
Léa Saviot
f6a0a9235f
[apps] Makefile. Enable all the apps.
...
Change-Id: I50d93217a5ae657cccfed285a255ed470e619bf7
2018-01-15 11:58:07 +01:00
Léa Saviot
a435c548da
[apps/sequence] Use the new layouts in the Sequence app.
...
Change-Id: I8b079bfabccd54472e0ba0fac17b87dbaf3678ee
2018-01-15 11:58:07 +01:00
Léa Saviot
b7c0a15eb8
[apps/regression] Use the new layouts in the Regression app.
...
Change-Id: I3813ed42c35d92e98f6d162ac3788a238f2f836e
2018-01-15 11:58:07 +01:00
Léa Saviot
735d79a0fc
[apps/settings] Use the new layouts in the Settings app.
...
Change-Id: Ic90a78cf58cac28f24b65c5e0c1776c61675bb98
2018-01-15 11:58:07 +01:00
Léa Saviot
bf4ccd76ea
[poincare] Show grey squares in a matrix only if the cursor is in it.
...
Change-Id: I2e622de51a9c7af7b676ae9bd7bb3e9681f5d051
2018-01-15 11:58:07 +01:00
Léa Saviot
95327d0afc
[poincare] Remove empty row/column in MatrixLayout.
...
Change-Id: I58f7b7f5e1256afd769f773bef8caea43a40c7a1
2018-01-15 11:58:06 +01:00
Léa Saviot
2c562fdf7a
[expression_editor] Insert an empty matrix when adding a bracket.
...
Change-Id: I5bf6ab9e097637e0e49f0941fe02e4f5a8e373a2
2018-01-15 11:58:06 +01:00
Léa Saviot
1967fce13a
[apps] Toolbox layouts are created by parsing the command of the cell.
...
Change-Id: I511e8af2b2247d1df3ca968191566c2b3f01fe11
2018-01-15 11:58:06 +01:00
Léa Saviot
59c957b5fb
[expression_editor] DIRTY COMMIT to display a layout value computation.
...
Change-Id: I7a548afe4df9c863f5b5716a819f42141f7fb5c2
2018-01-15 11:58:06 +01:00
Léa Saviot
73e7f54c7c
[expression_editor] Fixed Makefile for the dummy tests.
...
Change-Id: I9f7a380a8271cb40258d8eada1fccf8ac60d04f8
2018-01-15 11:58:06 +01:00
Léa Saviot
bbd4cb6da9
[apps] Added NthRoot and Log layouts in MathToolbox.
...
Change-Id: I3efcf6d56acec542566d22e23b5e3b66fb0af5fc
2018-01-15 11:58:06 +01:00
Léa Saviot
1fb2ab1829
[expression_editor] Multiplication button inserts multiplication dots.
...
Change-Id: I9e87487a7419faef161378fc269e1d366c8e1a40
2018-01-15 11:58:06 +01:00
Léa Saviot
29e877ec92
[poincare] NthRootLayout is now a BoundedStaticLayoutHierarchy.
...
It can now handle having an index or not (simple square root layout).
Change-Id: I7a3795c62873fa0a356719b8d572dd5a5be53c94
2018-01-15 11:58:05 +01:00
Léa Saviot
6334e2f435
[apps] Change MathToolbox's binomial coefficient layout.
...
It now uses a Parenthesis layout.
Change-Id: Ia83d7881a57bc91e41d125fef1e2a648d0278946
2018-01-15 11:58:05 +01:00
Léa Saviot
6526a82c17
[poincare] No "Inside" position for ExpressionLayoutCursor.
...
Change-Id: Id979c372bb2c4acf8f8708380c7d1f2aeeb5ff06
2018-01-15 11:58:05 +01:00
Léa Saviot
dadcd83924
[poincare] Remove uses of outdated layouts, such as StringLayout.
...
Change-Id: I55bb846371c224f8f2e739b759725b0e02759ebd
2018-01-15 11:58:05 +01:00
Léa Saviot
55044d8e0b
[poincare] Update Expression's privateCreateLayout().
...
We use the new layouts and no longer the old ones such as StringLayout
or BaselineRelativeLayout.
Change-Id: Ic15167b694c3adab46f348c8f823ce19b3e5ef33
2018-01-15 11:58:05 +01:00
Léa Saviot
41310a4ecf
[poincare] "Hard draw" the fixed parentheses in SequenceLayout.
...
Change-Id: Id626c85a7db540148bf9cb05ddb968c3f807454f
2018-01-15 11:58:05 +01:00
Léa Saviot
4cc107b15f
[poincare] "Hard draw" n= in SequenceLayout, instead of layouting it.
...
Change-Id: I79aa6ab0f46c0a05a3c2fe1dd88b287dc09dac17
2018-01-15 11:58:05 +01:00
Léa Saviot
4478885566
[poincare] "Hard draw" dx in IntegralLayout, instead of layouting it.
...
This simplifies the navigation, edition and serialization of
IntegralLayout.
Change-Id: I03360bf83eeb0cbd9524c992518dff125900e9a5
2018-01-15 11:58:05 +01:00
Léa Saviot
8a7e4e598c
[expression_editor] Collapse brothers when adding a fraction.
...
Change-Id: I4d75fae152fca4a6671abd1e444f6aaa27c168b5
2018-01-15 11:58:04 +01:00
Léa Saviot
25c036a078
[expression_editor] Set cursor position according to the layout inserted.
...
Change-Id: Iac33efdeb4b725ae6007282d323f446992873832
2018-01-15 11:58:04 +01:00
Léa Saviot
3fe7295f6c
[poincare] ExpressionLayoutArray was a method, it is now a class.
...
Change-Id: Iddde7ed9d8a8539193c6547a9e718865ff8e8cc7
2018-01-15 11:58:04 +01:00
Léa Saviot
5107343a44
[ExpressionEditor] Handle EXE events: show serialized layout.
...
Change-Id: I19be0ab5263cba42caca2ca71fe0082f3339e473
2018-01-15 11:58:04 +01:00
Léa Saviot
332cfb013f
[ExpressionEditor] TextView to see serialization results.
...
Just for development purposes.
Change-Id: I8700818a8d5705e2c610bd448fbcc2deea6b9971
2018-01-15 11:58:04 +01:00
Léa Saviot
ccd25a360d
[poincare] Serialize expression layout.
...
We can now convert layouts into text: we will be able to parse them
into an Expression.
Change-Id: I82f4834c08f5b2c5fb294bdcb9a49257b574e20b
2018-01-15 11:58:04 +01:00
Léa Saviot
2c5e1b99bb
[poincare] Parameter for UneditableHorizontalTrioLayout navigation.
...
This parameter specifies if the cursor can be left and right of the
layout.
Change-Id: Ia8d5ff45a471e964bf82e8db0465a5f07661884d
2018-01-15 11:58:04 +01:00
Léa Saviot
47f691c997
[expression_editor] Empty initial layout.
...
Change-Id: I00231be393bf65715f8f8647439c344fe7069851
2018-01-15 11:58:04 +01:00
Léa Saviot
6f81a6cceb
[apps] Added layout for binomial coefficient in toolbox.
...
Change-Id: I43bd6ff8a2f812d8bf524d60b559d1b227c0c79f
2018-01-15 11:58:03 +01:00
Léa Saviot
8563f24aa2
[poincare] Add layout to Conjugate in toolbox.
...
Change-Id: I793a16a7e34e6affe2fe3facd9bd17bee77431d8
2018-01-15 11:58:03 +01:00
Léa Saviot
69e003d1ef
[apps] Added layout for AbsoluteValue in toolbox.
...
Change-Id: Ie686aabaa5c3f49af0298fbe0c8b9859e89f638f
2018-01-15 11:58:03 +01:00