HomeSort by relevance Sort by last modified time
    Searched refs:Constants (Results 101 - 125 of 560) sorted by null

1 2 3 45 6 7 8 91011>>

  /developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestWearService.java 27 import com.example.android.wearable.runtimepermissions.common.Constants;
68 if (messagePath.equals(Constants.MESSAGE_PATH_WEAR)) {
71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE);
73 if (requestType == Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION) {
76 } else if (requestType == Constants.COMM_TYPE_REQUEST_DATA) {
91 dataMap.putInt(Constants.KEY_COMM_TYPE,
92 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION);
112 dataMap.putInt(Constants.KEY_COMM_TYPE,
113 Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED);
125 dataMap.putInt(Constants.KEY_COMM_TYPE
    [all...]
  /development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
IncomingRequestWearService.java 27 import com.example.android.wearable.runtimepermissions.common.Constants;
68 if (messagePath.equals(Constants.MESSAGE_PATH_WEAR)) {
71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE);
73 if (requestType == Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION) {
76 } else if (requestType == Constants.COMM_TYPE_REQUEST_DATA) {
91 dataMap.putInt(Constants.KEY_COMM_TYPE,
92 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION);
112 dataMap.putInt(Constants.KEY_COMM_TYPE,
113 Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED);
125 dataMap.putInt(Constants.KEY_COMM_TYPE
    [all...]
  /developers/samples/android/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
MainPhoneActivity.java 34 import com.example.android.wearable.runtimepermissions.common.Constants;
115 dataMap.putInt(Constants.KEY_COMM_TYPE, Constants.COMM_TYPE_REQUEST_DATA);
161 this, Constants.CAPABILITY_WEAR_APP);
165 .getCapability(Constants.CAPABILITY_WEAR_APP, CapabilityClient.FILTER_REACHABLE);
177 capabilityName.equals(Constants.CAPABILITY_WEAR_APP);
213 dataMap.putInt(Constants.KEY_COMM_TYPE,
214 Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION);
231 if (messagePath.equals(Constants.MESSAGE_PATH_PHONE)) {
234 int commType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0)
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ActivityResultFacade.java 22 import com.googlecode.android_scripting.Constants;
37 + "startActivityForResult(), the resulting intent will contain " + Constants.EXTRA_RESULT
56 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.booleanValue());
68 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.byteValue());
80 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.shortValue());
92 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.charValue());
104 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.intValue());
116 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.longValue());
128 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.floatValue());
140 mResult.putExtra(Constants.EXTRA_RESULT, resultValue.doubleValue())
    [all...]
  /cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
BgService.java 25 import android.content.pm.cts.shortcutmanager.common.Constants;
37 .putExtra(Constants.EXTRA_REPLY_ACTION, replyAction);
46 final String replyAction = intent.getStringExtra(Constants.EXTRA_REPLY_ACTION);
48 Log.i(ThrottledTests.TAG, Constants.TEST_BG_SERVICE_THROTTLED);
  /developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
