Home
last modified time | relevance | path

Searched refs:mNotifications (Results 1 – 3 of 3) sorted by relevance

/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java155 ArrayList<Notification> mNotifications = new ArrayList<Notification>(); in onHandleIntent() local
159 int bigtextId = mNotifications.size(); in onHandleIntent()
160 mNotifications.add(makeBigTextNotification(this, 0, bigtextId, System.currentTimeMillis())); in onHandleIntent()
162 int uploadId = mNotifications.size(); in onHandleIntent()
164 mNotifications.add(makeUploadNotification(this, 10, uploadWhen)); in onHandleIntent()
166 int phoneId = mNotifications.size(); in onHandleIntent()
183 mNotifications.add(phoneCall); in onHandleIntent()
185 mNotifications.add(new NotificationCompat.Builder(this) in onHandleIntent()
193 mNotifications.add(new NotificationCompat.Builder(this) in onHandleIntent()
211 mNotifications.add(new NotificationCompat.BigPictureStyle( in onHandleIntent()
[all …]
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DNotificationListenerActivity.java155 private List<StatusBarNotification> mNotifications; field in NotificationListenerActivity.StatusAdaptor
172 return mNotifications == null ? 0 : mNotifications.size(); in getCount()
177 return mNotifications.get(position); in getItem()
187 final StatusBarNotification sbn = mNotifications.get(position); in getItemId()
203 StatusBarNotification sbn = mNotifications.get(position); in getView()
231 if (mNotifications != null) { in update()
232 synchronized (mNotifications) { in update()
234 for (int i = 0; i < mNotifications.size(); i++) { in update()
235 mKeys.add(mNotifications.get(i).getKey()); in update()
253 return mNotifications == null; in requiresInitialization()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java92 private HashMap<String, NotificationItem> mNotifications; field in BluetoothOppNotification
137 mNotifications = new HashMap<String, NotificationItem>(); in BluetoothOppNotification()
239 mNotifications.clear(); in updateActiveNotification()
260 if (mNotifications.containsKey(batchID)) { in updateActiveNotification()
281 mNotifications.put(batchID, item); in updateActiveNotification()
290 for (NotificationItem item : mNotifications.values()) { in updateActiveNotification()