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::__anon795
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard);
96 GET_FIELD_ID(gConfigurationClassInfo.keyboard, clazz,
97 "keyboard", "I");
H A Dandroid_util_AssetManager.cpp599 jint keyboard, jint keyboardHidden,
622 config.keyboard = (uint8_t)keyboard;
595 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.java297 /** Constant for {@link #keyboard}: a value indicating that no value has been set. */
299 /** Constant for {@link #keyboard}, value corresponding to the
303 /** Constant for {@link #keyboard}, value corresponding to the
307 /** Constant for {@link #keyboard}, value corresponding to the
313 * The kind of keyboard attached to the device.
317 public int keyboard; field in class:Configuration
333 * A flag indicating whether any keyboard is available. Unlike
335 * keyboard, so if the hard keyboard is hidden but there is soft
336 * keyboard availabl
[all...]
H A DAssetManager.java686 int orientation, int touchscreen, int density, int keyboard,
685 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.java1832 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 DAaptConfig.cpp602 if (out) out->keyboard = out->KEYBOARD_ANY;
605 if (out) out->keyboard = out->KEYBOARD_NOKEYS;
608 if (out) out->keyboard = out->KEYBOARD_QWERTY;
611 if (out) out->keyboard = out->KEYBOARD_12KEY;
H A DResourceTable.cpp3046 config.keyboard,
3089 tHeader->config.keyboard,
3821 config->keyboard,
H A DResource.cpp139 mParams.density, mParams.touchscreen, mParams.keyboard,
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java73 * Listener for virtual keyboard events.
239 /** Whether the keyboard bitmap needs to be redrawn before it's blitted. **/
241 /** The dirty region in the keyboard bitmap */
243 /** The keyboard bitmap for faster updates */
245 /** Notes if the keyboard just changed, so that we could possibly reallocate the mBuffer. */
247 /** The canvas for the above mutable keyboard bitmap */
397 int travelX = getWidth() / 2; // Half the keyboard width
398 int travelY = getHeight() / 2; // Half the keyboard height
449 * @return the listener attached to this keyboard
456 * Attaches a keyboard t
462 setKeyboard(Keyboard keyboard) argument
608 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.java98 * an input area with a keyboard, another could allow the user to draw text,
139 * keyboard available, which is the appropriate behavior for most input
217 * update a soft keyboard to be appropriate for the new inputType.</p>
434 // If user uses hard keyboard, IME button should always be shown.
783 // If we were last showing the soft keyboard, try to do so again.
801 // If user uses hard keyboard, IME button should always be shown.
1129 * there is no hard keyboard or the keyboard is hidden. If you change what
1136 return config.keyboard == Configuration.KEYBOARD_NOKEYS
1279 * a soft keyboard)
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java270 public ConfigGenerator setKeyboard(Keyboard keyboard) { argument
271 mKeyboard = keyboard;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java171 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
/frameworks/native/include/android/
H A Dconfiguration.h226 * Set the current keyboard in the configuration.
228 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1448 <a href="<?cs var:toroot ?>training/keyboard-input/index.html"
1456 <li><a href="<?cs var:toroot ?>training/keyboard-input/style.html">
1460 <li><a href="<?cs var:toroot ?>training/keyboard-input/visibility.html">
1464 <li><a href="<?cs var:toroot ?>training/keyboard-input/navigation.html">
1468 <li><a href="<?cs var:toroot ?>training/keyboard-input/commands.html">
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1900 if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD;
2046 if (keyboard != o.keyboard) {
2047 if (!keyboard) return false;
2048 if (!o.keyboard) return true;
2296 if ((keyboard != o.keyboard) && requested->keyboard) {
2297 return (keyboard);
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java740 && mResources.getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS
/frameworks/base/include/androidfw/
H A DResourceTypes.h1023 uint8_t keyboard; member in struct:android::ResTable_config::__anon914::__anon915
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java782 && mResources.getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java7262 config.keyboard = Configuration.KEYBOARD_NOKEYS;
7296 config.keyboard = Configuration.KEYBOARD_QWERTY;
7307 // Determine whether a hard keyboard is available and enabled.
7308 boolean hardKeyboardAvailable = config.keyboard != Configuration.KEYBOARD_NOKEYS;
7315 config.keyboard = Configuration.KEYBOARD_NOKEYS;
8206 // go to Gmail, start searching so the keyboard goes up,
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java929 final boolean haveHardKeyboard = conf.keyboard
938 // hard keyboard is not shown.
2219 // the most applicable enabled keyboard subtype of the system imes.
2862 // Setup layout for a toggle switch of the hardware keyboard
2876 // the hardware keyboard state.
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java16592 config.reqKeyboardType = mConfiguration.keyboard;
16598 if (mConfiguration.keyboard != Configuration.KEYBOARD_UNDEFINED
16599 && mConfiguration.keyboard != Configuration.KEYBOARD_NOKEYS) {
16786 return !(config.keyboard == Configuration.KEYBOARD_NOKEYS

Completed in 803 milliseconds

12