/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 21 import android.support.v4.app.RemoteInput; 90 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 98 .addRemoteInput(remoteInput) 112 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 122 .addRemoteInput(remoteInput) 144 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 21 import android.support.v4.app.RemoteInput; 90 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 98 .addRemoteInput(remoteInput) 112 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 122 .addRemoteInput(remoteInput) 144 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
ActionsPresets.java | 21 import android.support.v4.app.RemoteInput; 90 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 98 .addRemoteInput(remoteInput) 112 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY) 122 .addRemoteInput(remoteInput) 144 RemoteInput remoteInput = new RemoteInput.Builder(NotificationUtil.EXTRA_REPLY [all...] |
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReplyReceiver.java | 26 import android.support.v4.app.RemoteInput; 65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process 66 * the RemoteInput. 69 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 70 if (remoteInput != null) { 71 return remoteInput.getCharSequence(
|
MessagingService.java | 31 import android.support.v4.app.RemoteInput; 95 // Build a RemoteInput for receiving voice input in a Car Notification or text input on 97 RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_REMOTE_REPLY) 110 .addRemoteInput(remoteInput) 119 .setReplyAction(replyIntent, remoteInput);
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReplyReceiver.java | 26 import android.support.v4.app.RemoteInput; 65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process 66 * the RemoteInput. 69 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 70 if (remoteInput != null) { 71 return remoteInput.getCharSequence(
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessageReplyReceiver.java | 26 import android.support.v4.app.RemoteInput; 65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process 66 * the RemoteInput. 69 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 70 if (remoteInput != null) { 71 return remoteInput.getCharSequence(
|
/developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 28 import android.support.v4.app.RemoteInput; 119 * Extracts CharSequence created from the RemoteInput associated with the Notification. 122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 123 if (remoteInput != null) { 124 return remoteInput.getCharSequence(EXTRA_COMMENT); 140 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 171 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 173 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 28 import android.support.v4.app.RemoteInput; 131 * Extracts CharSequence created from the RemoteInput associated with the Notification. 134 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 135 if (remoteInput != null) { 136 return remoteInput.getCharSequence(EXTRA_REPLY); 153 // 4. Set up RemoteInput (users can input directly from notification) 195 // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification. 197 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 27 import android.support.v4.app.RemoteInput; 120 * Extracts CharSequence created from the RemoteInput associated with the Notification. 123 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 124 if (remoteInput != null) { 125 return remoteInput.getCharSequence(EXTRA_COMMENT); 142 // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification 175 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 178 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 27 import android.support.v4.app.RemoteInput; 129 * Extracts CharSequence created from the RemoteInput associated with the Notification. 132 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 133 if (remoteInput != null) { 134 return remoteInput.getCharSequence(EXTRA_REPLY); 151 // 4. Set up RemoteInput (users can input directly from notification) 189 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 192 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 28 import android.support.v4.app.RemoteInput; 119 * Extracts CharSequence created from the RemoteInput associated with the Notification. 122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 123 if (remoteInput != null) { 124 return remoteInput.getCharSequence(EXTRA_COMMENT); 140 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 171 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 173 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 28 import android.support.v4.app.RemoteInput; 131 * Extracts CharSequence created from the RemoteInput associated with the Notification. 134 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 135 if (remoteInput != null) { 136 return remoteInput.getCharSequence(EXTRA_REPLY); 153 // 4. Set up RemoteInput (users can input directly from notification) 195 // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification. 197 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 27 import android.support.v4.app.RemoteInput; 120 * Extracts CharSequence created from the RemoteInput associated with the Notification. 123 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 124 if (remoteInput != null) { 125 return remoteInput.getCharSequence(EXTRA_COMMENT); 142 // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification 175 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 178 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 27 import android.support.v4.app.RemoteInput; 129 * Extracts CharSequence created from the RemoteInput associated with the Notification. 132 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 133 if (remoteInput != null) { 134 return remoteInput.getCharSequence(EXTRA_REPLY); 151 // 4. Set up RemoteInput (users can input directly from notification) 189 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 192 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 27 import android.support.v4.app.RemoteInput; 119 * Extracts CharSequence created from the RemoteInput associated with the Notification. 122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 123 if (remoteInput != null) { 124 return remoteInput.getCharSequence(EXTRA_COMMENT); 140 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 171 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 173 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 27 import android.support.v4.app.RemoteInput; 130 * Extracts CharSequence created from the RemoteInput associated with the Notification. 133 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 134 if (remoteInput != null) { 135 return remoteInput.getCharSequence(EXTRA_REPLY); 152 // 4. Set up RemoteInput (users can input directly from notification) 205 // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification 207 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 26 import android.support.v4.app.RemoteInput; 119 * Extracts CharSequence created from the RemoteInput associated with the Notification. 122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 123 if (remoteInput != null) { 124 return remoteInput.getCharSequence(EXTRA_COMMENT); 140 // 3. Set up RemoteInput, so users can input (keyboard and voice) from notification 167 // 3. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 170 RemoteInput remoteInput [all...] |
MessagingIntentService.java | 26 import android.support.v4.app.RemoteInput; 128 * Extracts CharSequence created from the RemoteInput associated with the Notification. 131 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 132 if (remoteInput != null) { 133 return remoteInput.getCharSequence(EXTRA_REPLY); 150 // 4. Set up RemoteInput (users can input directly from notification) 198 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 201 RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY [all...] |
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ReplyToMessageIntentService.java | 22 import android.support.v4.app.RemoteInput; 91 * Extracts CharSequence created from the RemoteInput associated with the Notification. 94 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 95 if (remoteInput != null) { 96 return remoteInput.getCharSequence(Constants.EXTRA_REPLY);
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompatJellybean.java | 120 RemoteInput[] remoteInputs = null; 121 RemoteInput[] dataOnlyRemoteInputs = null; 261 private static RemoteInput fromBundle(Bundle data) { 269 return new RemoteInput(data.getString(KEY_RESULT_KEY), 277 private static Bundle toBundle(RemoteInput remoteInput) { 279 data.putString(KEY_RESULT_KEY, remoteInput.getResultKey()); 280 data.putCharSequence(KEY_LABEL, remoteInput.getLabel()); 281 data.putCharSequenceArray(KEY_CHOICES, remoteInput.getChoices()); 282 data.putBoolean(KEY_ALLOW_FREE_FORM_INPUT, remoteInput.getAllowFreeFormInput()) [all...] |
RemoteInput.java | 34 * Helper for using the {@link android.app.RemoteInput}. 36 public final class RemoteInput extends RemoteInputCompatBase.RemoteInput { 37 private static final String TAG = "RemoteInput"; 40 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 43 public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; 47 "android.remoteinput.dataTypeResultsData"; 56 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 128 * Builder class for {@link android.support.v4.app.RemoteInput} objects. 139 * Create a builder object for {@link android.support.v4.app.RemoteInput} objects [all...] |
/frameworks/base/core/java/android/app/ |
RemoteInput.java | 32 * A {@code RemoteInput} object specifies input to be collected from a user to be passed along with 34 * Always use {@link RemoteInput.Builder} to create instances of this class. 39 * <p>The following example adds a {@code RemoteInput} to a {@link Notification.Action}, 49 * <b>.addRemoteInput(new RemoteInput.Builder(KEY_QUICK_REPLY_TEXT) 60 * Bundle results = RemoteInput.getResultsFromIntent(intent); 65 public final class RemoteInput implements Parcelable { 67 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 70 public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; 74 "android.remoteinput.dataTypeResultsData"; 89 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
NoConfirmationSmsSendService.java | 23 import android.support.v4.app.RemoteInput; 137 final Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); 138 if (remoteInput != null) { 139 final CharSequence extra = remoteInput.getCharSequence(textType);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyNotificationListenerService.java | 21 import android.app.RemoteInput; 62 final RemoteInput[] remoteInputs = action.getRemoteInputs(); 64 for (RemoteInput remoteInput : remoteInputs) { 65 sender.send("remote input extras", remoteInput.getExtras());
|