[Galaxy Note II Themes and Apps] grgsiocl:
Nice Mod!:good:

HOW TO

target following file smali/com/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule.smali

:goto_1
const/16 v7, 0xa

- if-ne p1, v7, :cond_4
+ if-ne p1, v7, :cond_5

invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->sendEnterKeyHandle()V

goto :goto_0

:cond_3
+ iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+ invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
+
+ move-result v7
+
+ if-lez v7, :cond_4
+
+ iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
+
+ iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+ invoke-interface {v7, v8, v9}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getCharSequence(Ljava/lang/StringBuilder;I)I
+
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->updateSuggestion()V
+
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->setComposingText()V
+
+ :cond_4
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->clearCandidateList()V
+
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;

iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mCandidates:Ljava/util/ArrayList;

goto :goto_1

- :cond_4
+ :cond_5
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mRepository:Lcom/diotek/ime/framework/repository/Repository;

const-string v8, "IN_MULTITAP"

move-result v5

- if-eqz v5, :cond_5
+ if-eqz v5, :cond_6

invoke-virtual {p0, p1, p2}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->processMultiTapSymbolicKey(I[I)V

goto/16 :goto_0

- :cond_5
+ :cond_6
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mAutoSpaceController:Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;

invoke-virtual {v7, p1}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->isEnableAutoSpaceAtSymbol(I)Z

move-result v7

- if-eqz v7, :cond_6
+ if-eqz v7, :cond_7

invoke-virtual {p0, v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V

invoke-virtual {p0, v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)V

- :cond_6
+ :cond_7
invoke-virtual {p0, v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V

iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;

move-result v7

- if-eqz v7, :cond_7
+ if-eqz v7, :cond_8

iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;

invoke-virtual {v7}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->disableSetUpAutoSpace()V

- :cond_7
+ :cond_8
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;

invoke-virtual {p0, v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)V