1fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa/* 2fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * Copyright (C) 2015 The Android Open Source Project 3fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * 4fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * Licensed under the Apache License, Version 2.0 (the "License"); 5fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * you may not use this file except in compliance with the License. 6fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * You may obtain a copy of the License at 7fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * 8fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * http://www.apache.org/licenses/LICENSE-2.0 9fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * 10fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * Unless required by applicable law or agreed to in writing, software 11fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * distributed under the License is distributed on an "AS IS" BASIS, 12fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * See the License for the specific language governing permissions and 14fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * limitations under the License. 15fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa */ 16fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa 17fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawapackage android.view.inputmethod; 18fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa 19fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa/** 20fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * Input method manager local system service interface. 21fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * 22fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * @hide Only for use within the system server. 23fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa */ 24fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawapublic interface InputMethodManagerInternal { 25fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa /** 26fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * Called by the power manager to tell the input method manager whether it 27fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa * should start watching for wake events. 28fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa */ 29ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa void setInteractive(boolean interactive); 30ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa 31ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa /** 32ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa * Called by the window manager to let the input method manager rotate the input method. 33ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa */ 34ae61f7118a92e097e854c840d5726c0920f5db0eYohei Yukawa void switchInputMethod(boolean forwardDirection); 353c5d0f104109048ba55308f81ca0ce7fa1afb626Jorim Jaggi 363c5d0f104109048ba55308f81ca0ce7fa1afb626Jorim Jaggi /** 373c5d0f104109048ba55308f81ca0ce7fa1afb626Jorim Jaggi * Hides the current input method, if visible. 383c5d0f104109048ba55308f81ca0ce7fa1afb626Jorim Jaggi */ 393c5d0f104109048ba55308f81ca0ce7fa1afb626Jorim Jaggi void hideCurrentInputMethod(); 40fa6e0a80e20a4917b403fd330e01a9edd021aabcYohei Yukawa} 41