Merge "Adding a feature denoting support for 5 or more fully independent multitouch pointers." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
e1aa82a422
@@ -49164,6 +49164,17 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value=""android.hardware.touchscreen.multitouch.jazzhand""
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="FEATURE_WIFI"
|
<field name="FEATURE_WIFI"
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
transient="false"
|
transient="false"
|
||||||
|
|||||||
@@ -799,6 +799,15 @@ public abstract class PackageManager {
|
|||||||
@SdkConstant(SdkConstantType.FEATURE)
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
public static final String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = "android.hardware.touchscreen.multitouch.distinct";
|
public static final String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = "android.hardware.touchscreen.multitouch.distinct";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
|
* {@link #hasSystemFeature}: The device's touch screen is capable of
|
||||||
|
* tracking a full hand of fingers fully independently -- that is, 5 or
|
||||||
|
* more simultaneous independent pointers.
|
||||||
|
*/
|
||||||
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
|
public static final String FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND = "android.hardware.touchscreen.multitouch.jazzhand";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feature for {@link #getSystemAvailableFeatures} and
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
* {@link #hasSystemFeature}: The device supports live wallpapers.
|
* {@link #hasSystemFeature}: The device supports live wallpapers.
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a touchscreen that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.jazzhand" />
|
||||||
|
</permissions>
|
||||||
@@ -38,10 +38,19 @@
|
|||||||
<!-- devices with a front facing camera must include
|
<!-- devices with a front facing camera must include
|
||||||
android.hardware.camera.front.xml -->
|
android.hardware.camera.front.xml -->
|
||||||
<!-- devices with WiFi must also include android.hardware.wifi.xml -->
|
<!-- devices with WiFi must also include android.hardware.wifi.xml -->
|
||||||
<!-- devices with limited/gestural multitouch must also include
|
<!-- devices that support multitouch must include the most appropriate one
|
||||||
android.hardware.touchscreen.multitouch.xml -->
|
of these files:
|
||||||
<!-- devices with full multitouch must also include
|
|
||||||
android.hardware.touchscreen.multitouch.distinct.xml -->
|
If only partial (non-independent) pointers are supported:
|
||||||
|
android.hardware.touchscreen.multitouch.xml
|
||||||
|
|
||||||
|
If up to 4 independently tracked pointers are supported:
|
||||||
|
include android.hardware.touchscreen.multitouch.distinct.xml
|
||||||
|
|
||||||
|
If 5 or more independently tracked pointers are supported:
|
||||||
|
include android.hardware.touchscreen.multitouch.jazzhand.xml
|
||||||
|
|
||||||
|
ONLY ONE of the above should be included. -->
|
||||||
<!-- devices with an ambient light sensor must also include
|
<!-- devices with an ambient light sensor must also include
|
||||||
android.hardware.sensor.light.xml -->
|
android.hardware.sensor.light.xml -->
|
||||||
<!-- devices with a proximity sensor must also include
|
<!-- devices with a proximity sensor must also include
|
||||||
|
|||||||
Reference in New Issue
Block a user