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.cpp322 jstring locale, jint orientation, jint touchscreen, jint density, in NativeSetConfiguration() argument
335 configuration.touchscreen = static_cast<uint8_t>(touchscreen); in NativeSetConfiguration()
/frameworks/base/core/java/android/content/res/
DConfiguration.java537 public int touchscreen; field in Configuration
1028 touchscreen = o.touchscreen; in setTo()
1156 switch (touchscreen) { in toString()
1161 default: sb.append(" touch="); sb.append(touchscreen); break; in toString()
1237 protoOutputStream.write(TOUCHSCREEN, touchscreen); in dumpDebug()
1368 touchscreen = protoInputStream.readInt(TOUCHSCREEN); in readFromProto()
1495 touchscreen = TOUCHSCREEN_UNDEFINED; in setToDefaults()
1577 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in updateFrom()
1578 && touchscreen != delta.touchscreen) { in updateFrom()
1580 touchscreen = delta.touchscreen; in updateFrom()
[all …]
DAssetManager.java1472 int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, in setConfiguration() argument
1477 nativeSetConfiguration(mObject, mcc, mnc, locale, orientation, touchscreen, density, in setConfiguration()
1567 @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, in nativeSetConfiguration() argument
DResourcesImpl.java461 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()
2705 if ((touchscreen != o.touchscreen) && requested->touchscreen) { in isBetterThan()
2706 return (touchscreen); in isBetterThan()
2924 if (touchscreen != 0 && touchscreen != settings.touchscreen) { in match()
3456 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.cpp3169 config.touchscreen, in flatten()
3214 tHeader->config.touchscreen, in flatten()
3949 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.java207 config3.touchscreen = 6; in populateIntervalStats()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1034 uint8_t touchscreen; member
/frameworks/base/core/java/android/app/
DResourcesManager.java366 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in applyDisplayMetricsToConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2365 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in computeScreenConfiguration()
2391 config.touchscreen = Configuration.TOUCHSCREEN_FINGER; in computeScreenConfiguration()
2394 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in computeScreenConfiguration()
DActivityTaskManagerService.java1140 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo()
4392 values.touchscreen, in updateGlobalConfigurationLocked()
4594 && config.touchscreen == Configuration.TOUCHSCREEN_NOTOUCH in updateShouldShowDialogsLocked()
/frameworks/proto_logging/stats/
Datoms.proto2484 // See: https://d.android.com/reference/android/content/res/Configuration.html#touchscreen
2485 optional int32 touchscreen = 16; field
4494 * and the standard deviation of the time spent processing touchscreen events
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8832 field public static final java.lang.String FEATURE_TOUCHSCREEN = "android.hardware.touchscreen";
8833 … final java.lang.String FEATURE_TOUCHSCREEN_MULTITOUCH = "android.hardware.touchscreen.multitouch";
8834 …ang.String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = "android.hardware.touchscreen.multitouch.dist…
8835 …ang.String FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND = "android.hardware.touchscreen.multitouch.jazz…
9180 field public int touchscreen;

12