android.view.inputmethod.InputMethodManager#isFullscreenMode ( )源码实例Demo

下面列出了android.view.inputmethod.InputMethodManager#isFullscreenMode ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: android_9.0.0_r45   文件: SearchDialog.java
@Override
public void onBackPressed() {
    // If the input method is covering the search dialog completely,
    // e.g. in landscape mode with no hard keyboard, dismiss just the input method
    InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
    if (imm != null && imm.isFullscreenMode() &&
            imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) {
        return;
    }
    // Close search dialog
    cancel();
}
 
源代码2 项目: LaunchEnr   文件: Launcher.java
private boolean acceptFilter() {
    final InputMethodManager inputManager = (InputMethodManager)
            getSystemService(Context.INPUT_METHOD_SERVICE);
    return !inputManager.isFullscreenMode();
}
 
源代码3 项目: TurboLauncher   文件: Launcher.java
private boolean acceptFilter() {
	final InputMethodManager inputManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
	return !inputManager.isFullscreenMode();
}
 
源代码4 项目: Example-of-Cocos2DX   文件: Cocos2dxEditText.java
private boolean isFullScreenEdit() {
	final InputMethodManager imm = (InputMethodManager) this.mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
	return imm.isFullscreenMode();
}
 
源代码5 项目: Example-of-Cocos2DX   文件: Cocos2dxEditText.java
private boolean isFullScreenEdit() {
	final InputMethodManager imm = (InputMethodManager) this.mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
	return imm.isFullscreenMode();
}
 
源代码6 项目: Earlybird   文件: Cocos2dxEditText.java
private boolean isFullScreenEdit() {
	final InputMethodManager imm = (InputMethodManager) this.mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
	return imm.isFullscreenMode();
}