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

12

/frameworks/base/tools/localize/
H A DConfiguration.cpp24 n = keyboard.compare(that.keyboard);
H A DConfiguration.h15 string keyboard; member in struct:Configuration
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp34 jfieldID keyboard; member in struct:android::__anon28
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.java155 * The kind of keyboard attached to the device.
159 public int keyboard; field in class:Configuration
168 * A flag indicating whether any keyboard is available. Unlike
170 * keyboard, so if the hard keyboard is hidden but there is soft
171 * keyboard available, it will be set to NO. Value is one of:
181 * A flag indicating whether the hard keyboard has been hidden. This will
182 * be set on a device with a mechanism to hide the keyboard from the
315 keyboard = o.keyboard;
[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.java1484 (int)(mMetrics.density*160), 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;
158 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard) { argument
159 config->keyboard = keyboard;
/frameworks/base/include/utils/
H A DResourceTypes.h891 uint8_t keyboard; member in struct:android::ResTable_config::__anon204::__anon205
1078 if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD;
1184 if (keyboard != o.keyboard) {
1185 if (!keyboard) return false;
1186 if (!o.keyboard) return true;
1402 if ((keyboard != o.keyboard) && requested->keyboard) {
[all...]
/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.cpp218 // keyboard hidden
225 // keyboard
228 *value = config.keyboard;
289 return config.keyboard;
542 // keyboard hidden
555 // keyboard
565 //printf("not keyboard: %s\n", part.string());
635 this->keyboard = key;
678 s += keyboard;
778 if (this->keyboard !
[all...]
H A DAaptAssets.h139 String8 keyboard; member in struct:AaptGroupEntry
H A DResourceTable.cpp2731 config.keyboard,
2773 tHeader->config.keyboard,
3373 config->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.java94 * an input area with a keyboard, another could allow the user to draw text,
135 * keyboard available, which is the appropriate behavior for most input
213 * update a soft keyboard to be appropriate for the new inputType.</p>
424 // If user uses hard keyboard, IME button should always be shown.
732 // If we were last showing the soft keyboard, try to do so again.
750 // If user uses hard keyboard, IME button should always be shown.
1075 * there is no hard keyboard or the keyboard is hidden. If you change what
1082 return config.keyboard == Configuration.KEYBOARD_NOKEYS
1225 * a soft keyboard)
[all...]
/frameworks/base/native/include/android/
H A Dconfiguration.h213 * Set the current keyboard in the configuration.
215 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java157 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
H A DPasswordUnlockScreen.java111 mKeyboardView = (PasswordEntryKeyboardView) findViewById(R.id.keyboard);
122 // We always use the system IME for alpha keyboard, so hide lockscreen's soft keyboard
126 // Use lockscreen's numeric keyboard if the physical keyboard isn't showing
131 // The delete button is of the PIN keyboard itself in some (e.g. tablet) layouts,
373 // Don't show the soft keyboard when the real keyboard is open
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp106 jfieldID keyboard; member in struct:android::__anon1188
1287 env->SetIntField(configObj, gConfigurationClassInfo.keyboard, config.keyboard);
1536 GET_FIELD_ID(gConfigurationClassInfo.keyboard, clazz,
1537 "keyboard", "I");
/frameworks/base/include/ui/
H A DInput.h186 int32_t keyboard; member in struct:android::InputConfiguration
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java714 && mResources.getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS
/frameworks/base/docs/html/resources/
H A Dresources-data.js677 en: 'An example of writing an input method for a software keyboard.'
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp932 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
938 ASSERT_NO_FATAL_FAILURE(addDevice(0, String8("keyboard"),
944 ASSERT_EQ(InputConfiguration::KEYBOARD_QWERTY, config.keyboard);
958 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
970 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
987 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
1001 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
1013 ASSERT_EQ(InputConfiguration::KEYBOARD_NOKEYS, config.keyboard);
1019 ASSERT_NO_FATAL_FAILURE(addDevice(1, String8("keyboard"),
1027 ASSERT_STREQ("keyboard", inf
[all...]

Completed in 1003 milliseconds

12