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
22acdb54
Commit
22acdb54
authored
12 years ago
by
Kurt Partridge
Browse files
Options
Downloads
Patches
Plain Diff
[TestPrep4] Add some finals
Change-Id: Ib437a6ad7fd6a897e2bbc65afe881ae8a3b1cbb0
parent
19e05359
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/research/MainLogBuffer.java
+3
-3
3 additions, 3 deletions
java/src/com/android/inputmethod/research/MainLogBuffer.java
with
3 additions
and
3 deletions
java/src/com/android/inputmethod/research/MainLogBuffer.java
+
3
−
3
View file @
22acdb54
...
@@ -222,10 +222,10 @@ public abstract class MainLogBuffer extends FixedLogBuffer {
...
@@ -222,10 +222,10 @@ public abstract class MainLogBuffer extends FixedLogBuffer {
final
boolean
canIncludePrivateData
);
final
boolean
canIncludePrivateData
);
@Override
@Override
protected
void
shiftOutWords
(
int
numWords
)
{
protected
void
shiftOutWords
(
final
int
numWords
)
{
int
oldNumActualWords
=
getNumActualWords
();
final
int
oldNumActualWords
=
getNumActualWords
();
super
.
shiftOutWords
(
numWords
);
super
.
shiftOutWords
(
numWords
);
int
numWordsShifted
=
oldNumActualWords
-
getNumActualWords
();
final
int
numWordsShifted
=
oldNumActualWords
-
getNumActualWords
();
mNumWordsUntilSafeToSample
-=
numWordsShifted
;
mNumWordsUntilSafeToSample
-=
numWordsShifted
;
if
(
DEBUG
)
{
if
(
DEBUG
)
{
Log
.
d
(
TAG
,
"wordsUntilSafeToSample now at "
+
mNumWordsUntilSafeToSample
);
Log
.
d
(
TAG
,
"wordsUntilSafeToSample now at "
+
mNumWordsUntilSafeToSample
);
...
...
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