Searched refs:keyboard (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp34 jfieldID keyboard; member in struct:android::__anon967
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard);
105 GET_FIELD_ID(gConfigurationClassInfo.keyboard, clazz,
106 "keyboard", "I");
H A Dandroid_util_AssetManager.cpp510 jint keyboard, jint keyboardHidden,
533 config.keyboard = (uint8_t)keyboard;
506 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java281 /** Constant for {@link #keyboard}: a value indicating that no value has been set. */
283 /** Constant for {@link #keyboard}, value corresponding to the
287 /** Constant for {@link #keyboard}, value corresponding to the
291 /** Constant for {@link #keyboard}, value corresponding to the
297 * The kind of keyboard attached to the device.
301 public int keyboard; field in class:Configuration
317 * A flag indicating whether any keyboard is available. Unlike
319 * keyboard, so if the hard keyboard is hidden but there is soft
320 * keyboard availabl
[all...]
H A DAssetManager.java653 int orientation, int touchscreen, int density, int keyboard,
652 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int majorVersion) argument
H A DResources.java1488 mConfiguration.densityDpi, mConfiguration.keyboard,
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java102 assertEquals(config.reqKeyboardType, vconfig.keyboard);
108 if (vconfig.keyboard != Configuration.KEYBOARD_UNDEFINED) {
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java30 * Describes the keys provided by a keyboard device and their associated labels.
34 * The id of the device's primary built in keyboard is always 0.
37 * guarantee that a device has a built-in keyboard that can be used for
38 * typing text. There might not be a built-in keyboard, the built-in keyboard
39 * might be a {@link #NUMERIC} or {@link #SPECIAL_FUNCTION} keyboard, or there
51 * The id of a generic virtual keyboard with a full layout that can be used to
57 * A numeric (12-key) keyboard.
59 * A numeric keyboard supports text entry using a multi-tap approach.
63 * This type of keyboard i
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp75 return config->keyboard;
163 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard) { argument
164 config->keyboard = keyboard;
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java64 // expect ime to auto pop up if device has no hard keyboard
65 int keyboardType = mTargetActivity.getResources().getConfiguration().keyboard;
83 // Tell the keyboard to go away.
109 // Tell the keyboard to go away.
129 // Tell the keyboard to go away.
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp263 // keyboard hidden
270 // keyboard
273 *value = config.keyboard;
336 return config.keyboard;
601 // keyboard hidden
614 // keyboard
624 //printf("not keyboard: %s\n", part.string());
694 this->keyboard = key;
740 s += keyboard;
846 if (this->keyboard !
[all...]
H A DAaptAssets.h134 String8 keyboard; member in struct:AaptGroupEntry
H A DResourceTable.cpp2830 config.keyboard,
2873 tHeader->config.keyboard,
3509 config->keyboard,
H A DResource.cpp134 mParams.density, mParams.touchscreen, mParams.keyboard,
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java72 * Listener for virtual keyboard events.
238 /** Whether the keyboard bitmap needs to be redrawn before it's blitted. **/
240 /** The dirty region in the keyboard bitmap */
242 /** The keyboard bitmap for faster updates */
244 /** Notes if the keyboard just changed, so that we could possibly reallocate the mBuffer. */
246 /** The canvas for the above mutable keyboard bitmap */
393 int travelX = getWidth() / 2; // Half the keyboard width
394 int travelY = getHeight() / 2; // Half the keyboard height
445 * @return the listener attached to this keyboard
452 * Attaches a keyboard t
458 setKeyboard(Keyboard keyboard) argument
604 computeProximityThreshold(Keyboard keyboard) argument
[all...]
H A DKeyboard.java39 * Loads an XML description of a keyboard and stores the attributes of the keys. A keyboard
41 * <p>The layout file for a keyboard contains XML that looks like the following snippet:</p>
96 /** Is the keyboard in the shifted state */
105 /** Current key width, while loading the keyboard */
108 /** Current key height, while loading the keyboard */
111 /** Total height of the keyboard, including the padding and keys */
115 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the
120 /** List of keys in this keyboard */
126 /** Width of the screen available to fit the keyboard */
275 private Keyboard keyboard; field in class:Keyboard.Key
[all...]
H A DInputMethodService.java95 * an input area with a keyboard, another could allow the user to draw text,
136 * keyboard available, which is the appropriate behavior for most input
214 * update a soft keyboard to be appropriate for the new inputType.</p>
426 // If user uses hard keyboard, IME button should always be shown.
757 // If we were last showing the soft keyboard, try to do so again.
775 // If user uses hard keyboard, IME button should always be shown.
1103 * there is no hard keyboard or the keyboard is hidden. If you change what
1110 return config.keyboard == Configuration.KEYBOARD_NOKEYS
1253 * a soft keyboard)
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java159 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
H A DPhoneWindowManager.java1318 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
1985 // inadvertently inserted when using a keyboard that has built-in macro
2070 // Handle keyboard language switching.
/frameworks/native/include/android/
H A Dconfiguration.h221 * Set the current keyboard in the configuration.
223 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1525 if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD;
1637 if (keyboard != o.keyboard) {
1638 if (!keyboard) return false;
1639 if (!o.keyboard) return true;
1859 if ((keyboard != o.keyboard) && requested->keyboard) {
1860 return (keyboard);
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPasswordUnlockScreen.java111 mKeyboardView = (PasswordEntryKeyboardView) findViewById(R.id.keyboard);
119 // We always use the system IME for alpha keyboard, so hide lockscreen's soft keyboard
123 // Use lockscreen's numeric keyboard if the physical keyboard isn't showing
128 // The delete button is of the PIN keyboard itself in some (e.g. tablet) layouts,
370 // Don't show the soft keyboard when the real keyboard is open
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java714 && mResources.getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS
/frameworks/base/include/androidfw/
H A DResourceTypes.h903 uint8_t keyboard; member in struct:android::ResTable_config::__anon1044::__anon1045
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java159 private static final String SUBTYPE_MODE_KEYBOARD = "keyboard";
878 final boolean haveHardKeyboard = conf.keyboard
2066 // the most applicable enabled keyboard subtype of the system imes.
2478 final boolean haveHardKeyboard = config.keyboard == Configuration.KEYBOARD_QWERTY;
2640 // Setup layout for a toggle switch of the hardware keyboard
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6973 config.keyboard = Configuration.KEYBOARD_NOKEYS;
7007 config.keyboard = Configuration.KEYBOARD_QWERTY;
7013 // Determine whether a hard keyboard is available and enabled.
7014 boolean hardKeyboardAvailable = config.keyboard != Configuration.KEYBOARD_NOKEYS;
7022 config.keyboard = Configuration.KEYBOARD_NOKEYS;
7913 // go to Gmail, start searching so the keyboard goes up,

Completed in 1828 milliseconds

12