/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | VoicemailImpl.java | 64 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() 65 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion() 73 public static Builder createForUpdate(long id) { in createForUpdate() 74 return new Builder().setId(id); in createForUpdate() 81 public static Builder createEmptyBuilder() { in createEmptyBuilder() 82 return new Builder(); in createEmptyBuilder() 92 public static class Builder { class in VoicemailImpl 104 private Builder() { in Builder() method in VoicemailImpl.Builder 107 public Builder setNumber(String number) { in setNumber() 112 public Builder setTimestamp(long timestamp) { in setTimestamp() [all …]
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | NotificationPresets.java | 70 private static NotificationCompat.Builder applyBasicOptions(Context context, in applyBasicOptions() 71 NotificationCompat.Builder builder, NotificationCompat.WearableExtender wearableOptions, in applyBasicOptions() 105 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in buildNotifications() 158 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) in buildNotifications() 190 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) in buildNotifications() 215 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) in buildNotifications() 238 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) in buildNotifications() 256 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in buildNotifications() 261 NotificationCompat.Builder secondPageBuilder = new NotificationCompat.Builder(context); in buildNotifications() 282 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in buildNotifications() [all …]
|
D | ActionsPresets.java | 45 public void apply(Context context, NotificationCompat.Builder builder, in apply() 56 public void apply(Context context, NotificationCompat.Builder builder, in apply() 72 public void apply(Context context, NotificationCompat.Builder builder, in apply() 88 public void apply(Context context, NotificationCompat.Builder builder, in apply() 90 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) in apply() 93 NotificationCompat.Action action = new NotificationCompat.Action.Builder( in apply() 110 public void apply(Context context, NotificationCompat.Builder builder, in apply() 112 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) in apply() 117 NotificationCompat.Action action = new NotificationCompat.Action.Builder( in apply() 134 public void apply(Context context, NotificationCompat.Builder builder, in apply() [all …]
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/ |
D | StandaloneMainActivity.java | 233 new NotificationCompat.Action.Builder( in generateBigTextStyleNotification() 245 new NotificationCompat.Action.Builder( in generateBigTextStyleNotification() 259 NotificationCompat.Builder notificationCompatBuilder = in generateBigTextStyleNotification() 260 new NotificationCompat.Builder(getApplicationContext()); in generateBigTextStyleNotification() 295 NotificationCompat.Action mainAction = new NotificationCompat.Action.Builder( in generateBigTextStyleNotification() 381 new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) in generateBigPictureStyleNotification() 400 new NotificationCompat.Action.Builder( in generateBigPictureStyleNotification() 415 NotificationCompat.Builder notificationCompatBuilder = in generateBigPictureStyleNotification() 416 new NotificationCompat.Builder(getApplicationContext()); in generateBigPictureStyleNotification() 505 NotificationCompat.Builder notificationCompatBuilder = in generateInboxStyleNotification() [all …]
|
D | GlobalNotificationBuilder.java | 45 private static NotificationCompat.Builder sGlobalNotificationCompatBuilder = null; 53 public static void setNotificationCompatBuilderInstance (NotificationCompat.Builder builder) { in setNotificationCompatBuilderInstance() 57 public static NotificationCompat.Builder getNotificationCompatBuilderInstance(){ in getNotificationCompatBuilderInstance()
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutPublisher.java | 21 import android.app.Notification.Builder; 190 public static ShortcutInfo.Builder addRandomIntents(Context context, ShortcutInfo.Builder b) { in addRandomIntents() 204 public static ShortcutInfoCompat.Builder addRandomIntents(Context context, in addRandomIntents() 205 ShortcutInfoCompat.Builder b) { in addRandomIntents() 234 final ShortcutInfo si1 = addRandomIntents(this, new ShortcutInfo.Builder(this, "shortcut1")) in onPublishPressed() 238 final ShortcutInfo si2 = new ShortcutInfo.Builder(this, SETUP_SHORTCUT_ID) in onPublishPressed() 245 final ShortcutInfo si3 = new ShortcutInfo.Builder(this, "shortcut3") in onPublishPressed() 271 final ShortcutInfo si = addRandomIntents(this, new ShortcutInfo.Builder(this, in onAddPressed() 287 updateList.add(addRandomIntents(this, new ShortcutInfo.Builder(this, si.getId())) in onUpdatePressed() 308 final RemoteInput ri = new RemoteInput.Builder("result").setLabel("Remote input").build(); in onShowNotificationPressed() [all …]
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 143 final ShortcutInfo.Builder b = new ShortcutInfo.Builder( in refreshShortcuts() 165 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mContext, urlAsString); in createShortcutForUrl() 176 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation() 192 private ShortcutInfo.Builder setExtras(ShortcutInfo.Builder b) { in setExtras() 233 new ShortcutInfoCompat.Builder(mContext, id).build(), in requestPinShortcut()
|
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/ |
D | MainActivity.java | 255 new NotificationCompat.Action.Builder( in generateBigTextStyleNotification() 268 new NotificationCompat.Action.Builder( in generateBigTextStyleNotification() 282 NotificationCompat.Builder notificationCompatBuilder = in generateBigTextStyleNotification() 283 new NotificationCompat.Builder(getApplicationContext()); in generateBigTextStyleNotification() 407 new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) in generateBigPictureStyleNotification() 428 new NotificationCompat.Action.Builder( in generateBigPictureStyleNotification() 441 NotificationCompat.Builder notificationCompatBuilder = in generateBigPictureStyleNotification() 442 new NotificationCompat.Builder(getApplicationContext()); in generateBigPictureStyleNotification() 563 NotificationCompat.Builder notificationCompatBuilder = in generateInboxStyleNotification() 564 new NotificationCompat.Builder(getApplicationContext()); in generateInboxStyleNotification() [all …]
|
D | GlobalNotificationBuilder.java | 45 private static NotificationCompat.Builder sGlobalNotificationCompatBuilder = null; 53 public static void setNotificationCompatBuilderInstance (NotificationCompat.Builder builder) { in setNotificationCompatBuilderInstance() 57 public static NotificationCompat.Builder getNotificationCompatBuilderInstance(){ in getNotificationCompatBuilderInstance()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlertDialogSamples.java | 87 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() 103 return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_TRADITIONAL) in onCreateDialog() 116 return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_HOLO_LIGHT) in onCreateDialog() 129 … return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_DEVICE_DEFAULT_LIGHT) in onCreateDialog() 141 … return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_DEVICE_DEFAULT_DARK) in onCreateDialog() 153 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() 176 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() 199 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() 206 new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() 238 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog() [all …]
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
D | BigTextIntentService.java | 90 NotificationCompat.Builder notificationCompatBuilder = in handleActionSnooze() 123 private NotificationCompat.Builder recreateBuilderWithBigTextStyle() { in recreateBuilderWithBigTextStyle() 163 new NotificationCompat.Action.Builder( in recreateBuilderWithBigTextStyle() 175 new NotificationCompat.Action.Builder( in recreateBuilderWithBigTextStyle() 183 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithBigTextStyle() 184 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithBigTextStyle() 212 NotificationCompat.Action mainAction = new NotificationCompat.Action.Builder( in recreateBuilderWithBigTextStyle()
|
D | MessagingIntentService.java | 95 NotificationCompat.Builder notificationCompatBuilder = in handleActionReply() 142 private NotificationCompat.Builder recreateBuilderWithMessagingStyle() { in recreateBuilderWithMessagingStyle() 173 Notification chatHistoryForWearV1 = new NotificationCompat.Builder(getApplicationContext()) in recreateBuilderWithMessagingStyle() 201 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) in recreateBuilderWithMessagingStyle() 217 new NotificationCompat.Action.Builder( in recreateBuilderWithMessagingStyle() 230 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithMessagingStyle() 231 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithMessagingStyle()
|
D | BigPictureSocialIntentService.java | 94 NotificationCompat.Builder notificationCompatBuilder = in handleActionComment() 133 private NotificationCompat.Builder recreateBuilderWithBigPictureStyle() { in recreateBuilderWithBigPictureStyle() 171 new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) in recreateBuilderWithBigPictureStyle() 188 new NotificationCompat.Action.Builder( in recreateBuilderWithBigPictureStyle() 198 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithBigPictureStyle() 199 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithBigPictureStyle()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 141 final ShortcutInfo.Builder b = new ShortcutInfo.Builder( in refreshShortcuts() 162 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mContext, urlAsString); in createShortcutForUrl() 173 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation() 189 private ShortcutInfo.Builder setExtras(ShortcutInfo.Builder b) { in setExtras()
|
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
D | MessagingIntentService.java | 97 NotificationCompat.Builder notificationCompatBuilder = in handleActionReply() 144 private NotificationCompat.Builder recreateBuilderWithMessagingStyle() { in recreateBuilderWithMessagingStyle() 176 Notification chatHistoryForWearV1 = new NotificationCompat.Builder(getApplicationContext()) in recreateBuilderWithMessagingStyle() 207 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) in recreateBuilderWithMessagingStyle() 223 new NotificationCompat.Action.Builder( in recreateBuilderWithMessagingStyle() 234 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithMessagingStyle() 235 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithMessagingStyle()
|
D | BigTextIntentService.java | 89 NotificationCompat.Builder notificationCompatBuilder = in handleActionSnooze() 122 private NotificationCompat.Builder recreateBuilderWithBigTextStyle() { in recreateBuilderWithBigTextStyle() 163 new NotificationCompat.Action.Builder( in recreateBuilderWithBigTextStyle() 176 new NotificationCompat.Action.Builder( in recreateBuilderWithBigTextStyle() 183 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithBigTextStyle() 184 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithBigTextStyle()
|
D | BigPictureSocialIntentService.java | 96 NotificationCompat.Builder notificationCompatBuilder = in handleActionComment() 133 private NotificationCompat.Builder recreateBuilderWithBigPictureStyle() { in recreateBuilderWithBigPictureStyle() 174 new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) in recreateBuilderWithBigPictureStyle() 191 new NotificationCompat.Action.Builder( in recreateBuilderWithBigPictureStyle() 199 NotificationCompat.Builder notificationCompatBuilder = in recreateBuilderWithBigPictureStyle() 200 new NotificationCompat.Builder(getApplicationContext()); in recreateBuilderWithBigPictureStyle()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
D | Utils.java | 44 StrictMode.ThreadPolicy.Builder threadPolicyBuilder = in enableStrictMode() 45 new StrictMode.ThreadPolicy.Builder() in enableStrictMode() 50 StrictMode.VmPolicy.Builder vmPolicyBuilder = in enableStrictMode() 51 new StrictMode.VmPolicy.Builder() in enableStrictMode()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | Utils.java | 37 StrictMode.ThreadPolicy.Builder threadPolicyBuilder = in enableStrictMode() 38 new StrictMode.ThreadPolicy.Builder() in enableStrictMode() 41 StrictMode.VmPolicy.Builder vmPolicyBuilder = in enableStrictMode() 42 new StrictMode.VmPolicy.Builder() in enableStrictMode()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | Card.java | 377 public static class Builder { class in Card 386 protected Builder(OnCardClickListener listener, Card card) { in Builder() method in Card.Builder 396 public Builder(OnCardClickListener listener, String tag) { in Builder() method in Card.Builder 402 public Builder setTitle(String title) { in setTitle() 407 public Builder setDescription(String desc) { in setDescription() 422 public Builder addAction(String label, int id, int type) { in addAction() 435 public Builder setLayout(int layout) { in setLayout() 456 public Builder setProgressType(int progressType) { in setProgressType() 461 public Builder setProgressLabel(String label) { in setProgressLabel() 470 public Builder setProgressMaxValue(int maxValue) { in setProgressMaxValue() [all …]
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
D | NotificationsActivity.java | 38 Notification.Builder builder = new Notification.Builder(this) in onPostDirect() 54 Notification.Builder builder = new Notification.Builder(this) in onPostInterstitial()
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingService.java | 97 RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_REMOTE_REPLY) in sendNotificationForConversation() 108 NotificationCompat.Action actionReplyByRemoteInput = new NotificationCompat.Action.Builder( in sendNotificationForConversation() 115 UnreadConversation.Builder unreadConvBuilder = in sendNotificationForConversation() 116 new UnreadConversation.Builder(conversation.getParticipantName()) in sendNotificationForConversation() 133 NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext()) in sendNotificationForConversation()
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | RecipeService.java | 73 NotificationCompat.Builder builder = new NotificationCompat.Builder(this); in createNotification() 78 NotificationCompat.Builder builder = new NotificationCompat.Builder(this); in createNotification()
|
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
D | QuizListenerService.java | 82 GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) in onDataChanged() 116 Notification.Builder builder = new Notification.Builder(this) in onDataChanged() 125 Notification answerPage = new Notification.Builder(this) in onDataChanged() 142 Notification.Action action = new Notification.Action.Builder( in onDataChanged() 180 Notification.Builder builder = new Notification.Builder(this) in onMessageReceived()
|
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
D | AdvertiserService.java | 167 AdvertiseData.Builder dataBuilder = new AdvertiseData.Builder(); in buildAdvertiseData() 183 AdvertiseSettings.Builder settingsBuilder = new AdvertiseSettings.Builder(); in buildAdvertiseSettings()
|