Searched refs:touchscreen (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp35 jfieldID touchscreen; member in struct:android::__anon829
53 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen);
83 gConfigurationClassInfo.touchscreen = GetFieldIDOrDie(env, clazz, "touchscreen", "I");
H A Dandroid_util_AssetManager.cpp332 jstring locale, jint orientation, jint touchscreen, jint density,
345 configuration.touchscreen = static_cast<uint8_t>(touchscreen);
331 NativeSetConfiguration(JNIEnv* env, jclass , jlong ptr, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboard_hidden, jint navigation, jint screen_width, jint screen_height, jint smallest_screen_width_dp, jint screen_width_dp, jint screen_height_dp, jint screen_layout, jint ui_mode, jint color_mode, jint major_version) argument
/frameworks/base/native/android/
H A Dconfiguration.cpp72 return config->touchscreen;
164 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) { argument
165 config->touchscreen = touchscreen;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java481 /** Constant for {@link #touchscreen}: a value indicating that no value has been set. */
483 /** Constant for {@link #touchscreen}, value corresponding to the
489 /** Constant for {@link #touchscreen}, value corresponding to the
498 public int touchscreen; field in class:Configuration
904 touchscreen = o.touchscreen;
1031 switch (touchscreen) {
1036 default: sb.append(" touch="); sb.append(touchscreen); break;
1099 protoOutputStream.write(TOUCHSCREEN, touchscreen);
1181 touchscreen
[all...]
H A DAssetManager.java1232 int touchscreen, int density, int keyboard, int keyboardHidden, int navigation,
1237 nativeSetConfiguration(mObject, mcc, mnc, locale, orientation, touchscreen, density,
1286 @Nullable String locale, int orientation, int touchscreen, int density, int keyboard,
1231 setConfiguration(int mcc, int mnc, @Nullable 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 colorMode, int majorVersion) argument
1285 nativeSetConfiguration(long ptr, int mcc, int mnc, @Nullable 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 colorMode, int majorVersion) argument
H A DResourcesImpl.java440 mConfiguration.touchscreen,
/frameworks/base/core/proto/android/content/
H A Dconfiguration.proto39 optional uint32 touchscreen = 7;
/frameworks/base/tools/aapt2/
H A DConfiguration.proto182 // Whether a touchscreen exists, supports a stylus, or finger.
183 Touchscreen touchscreen = 19;
H A DConfigDescription.cpp415 if (out) out->touchscreen = out->TOUCHSCREEN_ANY;
418 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH;
421 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS;
424 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER;
949 if (touchscreen || o.touchscreen) return (!o.touchscreen);
989 !pred(touchscreen, o.touchscreen) ||
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java103 assertEquals(config.reqTouchScreen, vconfig.touchscreen);
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp654 if (out) out->touchscreen = out->TOUCHSCREEN_ANY;
657 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH;
660 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS;
663 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER;
H A DResourceTable.cpp3173 config.touchscreen,
3218 tHeader->config.touchscreen,
3953 config->touchscreen,
H A DResource.cpp141 mParams.density, mParams.touchscreen, mParams.keyboard,
/frameworks/native/include/android/
H A Dconfiguration.h394 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#TouchscreenQualifier">touchscreen</a>
560 * Set the current touchscreen in the configuration.
562 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp260 switch (pb_config.touchscreen()) {
262 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_NOTOUCH;
266 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_STYLUS;
270 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_FINGER;
H A DProtoSerialize.cpp200 switch (config.touchscreen) {
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2040 if (touchscreen != o.touchscreen) {
2041 return touchscreen < o.touchscreen ? -1 : 1;
2070 if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN;
2225 if (touchscreen != o.touchscreen) {
2226 if (!touchscreen) return false;
2227 if (!o.touchscreen) retur
[all...]
/frameworks/base/cmds/statsd/src/
H A Datoms.proto893 // See: https://d.android.com/reference/android/content/res/Configuration.html#touchscreen
894 optional int32 touchscreen = 16;
/frameworks/base/core/java/android/app/
H A DResourcesManager.java214 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH;
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1002 uint8_t touchscreen; member in struct:android::ResTable_config::__anon964::__anon965
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java1321 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH;
1341 config.touchscreen = Configuration.TOUCHSCREEN_FINGER;
1344 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java22279 config.reqTouchScreen = globalConfig.touchscreen;
22560 values.touchscreen,
22849 && config.touchscreen == Configuration.TOUCHSCREEN_NOTOUCH
[all...]

Completed in 686 milliseconds