summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2014-11-25 18:46:17 -0800
committerHans Boehm <hboehm@google.com>2015-03-06 15:45:31 -0800
commit84614957604253d51296e06c97daced699a0a9de (patch)
tree45f357dd9d08ea01ee5073e0dda6728ebc7da884 /res/menu
parent2d5303e87e3b7f23f626ca1fe32045352d96aea4 (diff)
downloadandroid_packages_apps_ExactCalculator-84614957604253d51296e06c97daced699a0a9de.tar.gz
android_packages_apps_ExactCalculator-84614957604253d51296e06c97daced699a0a9de.tar.bz2
android_packages_apps_ExactCalculator-84614957604253d51296e06c97daced699a0a9de.zip
Beginnings of ExactCalculator based on L
Replace the arity library with a new evaluation engine based on an open source "constructive reals" library. This provides answers that are correct to the last displayed digit, and can be scrolled to get more precision, with evaluation to additional precision proceeding on demand. This uses pieces of an old prototype calculator with a pre-Material-Design UI. Since the code structure of the KitKat and Lollipop calculators is quite different, this merge required major changes to make the pieces fit again. An egregious bug in the prototype related to the evaluation of the power operator was fixed. Many new UI bugs are introduced to compensate :-) Add separate buttons for inverse trig functions. Add long TODO lists for various missing pieces. This is really designed to get something up and running that looks like it has a Material Design UI. This version kind of works, though with many UI deficiencies. This addresses external issues 63368, 81089, and 80990. It partially address the degree vs radian (80330) issue as well, though we're still missing the UI for that. This fixes Bug:15284587 (More work is needed to make this interact correctly with keyboard support.) Degree/Radian mode is also internal Bug:17059768 This provides much more robust solutions to the following, which were previously fixed by favoring round numbers over precise solutions: Bug:15747298 Bug:15332726 Change-Id: Ib64ffcee9760a3195ae2a48302308eeb09a156bd
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/menu.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/res/menu/menu.xml b/res/menu/menu.xml
new file mode 100644
index 0000000..16712ea
--- /dev/null
+++ b/res/menu/menu.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2011, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:id="@+id/menu_help"
+ android:title="@string/help"/>
+
+ <item android:id="@+id/menu_about"
+ android:title="@string/about"/>
+
+</menu>