/frameworks/support/compat/api20/android/support/v4/app/ |
RemoteInputCompatApi20.java | 19 import android.app.RemoteInput; 24 static RemoteInputCompatBase.RemoteInput[] toCompat(RemoteInput[] srcArray, 25 RemoteInputCompatBase.RemoteInput.Factory factory) { 29 RemoteInputCompatBase.RemoteInput[] result = factory.newArray(srcArray.length); 31 RemoteInput src = srcArray[i]; 38 static RemoteInput[] fromCompat(RemoteInputCompatBase.RemoteInput[] srcArray) { 42 RemoteInput[] result = new RemoteInput[srcArray.length] [all...] |
NotificationCompatApi20.java | 21 import android.app.RemoteInput; 116 for (RemoteInput remoteInput : RemoteInputCompatApi20.fromCompat( 118 actionBuilder.addRemoteInput(remoteInput); 135 RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) { 141 RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) { 142 RemoteInputCompatBase.RemoteInput[] remoteInputs = RemoteInputCompatApi20.toCompat( 155 RemoteInputCompatBase.RemoteInput[] remoteInputCompats = actionCompat.getRemoteInputs(); 157 RemoteInput[] remoteInputs = RemoteInputCompatApi20.fromCompat(remoteInputCompats); 158 for (RemoteInput remoteInput : remoteInputs) [all...] |
/frameworks/support/compat/jellybean/android/support/v4/app/ |
RemoteInputCompatJellybean.java | 26 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 29 public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; 37 static RemoteInputCompatBase.RemoteInput fromBundle(Bundle data, 38 RemoteInputCompatBase.RemoteInput.Factory factory) { 46 static Bundle toBundle(RemoteInputCompatBase.RemoteInput remoteInput) { 48 data.putString(KEY_RESULT_KEY, remoteInput.getResultKey()); 49 data.putCharSequence(KEY_LABEL, remoteInput.getLabel()); 50 data.putCharSequenceArray(KEY_CHOICES, remoteInput.getChoices()); 51 data.putBoolean(KEY_ALLOW_FREE_FORM_INPUT, remoteInput.getAllowFreeFormInput()) [all...] |
/frameworks/support/compat/gingerbread/android/support/v4/app/ |
RemoteInputCompatBase.java | 23 public static abstract class RemoteInput { 31 public RemoteInput build(String resultKey, CharSequence label, 33 public RemoteInput[] newArray(int length);
|
NotificationCompatBase.java | 34 public abstract RemoteInputCompatBase.RemoteInput[] getRemoteInputs(); 39 Bundle extras, RemoteInputCompatBase.RemoteInput[] remoteInputs, 49 abstract RemoteInputCompatBase.RemoteInput getRemoteInput(); 56 RemoteInputCompatBase.RemoteInput remoteInput,
|
/frameworks/support/compat/java/android/support/v4/app/ |
RemoteInput.java | 25 * Helper for using the {@link android.app.RemoteInput} API 28 public final class RemoteInput extends RemoteInputCompatBase.RemoteInput { 29 private static final String TAG = "RemoteInput"; 43 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 97 * Builder class for {@link android.support.v4.app.RemoteInput} objects. 107 * Create a builder object for {@link android.support.v4.app.RemoteInput} objects. 158 * @see RemoteInput#getExtras 178 * {@link android.support.v4.app.RemoteInput} object. 180 public RemoteInput build() [all...] |
/frameworks/support/compat/api21/android/support/v4/app/ |
NotificationCompatApi21.java | 167 RemoteInputCompatBase.RemoteInput remoteInput = uc.getRemoteInput(); 168 if (remoteInput != null) { 169 b.putParcelable(KEY_REMOTE_INPUT, fromCompatRemoteInput(remoteInput)); 180 RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) { 210 android.app.RemoteInput remoteInput = b.getParcelable(KEY_REMOTE_INPUT); 220 remoteInput != null ? toCompatRemoteInput(remoteInput, remoteInputFactory) : null, 226 private static android.app.RemoteInput fromCompatRemoteInput [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(
|
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);
|
/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(
|
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);
|
/frameworks/base/core/java/android/app/ |
RemoteInput.java | 27 * A {@code RemoteInput} object specifies input to be collected from a user to be passed along with 29 * Always use {@link RemoteInput.Builder} to create instances of this class. 34 * <p>The following example adds a {@code RemoteInput} to a {@link Notification.Action}, 44 * <b>.addRemoteInput(new RemoteInput.Builder(KEY_QUICK_REPLY_TEXT) 55 * Bundle results = RemoteInput.getResultsFromIntent(intent); 60 public final class RemoteInput implements Parcelable { 62 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 65 public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; 79 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 128 * Builder class for {@link RemoteInput} objects [all...] |
/frameworks/base/docs/html/training/wearables/notifications/ |
voice-input.jd | 24 using {@link android.support.v4.app.RemoteInput}. 43 {@link android.support.v4.app.RemoteInput.Builder} that you can add to your notification action. 49 {@link android.support.v4.app.RemoteInput} object that provides a custom 58 RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY) 71 {@link android.support.v4.app.RemoteInput.Builder#setChoices setChoices()} and pass it a string array.</p> 88 {@link android.support.v4.app.RemoteInput}:</p> 96 RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY [all...] |
/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...] |
/frameworks/base/docs/html/wear/ |
_book.yaml | 32 - title: RemoteInput 33 path: /reference/android/preview/support/wearable/notifications/RemoteInput.html 34 - title: RemoteInput.Builder 35 path: /reference/android/preview/support/wearable/notifications/RemoteInput.Builder.html
|
/platform_testing/tests/jank/notificationsgenerator_wear/src/com/google/android/wearable/support/ |
CustomPostNotificationReceiver.java | 27 import android.support.v4.app.RemoteInput; 53 RemoteInput remoteInput = new RemoteInput.Builder(REMOTE_INPUT_KEY) 59 .addRemoteInput(remoteInput)
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
NotificationCompatWearableExtenderTest.java | 81 RemoteInput.Builder remoteInput = new RemoteInput.Builder("result_key1") 84 remoteInput.getExtras().putString("remoteinput_string", "test"); 87 .addRemoteInput(remoteInput.build()) 128 android.app.RemoteInput.Builder remoteInput = new android.app.RemoteInput.Builder( 132 remoteInput.getExtras().putString("remoteinput_string", "test"); 135 .addRemoteInput(remoteInput.build() [all...] |
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
InlineReply.java | 26 import android.app.RemoteInput; 45 final RemoteInput ri = new RemoteInput.Builder("result").setLabel("Remote input").build();
|
/frameworks/base/docs/html/reference/android/support/wearable/input/ |
RemoteInputConstants.html | 263 <p>Constants for customizing a <code><a href="/reference/android/app/RemoteInput.html">RemoteInput</a></code> instance. 265 <p>These constants define extras that can be added to a <code><a href="/reference/android/app/RemoteInput.html">RemoteInput</a></code> to change the 268 <p>For example, to create a RemoteInput that will allow free form input (e.g. voice input on 272 RemoteInput remoteInput = new RemoteInput.Builder(resultKey) 308 <p>Key for a boolean extra that can be added to a <code><a href="/reference/android/app/RemoteInput.html">RemoteInput</a></code> to cause emoji-onl [all...] |
RemoteInputIntent.html | 265 <p>The following example prompts the user to provide input for one <code>RemoteInput</code> by 270 RemoteInput[] remoteInputs = new RemoteInput[] { 271 new RemoteInput.Builder(KEY_QUICK_REPLY_TEXT).setLabel("Quick reply").build() 279 if collected. To access these results, use the <code><a href="/reference/android/app/RemoteInput.html#getResultsFromIntent(android.content.Intent)">getResultsFromIntent(Intent)</a></code> 280 function. The result values will present under the result key passed to the <code><a href="/reference/android/app/RemoteInput.Builder.html">RemoteInput.Builder</a></code> 285 Bundle results = RemoteInput.getResultsFromIntent(intent); 322 <code><a href="/reference/android/app/RemoteInput.html">RemoteInput</a></code> [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyNotificationListenerService.java | 21 import android.app.RemoteInput; 61 final RemoteInput[] remoteInputs = action.getRemoteInputs(); 63 for (RemoteInput remoteInput : remoteInputs) { 64 sender.send("remote input extras", remoteInput.getExtras());
|