Cleanup unused function

Change-Id: I7417bcaa578ef85f0b634bcac8ddde2b0368b905
main
satok 2010-05-10 15:49:11 +09:00
parent 7e615228de
commit 8e0575db72
1 changed files with 0 additions and 19 deletions

View File

@ -448,25 +448,6 @@ public class CandidateView extends View {
return true;
}
/**
* For flick through from keyboard, call this method with the x coordinate of the flick
* gesture.
* @param x
*/
public void takeSuggestionAt(float x) {
mTouchX = (int) x;
// To detect candidate
onDraw(null);
if (mSelectedString != null) {
if (!mShowingCompletions) {
TextEntryState.acceptedSuggestion(mSuggestions.get(0), mSelectedString);
}
mService.pickSuggestionManually(mSelectedIndex, mSelectedString);
}
invalidate();
mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_REMOVE_THROUGH_PREVIEW), 200);
}
private void hidePreview() {
mCurrentWordIndex = OUT_OF_BOUNDS;
if (mPreviewPopup.isShowing()) {