/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboardView.java | 20 import android.inputmethodservice.Keyboard; 21 import android.inputmethodservice.Keyboard.Key; 29 // TODO: Move this into android.inputmethodservice.Keyboard 42 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { 51 final LatinKeyboard keyboard = (LatinKeyboard)getKeyboard(); local 52 keyboard.setSpaceIcon(getResources().getDrawable(subtype.getIconResId()));
|
LatinKeyboard.java | 23 import android.inputmethodservice.Keyboard; 27 public class LatinKeyboard extends Keyboard { 72 } else if (key.codes[0] == Keyboard.KEYCODE_MODE_CHANGE) { 107 * appropriate label on the keyboard's enter key (if it has one). 147 static class LatinKey extends Keyboard.Key { 149 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, 156 * closes the keyboard.
|
SoftKeyboard.java | 21 import android.inputmethodservice.Keyboard; 40 * Example of writing an input method for a soft keyboard. This code is 42 * to be a complete soft keyboard implementation. Its purpose is to provide 55 * a QWERTY keyboard to Chinese), but may not be used for input methods 98 // Configuration changes can happen after the keyboard gets recreated, 169 // Numbers and dates default to the symbols keyboard, with 175 // Phones will also default to the symbols keyboard, though 176 // often you will want to have a dedicated phone keyboard. 182 // normal alphabetic keyboard, and assume that we should 217 // to decide whether our alphabetic keyboard should start ou [all...] |
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
TestKeyboard.java | 10 import org.unicode.cldr.draft.Keyboard; 11 import org.unicode.cldr.draft.Keyboard.KeyboardWarningException; 33 // DtdData.getInstance(DtdType.keyboard); 39 Keyboard.getKeyboard("no-error", r, errors); 46 // DtdData.getInstance(DtdType.keyboard); 52 Keyboard.getKeyboard("sample-with-error", r, errors); 77 + "<!DOCTYPE keyboard SYSTEM '../dtd/ldmlKeyboard.dtd'>\n" 78 + "<keyboard locale='en-t-k0-android'>\n" 113 + " </keyMap>\n" + "</keyboard>"; 116 + "<!DOCTYPE keyboard SYSTEM '../dtd/ldmlKeyboard.dtd'>\n 160 Keyboard keyboard = Keyboard.getKeyboard(keyboardPlatformId, keyboardId, errors); local [all...] |
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
Keyboard.java | 1 package org.unicode.cldr.draft.keyboard; 12 * Object representing a keyboard layout. Includes identifier information, platform given names, 16 public final class Keyboard { 23 private Keyboard(KeyboardId keyboardId, ImmutableList<String> names, 32 * Creates a keyboard given an identifier, a list of platform given names, key maps and 35 public static Keyboard of(KeyboardId keyboardId, ImmutableList<String> names, 37 return new Keyboard(keyboardId, names, keyMaps, transforms); 74 if (o instanceof Keyboard) { 75 Keyboard other = (Keyboard) o [all...] |
KeyboardTool.java | 1 package org.unicode.cldr.draft.keyboard; 11 import org.unicode.cldr.draft.keyboard.KeyboardId.Platform; 12 import org.unicode.cldr.draft.keyboard.out.KeyboardToXml; 13 import org.unicode.cldr.draft.keyboard.out.KeycodeMapToXml; 14 // import org.unicode.cldr.draft.keyboard.windows.KlcParser; 15 import org.unicode.cldr.draft.keyboard.windows.KlcParser; 24 * First argument is output folder, second is the location of the windows keyboard source files. 44 for (Document document : KeyboardToXml.writeToXml(keyboard)) { 72 ImmutableList<Keyboard> keyboards = KlcParser.parseLayout(contents); 73 for (Keyboard keyboard : keyboards) [all...] |
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
SoftInputWindow.java | 21 import android.inputmethodservice.Keyboard; 41 private final Keyboard mQwertygKeyboard; 42 private final Keyboard mSymbolKeyboard; 43 private final Keyboard mSymbolShiftKeyboard; 76 mQwertygKeyboard = new Keyboard(context, R.xml.qwerty); 77 mSymbolKeyboard = new Keyboard(context, R.xml.symbols); 78 mSymbolShiftKeyboard = new Keyboard(context, R.xml.symbols_shift); 103 Keyboard keyboard = mKeyboardView.getKeyboard(); local 104 return keyboard == mSymbolKeyboard || keyboard == mSymbolShiftKeyboard [all...] |
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
KeyboardTest.java | 23 import android.inputmethodservice.Keyboard; 24 import android.inputmethodservice.Keyboard.Key; 40 // Indirectly instantiate Keyboard.Key with XML resources. 41 final Keyboard keyboard = local 42 new Keyboard(InstrumentationRegistry.getTargetContext(), R.xml.keyboard); 43 for (final Key key : keyboard.getKeys()) { 49 for (final Key key : keyboard.getModifierKeys()) {
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/ |
VirtualKeyboardDxe.inf | 2 # Virtual Keyboard driver. 42 OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/VirtualKeyboardDxe.dec
|
/external/autotest/client/site_tests/policy_AllowScreenLock/ |
policy_AllowScreenLock.py | 6 from autotest_lib.client.cros.input_playback import keyboard 29 _keyboard = keyboard.Keyboard()
|
/external/autotest/client/site_tests/power_WebGL/ |
power_WebGL.py | 8 from autotest_lib.client.cros.input_playback import keyboard 32 with keyboard.Keyboard() as keys:
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/ |
HiKeyDxe.inf | 31 OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/VirtualKeyboardDxe.dec
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
KeyboardTest.java | 1 package org.unicode.cldr.draft.keyboard.test; 5 import org.unicode.cldr.draft.keyboard.CharacterMap; 6 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition; 7 import org.unicode.cldr.draft.keyboard.KeyMap; 8 import org.unicode.cldr.draft.keyboard.Keyboard; 9 import org.unicode.cldr.draft.keyboard.KeyboardId; 10 import org.unicode.cldr.draft.keyboard.KeyboardId.Platform; 11 import org.unicode.cldr.draft.keyboard.ModifierKey; 12 import org.unicode.cldr.draft.keyboard.ModifierKeyCombination 23 private Keyboard keyboard = createKeyboard(); field in class:KeyboardTest [all...] |
/external/autotest/client/cros/input_playback/ |
keyboard.py | 10 _KEYBOARD = 'keyboard' 13 class Keyboard(object): 14 """An emulated keyboard device used for UI automation.""" 17 """Prepare an emulated keyboard device.""" 19 # Create an emulated keyboard device. 20 self.keyboard = input_playback.InputPlayback() 21 self.keyboard.emulate(input_type=_KEYBOARD) 22 self.keyboard.find_connected_inputs() 35 self.keyboard.blocking_playback(filepath=event_file, 44 self.keyboard.blocking_playback(filepath=event_file [all...] |
/external/autotest/client/site_tests/policy_DeveloperToolsAvailability/ |
policy_DeveloperToolsAvailability.py | 7 from autotest_lib.client.cros.input_playback import keyboard 26 self.keyboard = keyboard.Keyboard() 56 self.keyboard.press_key(key)
|
/external/autotest/client/site_tests/policy_HomepageLocation/ |
policy_HomepageLocation.py | 6 from autotest_lib.client.cros.input_playback import keyboard 24 self.keyboard = keyboard.Keyboard() 39 self.keyboard.press_key('alt+home')
|
/external/autotest/client/site_tests/policy_IncognitoModeAvailability/ |
policy_IncognitoModeAvailability.py | 6 from autotest_lib.client.cros.input_playback import keyboard 23 self.keyboard = keyboard.Keyboard() 44 self.keyboard.press_key('ctrl+shift+n')
|
/external/autotest/client/site_tests/policy_NewTabPageLocation/ |
policy_NewTabPageLocation.py | 6 from autotest_lib.client.cros.input_playback import keyboard 29 self.keyboard.press_key('ctrl+t') 60 self.keyboard = keyboard.Keyboard()
|
/external/autotest/client/site_tests/policy_PrintingEnabled/ |
policy_PrintingEnabled.py | 10 from autotest_lib.client.cros.input_playback import keyboard 38 self.keyboard.press_key(key) 72 self.keyboard = keyboard.Keyboard() 77 self.keyboard.close()
|
/external/autotest/client/site_tests/power_ThermalLoad/ |
power_ThermalLoad.py | 8 from autotest_lib.client.cros.input_playback import keyboard 32 with keyboard.Keyboard() as keys:
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/ |
KeyboardToXml.java | 1 package org.unicode.cldr.draft.keyboard.out; 7 import org.unicode.cldr.draft.keyboard.CharacterMap; 8 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition; 9 import org.unicode.cldr.draft.keyboard.KeyMap; 10 import org.unicode.cldr.draft.keyboard.Keyboard; 11 import org.unicode.cldr.draft.keyboard.KeyboardId.Platform; 12 import org.unicode.cldr.draft.keyboard.KeyboardSettings.FallbackSetting; 13 import org.unicode.cldr.draft.keyboard.KeyboardSettings.TransformFailureSetting; 14 import org.unicode.cldr.draft.keyboard.KeyboardSettings.TransformPartialSetting 26 private final Keyboard keyboard; field in class:KeyboardToXml [all...] |
/external/cldr/tools/java/org/unicode/cldr/tool/ |
ShowKeyboards.java | 19 import org.unicode.cldr.draft.Keyboard; 20 import org.unicode.cldr.draft.Keyboard.Gesture; 21 import org.unicode.cldr.draft.Keyboard.Iso; 22 import org.unicode.cldr.draft.Keyboard.KeyMap; 23 import org.unicode.cldr.draft.Keyboard.Output; 24 import org.unicode.cldr.draft.Keyboard.TransformStatus; 25 import org.unicode.cldr.draft.Keyboard.TransformType; 26 import org.unicode.cldr.draft.Keyboard.Transforms; 60 @CLDRTool(alias = "showkeyboards", description = "Generate keyboard charts") 65 private static final String ABOUT_KEYBOARD_CHARTS = "<p>For more information, see <a target='ABOUT_KB' href='http://cldr.unicode.org/index/charts/keyboards'>About Keyboard Charts</a>.</p>" 136 Keyboard keyboard = Keyboard.getKeyboard(platformId, keyboardId, errors); local 270 Keyboard keyboard = Keyboard.getKeyboard(platformId, keyboardId, errors); local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
FrameworkHiiOnUefiHiiThunk.inf | 51 Keyboard.c
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
keyboard.py | 6 """Use your keyboard as your phone's keyboard. Experimental.""" 70 def Keyboard(device, stream_itr): 91 description="Use your keyboard as your phone's keyboard.") 117 Keyboard(devices[0], next_char())
|
/external/autotest/client/bin/ |
display_chart.py | 19 from autotest_lib.client.cros.input_playback import keyboard 62 kb = keyboard.Keyboard() 73 ' Send SIGINT or keyboard interrupt to stop displaying.')
|