Home
last modified time | relevance | path

Searched refs:moodId (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DStatusBarNotifications.java148 private PendingIntent makeMoodIntent(int moodId) { in makeMoodIntent() argument
154 new Intent(this, NotificationDisplay.class).putExtra("moodimg", moodId), in makeMoodIntent()
193 private void setMood(int moodId, int textId, boolean showTicker) { in setMood() argument
202 .setSmallIcon(moodId) // the status icon in setMood()
206 .setContentIntent(makeMoodIntent(moodId)); // The intent to send clicked in setMood()
218 private void setMoodView(int moodId, int textId) { in setMoodView() argument
226 notif.contentIntent = makeMoodIntent(moodId); in setMoodView()
233 notif.icon = moodId; in setMoodView()
238 contentView.setImageViewResource(R.id.icon, moodId); in setMoodView()
DNotifyingService.java93 private void showNotification(int moodId, int textId) { in showNotification() argument
108 .setSmallIcon(moodId) in showNotification()