/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | CarHelper.java | 37 public static void setSlotReservationFlags(Bundle extras, boolean reservePlayingQueueSlot, in setSlotReservationFlags() argument 40 extras.putBoolean(SLOT_RESERVATION_QUEUE, true); in setSlotReservationFlags() 42 extras.remove(SLOT_RESERVATION_QUEUE); in setSlotReservationFlags() 45 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_PREV, true); in setSlotReservationFlags() 47 extras.remove(SLOT_RESERVATION_SKIP_TO_PREV); in setSlotReservationFlags() 50 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_NEXT, true); in setSlotReservationFlags() 52 extras.remove(SLOT_RESERVATION_SKIP_TO_NEXT); in setSlotReservationFlags()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | AlarmUtil.java | 49 Bundle extras = writeAlarm(alarm); in scheduleAlarm() local 50 intent.putExtras(extras); in scheduleAlarm() 100 public static Alarm readAlarm(Bundle extras) { in readAlarm() argument 101 int id = extras.getInt(AlarmIntentService.KEY_ALARM_ID); in readAlarm() 102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); in readAlarm() 103 int date = extras.getInt(AlarmIntentService.KEY_ALARM_DATE); in readAlarm() 104 int hour = extras.getInt(AlarmIntentService.KEY_ALARM_HOUR); in readAlarm() 105 int minute = extras.getInt(AlarmIntentService.KEY_ALARM_MINUTE); in readAlarm() 111 Bundle extras = new Bundle(); in writeAlarm() local 112 extras.putInt(AlarmIntentService.KEY_ALARM_ID, alarm.id); in writeAlarm() [all …]
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | ContentActivity.java | 18 Bundle extras = getIntent().getExtras(); in onCreate() local 19 if (extras != null) { in onCreate() 22 mThemeId = extras.getInt("theme"); in onCreate() 34 if (extras != null) { in onCreate() 36 int category = extras.getInt("category"); in onCreate() 37 int position = extras.getInt("position"); in onCreate()
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | SampleChooserTargetService.java | 44 Bundle extras = new Bundle(); in onGetChooserTargets() local 45 extras.putInt(Contact.ID, i); in onGetChooserTargets() 58 extras)); in onGetChooserTargets()
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
D | GetRestrictionsReceiver.java | 119 Bundle extras = new Bundle(); in createRestrictions() local 120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); in createRestrictions() 121 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions() 143 final Bundle extras = new Bundle(); in createRestrictions() local 155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent); in createRestrictions() 158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); in createRestrictions() 159 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsMessageReceiver.java | 34 Bundle extras = intent.getExtras(); in onReceive() local 35 if (extras == null) in onReceive() 38 Object[] pdus = (Object[]) extras.get("pdus"); in onReceive()
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
D | StackWidgetService.java | 86 Bundle extras = new Bundle(); in getViewAt() local 87 extras.putInt(StackWidgetProvider.EXTRA_ITEM, position); in getViewAt() 89 fillInIntent.putExtras(extras); in getViewAt()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | InstallApkSessionApi.java | 109 Bundle extras = intent.getExtras(); in onNewIntent() local 111 int status = extras.getInt(PackageInstaller.EXTRA_STATUS); in onNewIntent() 112 String message = extras.getString(PackageInstaller.EXTRA_STATUS_MESSAGE); in onNewIntent() 117 Intent confirmIntent = (Intent) extras.get(Intent.EXTRA_INTENT); in onNewIntent()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 134 final PersistableBundle extras = shortcut.getExtras(); in refreshShortcuts() local 135 if (extras != null && extras.getLong(EXTRA_LAST_REFRESH) >= staleThreshold) { in refreshShortcuts() 190 final PersistableBundle extras = new PersistableBundle(); in setExtras() local 191 extras.putLong(EXTRA_LAST_REFRESH, System.currentTimeMillis()); in setExtras() 192 b.setExtras(extras); in setExtras()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetService.java | 91 final Bundle extras = new Bundle(); in getViewAt() local 92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day); in getViewAt() 93 fillInIntent.putExtras(extras); in getViewAt()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 136 final PersistableBundle extras = shortcut.getExtras(); in refreshShortcuts() local 137 if (extras != null && extras.getLong(EXTRA_LAST_REFRESH) >= staleThreshold) { in refreshShortcuts() 193 final PersistableBundle extras = new PersistableBundle(); in setExtras() local 194 extras.putLong(EXTRA_LAST_REFRESH, System.currentTimeMillis()); in setExtras() 195 b.setExtras(extras); in setExtras()
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetConfigure.java | 70 Bundle extras = intent.getExtras(); in onCreate() local 71 if (extras != null) { in onCreate() 72 mAppWidgetId = extras.getInt( in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | MediaPlayerDemo_Audio.java | 47 Bundle extras = getIntent().getExtras(); in onCreate() local 48 playAudio(extras.getInt(MEDIA)); in onCreate()
|
D | MediaPlayerDemo_Video.java | 46 private Bundle extras; field in MediaPlayerDemo_Video 68 extras = getIntent().getExtras(); in onCreate() 181 playVideo(extras.getInt(MEDIA)); in surfaceCreated()
|
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/ |
D | DropTargetFragment.java | 171 PersistableBundle extras = clipDescription.getExtras(); in getExtra() local 172 if (extras != null) { in getExtra() 173 return extras.getString(EXTRA_IMAGE_INFO); in getExtra()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PrintHtmlOffScreen.java | 108 Bundle extras) { in doPrint() 110 callback, extras); in doPrint()
|
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/ |
D | DragSourceFragment.java | 163 PersistableBundle extras = new PersistableBundle(1); in setUpDraggableImage() 165 extras.putString(EXTRA_IMAGE_INFO, in setUpDraggableImage() 167 clipDescription.setExtras(extras); in setUpDraggableImage()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 171 Bundle extras = new Bundle(); in onCreate() local 172 CarHelper.setSlotReservationFlags(extras, true, true, true); in onCreate() 173 mSession.setExtras(extras); in onCreate() 359 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 360 LogHelper.d(TAG, "playFromMediaId mediaId:", mediaId, " extras=", extras); in onPlayFromMediaId() 438 public void onCustomAction(String action, Bundle extras) { in onCustomAction() argument 455 public void onPlayFromSearch(String query, Bundle extras) { in onPlayFromSearch() argument
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/ |
D | MainActivity.java | 145 PersistableBundle extras = new PersistableBundle(); in scheduleJob() local 150 extras.putLong(WORK_DURATION_KEY, Long.valueOf(workDuration) * 1000); in scheduleJob() 152 builder.setExtras(extras); in scheduleJob()
|
/development/samples/training/basic/ActivityLifecycle/ |
D | build.properties | 17 extensible.classpath=${sdk.dir}/extras/android/support/v13/android-support-v13.jar
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | CardService.java | 85 public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { in processCommandApdu() argument
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyNetworkMonitor.java | 43 public void performReceive(Intent intent, int resultCode, String data, Bundle extras, in performReceive() argument
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
D | SyncAdapter.java | 67 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/ |
D | MainActivity.java | 167 Bundle extras = data.getExtras(); in onActivityResult() local 168 mImageBitmap = (Bitmap) extras.get("data"); in onActivityResult()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 135 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|