mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Cleanup unused function
Change-Id: I7417bcaa578ef85f0b634bcac8ddde2b0368b905
This commit is contained in:
parent
7e615228de
commit
8e0575db72
@ -448,25 +448,6 @@ public class CandidateView extends View {
|
|||||||
return true;
|
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() {
|
private void hidePreview() {
|
||||||
mCurrentWordIndex = OUT_OF_BOUNDS;
|
mCurrentWordIndex = OUT_OF_BOUNDS;
|
||||||
if (mPreviewPopup.isShowing()) {
|
if (mPreviewPopup.isShowing()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user