Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
652813f8
Commit
652813f8
authored
Jun 18, 2012
by
Jeffrey I. Schiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simply choices for Location Sensor Time and Distance Interval Settings.
parent
d7f254f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
47 deletions
+9
-47
appinventor/appengine/src/com/google/appinventor/client/OdeMessages.java
...engine/src/com/google/appinventor/client/OdeMessages.java
+0
-38
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/properties/YoungAndroidSensorDistIntervalChoicePropertyEditor.java
...s/YoungAndroidSensorDistIntervalChoicePropertyEditor.java
+4
-4
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/properties/YoungAndroidSensorTimeIntervalChoicePropertyEditor.java
...s/YoungAndroidSensorTimeIntervalChoicePropertyEditor.java
+5
-5
No files found.
appinventor/appengine/src/com/google/appinventor/client/OdeMessages.java
View file @
652813f8
...
@@ -508,44 +508,6 @@ public interface OdeMessages extends Messages {
...
@@ -508,44 +508,6 @@ public interface OdeMessages extends Messages {
@Description
(
"Text for screen orientation choice 'Landscape '"
)
@Description
(
"Text for screen orientation choice 'Landscape '"
)
String
landscapeScreenOrientation
();
String
landscapeScreenOrientation
();
//Used in editor/youngandroid/properties/YoungAndroidSensorTimeIntervalChoicePropertyEditor.java
@DefaultMessage
(
"0"
)
@Description
(
"Text for time interval choice '0' milliseconds"
)
String
zeroTimeInterval
();
@DefaultMessage
(
"1000"
)
@Description
(
"Text for time interval choice '1000' milliseconds"
)
String
oneThousandTimeInterval
();
@DefaultMessage
(
"10000"
)
@Description
(
"Text for time interval choice '10000' milliseconds"
)
String
tenThousandTimeInterval
();
@DefaultMessage
(
"60000"
)
@Description
(
"Text for time interval choice '60000' milliseconds"
)
String
sixtyThousandTimeInterval
();
@DefaultMessage
(
"300000"
)
@Description
(
"Text for time interval choice '300000' milliseconds"
)
String
threeHundredThousandTimeInterval
();
//Used in editor/youngandroid/properties/YoungAndroidSensorDistIntervalChoicePropertyEditor.java
@DefaultMessage
(
"0"
)
@Description
(
"Text for distance interval choice '0 meters'"
)
String
zeroDistanceInterval
();
@DefaultMessage
(
"1"
)
@Description
(
"Text for distance interval choice '1 meter'"
)
String
oneDistanceInterval
();
@DefaultMessage
(
"10"
)
@Description
(
"Text for distance interval choice '10 meters'"
)
String
tenDistanceInterval
();
@DefaultMessage
(
"100"
)
@Description
(
"Text for distance interval choice '100 meters'"
)
String
oneHundredDistanceInterval
();
// Used in explorer/SourceStructureExplorer.java
// Used in explorer/SourceStructureExplorer.java
@DefaultMessage
(
"Rename"
)
@DefaultMessage
(
"Rename"
)
...
...
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/properties/YoungAndroidSensorDistIntervalChoicePropertyEditor.java
View file @
652813f8
...
@@ -15,10 +15,10 @@ public class YoungAndroidSensorDistIntervalChoicePropertyEditor extends ChoicePr
...
@@ -15,10 +15,10 @@ public class YoungAndroidSensorDistIntervalChoicePropertyEditor extends ChoicePr
private
static
final
Choice
[]
distIntervalChoices
=
new
Choice
[]
{
private
static
final
Choice
[]
distIntervalChoices
=
new
Choice
[]
{
// To avoid confusion, we only show a subset of the available sensor
// To avoid confusion, we only show a subset of the available sensor
// distance interval values.
// distance interval values.
new
Choice
(
MESSAGES
.
zeroDistanceInterval
()
,
"0"
),
new
Choice
(
"0"
,
"0"
),
new
Choice
(
MESSAGES
.
oneDistanceInterval
()
,
"1"
),
new
Choice
(
"1"
,
"1"
),
new
Choice
(
MESSAGES
.
tenDistanceInterval
()
,
"10"
),
new
Choice
(
"10"
,
"10"
),
new
Choice
(
MESSAGES
.
oneHundredDistanceInterval
()
,
"100"
),
new
Choice
(
"100"
,
"100"
),
};
};
public
YoungAndroidSensorDistIntervalChoicePropertyEditor
()
{
public
YoungAndroidSensorDistIntervalChoicePropertyEditor
()
{
...
...
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/properties/YoungAndroidSensorTimeIntervalChoicePropertyEditor.java
View file @
652813f8
...
@@ -15,11 +15,11 @@ public class YoungAndroidSensorTimeIntervalChoicePropertyEditor extends ChoicePr
...
@@ -15,11 +15,11 @@ public class YoungAndroidSensorTimeIntervalChoicePropertyEditor extends ChoicePr
private
static
final
Choice
[]
timeIntervalChoices
=
new
Choice
[]
{
private
static
final
Choice
[]
timeIntervalChoices
=
new
Choice
[]
{
// To avoid confusion, we only show a subset of the available
// To avoid confusion, we only show a subset of the available
// sensor time interval values.
// sensor time interval values.
new
Choice
(
MESSAGES
.
zeroTimeInterval
()
,
"0"
),
new
Choice
(
"0"
,
"0"
),
new
Choice
(
MESSAGES
.
oneThousandTimeInterval
()
,
"1000"
),
new
Choice
(
"1000"
,
"1000"
),
new
Choice
(
MESSAGES
.
tenThousandTimeInterval
()
,
"10000"
),
new
Choice
(
"10000"
,
"10000"
),
new
Choice
(
MESSAGES
.
sixtyThousandTimeInterval
()
,
"60000"
),
new
Choice
(
"60000"
,
"60000"
),
new
Choice
(
MESSAGES
.
threeHundredThousandTimeInterval
()
,
"300000"
),
new
Choice
(
"300000"
,
"300000"
),
};
};
public
YoungAndroidSensorTimeIntervalChoicePropertyEditor
()
{
public
YoungAndroidSensorTimeIntervalChoicePropertyEditor
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment