Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java184 public int touchscreen; field in Configuration
445 touchscreen = o.touchscreen; in setTo()
535 switch (touchscreen) { in toString()
540 default: sb.append(" touch="); sb.append(touchscreen); break; in toString()
592 touchscreen = TOUCHSCREEN_UNDEFINED; in setToDefaults()
647 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in updateFrom()
648 && touchscreen != delta.touchscreen) { in updateFrom()
650 touchscreen = delta.touchscreen; in updateFrom()
773 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in diff()
774 && touchscreen != delta.touchscreen) { in diff()
[all …]
DAssetManager.java653 int orientation, int touchscreen, int density, int keyboard, in setConfiguration() argument
/frameworks/base/docs/html/training/tv/
Dunsupported-features-tv.jd63 <td>android.hardware.touchscreen</td>
81 Android doesn't support touchscreen interaction for TV devices, most TVs don't have touch screens,
82 and interacting with a TV using a touchscreen is not consistent with the 10 foot environment. For
88 on this topic. The Android system assumes that a device has a touchscreen, so if you want your appl…
89 to run on a TV, you must <strong>explicitly</strong> disable the touchscreen requirement in your ma…
91 &lt;uses-feature android:name="android.hardware.touchscreen" android:required="false"/&gt;
133 feature you want to check. For example, to check for touchscreen, use
145 // Check if android.hardware.touchscreen feature is available.
146 } else if (getPackageManager().hasSystemFeature("android.hardware.touchscreen")) {
147 Log.d("Tablet Test", "Running on devices that don't support telphony but have a touchscreen.");
Doptimizing-navigation-tv.jd34 around your application when using a remote control instead of a touchscreen.
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp33 jfieldID touchscreen; member
51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); in android_Configuration_getFromJava()
103 GET_FIELD_ID(gConfigurationClassInfo.touchscreen, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp509 jint touchscreen, jint density, in android_content_AssetManager_setConfiguration() argument
531 config.touchscreen = (uint8_t)touchscreen; in android_content_AssetManager_setConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp67 return config->touchscreen; in AConfiguration_getTouchscreen()
150 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) { in AConfiguration_setTouchscreen() argument
151 config->touchscreen = touchscreen; in AConfiguration_setTouchscreen()
/frameworks/base/tools/aapt/
DAaptAssets.cpp252 *value = config.touchscreen; in parseNamePart()
323 return config.touchscreen; in getConfigValueForAxis()
671 this->touchscreen = touch; in initFromDirName()
712 s += touchscreen; in toString()
804 if (this->touchscreen != "") { in toDirName()
808 s += touchscreen; in toDirName()
1169 if (out) out->touchscreen = out->TOUCHSCREEN_ANY; in getTouchscreenName()
1172 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH; in getTouchscreenName()
1175 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS; in getTouchscreenName()
1178 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER; in getTouchscreenName()
[all …]
DAaptAssets.h130 String8 touchscreen; member
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java103 assertEquals(config.reqTouchScreen, vconfig.touchscreen); in testGetDeviceConfigurationInfo()
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd521 uses-feature:'android.hardware.touchscreen'
724 only if it offers an emulated touchscreen ("fake touch" interface), or better. A device that offers
725 a fake touch interface provides a user input system that emulates a subset of touchscreen
732 android.hardware.touchscreen} feature by default, if you want your application to be available to
735 android:name="android.hardware.touchscreen" <strong>android:required="false"</strong>
747 android.hardware.touchscreen.multitouch.distinct}, input devices that support distinct multi-touch
764 android.hardware.touchscreen.multitouch.jazzhand}, input devices that support jazzhand multi-touch
774 <td><code>android.hardware.touchscreen</code></td>
775 <td>The application uses touchscreen capabilities for gestures that are more interactive
781 required, by declaring {@code android.hardware.touchscreen} with {@code android:required="false"}.
[all …]
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dindex.jd33 prevent them from fully seeing or using a touchscreen.</p>
Dapps.jd129 without using the touchscreen and that clicking with the center button (or OK button) of a
130 directional controller has the same effect as touching the controls on the touchscreen. For
235 touchscreen. </p>
/frameworks/native/include/android/
Dconfiguration.h198 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1494 if (touchscreen != o.touchscreen) { in compareLogical()
1495 return touchscreen < o.touchscreen ? -1 : 1; in compareLogical()
1519 if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN; in diff()
1610 if (touchscreen != o.touchscreen) { in isMoreSpecificThan()
1611 if (!touchscreen) return false; in isMoreSpecificThan()
1612 if (!o.touchscreen) return true; in isMoreSpecificThan()
1804 if ((touchscreen != o.touchscreen) && requested->touchscreen) { in isBetterThan()
1805 return (touchscreen); in isBetterThan()
1955 if (touchscreen != 0 && touchscreen != settings.touchscreen) { in match()
2165 if (touchscreen != TOUCHSCREEN_ANY) { in toString()
[all …]
/frameworks/base/docs/html/design/style/
Dmetrics-grids.jd42 comfortably in the range of recommended target sizes (7-10 mm) for touchscreen objects and users
/frameworks/base/docs/html/training/multiple-apks/
Dtexture.jd281 uses-feature:'android.hardware.touchscreen'
299 …roid.hardware.touchscreen</code> requirement is also implicitly added. If you want your APK to be …
301 &lt;uses-feature android:name="android.hardware.touchscreen" android:required="false" /&gt;
Dapi.jd362 uses-feature:'android.hardware.touchscreen'
380 …roid.hardware.touchscreen</code> requirement is also implicitly added. If you want your APK to be …
382 &lt;uses-feature android:name="android.hardware.touchscreen" android:required="false" /&gt;
Dscreensize.jd336 uses-feature:'android.hardware.touchscreen'
355 …roid.hardware.touchscreen</code> requirement is also implicitly added. If you want your APK to be …
357 &lt;uses-feature android:name="android.hardware.touchscreen" android:required="false" /&gt;
Dmultiple.jd458 uses-feature:'android.hardware.touchscreen'
476 …roid.hardware.touchscreen</code> requirement is also implicitly added. If you want your APK to be …
478 &lt;uses-feature android:name="android.hardware.touchscreen" android:required="false" /&gt;
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd859 emulated touchscreen (or better). A device that offers an emulated touchscreen provides a user input
860 system that can emulate a subset of touchscreen
866 <em>not</em> want your application filtered from devices with an emulated touchscreen, you
871 including those that provide only an emulated touchscreen input.</p>
872 <p>All devices that include a touchscreen also support {@link
874 touchscreen capabilities are a superset of faketouch capabilities. Thus, unless you actually require
875 a touchscreen, you should add a <a
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd623 <li>{@code notouch}: Device does not have a touchscreen.</li>
624 <li>{@code finger}: Device has a touchscreen that is intended to
627 <p>Also see the {@link android.content.res.Configuration#touchscreen} configuration field,
628 which indicates the type of touchscreen on the device.</p>
712 touchscreen.</li>
1121 choice on the list includes three qualifiers that exactly match the device (orientation, touchscreen
/frameworks/base/include/androidfw/
DResourceTypes.h864 uint8_t touchscreen; member
/frameworks/base/docs/html/training/accessibility/
Daccessible-app.jd97 than the touchscreen, like a D-Pad, arrow keys, or a trackball. In addition,
/frameworks/base/docs/html/training/custom-views/
Dcreate-view.jd263 prevent them from seeing or using a touchscreen. To support users with disabilities,

12