remove showVirtualKeyboard from TouchInput
This commit is contained in:
parent
7040e32cc4
commit
249f62fe95
@ -679,8 +679,4 @@ public class AndroidInput implements
|
|||||||
return mouseEventsEnabled;
|
return mouseEventsEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showVirtualKeyboard(boolean visible) {
|
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -263,11 +263,4 @@ public class AndroidInputHandler implements TouchInput {
|
|||||||
this.dontSendHistory = dontSendHistory;
|
this.dontSendHistory = dontSendHistory;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showVirtualKeyboard(boolean visible) {
|
|
||||||
if (keyHandler != null) {
|
|
||||||
keyHandler.showVirtualKeyboard(visible);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -135,22 +135,4 @@ public class AndroidKeyHandler implements View.OnKeyListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showVirtualKeyboard (final boolean visible) {
|
|
||||||
androidInput.getView().getHandler().post(new Runnable() {
|
|
||||||
|
|
||||||
public void run() {
|
|
||||||
InputMethodManager manager =
|
|
||||||
(InputMethodManager)androidInput.getView().getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
|
|
||||||
|
|
||||||
if (visible) {
|
|
||||||
manager.showSoftInput(androidInput.getView(), 0);
|
|
||||||
sendKeyEvents = true;
|
|
||||||
} else {
|
|
||||||
manager.hideSoftInputFromWindow(androidInput.getView().getWindowToken(), 0);
|
|
||||||
sendKeyEvents = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -100,10 +100,4 @@ public interface TouchInput extends Input {
|
|||||||
*/
|
*/
|
||||||
public void setOmitHistoricEvents(boolean dontSendHistory);
|
public void setOmitHistoricEvents(boolean dontSendHistory);
|
||||||
|
|
||||||
/**
|
|
||||||
* Displays or hides the onscreen soft keyboard
|
|
||||||
* @param visible
|
|
||||||
*/
|
|
||||||
public void showVirtualKeyboard (final boolean visible);
|
|
||||||
|
|
||||||
}
|
}
|
@ -117,11 +117,6 @@ public class IosInputHandler implements TouchInput {
|
|||||||
this.dontSendHistory = dontSendHistory;
|
this.dontSendHistory = dontSendHistory;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void showVirtualKeyboard(boolean visible) {
|
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------
|
// ----------------
|
||||||
|
|
||||||
public void loadSettings(AppSettings settings) {
|
public void loadSettings(AppSettings settings) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user