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
71a14420
Commit
71a14420
authored
13 years ago
by
Tadashi G. Takaoka
Committed by
Android (Google) Code Review
13 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix obvious bug"
parents
bb7a39b4
93bc5e7f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/keyboard/KeyboardId.java
+1
-4
1 addition, 4 deletions
java/src/com/android/inputmethod/keyboard/KeyboardId.java
with
1 addition
and
4 deletions
java/src/com/android/inputmethod/keyboard/KeyboardId.java
+
1
−
4
View file @
71a14420
...
@@ -124,20 +124,17 @@ public class KeyboardId {
...
@@ -124,20 +124,17 @@ public class KeyboardId {
return
mElementId
<
ELEMENT_SYMBOLS
;
return
mElementId
<
ELEMENT_SYMBOLS
;
}
}
// This should be aligned with {@link KeyboardShiftState#isShiftLocked}.
public
boolean
isAlphabetShiftLockedKeyboard
()
{
public
boolean
isAlphabetShiftLockedKeyboard
()
{
return
mElementId
==
ELEMENT_ALPHABET_SHIFT_LOCKED
return
mElementId
==
ELEMENT_ALPHABET_SHIFT_LOCKED
||
mElementId
==
ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED
;
||
mElementId
==
ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED
;
}
}
// This should be aligned with {@link KeyboardShiftState#isShiftedOrShiftLocked}.
public
boolean
isAlphabetShiftedOrShiftLockedKeyboard
()
{
public
boolean
isAlphabetShiftedOrShiftLockedKeyboard
()
{
return
isAlphabetKeyboard
()
&&
mElementId
!=
ELEMENT_ALPHABET
;
return
isAlphabetKeyboard
()
&&
mElementId
!=
ELEMENT_ALPHABET
;
}
}
// This should be aligned with {@link KeyboardShiftState#isManualShifted}.
public
boolean
isAlphabetManualShiftedKeyboard
()
{
public
boolean
isAlphabetManualShiftedKeyboard
()
{
return
mElementId
!
=
ELEMENT_ALPHABET_MANUAL_SHIFTED
;
return
mElementId
=
=
ELEMENT_ALPHABET_MANUAL_SHIFTED
;
}
}
public
boolean
isSymbolsKeyboard
()
{
public
boolean
isSymbolsKeyboard
()
{
...
...
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