Home | History | Annotate | Download | only in com.example.android.wearable.synchronizednotifications

Lines Matching refs:Constants

29 import com.example.android.wearable.synchronizednotifications.common.Constants;
68 if (Constants.ACTION_DISMISS.equals(action)) {
71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
72 if (notificationId == Constants.BOTH_ID) {
95 String content = dataMap.getString(Constants.KEY_CONTENT);
96 String title = dataMap.getString(Constants.KEY_TITLE);
97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) {
109 .cancel(Constants.WATCH_ONLY_ID);
126 Intent dismissIntent = new Intent(Constants.ACTION_DISMISS);
127 dismissIntent.putExtra(Constants.KEY_NOTIFICATION_ID, Constants.BOTH_ID);
134 .notify(Constants.WATCH_ONLY_ID, builder.build());
140 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build();