/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
SessionManager.java | 35 * Actual playback of a single media item is abstracted into a Player interface, 92 // If player supports queuing, get status of each item. Player is 96 PlaylistItem item = mPlaylist.get(i); local 97 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */); 100 // Otherwise, only need to get status for current item. Player is 118 // append new item with initial status PLAYBACK_STATE_PENDING 119 PlaylistItem item = new PlaylistItem( local 121 mPlaylist.add(item); 124 // if player supports queuing, enqueue the item now 126 mPlayer.enqueue(item); 148 PlaylistItem item = getCurrentItem(); local 243 PlaylistItem item = getCurrentItem(); local 318 PlaylistItem item = getCurrentItem(); local 325 PlaylistItem item = getCurrentItem(); local 381 PlaylistItem item = getCurrentItem(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGStringListTearOff.h | 65 String initialize(const String& item, ExceptionState& exceptionState) 72 target()->initialize(item); 75 return item; 83 String insertItemBefore(const String& item, unsigned long index, ExceptionState& exceptionState) 90 target()->insertItemBefore(item, index); 93 return item; 96 String replaceItem(const String& item, unsigned long index, ExceptionState& exceptionState) 103 target()->replaceItem(item, index, exceptionState); 106 return item; 109 bool anonymousIndexedSetter(unsigned index, const String& item, ExceptionState& exceptionState [all...] |
/external/chromium_org/ui/app_list/ |
app_list_model.cc | 47 AppListItem* item = top_level_item_list_->FindItem(id); local 48 if (item) 49 return item; 60 AppListItem* item = top_level_item_list_->FindItem(id); local 61 if (item && item->GetItemType() == AppListFolderItem::kItemType) 62 return static_cast<AppListFolderItem*>(item); 63 DCHECK(!item); 67 AppListItem* AppListModel::AddItem(scoped_ptr<AppListItem> item) { 68 DCHECK(!item->IsInFolder()) 234 AppListItem* item = FindItem(id); local 270 AppListItem* item = top_level_item_list_->item_at(i); local 325 AppListItem* item = top_level_item_list_->AddItem(item_ptr.Pass()); local 335 AppListItem* item = top_level_item_list_->AddItem(item_ptr.Pass()); local 345 AppListItem* item = folder->item_list()->AddItem(item_ptr.Pass()); local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AMessage.cpp | 67 Item *item = &mItems[i]; local 68 delete[] item->mName; 69 item->mName = NULL; 70 freeItemValue(item); 75 void AMessage::freeItemValue(Item *item) { 76 switch (item->mType) { 79 delete item->u.stringValue; 87 if (item->u.refValue != NULL) 167 Item *item; local 186 const Item *item = &mItems[i]; local 226 Item *item = allocateItem(name); local 238 Item *item = allocateItem(name); local 254 Item *item = allocateItem(name); local 264 Item *item = allocateItem(name); local 274 const Item *item = findItem(name, kTypeString); local 283 const Item *item = findItem(name, kTypeObject); local 292 const Item *item = findItem(name, kTypeBuffer); local 301 const Item *item = findItem(name, kTypeMessage); local 312 const Item *item = findItem(name, kTypeRect); local 447 const Item &item = mItems[i]; local 539 Item *item = &msg->mItems[i]; local 607 const Item &item = mItems[i]; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
popup.js | 59 document.querySelector('body div.item span.time-left').style.minWidth = 154 var item = this; 156 item[prop] = data[prop]; 158 item.startTime = new Date(item.startTime); 159 if (item.canResume == undefined) { 163 item.div = document.querySelector('body>div.item').cloneNode(true); 164 item.div.id = 'item' + item.id [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLElementStack.cpp | 43 inline bool isRootNode(HTMLStackItem* item) 45 return item->isDocumentFragmentNode() 46 || item->hasTagName(htmlTag); 49 inline bool isScopeMarker(HTMLStackItem* item) 51 return item->hasTagName(appletTag) 52 || item->hasTagName(captionTag) 53 || item->hasTagName(marqueeTag) 54 || item->hasTagName(objectTag) 55 || item->hasTagName(tableTag) 56 || item->hasTagName(tdTag 454 HTMLStackItem* item = pos->stackItem().get(); local 467 HTMLStackItem* item = record->stackItem().get(); local 480 HTMLStackItem* item = pos->stackItem().get(); local [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
access-binary-trees.js | 5 function TreeNode(left,right,item){ 8 this.item = item; 12 if (this.left==null) return this.item; 13 else return this.item + this.left.itemCheck() - this.right.itemCheck(); 16 function bottomUpTree(item,depth){ 19 bottomUpTree(2*item-1, depth-1) 20 ,bottomUpTree(2*item, depth-1) 21 ,item 25 return new TreeNode(null,null,item); [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
access-binary-trees.js | 5 function TreeNode(left,right,item){ 8 this.item = item; 12 if (this.left==null) return this.item; 13 else return this.item + this.left.itemCheck() - this.right.itemCheck(); 16 function bottomUpTree(item,depth){ 19 bottomUpTree(2*item-1, depth-1) 20 ,bottomUpTree(2*item, depth-1) 21 ,item 25 return new TreeNode(null,null,item); [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
access-binary-trees.js | 5 function TreeNode(left,right,item){ 8 this.item = item; 12 if (this.left==null) return this.item; 13 else return this.item + this.left.itemCheck() - this.right.itemCheck(); 16 function bottomUpTree(item,depth){ 19 bottomUpTree(2*item-1, depth-1) 20 ,bottomUpTree(2*item, depth-1) 21 ,item 25 return new TreeNode(null,null,item); [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_message_pump_dispatcher_win.cc | 35 MenuItemView* item = menu_controller_->pending_state_.item; local 36 if (item && item->GetRootMenuItem() != item) { 37 gfx::Point screen_loc(0, item->height()); 38 View::ConvertPointToScreen(item, &screen_loc); 42 item->GetDelegate()->ShowContextMenu( 43 item, item->GetCommand(), screen_loc, source_type) [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 183 struct isakmp_frag_item *item; local 213 if ((item = racoon_malloc(sizeof(*item))) == NULL) { 222 item->frag_num = frag->index; 223 item->frag_last = (frag->flags & ISAKMP_FRAG_LAST); 224 item->frag_next = NULL; 225 item->frag_packet = buf; 227 /* Look for the last frag while inserting the new item in the chain */ 228 if (item->frag_last) 229 last_frag = item->frag_num 270 struct isakmp_frag_item *item; local [all...] |
/external/oprofile/libpopt/ |
poptconfig.c | 13 /*@-compmempass@*/ /* FIX: item->option.longName kept, not dependent. */ 20 poptItem item = alloca(sizeof(*item)); local 28 memset(item, 0, sizeof(*item)); 51 item->option.longName = opt + 2; 53 item->option.shortName = opt[1]; 56 if (poptParseArgvString(line, &item->argc, &item->argv)) return; 59 item->option.argInfo = POPT_ARGFLAG_DOC_HIDDEN [all...] |
/external/chromium_org/chrome/browser/download/ |
download_status_updater.cc | 29 static bool Get(content::DownloadItem* item) { 30 return item->GetUserData(kKey) != NULL; 33 static void Clear(content::DownloadItem* item) { 34 item->RemoveUserData(kKey); 37 explicit WasInProgressData(content::DownloadItem* item) { 38 item->SetUserData(kKey, this); 103 content::DownloadManager* manager, content::DownloadItem* item) { 107 if (item->GetState() == content::DownloadItem::IN_PROGRESS) { 108 UpdateAppIconDownloadProgress(item); 109 new WasInProgressData(item); [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
sidenav_data_source.py | 17 '''Add a 'level' key to each item in |items|. 'level' corresponds to how deep 18 in |items| an item is. |level| sets the starting depth. 20 for item in items: 21 item['level'] = level 22 if 'items' in item: 23 _AddLevels(item['items'], level + 1) 28 |items| so that the sidenav can be expanded to show which menu item has 30 is added to all items with the same parent as the selected item. 31 If more than one item exactly matches the path, the deepest one is considered 34 Returns True if an item was marked 'selected' [all...] |
/external/chromium_org/third_party/skia/third_party/harfbuzz/src/ |
harfbuzz-khmer.c | 354 static HB_Bool khmer_shape_syllable(HB_Bool openType, HB_ShaperItem *item) 356 /* KHDEBUG("syllable from %d len %d, str='%s'", item->from, item->length, 357 item->string->mid(item->from, item->length).toUtf8().data()); */ 360 int syllableEnd = item->item.pos + item->item.length [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 54 hash_key(struct brw_cache_item *item) 56 GLuint *ikey = (GLuint *)item->key; 57 GLuint hash = item->cache_id, i; 59 assert(item->key_size % 4 == 0); 63 for (i = 0; i < item->key_size/4; i++) { 139 struct brw_cache_item *item; local 149 item = search_cache(cache, hash, &lookup); 151 if (item == NULL) 154 *(void **)out_aux = ((char *)item->key + item->key_size) 201 struct brw_cache_item *item; local 273 struct brw_cache_item *item = CALLOC_STRUCT(brw_cache_item); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 54 hash_key(struct brw_cache_item *item) 56 GLuint *ikey = (GLuint *)item->key; 57 GLuint hash = item->cache_id, i; 59 assert(item->key_size % 4 == 0); 63 for (i = 0; i < item->key_size/4; i++) { 139 struct brw_cache_item *item; local 149 item = search_cache(cache, hash, &lookup); 151 if (item == NULL) 154 *(void **)out_aux = ((char *)item->key + item->key_size) 201 struct brw_cache_item *item; local 273 struct brw_cache_item *item = CALLOC_STRUCT(brw_cache_item); local [all...] |
/external/webrtc/src/system_wrappers/interface/ |
list_wrapper.h | 25 ListItem(const unsigned int item); 73 // Returns a pointer to the ListItem stored after item in the list. 74 ListItem* Next(ListItem* item) const; 76 // Returns a pointer to the ListItem stored before item in the list. 77 ListItem* Previous(ListItem* item) const; 79 // Removes item from the list. 80 int Erase(ListItem* item); 82 // Insert list item after existing_previous_item. Please note that new_item 89 // Insert list item before existing_next_item. Please note that new_item 97 void PushBackImpl(ListItem* item); [all...] |
/external/webrtc/src/system_wrappers/source/ |
list_no_stl.h | 23 ListNoStlItem(const unsigned int item); 58 ListNoStlItem* Next(ListNoStlItem* item) const; 59 ListNoStlItem* Previous(ListNoStlItem* item) const; 60 int Erase(ListNoStlItem* item); 68 void PushBack(ListNoStlItem* item); 69 void PushFront(ListNoStlItem* item);
|
/ndk/sources/android/support/src/musl-locale/ |
langinfo.c | 29 char *nl_langinfo_l(nl_item item, locale_t loc) 31 int cat = item >> 16; 32 int idx = item & 65535; 35 if (item == CODESET) return "UTF-8"; 63 char *nl_langinfo(nl_item item) 65 return nl_langinfo_l(item, 0);
|
/external/chromium_org/content/browser/download/ |
download_item_impl_unittest.cc | 113 explicit MockObserver(DownloadItem* item) 114 : item_(item), 115 last_state_(item->GetState()), 213 // This class keeps ownership of the created download item; it will 238 DownloadItemImpl* item, 245 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)) 249 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)); 254 item->Start(download_file.Pass(), request_handle.Pass()); 270 // Perform the intermediate rename for |item|. The target path for the 273 MockDownloadFile* DoIntermediateRename(DownloadItemImpl* item, 342 DownloadItemImpl* item = CreateDownloadItem(); local 370 DownloadItemImpl* item = CreateDownloadItem(); local 381 DownloadItemImpl* item = CreateDownloadItem(); local 389 DownloadItemImpl* item = CreateDownloadItem(); local 404 DownloadItemImpl* item = CreateDownloadItem(); local 415 DownloadItemImpl* item = CreateDownloadItem(); local 443 DownloadItemImpl* item = CreateDownloadItem(); local 467 DownloadItemImpl* item = CreateDownloadItem(); local 497 DownloadItemImpl* item = CreateDownloadItem(); local 558 DownloadItemImpl* item = CreateDownloadItem(); local 611 DownloadItemImpl* item = CreateDownloadItem(); local 637 DownloadItemImpl* item = CreateDownloadItem(); local 662 DownloadItemImpl* item = CreateDownloadItem(); local 688 DownloadItemImpl* item = CreateDownloadItem(); local 701 DownloadItemImpl* item = CreateDownloadItem(); local 737 DownloadItemImpl* item = CreateDownloadItem(); local 760 DownloadItemImpl* item = CreateDownloadItem(); local 783 DownloadItemImpl* item = CreateDownloadItem(); local 818 DownloadItemImpl* item = CreateDownloadItem(); local 853 DownloadItemImpl* item = CreateDownloadItem(); local 884 DownloadItemImpl* item = CreateDownloadItem(); local 894 DownloadItemImpl* item = CreateDownloadItem(); local 902 DownloadItemImpl* item = CreateDownloadItem(); local 931 DownloadItemImpl* item = CreateDownloadItem(); local 953 DownloadItemImpl* item = CreateDownloadItem(); local 982 DownloadItemImpl* item = CreateDownloadItem(); local 1010 DownloadItemImpl* item = CreateDownloadItem(); local 1040 DownloadItemImpl* item = CreateDownloadItem(); local 1056 DownloadItemImpl* item = CreateDownloadItem(); local 1075 DownloadItemImpl* item = CreateDownloadItem(); local 1103 DownloadItemImpl* item = CreateDownloadItem(); local 1141 DownloadItemImpl* item = CreateDownloadItem(); local 1188 DownloadItemImpl* item = CreateDownloadItem(); local 1230 DownloadItemImpl* item = CreateDownloadItem(); local 1254 DownloadItemImpl* item = CreateDownloadItem(); local 1280 DownloadItemImpl* item = CreateDownloadItem(); local [all...] |
/external/chromium_org/android_webview/browser/ |
aw_download_manager_delegate.h | 20 content::DownloadItem* item, 23 content::DownloadItem* item, 26 content::DownloadItem* item,
|
/external/chromium_org/components/url_matcher/ |
url_matcher_helpers.cc | 22 std::string item; local 23 if (!value_as_list->GetString(i, &item)) 25 out->push_back(item);
|
/external/chromium_org/content/renderer/ |
menu_item_builder.h | 17 static MenuItem Build(const blink::WebMenuItemInfo& item);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
DataTransferItemFileSystem.cpp | 51 Entry* DataTransferItemFileSystem::webkitGetAsEntry(ExecutionContext* executionContext, DataTransferItem& item) 53 if (!item.dataObjectItem()->isFilename()) 57 Blob* file = item.getAsFile().get(); 63 DOMFileSystem* domFileSystem = DraggedIsolatedFileSystem::getDOMFileSystem(item.clipboard()->dataObject().get(), executionContext);
|