Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 32) sorted by relevance

12

/development/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DCarHelper.java38 public static void setSlotReservationFlags(Bundle extras, boolean reservePlayingQueueSlot, in setSlotReservationFlags() argument
41 extras.putBoolean(SLOT_RESERVATION_QUEUE, true); in setSlotReservationFlags()
43 extras.remove(SLOT_RESERVATION_QUEUE); in setSlotReservationFlags()
46 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_PREV, true); in setSlotReservationFlags()
48 extras.remove(SLOT_RESERVATION_SKIP_TO_PREV); in setSlotReservationFlags()
51 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_NEXT, true); in setSlotReservationFlags()
53 extras.remove(SLOT_RESERVATION_SKIP_TO_NEXT); in setSlotReservationFlags()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DCarHelper.java37 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/HoneycombGallery/src/com/example/android/hcgallery/
DContentActivity.java18 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/build/
Dsdk.atree444 …ource.properties extras/android/support/so…
445 …EADME.txt extras/android/support/RE…
446 …_NOTICE.txt extras/android/support/NO…
448 …ndroid-support-annotations_intermediates/android-support-annotations.jar extras/android/support/an…
450 …obj/PACKAGING/android-support-v4_intermediates/android-support-v4.jar extras/android/support/v4…
451extras/android/support/v4…
452 …rt4Demos extras/android/support/sa…
453 …rtAppNavigation extras/android/support/sa…
455 …obj/PACKAGING/android-support-v13_intermediates/android-support-v13.jar extras/android/support/v1…
456extras/android/support/v1…
[all …]
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNoteEdit.java44 Bundle extras = getIntent().getExtras(); in onCreate() local
45 if (extras != null) { in onCreate()
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate()
47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate()
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate()
DNotepadv2.java129 Bundle extras = intent.getExtras(); in onActivityResult() local
132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult()
140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNoteEdit.java44 Bundle extras = getIntent().getExtras(); in onCreate() local
45 if (extras != null) { in onCreate()
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate()
47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate()
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate()
DNotepadv3.java129 Bundle extras = intent.getExtras(); in onActivityResult() local
132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult()
140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DGetRestrictionsReceiver.java119 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/browseable/DirectShare/src/com.example.android.directshare/
DSampleChooserTargetService.java44 Bundle extras = new Bundle(); in onGetChooserTargets() local
45 extras.putInt(Contact.ID, i); in onGetChooserTargets()
58 extras)); in onGetChooserTargets()
/development/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
DSimpleButtonBackground.java102 VectorDrawableCompat []extras = new VectorDrawableCompat[EXTRA_TESTS]; in onCreate() local
104 extras[0] = (VectorDrawableCompat) state.newDrawable(); in onCreate()
105 extras[1] = (VectorDrawableCompat) state.newDrawable(); in onCreate()
108 extras[0].setAlpha(128); in onCreate()
119 addDrawableButtons(container, extras); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessageReceiver.java34 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/
DStackWidgetService.java86 Bundle extras = new Bundle(); in getViewAt() local
87 extras.putInt(StackWidgetProvider.EXTRA_ITEM, position); in getViewAt()
89 fillInIntent.putExtras(extras); in getViewAt()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java91 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/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNoteEdit.java50 Bundle extras = getIntent().getExtras(); in onCreate() local
51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID) in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetConfigure.java70 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/
DMediaPlayerDemo_Audio.java47 Bundle extras = getIntent().getExtras(); in onCreate() local
48 playAudio(extras.getInt(MEDIA)); in onCreate()
DMediaPlayerDemo_Video.java46 private Bundle extras; field in MediaPlayerDemo_Video
68 extras = getIntent().getExtras(); in onCreate()
181 playVideo(extras.getInt(MEDIA)); in surfaceCreated()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintHtmlOffScreen.java108 Bundle extras) { in doPrint()
110 callback, extras); in doPrint()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
DDetailViewExampleFragment.java116 Bundle extras = getActivity().getIntent().getExtras(); in setupUi() local
117 if (extras != null && extras.containsKey(EXTRA_CARD)) { in setupUi()
118 imageResId = extras.getInt(EXTRA_CARD, imageResId); in setupUi()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java172 Bundle extras = new Bundle(); in onCreate() local
173 CarHelper.setSlotReservationFlags(extras, true, true, true); in onCreate()
174 mSession.setExtras(extras); in onCreate()
363 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument
364 Log.d(TAG, "playFromMediaId mediaId:" + mediaId + " extras=" + extras); in onPlayFromMediaId()
442 public void onCustomAction(String action, Bundle extras) { in onCustomAction() argument
459 public void onPlayFromSearch(String query, Bundle extras) { in onPlayFromSearch() argument
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java171 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/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
DMainFragment.java147 Bundle extras = new Bundle(); in onItemClicked() local
151 extras.putSerializable("movie", movie); in onItemClicked()
152 intent.putExtras(extras); in onItemClicked()
/development/samples/training/basic/ActivityLifecycle/
Dbuild.properties17 extensible.classpath=${sdk.dir}/extras/android/support/v13/android-support-v13.jar
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java85 public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { in processCommandApdu() argument

12