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::__anon990
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.java659 int orientation, int touchscreen, int density, int keyboard,
658 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.java1592 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/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.java96 * an input area with a keyboard, another could allow the user to draw text,
137 * keyboard available, which is the appropriate behavior for most input
215 * update a soft keyboard to be appropriate for the new inputType.</p>
433 // If user uses hard keyboard, IME button should always be shown.
764 // If we were last showing the soft keyboard, try to do so again.
782 // If user uses hard keyboard, IME button should always be shown.
1110 * there is no hard keyboard or the keyboard is hidden. If you change what
1117 return config.keyboard == Configuration.KEYBOARD_NOKEYS
1260 * a soft keyboard)
[all...]
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs936 <a href="<?cs var:toroot ?>training/keyboard-input/index.html"
944 <li><a href="<?cs var:toroot ?>training/keyboard-input/style.html">
948 <li><a href="<?cs var:toroot ?>training/keyboard-input/visibility.html">
952 <li><a href="<?cs var:toroot ?>training/keyboard-input/navigation.html">
956 <li><a href="<?cs var:toroot ?>training/keyboard-input/commands.html">
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java159 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
/frameworks/native/include/android/
H A Dconfiguration.h222 * Set the current keyboard in the configuration.
224 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1529 if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD;
1641 if (keyboard != o.keyboard) {
1642 if (!keyboard) return false;
1643 if (!o.keyboard) return true;
1863 if ((keyboard != o.keyboard) && requested->keyboard) {
1864 return (keyboard);
[all...]
/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.h904 uint8_t keyboard; member in struct:android::ResTable_config::__anon1074::__anon1075
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java757 && mResources.getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6474 config.keyboard = Configuration.KEYBOARD_NOKEYS;
6508 config.keyboard = Configuration.KEYBOARD_QWERTY;
6514 // Determine whether a hard keyboard is available and enabled.
6515 boolean hardKeyboardAvailable = config.keyboard != Configuration.KEYBOARD_NOKEYS;
6523 config.keyboard = Configuration.KEYBOARD_NOKEYS;
7336 // go to Gmail, start searching so the keyboard goes up,
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java867 final boolean haveHardKeyboard = conf.keyboard
2097 // the most applicable enabled keyboard subtype of the system imes.
2651 // Setup layout for a toggle switch of the hardware keyboard
2667 // the hardware keyboard state.
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java12550 config.reqKeyboardType = mConfiguration.keyboard;
12556 if (mConfiguration.keyboard != Configuration.KEYBOARD_UNDEFINED
12557 && mConfiguration.keyboard != Configuration.KEYBOARD_NOKEYS) {
12737 return !(config.keyboard == Configuration.KEYBOARD_NOKEYS

Completed in 1843 milliseconds

12