Home
last modified time | relevance | path

Searched refs:touchscreen (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp35 jfieldID touchscreen; member
53 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); in android_Configuration_getFromJava()
83 gConfigurationClassInfo.touchscreen = GetFieldIDOrDie(env, clazz, "touchscreen", "I"); in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp320 jstring locale, jint orientation, jint touchscreen, jint density, in NativeSetConfiguration() argument
333 configuration.touchscreen = static_cast<uint8_t>(touchscreen); in NativeSetConfiguration()
/frameworks/base/core/java/android/content/res/
DConfiguration.java537 public int touchscreen; field in Configuration
963 touchscreen = o.touchscreen; in setTo()
1091 switch (touchscreen) { in toString()
1096 default: sb.append(" touch="); sb.append(touchscreen); break; in toString()
1172 protoOutputStream.write(TOUCHSCREEN, touchscreen); in dumpDebug()
1303 touchscreen = protoInputStream.readInt(TOUCHSCREEN); in readFromProto()
1430 touchscreen = TOUCHSCREEN_UNDEFINED; in setToDefaults()
1512 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in updateFrom()
1513 && touchscreen != delta.touchscreen) { in updateFrom()
1515 touchscreen = delta.touchscreen; in updateFrom()
[all …]
DAssetManager.java1439 int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, in setConfiguration() argument
1444 nativeSetConfiguration(mObject, mcc, mnc, locale, orientation, touchscreen, density, in setConfiguration()
1525 @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, in nativeSetConfiguration() argument
DResourcesImpl.java456 mConfiguration.touchscreen, in updateConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp72 return config->touchscreen; in AConfiguration_getTouchscreen()
164 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) { in AConfiguration_setTouchscreen() argument
165 config->touchscreen = touchscreen; in AConfiguration_setTouchscreen()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp409 if (out) out->touchscreen = out->TOUCHSCREEN_ANY; in parseTouchscreen()
412 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH; in parseTouchscreen()
415 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS; in parseTouchscreen()
418 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER; in parseTouchscreen()
946 if (touchscreen || o.touchscreen) return (!o.touchscreen); in HasHigherPrecedenceThan()
986 !pred(touchscreen, o.touchscreen) || in ConflictsWith()
DResourceTypes.cpp2168 if (touchscreen != o.touchscreen) { in compareLogical()
2169 return touchscreen < o.touchscreen ? -1 : 1; in compareLogical()
2198 if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN; in diff()
2353 if (touchscreen != o.touchscreen) { in isMoreSpecificThan()
2354 if (!touchscreen) return false; in isMoreSpecificThan()
2355 if (!o.touchscreen) return true; in isMoreSpecificThan()
2708 if ((touchscreen != o.touchscreen) && requested->touchscreen) { in isBetterThan()
2709 return (touchscreen); in isBetterThan()
2927 if (touchscreen != 0 && touchscreen != settings.touchscreen) { in match()
3459 if (touchscreen != TOUCHSCREEN_ANY) { in toString()
[all …]
/frameworks/base/tools/aapt2/test/
DBuilders.h239 ConfigDescriptionBuilder& setTouchscreen(uint8_t touchscreen) { in setTouchscreen() argument
240 config_.touchscreen = touchscreen; in setTouchscreen()
/frameworks/base/tools/aapt2/
DConfiguration.proto181 // Whether a touchscreen exists, supports a stylus, or finger.
182 Touchscreen touchscreen = 19; field
/frameworks/base/tools/aapt/
DAaptConfig.cpp654 if (out) out->touchscreen = out->TOUCHSCREEN_ANY; in parseTouchscreen()
657 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH; in parseTouchscreen()
660 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS; in parseTouchscreen()
663 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER; in parseTouchscreen()
DResourceTable.cpp3170 config.touchscreen, in flatten()
3215 tHeader->config.touchscreen, in flatten()
3950 config->touchscreen, in getEntry()
DResource.cpp141 mParams.density, mParams.touchscreen, mParams.keyboard, in next()
/frameworks/base/core/proto/android/content/
Dconfiguration.proto38 optional uint32 touchscreen = 7; field
/frameworks/native/include/android/
Dconfiguration.h566 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java112 assertEquals(config.reqTouchScreen, vconfig.touchscreen); in testGetDeviceConfigurationInfo()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp264 switch (pb_config.touchscreen()) { in DeserializeConfigFromPb()
266 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_NOTOUCH; in DeserializeConfigFromPb()
270 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_STYLUS; in DeserializeConfigFromPb()
274 out_config->touchscreen = ConfigDescription::TOUCHSCREEN_FINGER; in DeserializeConfigFromPb()
DProtoSerialize.cpp204 switch (config.touchscreen) { in SerializeConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java205 config3.touchscreen = 6; in populateIntervalStats()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1034 uint8_t touchscreen; member
/frameworks/base/core/java/android/app/
DResourcesManager.java348 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in applyDisplayMetricsToConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2163 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in computeScreenConfiguration()
2189 config.touchscreen = Configuration.TOUCHSCREEN_FINGER; in computeScreenConfiguration()
2192 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in computeScreenConfiguration()
DActivityTaskManagerService.java1084 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo()
4114 values.touchscreen, in updateGlobalConfigurationLocked()
4317 && config.touchscreen == Configuration.TOUCHSCREEN_NOTOUCH in updateShouldShowDialogsLocked()
/frameworks/proto_logging/stats/
Datoms.proto2057 // See: https://d.android.com/reference/android/content/res/Configuration.html#touchscreen
2058 optional int32 touchscreen = 16; field
3711 * and the standard deviation of the time spent processing touchscreen events
/frameworks/base/core/api/
Dcurrent.txt12741 field public static final String FEATURE_TOUCHSCREEN = "android.hardware.touchscreen";
12742 …field public static final String FEATURE_TOUCHSCREEN_MULTITOUCH = "android.hardware.touchscreen.mu…
12743 …nal String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = "android.hardware.touchscreen.multitouch.dist…
12744 …nal String FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND = "android.hardware.touchscreen.multitouch.jazz…
13346 field public int touchscreen;

12