Constants.java 19 * All Constants for interaction with the Mock Database, extras between activities, and actions for
22 public class Constants {
24 /* Constants for Extras to be passed along through bundles */
45 /* Action constants for services/broadcast receiver intents */
  /developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
Constants.java 19 * All Constants for interaction with the Mock Database, extras between activities, and actions for
22 public class Constants {
24 /* Constants for Extras to be passed along through bundles */
45 /* Action constants for services/broadcast receiver intents */
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemParam.java 54 * @see org.apache.xalan.templates.Constants
60 return Constants.ELEMNAME_PARAMVARIABLE;
70 return Constants.ELEMNAME_PARAMVARIABLE_STRING;
96 if (parentToken == Constants.ELEMNAME_TEMPLATE
97 || parentToken == Constants.EXSLT_ELEMNAME_FUNCTION)
  /external/flatbuffers/java/com/google/flatbuffers/
ByteBufferUtil.java 19 import static com.google.flatbuffers.Constants.*;
  /frameworks/av/media/libaudioprocessing/
AudioResamplerSinc.h 80 struct Constants {
90 static Constants highQualityConstants;
91 static Constants veryHighQualityConstants;
92 const Constants *mConstants; // points to appropriate set of coefficient parameters
  /cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
ShortcutConfirmPin.java 22 import android.content.pm.cts.shortcutmanager.common.Constants;
55 replyAction = shortcut.getExtras().getString(Constants.EXTRA_REPLY_ACTION);
67 if (shortcut.getExtras().getBoolean(Constants.IGNORE)) {
70 ReplyUtil.sendReply(this, replyAction, Constants.REQUEST_IGNORED_MESSAGE);
75 final boolean expectPinned = shortcut.getExtras().getBoolean(Constants.ALREADY_PINNED);
81 final String expectLabel = shortcut.getExtras().getString(Constants.LABEL);
90 if (shortcut.getExtras().getBoolean(Constants.HAS_ICON)) {
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 27 import com.example.android.wearable.synchronizednotifications.common.Constants;
62 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
64 NotificationManagerCompat.from(this).cancel(Constants.BOTH_ID);
74 if (Constants.ACTION_DISMISS.equals(action)) {
77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
103 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build();
SynchronizedNotificationsFragment.java 28 import com.example.android.wearable.synchronizednotifications.common.Constants;
77 Constants.PHONE_ONLY_ID, false);
81 Constants.WATCH_ONLY_PATH);
106 Intent dismissIntent = new Intent(Constants.ACTION_DISMISS);
107 dismissIntent.putExtra(Constants.KEY_NOTIFICATION_ID, Constants.BOTH_ID);
126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content);
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title);
158 buildWearableOnlyNotification(watchTitle, content, Constants.BOTH_PATH);
161 buildLocalOnlyNotification(phoneTitle, content, Constants.BOTH_ID, true)
    [all...]
  /developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 27 import com.example.android.wearable.synchronizednotifications.common.Constants;
62 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
64 NotificationManagerCompat.from(this).cancel(Constants.BOTH_ID);
74 if (Constants.ACTION_DISMISS.equals(action)) {
77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
103 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build();
SynchronizedNotificationsFragment.java 28 import com.example.android.wearable.synchronizednotifications.common.Constants;
77 Constants.PHONE_ONLY_ID, false);
81 Constants.WATCH_ONLY_PATH);
106 Intent dismissIntent = new Intent(Constants.ACTION_DISMISS);
107 dismissIntent.putExtra(Constants.KEY_NOTIFICATION_ID, Constants.BOTH_ID);
126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content);
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title);
158 buildWearableOnlyNotification(watchTitle, content, Constants.BOTH_PATH);
161 buildLocalOnlyNotification(phoneTitle, content, Constants.BOTH_ID, true)
    [all...]
  /development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DismissListener.java 27 import com.example.android.wearable.synchronizednotifications.common.Constants;
62 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
64 NotificationManagerCompat.from(this).cancel(Constants.BOTH_ID);
74 if (Constants.ACTION_DISMISS.equals(action)) {
77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
103 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build();
SynchronizedNotificationsFragment.java 28 import com.example.android.wearable.synchronizednotifications.common.Constants;
77 Constants.PHONE_ONLY_ID, false);
81 Constants.WATCH_ONLY_PATH);
106 Intent dismissIntent = new Intent(Constants.ACTION_DISMISS);
107 dismissIntent.putExtra(Constants.KEY_NOTIFICATION_ID, Constants.BOTH_ID);
126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content);
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title);
158 buildWearableOnlyNotification(watchTitle, content, Constants.BOTH_PATH);
161 buildLocalOnlyNotification(phoneTitle, content, Constants.BOTH_ID, true)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
XSLTSchema.java 25 import org.apache.xalan.templates.Constants;
230 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", false, false, false, XSLTAttributeDef.WARNING,
231 "default", Constants.ATTRVAL_STRIP, "preserve",
232 Constants.ATTRVAL_PRESERVE);
236 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space",
254 "single", Constants.NUMBERLEVEL_SINGLE,
255 "multiple", Constants.NUMBERLEVEL_MULTI,
256 "any", Constants.NUMBERLEVEL_ANY);
276 "alphabetic", Constants.NUMBERLETTER_ALPHABETIC,
277 "traditional", Constants.NUMBERLETTER_TRADITIONAL)
    [all...]