Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 25 of 121) sorted by relevance

12345

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailImpl.java64 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/
DNotificationPresets.java70 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 …]
DActionsPresets.java45 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/training/ContactsList/src/com/example/android/contactslist/util/
DUtils.java44 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/
DUtils.java37 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/AppNavigation/src/com/example/android/appnavigation/app/
DNotificationsActivity.java38 Notification.Builder builder = new Notification.Builder(this) in onPostDirect()
54 Notification.Builder builder = new Notification.Builder(this) in onPostInterstitial()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DNotificationsActivity.java51 NotificationCompat.Builder builder = new NotificationCompat.Builder(this) in onPostDirect()
67 NotificationCompat.Builder builder = new NotificationCompat.Builder(this) in onPostInterstitial()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlertDialogSamples.java85 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
101 return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_TRADITIONAL) in onCreateDialog()
114 return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_HOLO_LIGHT) in onCreateDialog()
127 … return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_DEVICE_DEFAULT_LIGHT) in onCreateDialog()
139 … return new AlertDialog.Builder(AlertDialogSamples.this, AlertDialog.THEME_DEVICE_DEFAULT_DARK) in onCreateDialog()
151 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
174 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
197 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
204 new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
236 return new AlertDialog.Builder(AlertDialogSamples.this) in onCreateDialog()
[all …]
DSearchInvoke.java149 new AlertDialog.Builder(this) in onOptionsItemSelected()
161 new AlertDialog.Builder(this) in onOptionsItemSelected()
168 new AlertDialog.Builder(this) in onOptionsItemSelected()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeService.java73 NotificationCompat.Builder builder = new NotificationCompat.Builder(this); in createNotification()
78 NotificationCompat.Builder builder = new NotificationCompat.Builder(this); in createNotification()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java376 public static class Builder { class in Card
385 protected Builder(OnCardClickListener listener, Card card) { in Builder() method in Card.Builder
395 public Builder(OnCardClickListener listener, String tag) { in Builder() method in Card.Builder
401 public Builder setTitle(String title) { in setTitle()
406 public Builder setDescription(String desc) { in setDescription()
421 public Builder addAction(String label, int id, int type) { in addAction()
434 public Builder setLayout(int layout) { in setLayout()
455 public Builder setProgressType(int progressType) { in setProgressType()
460 public Builder setProgressLabel(String label) { in setProgressLabel()
469 public Builder setProgressMaxValue(int maxValue) { in setProgressMaxValue()
[all …]
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingService.java126 RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY) in sendNotificationForConversation()
138 UnreadConversation.Builder unreadConvBuilder = in sendNotificationForConversation()
139 new UnreadConversation.Builder(conversation.getParticipantName()) in sendNotificationForConversation()
156 NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext()) in sendNotificationForConversation()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java104 MediaMetadataCompat.Builder bob = new MediaMetadataCompat.Builder(); in updateMetadata()
117 PlaybackStateCompat.Builder bob = new PlaybackStateCompat.Builder(); in publishState()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DViewfinderProcessor.java58 Type.Builder yuvTypeBuilder = new Type.Builder(rs, Element.YUV(rs)); in ViewfinderProcessor()
67 Type.Builder rgbTypeBuilder = new Type.Builder(rs, Element.RGBA_8888(rs)); in ViewfinderProcessor()
DMessageDialogFragment.java47 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java36 Notification.Builder notificationBuilder = new Notification.Builder(this) in onPeerDisconnected()
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
DResponderService.java94 NotificationCompat.Builder builder = new NotificationCompat.Builder(this) in showNotification()
106 .addAction(new NotificationCompat.Action.Builder( in showNotification()
108 .addRemoteInput(new RemoteInput.Builder(EXTRA_REPLY) in showNotification()
/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
DMainActivity.java49 NotificationCompat.Builder builder = new NotificationCompat.Builder(this); in sendNotification()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java85 GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) in onDataChanged()
119 Notification.Builder builder = new Notification.Builder(this) in onDataChanged()
128 Notification answerPage = new Notification.Builder(this) in onDataChanged()
145 Notification.Action action = new Notification.Action.Builder( in onDataChanged()
183 Notification.Builder builder = new Notification.Builder(this) in onMessageReceived()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java58 mGoogleApiClient = new GoogleApiClient.Builder(this) in onCreate()
121 Notification.Builder builder = new Notification.Builder(this) in buildWearableOnlyNotification()
141 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build(); in onConnected()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java68 mGoogleApiClient = new GoogleApiClient.Builder(this) in onCreate()
101 Uri.Builder builder = new Uri.Builder(); in onConnected()
138 AlertDialog.Builder builder = new AlertDialog.Builder(this); in displayNoConnectedDeviceDialog()
/development/samples/training/notify-user/src/com/example/android/pingme/
DPingService.java34 NotificationCompat.Builder builder;
85 new NotificationCompat.Builder(this) in issueNotification()
127 private void issueNotification(NotificationCompat.Builder builder) { in issueNotification()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java55 mGoogleApiClient = new GoogleApiClient.Builder(this) in onCreate()
88 Notification notification = new Notification.Builder(this) in onTimerSelected()
102 Notification notification = new Notification.Builder(this) in onTimerFinished()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactOperations.java108 ContentProviderOperation.Builder builder = in ContactOperations()
366 ContentProviderOperation.Builder builder = in addInsertOp()
380 ContentProviderOperation.Builder builder = in addUpdateOp()
386 public static ContentProviderOperation.Builder newInsertCpo(Uri uri, in newInsertCpo()
393 public static ContentProviderOperation.Builder newUpdateCpo(Uri uri, in newUpdateCpo()
400 public static ContentProviderOperation.Builder newDeleteCpo(Uri uri, in newDeleteCpo()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java488 Card c = new Card.Builder(this, CARD_INTRO) in showIntroCard()
521 Card c = new Card.Builder(this, CARD_COUNTING) in initialiseCards()
529 c = new Card.Builder(this, CARD_REGISTER_DETECTOR) in initialiseCards()
542 c = new Card.Builder(this, CARD_REGISTER_COUNTER) in initialiseCards()
556 c = new Card.Builder(this, CARD_BATCHING_DESCRIPTION) in initialiseCards()
565 c = new Card.Builder(this, CARD_EXPLANATION) in initialiseCards()
573 c = new Card.Builder(this, CARD_NOBATCHSUPPORT) in initialiseCards()

12345