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
34cee317
Commit
34cee317
authored
14 years ago
by
Tadashi G. Takaoka
Browse files
Options
Downloads
Patches
Plain Diff
Fix froyo-ub-LatinImeGoogle compatibility
Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
parent
297d6619
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/src/com/android/inputmethod/keyboard/MiniKeyboardBuilder.java
+1
-1
1 addition, 1 deletion
...com/android/inputmethod/keyboard/MiniKeyboardBuilder.java
java/src/com/android/inputmethod/latin/Settings.java
+1
-1
1 addition, 1 deletion
java/src/com/android/inputmethod/latin/Settings.java
with
2 additions
and
2 deletions
java/src/com/android/inputmethod/keyboard/MiniKeyboardBuilder.java
+
1
−
1
View file @
34cee317
...
@@ -71,7 +71,7 @@ public class MiniKeyboardBuilder {
...
@@ -71,7 +71,7 @@ public class MiniKeyboardBuilder {
for
(
CharSequence
popupSpec
:
popupCharacters
)
{
for
(
CharSequence
popupSpec
:
popupCharacters
)
{
final
CharSequence
label
=
PopupCharactersParser
.
getLabel
(
popupSpec
.
toString
());
final
CharSequence
label
=
PopupCharactersParser
.
getLabel
(
popupSpec
.
toString
());
// If the label is single letter, minKeyWidth is enough to hold the label.
// If the label is single letter, minKeyWidth is enough to hold the label.
if
(
label
.
length
()
>
1
)
{
if
(
label
!=
null
&&
label
.
length
()
>
1
)
{
if
(
paint
==
null
)
{
if
(
paint
==
null
)
{
paint
=
new
Paint
();
paint
=
new
Paint
();
paint
.
setAntiAlias
(
true
);
paint
.
setAntiAlias
(
true
);
...
...
This diff is collapsed.
Click to expand it.
java/src/com/android/inputmethod/latin/Settings.java
+
1
−
1
View file @
34cee317
...
@@ -182,7 +182,7 @@ public class Settings extends PreferenceActivity
...
@@ -182,7 +182,7 @@ public class Settings extends PreferenceActivity
if
(
pref
==
mInputLanguageSelection
)
{
if
(
pref
==
mInputLanguageSelection
)
{
final
String
action
;
final
String
action
;
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
>=
/* android.os.Build.VERSION_CODES.HONEYCOMB */
1
0
)
{
>=
/* android.os.Build.VERSION_CODES.HONEYCOMB */
1
1
)
{
action
=
"android.settings.INPUT_METHOD_AND_SUBTYPE_ENABLER"
;
action
=
"android.settings.INPUT_METHOD_AND_SUBTYPE_ENABLER"
;
}
else
{
}
else
{
action
=
"com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION"
;
action
=
"com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION"
;
...
...
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