Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java286 public int touchscreen; field in Configuration
604 touchscreen = o.touchscreen; in setTo()
711 switch (touchscreen) { in toString()
716 default: sb.append(" touch="); sb.append(touchscreen); break; in toString()
768 touchscreen = TOUCHSCREEN_UNDEFINED; in setToDefaults()
833 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in updateFrom()
834 && touchscreen != delta.touchscreen) { in updateFrom()
836 touchscreen = delta.touchscreen; in updateFrom()
980 if (delta.touchscreen != TOUCHSCREEN_UNDEFINED in diff()
981 && touchscreen != delta.touchscreen) { in diff()
[all …]
DAssetManager.java659 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.cpp502 jint touchscreen, jint density, in android_content_AssetManager_setConfiguration() argument
524 config.touchscreen = (uint8_t)touchscreen; in android_content_AssetManager_setConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp67 return config->touchscreen; in AConfiguration_getTouchscreen()
155 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) { in AConfiguration_setTouchscreen() argument
156 config->touchscreen = touchscreen; in AConfiguration_setTouchscreen()
/frameworks/base/tools/aapt/
DAaptAssets.cpp259 *value = config.touchscreen; in parseNamePart()
332 return config.touchscreen; in getConfigValueForAxis()
692 this->touchscreen = touch; in initFromDirName()
736 s += touchscreen; in toString()
834 if (this->touchscreen != "") { in toDirName()
838 s += touchscreen; in toDirName()
1229 if (out) out->touchscreen = out->TOUCHSCREEN_ANY; in getTouchscreenName()
1232 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH; in getTouchscreenName()
1235 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS; in getTouchscreenName()
1238 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER; in getTouchscreenName()
[all …]
DAaptAssets.h132 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.jd516 uses-feature:'android.hardware.touchscreen'
725 only if it offers an emulated touchscreen ("fake touch" interface), or better. A device that offers
726 a fake touch interface provides a user input system that emulates a subset of touchscreen
733 android.hardware.touchscreen} feature by default, if you want your application to be available to
736 android:name="android.hardware.touchscreen" <strong>android:required="false"</strong>
748 android.hardware.touchscreen.multitouch.distinct}, input devices that support distinct multi-touch
765 android.hardware.touchscreen.multitouch.jazzhand}, input devices that support jazzhand multi-touch
775 <td><code>android.hardware.touchscreen</code></td>
776 <td>The application uses touchscreen capabilities for gestures that are more interactive
782 required, by declaring {@code android.hardware.touchscreen} with {@code android:required="false"}.
[all …]
/frameworks/native/include/android/
Dconfiguration.h206 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1637 if (touchscreen != o.touchscreen) { in compareLogical()
1638 return touchscreen < o.touchscreen ? -1 : 1; in compareLogical()
1662 if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN; in diff()
1761 if (touchscreen != o.touchscreen) { in isMoreSpecificThan()
1762 if (!touchscreen) return false; in isMoreSpecificThan()
1763 if (!o.touchscreen) return true; in isMoreSpecificThan()
1964 if ((touchscreen != o.touchscreen) && requested->touchscreen) { in isBetterThan()
1965 return (touchscreen); in isBetterThan()
2121 if (touchscreen != 0 && touchscreen != settings.touchscreen) { in match()
2346 if (touchscreen != TOUCHSCREEN_ANY) { in toString()
[all …]
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dindex.jd42 that prevent them from fully seeing or using a touchscreen, and users with hearing loss who may not
Dapps.jd149 without using the touchscreen. You should also verify that clicking with the center button (or OK
258 touchscreen. </p>
649 // click the touchscreen.
/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/design/style/
Dmetrics-grids.jd58 comfortably in the range of recommended target sizes (7-10 mm) for touchscreen objects and users
/frameworks/base/core/java/android/app/
DResourcesManager.java114 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in applyNonDefaultDisplayMetricsToConfigurationLocked()
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd861 emulated touchscreen (or better). A device that offers an emulated touchscreen provides a user input
862 system that can emulate a subset of touchscreen
868 <em>not</em> want your application filtered from devices with an emulated touchscreen, you
873 including those that provide only an emulated touchscreen input.</p>
874 <p>All devices that include a touchscreen also support {@link
876 touchscreen capabilities are a superset of faketouch capabilities. Thus, unless you actually require
877 a touchscreen, you should add a <a
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd654 <li>{@code notouch}: Device does not have a touchscreen.</li>
655 <li>{@code finger}: Device has a touchscreen that is intended to
658 <p>Also see the {@link android.content.res.Configuration#touchscreen} configuration field,
659 which indicates the type of touchscreen on the device.</p>
743 touchscreen.</li>
1086 choice on the list includes three qualifiers that exactly match the device (orientation, touchscreen
/frameworks/base/include/androidfw/
DResourceTypes.h869 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,

12