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
1b6829b0
Commit
1b6829b0
authored
12 years ago
by
Tadashi G. Takaoka
Browse files
Options
Downloads
Patches
Plain Diff
Remove conservative MainKeyboardView.draw
Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
parent
5bb42062
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
+0
-14
0 additions, 14 deletions
...rc/com/android/inputmethod/keyboard/MainKeyboardView.java
with
0 additions
and
14 deletions
java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
+
0
−
14
View file @
1b6829b0
...
...
@@ -835,20 +835,6 @@ public class MainKeyboardView extends KeyboardView implements PointerTracker.Key
return
false
;
}
@Override
public
void
draw
(
Canvas
c
)
{
Utils
.
GCUtils
.
getInstance
().
reset
();
boolean
tryGC
=
true
;
for
(
int
i
=
0
;
i
<
Utils
.
GCUtils
.
GC_TRY_LOOP_MAX
&&
tryGC
;
++
i
)
{
try
{
super
.
draw
(
c
);
tryGC
=
false
;
}
catch
(
OutOfMemoryError
e
)
{
tryGC
=
Utils
.
GCUtils
.
getInstance
().
tryGCOrWait
(
TAG
,
e
);
}
}
}
/**
* Receives hover events from the input framework.
*
...
...
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