/hardware/ti/omap4-aah/test/CameraHal/ |
camera_test_bufferqueue.h | 66 BufferQueue::BufferItem item; local 71 status = mBufferQueue->acquireBuffer(&item, 0); 77 if (item.mGraphicBuffer != NULL) { 78 unsigned int slot = item.mBuf; 82 mBufferSlots[slot].mGraphicBuffer = item.mGraphicBuffer; 83 mBufferSlots[slot].mCrop = item.mCrop; 85 showMetadata(item.mMetadata); 87 graphic_buffer = mBufferSlots[item.mBuf].mGraphicBuffer; 88 mDeferThread->add(graphic_buffer, item.mCrop, mCounter++, item.mBuf) [all...] |
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
MyCloudFragment.java | 51 MenuItem item = menu.findItem(R.id.sample_action); local 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 56 public boolean onOptionsItemSelected(MenuItem item) { 57 if (item.getItemId() == R.id.sample_action) { 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in);
|
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
MyCloudFragment.java | 51 MenuItem item = menu.findItem(R.id.sample_action); local 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 56 public boolean onOptionsItemSelected(MenuItem item) { 57 if (item.getItemId() == R.id.sample_action) { 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in);
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
MyCloudFragment.java | 51 MenuItem item = menu.findItem(R.id.sample_action); local 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 56 public boolean onOptionsItemSelected(MenuItem item) { 57 if (item.getItemId() == R.id.sample_action) { 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in);
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 52 // Get all of the rows from the database and create the item list 76 public boolean onMenuItemSelected(int featureId, MenuItem item) { 77 switch(item.getItemId()) { 83 return super.onMenuItemSelected(featureId, item); 95 public boolean onContextItemSelected(MenuItem item) { 96 return super.onContextItemSelected(item);
|
/external/chromium_org/ash/test/ |
test_shelf_delegate.cc | 38 ShelfItem item; local 40 item.type = TYPE_APP_PANEL; 42 item.type = TYPE_PLATFORM_APP; 44 item.status = status; 45 model_->Add(item); 74 // then remove the shelf item.
|
/external/chromium_org/chrome/browser/download/ |
download_file_picker.cc | 55 DownloadItem* item, 62 DownloadPrefs::FromBrowserContext(item->GetBrowserContext()); 67 WebContents* web_contents = item->GetWebContents(); 117 void DownloadFilePicker::ShowFilePicker(DownloadItem* item, 120 new DownloadFilePicker(item, suggested_path, callback);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/javascript/ |
feed.js | 86 if (parentTag != 'item' && parentTag != 'entry') { 136 entries = doc.getElementsByTagName('item'); 147 item = entries.item(i); 149 // Grab the title for the feed item. 150 var itemTitle = item.querySelector('title'); 158 var itemDesc = item.querySelector('description'); 160 itemDesc = item.querySelector('summary'); 162 itemDesc = item.querySelector('content'); 171 var itemLink = item.querySelector('link') [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapUtility.java | 71 for (String item : setItems) { 72 if (item.indexOf(':') == -1) { 73 // simple item 75 Integer.parseInt(item); // Don't need the value; just ensure it's valid 76 list.add(item); 82 for (String rangeItem : getImapRangeValues(item)) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SuperCollapsedBlock.java | 44 void onSuperCollapsedClick(SuperCollapsedBlockItem item); 71 public void bind(SuperCollapsedBlockItem item) { 72 mSuperCollapsedItem = item; 73 setCount(item.getEnd() - item.getStart() + 1);
|
/external/chromium_org/webkit/browser/blob/ |
blob_url_request_job.cc | 37 bool IsFileType(BlobData::Item::Type type) { 39 case BlobData::Item::TYPE_FILE: 40 case BlobData::Item::TYPE_FILE_FILESYSTEM: 194 const BlobData::Item& item = blob_data_->items().at(i); local 195 if (IsFileType(item.type())) { 203 if (!AddItemLength(i, item.length())) 251 const BlobData::Item& item = blob_data_->items().at(index); local 252 DCHECK(IsFileType(item.type())) 297 const BlobData::Item& item = blob_data_->items().at(current_item_index_); local 326 const BlobData::Item& item = blob_data_->items().at(current_item_index_); local 549 const BlobData::Item& item = blob_data_->items().at(index); local 561 const BlobData::Item& item = blob_data_->items().at(index); local [all...] |
/external/qemu/android/skin/ |
keyset.c | 340 SkinKeyItem* item = kset->items; local 341 SkinKeyItem* end = item + kset->num_items; 346 for ( ; item < end; item++) { 347 if (item->command == command) { 349 first = item; 358 if (item->sym == sym && item->mod == mod) { 360 item->command = command; 374 item = kset->items + kset->num_items++ 470 SkinKeyItem* item = kset->items; local 495 SkinKeyItem* item = kset->items; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
downloads_api_browsertest.cc | 350 DownloadItem* item, 364 item->GetId(), 420 DownloadItem* item = GetOnRecordManager()->CreateDownloadItem( local 433 items->push_back(item); 492 // There should be only one IN_PROGRESS item. 653 bool ItemNotInProgress(DownloadItem* item) { 654 return item->GetState() != DownloadItem::IN_PROGRESS; 661 explicit ScopedCancellingItem(DownloadItem* item) : item_(item) {} 683 for (DownloadManager::DownloadVector::const_iterator item = items_->begin() 1475 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1522 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1636 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1736 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1780 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1860 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1915 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 1965 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2002 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2053 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2094 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2139 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2192 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2233 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2270 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2322 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2371 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2446 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2503 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2583 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2662 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2730 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2798 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2873 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 2941 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3009 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3077 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3146 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3216 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3345 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3476 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3533 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3673 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local 3812 DownloadItem* item = NULL; local 3982 DownloadItem* item = GetCurrentManager()->GetDownload(result_id); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news_a11y/ |
feed.js | 51 if (parentTag != 'item' && parentTag != 'entry') { 94 entries = doc.getElementsByTagName('item'); 98 item = entries.item(i); 100 // Grab the title for the feed item. 101 var itemTitle = item.getElementsByTagName('title')[0]; 109 var itemDesc = item.getElementsByTagName('description')[0]; 111 itemDesc = item.getElementsByTagName('summary')[0]; 113 itemDesc = item.getElementsByTagName('content')[0]; 122 var item = document.createElement('div') [all...] |
/external/chromium_org/content/child/ |
webblobregistry_impl.cc | 48 WebBlobData::Item data_item; 51 case WebBlobData::Item::TypeData: { 57 case WebBlobData::Item::TypeFile: 59 webkit_blob::BlobData::Item item; local 60 item.SetToFilePathRange( 66 new BlobHostMsg_AppendBlobDataItem(uuid_str, item)); 69 case WebBlobData::Item::TypeBlob: 71 webkit_blob::BlobData::Item item; local 84 webkit_blob::BlobData::Item item; local 125 webkit_blob::BlobData::Item item; local 171 webkit_blob::BlobData::Item item; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
eng_lib.c | 161 ENGINE_CLEANUP_ITEM *item = OPENSSL_malloc(sizeof( local 163 if(!item) return NULL; 164 item->cb = cb; 165 return item; 169 ENGINE_CLEANUP_ITEM *item; local 171 item = int_cleanup_item(cb); 172 if(item) 173 sk_ENGINE_CLEANUP_ITEM_insert(cleanup_stack, item, 0); 177 ENGINE_CLEANUP_ITEM *item; local 179 item = int_cleanup_item(cb) [all...] |
/external/openssl/crypto/engine/ |
eng_lib.c | 161 ENGINE_CLEANUP_ITEM *item = OPENSSL_malloc(sizeof( local 163 if(!item) return NULL; 164 item->cb = cb; 165 return item; 169 ENGINE_CLEANUP_ITEM *item; local 171 item = int_cleanup_item(cb); 172 if(item) 173 sk_ENGINE_CLEANUP_ITEM_insert(cleanup_stack, item, 0); 177 ENGINE_CLEANUP_ITEM *item; local 179 item = int_cleanup_item(cb) [all...] |
/ndk/sources/host-tools/make-3.81/ |
hash.c | 128 hash_insert (struct hash_table *ht, const void *item) 130 void **slot = hash_find_slot (ht, item); 132 hash_insert_at (ht, item, slot); 137 hash_insert_at (struct hash_table *ht, const void *item, const void *slot) 145 old_item = item; 147 *(void const **) slot = item; 151 return (void *) hash_find_slot (ht, item); 158 hash_delete (struct hash_table *ht, const void *item) 160 void **slot = hash_find_slot (ht, item); 167 void *item = *(void **) slot local 185 void *item = *vec; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
DeviceMenuListener.java | 87 MenuItem item = new MenuItem(menu, SWT.CHECK); local 88 item.setText(avd.getName()); 89 item.setSelection(current == device); 91 item.addSelectionListener(new DeviceMenuListener(chooser, device)); 129 MenuItem item = new MenuItem(menu, SWT.CASCADE); local 130 item.setText(devices.get(0).getManufacturer()); 132 item.setMenu(manufacturerMenu); 164 MenuItem item = new MenuItem(menu, SWT.CHECK); local 165 item.setText(getNexusLabel(device)); 166 item.setSelection(current == device) 177 MenuItem item = new MenuItem(menu, SWT.CHECK); local [all...] |
/art/runtime/ |
dex_file_verifier.cc | 295 const DexFile::MapItem* item = map->list_; local 304 if (!CheckListSize(item, count, sizeof(DexFile::MapItem), "map size")) { 310 if (UNLIKELY(last_offset >= item->offset_ && i != 0)) { 311 ErrorStringPrintf("Out of order map item: %x then %x", last_offset, item->offset_); 314 if (UNLIKELY(item->offset_ >= header_->file_size_)) { 315 ErrorStringPrintf("Map item after end of file: %x, size %x", 316 item->offset_, header_->file_size_); 320 if (IsDataSectionType(item->type_)) { 321 uint32_t icount = item->size_ 1029 const DexFile::AnnotationsDirectoryItem* item = local 1321 const DexFile::MapItem* item = map->list_; local 1439 const DexFile::AnnotationsDirectoryItem* item = local 1468 const DexFile::StringId* item = reinterpret_cast<const DexFile::StringId*>(ptr_); local 1491 const DexFile::TypeId* item = reinterpret_cast<const DexFile::TypeId*>(ptr_); local 1516 const DexFile::ProtoId* item = reinterpret_cast<const DexFile::ProtoId*>(ptr_); local 1589 const DexFile::FieldId* item = reinterpret_cast<const DexFile::FieldId*>(ptr_); local 1636 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); local 1683 const DexFile::ClassDef* item = reinterpret_cast<const DexFile::ClassDef*>(ptr_); local 1796 const DexFile::AnnotationSetRefItem* item = list->list_; local 1873 const DexFile::AnnotationsDirectoryItem* item = local 2037 const DexFile::MapItem* item = map->list_; local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherModel.java | 254 for (ItemInfo item : tmpWorkspaceItems) { 255 item.unbind(); 257 for (ItemInfo item : tmpAppWidgets) { 258 item.unbind(); 266 * Adds an item to the DB if it was not created previously, or move it to a new 269 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, 271 if (item.container == ItemInfo.NO_ID) { 273 addItemToDatabase(context, item, container, screen, cellX, cellY, false); 276 moveItemInDatabase(context, item, container, screen, cellX, cellY); 281 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) 539 ItemInfo item = new ItemInfo(); local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
download_feedback_service_unittest.cc | 121 content::MockDownloadItem item; local 122 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(size)); 124 EXPECT_FALSE(DownloadFeedbackService::IsEnabledForDownload(item)); 125 DownloadFeedbackService::MaybeStorePingsForDownload(result, &item, "a", "b"); 126 return DownloadFeedbackService::IsEnabledForDownload(item); 202 content::MockDownloadItem item; local 203 EXPECT_CALL(item, GetDangerType()) 205 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(1000)); 206 EXPECT_CALL(item, StealDangerousDownload(_)) 212 DownloadProtectionService::UNCOMMON, &item, ping_request, ping_response) 242 content::MockDownloadItem item[num_downloads]; local 311 content::MockDownloadItem item[num_downloads]; local [all...] |
/external/chromium_org/content/browser/android/ |
download_controller_android_impl.cc | 262 void DownloadControllerAndroidImpl::OnDownloadUpdated(DownloadItem* item) { 264 if (item->IsDangerous() && (item->GetState() != DownloadItem::CANCELLED)) 265 OnDangerousDownload(item); 269 ConvertUTF8ToJavaString(env, item->GetURL().spec()); 271 ConvertUTF8ToJavaString(env, item->GetMimeType()); 273 ConvertUTF8ToJavaString(env, item->GetTargetFilePath().value()); 275 env, item->GetTargetFilePath().BaseName().value()); 277 switch (item->GetState()) { 280 item->TimeRemaining(&time_delta) 394 DownloadItem* item = dlm->GetDownload(download_id); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
hangoutpubsubclient.cc | 48 // A simple serialiazer where presence of item => true, lack of item 97 virtual bool ParseStateItem(const PubSubItem& item, 101 item.elem->FirstNamed(QN_PRESENTER_PRESENTER); 103 item.elem->FirstNamed(QN_PRESENTER_PRESENTATION_ITEM); 109 client()->GetPublisherNickFromPubSubItem(item.elem); 117 // Make every item trigger an event, even if state doesn't change. 261 const std::string& task_id, const XmlElement* item) { 266 const std::string& task_id, const XmlElement* item, 295 const std::string GetAudioMuteNickFromItem(const XmlElement* item) { [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.cpp | 133 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) 139 if (item) { 140 _do_splat(where, item, numItems); 159 void VectorImpl::push(const void* item) 161 insertAt(item, size()); 169 ssize_t VectorImpl::add(const void* item) 171 return insertAt(item, size()); 184 void* item = editItemLocation(index); 185 if (item == 0) 187 _do_destroy(item, 1) [all...] |