Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
f3e951b2
Commit
f3e951b2
authored
13 years ago
by
alanv
Browse files
Options
Downloads
Patches
Plain Diff
Removed spoken descriptions for characters supported by TTS or TalkBack.
Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
parent
3feb99fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
java/res/values/strings.xml
+0
-41
0 additions, 41 deletions
java/res/values/strings.xml
java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java
+0
-23
0 additions, 23 deletions
...d/inputmethod/accessibility/KeyCodeDescriptionMapper.java
with
0 additions
and
64 deletions
java/res/values/strings.xml
+
0
−
41
View file @
f3e951b2
...
...
@@ -181,47 +181,6 @@
<!-- Spoken description for the "Return" keyboard key. -->
<string
name=
"spoken_description_return"
>
Return
</string>
<!-- Spoken description for the "," keyboard key. -->
<string
name=
"spoken_description_comma"
>
Comma
</string>
<!-- Spoken description for the "." keyboard key. -->
<string
name=
"spoken_description_period"
>
Period
</string>
<!-- Spoken description for the "(" keyboard key. -->
<string
name=
"spoken_description_left_parenthesis"
>
Left parenthesis
</string>
<!-- Spoken description for the ")" keyboard key. -->
<string
name=
"spoken_description_right_parenthesis"
>
Right parenthesis
</string>
<!-- Spoken description for the ":" keyboard key. -->
<string
name=
"spoken_description_colon"
>
Colon
</string>
<!-- Spoken description for the ";" keyboard key. -->
<string
name=
"spoken_description_semicolon"
>
Semicolon
</string>
<!-- Spoken description for the "!" keyboard key. -->
<string
name=
"spoken_description_exclamation_mark"
>
Exclamation mark
</string>
<!-- Spoken description for the "?" keyboard key. -->
<string
name=
"spoken_description_question_mark"
>
Question mark
</string>
<!-- Spoken description for the """ keyboard key. -->
<string
name=
"spoken_description_double_quote"
>
Double quote
</string>
<!-- Spoken description for the "'" keyboard key. -->
<string
name=
"spoken_description_single_quote"
>
Single quote
</string>
<!-- Spoken description for the "\u2022" (BULLET) keyboard key. -->
<string
name=
"spoken_description_dot"
>
Dot
</string>
<!-- Spoken description for the "\u221a" (SQUARE ROOT) keyboard key. -->
<string
name=
"spoken_description_square_root"
>
Square root
</string>
<!-- Spoken description for the "\u03C0" (GREEK SMALL LETTER PI) keyboard key. -->
<string
name=
"spoken_description_pi"
>
Pi
</string>
<!-- Spoken description for the "\u0394" (GREEK CAPITAL LETTER DELTA) keyboard key. -->
<string
name=
"spoken_description_delta"
>
Delta
</string>
<!-- Spoken description for the "\u2122" (TRADE MARK SIGN) keyboard key. -->
<string
name=
"spoken_description_trademark"
>
Trademark
</string>
<!-- Spoken description for the "\u2105" (CARE OF) keyboard key. -->
<string
name=
"spoken_description_care_of"
>
Care of
</string>
<!-- Spoken description for the "*" keyboard key. -->
<string
name=
"spoken_description_star"
>
Star
</string>
<!-- Spoken description for the "#" keyboard key. -->
<string
name=
"spoken_description_pound"
>
Pound
</string>
<!-- Spoken description for the "\u2026" (HORIZONTAL ELLIPSIS) keyboard key. -->
<string
name=
"spoken_description_ellipsis"
>
Ellipsis
</string>
<!-- Spoken description for the "\u201E" (DOUBLE LOW-9 QUOTATION MARK) keyboard key. -->
<string
name=
"spoken_description_low_double_quote"
>
Low double quote
</string>
<!-- Voice related labels -->
<!-- Title of the warning dialog that shows when a user initiates voice input for
...
...
This diff is collapsed.
Click to expand it.
java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java
+
0
−
23
View file @
f3e951b2
...
...
@@ -64,31 +64,8 @@ public class KeyCodeDescriptionMapper {
mKeyLabelMap
.
put
(
":-)"
,
R
.
string
.
spoken_description_smiley
);
// Symbols that most TTS engines can't speak
mKeyCodeMap
.
put
((
int
)
'.'
,
R
.
string
.
spoken_description_period
);
mKeyCodeMap
.
put
((
int
)
','
,
R
.
string
.
spoken_description_comma
);
mKeyCodeMap
.
put
((
int
)
'('
,
R
.
string
.
spoken_description_left_parenthesis
);
mKeyCodeMap
.
put
((
int
)
')'
,
R
.
string
.
spoken_description_right_parenthesis
);
mKeyCodeMap
.
put
((
int
)
':'
,
R
.
string
.
spoken_description_colon
);
mKeyCodeMap
.
put
((
int
)
';'
,
R
.
string
.
spoken_description_semicolon
);
mKeyCodeMap
.
put
((
int
)
'!'
,
R
.
string
.
spoken_description_exclamation_mark
);
mKeyCodeMap
.
put
((
int
)
'?'
,
R
.
string
.
spoken_description_question_mark
);
mKeyCodeMap
.
put
((
int
)
'\"'
,
R
.
string
.
spoken_description_double_quote
);
mKeyCodeMap
.
put
((
int
)
'\''
,
R
.
string
.
spoken_description_single_quote
);
mKeyCodeMap
.
put
((
int
)
'*'
,
R
.
string
.
spoken_description_star
);
mKeyCodeMap
.
put
((
int
)
'#'
,
R
.
string
.
spoken_description_pound
);
mKeyCodeMap
.
put
((
int
)
' '
,
R
.
string
.
spoken_description_space
);
// Non-ASCII symbols (must use escape codes!)
mKeyCodeMap
.
put
((
int
)
'\u2022'
,
R
.
string
.
spoken_description_dot
);
mKeyCodeMap
.
put
((
int
)
'\
u221A
'
,
R
.
string
.
spoken_description_square_root
);
mKeyCodeMap
.
put
((
int
)
'\
u03C0
'
,
R
.
string
.
spoken_description_pi
);
mKeyCodeMap
.
put
((
int
)
'\u0394'
,
R
.
string
.
spoken_description_delta
);
mKeyCodeMap
.
put
((
int
)
'\u2122'
,
R
.
string
.
spoken_description_trademark
);
mKeyCodeMap
.
put
((
int
)
'\u2105'
,
R
.
string
.
spoken_description_care_of
);
mKeyCodeMap
.
put
((
int
)
'\u2026'
,
R
.
string
.
spoken_description_ellipsis
);
mKeyCodeMap
.
put
((
int
)
'\
u201E
'
,
R
.
string
.
spoken_description_low_double_quote
);
mKeyCodeMap
.
put
((
int
)
'\
uFF0A
'
,
R
.
string
.
spoken_description_star
);
// Special non-character codes defined in Keyboard
mKeyCodeMap
.
put
(
Keyboard
.
CODE_DELETE
,
R
.
string
.
spoken_description_delete
);
mKeyCodeMap
.
put
(
Keyboard
.
CODE_ENTER
,
R
.
string
.
spoken_description_return
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment