/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
MainActivity.java | 150 PlaylistItem item = getCheckedPlaylistItem(); 151 if (item != null) { 152 long pos = item.getPosition() + 153 (mPaused ? 0 : (SystemClock.elapsedRealtime() - item.getTimestamp())); 338 PlaylistItem item = getCheckedPlaylistItem(); 339 if (fromUser && item != null && item.getDuration() > 0) { 340 long pos = progress * item.getDuration() / 100; 341 mSessionManager.seek(item.getItemId(), pos); 342 item.setPosition(pos) 530 PlaylistItem item = getCheckedPlaylistItem(); local 582 PlaylistItem item = getCheckedPlaylistItem(); local 665 final MediaItem item = getItem(position); local 702 final PlaylistItem item = getItem(position); local [all...] |
/external/libvorbis/doc/ |
a1-encapsulation-ogg.tex | 29 \item 32 \item 35 \item 71 \item 78 \item 82 \item 90 \item 94 \item 98 \item 102 \item [all...] |
05-comment.tex | 99 \item[TITLE] 102 \item[VERSION] 107 \item[ALBUM] 110 \item[TRACKNUMBER] 113 \item[ARTIST] 116 \item[PERFORMER] 119 \item[COPYRIGHT] 122 \item[LICENSE] 130 \item[ORGANIZATION] 134 \item[DESCRIPTION [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 170 TableItem item = getItemUnderCursor(event); 171 if (item != null) { 184 TableItem item = getItemUnderCursor(event); 185 if (item != null) { 186 m_table.setSelection(new TableItem[]{item}); 244 // show selected item in text 406 TableItem item = items[index]; local 407 item.dispose(); 412 * Adds new item with given text. 419 * Adds new item with given text and image 423 TableItem item = new TableItem(m_table, SWT.NONE); local 463 TableItem item = m_table.getItem(index); local 482 TableItem item = items[index]; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
DocumentBuilderTest.java | 248 d.getChildNodes().item(0).getNodeName()); 250 d.getChildNodes().item(1).getNodeName()); 308 d.getChildNodes().item(0).getNodeName()); 310 d.getChildNodes().item(1).getNodeName()); 370 d.getChildNodes().item(0).getNodeName()); 372 d.getChildNodes().item(1).getNodeName()); 431 d.getChildNodes().item(0).getNodeName()); 433 d.getChildNodes().item(1).getNodeName()); 435 d.getChildNodes().item(2).getNodeName()); 437 d.getChildNodes().item(3).getNodeName()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ExternalStorage.java | 52 static class Item { 58 Item mExternalStoragePublicPicture; 59 Item mExternalStoragePrivatePicture; 60 Item mExternalStoragePrivateFile; 358 Item createStorageControls(CharSequence label, File path, 362 Item item = new Item(); local 363 item.mRoot = inflater.inflate(R.layout.external_storage_item, null); 364 TextView tv = (TextView)item.mRoot.findViewById(R.id.label) [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
native_backend_gnome_x_unittest.cc | 113 MockKeyringItem* item = &mock_keyring_items.back(); local 117 VLOG(1) << "Adding item with origin " << display_name 124 item->attributes[name] = 126 VLOG(1) << "Adding item attribute " << name 127 << ", value '" << item->attributes[name].value_string << "'"; 129 item->attributes[name] = 131 VLOG(1) << "Adding item attribute " << name 132 << ", value " << item->attributes[name].value_uint32; 140 item->attributes.find("application"); 141 if (it != item->attributes.end() & 181 const MockKeyringItem* item = &mock_keyring_items[i - 1]; local 221 const MockKeyringItem* item = &mock_keyring_items[i]; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
samples_data_source.py | 130 for item in sorted(api_items): 131 if len(item.split('.')) < 3: 133 if item.endswith('.removeListener') or item.endswith('.hasListener'): 135 if item.endswith('.addListener'): 136 item = item[:-len('.addListener')] 137 if item.startswith('chrome.'): 138 item = item[len('chrome.'): [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_controller.h | 79 // block, the selected item is returned. If the menu does not block this 200 // The selected menu item. 201 MenuItemView* item; member in struct:views::MenuController::State 203 // If item has a submenu this indicates if the submenu is showing. 240 // If type is MENU_ITEM, this is the menu item the mouse is over, otherwise 242 // NOTE: if type is MENU_ITEM and the mouse is not over a valid menu item 248 // If type is MENU_ITEM but the mouse is not over a menu item this is the 249 // parent of the menu item the user clicked on. Otherwise this is NULL. 294 // Invoked when the user accepts the selected item. This is only used 296 void Accept(MenuItemView* item, int event_flags) [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientlib.c | 253 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, &keylen); local 254 if (!item) return(kDNSServiceErr_NoSuchKey); 255 itemlen = (unsigned long)(1 + item[0]); 256 remainder = (unsigned long)((txtRec->buffer + txtRec->datalen) - (item + itemlen)); 258 memmove(item, item + itemlen, remainder); 292 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen); local 293 if (!item || item[0] <= keylen) return(NULL); // If key not found, or found with no value, return NULL 294 *valueLen = (uint8_t)(item[0] - (keylen + 1)) [all...] |
/external/smack/src/org/jivesoftware/smackx/provider/ |
VCardProvider.java | 138 Node photoNode = photo.item(0); 144 nodes.add(childNodes.item(i)); 169 Element element = (Element) nodes.item(i); 183 NodeList nodes = allPhones.item(i).getChildNodes(); 188 Node node = nodes.item(j); 219 Element addressNode = (Element) allAddresses.item(i); 226 Node node = childNodes.item(j); 251 return getTextContent(nodes.item(0)); 259 Node node = childNodes.item(i); 268 element.getChildNodes().item(0) instanceof Text) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
WifiTile.java | 29 import com.android.systemui.qs.QSDetailItems.Item; 278 public void onDetailItemClick(Item item) { 279 if (item == null || item.tag == null) return; 280 final AccessPoint ap = (AccessPoint) item.tag; 288 public void onDetailItemDisconnect(Item item) { 299 Item[] items = null; 301 items = new Item[mAccessPoints.length] 304 final Item item = new Item(); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 113 View item = inflater.inflate(R.layout.snapshot_item, mGrid, false); local 115 item.measure(mspec, mspec); 116 int width = item.getMeasuredWidth(); 169 private void populateBookmarkItem(Cursor cursor, BookmarkItem item) { 170 item.setName(cursor.getString(SNAPSHOT_TITLE)); 171 item.setUrl(cursor.getString(SNAPSHOT_URL)); 172 item.setFavicon(getBitmap(cursor, SNAPSHOT_FAVICON)); 184 public boolean onContextItemSelected(MenuItem item) { 185 if (item.getItemId() == R.id.delete_context_menu_id) { 186 AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo() [all...] |
/external/chromium_org/net/http/ |
http_cache.cc | 125 // The type of operation represented by a work item. 133 // A work item encapsulates a single request to the backend with all the 485 scoped_ptr<WorkItem> item(new WorkItem(WI_CREATE_BACKEND, NULL, callback, 493 pending_op->pending_queue.push_back(item.release()); 499 pending_op->writer = item.release(); 520 WorkItem* item = new WorkItem( 524 pending_op->pending_queue.push_back(item); 551 // Each time we request an item from the cache, we tag it with a 553 // item will use the same generation number and pull the proper 605 WorkItem* item = new WorkItem(WI_DOOM_ENTRY, trans, NULL) local 745 WorkItem* item = new WorkItem(WI_OPEN_ENTRY, trans, entry); local 774 WorkItem* item = new WorkItem(WI_CREATE_ENTRY, trans, entry); local [all...] |
/external/smack/src/org/jivesoftware/smack/ |
Roster.java | 283 RosterPacket.Item item = new RosterPacket.Item(user, name); local 287 item.addGroupName(group); 291 rosterPacket.addRosterItem(item); 312 private void insertRosterItems(List<RosterPacket.Item> items){ 316 Iterator<RosterPacket.Item> iter = items.iterator(); 323 private void insertRosterItem(RosterPacket.Item item, Collection<String> addedEntries, 325 RosterEntry entry = new RosterEntry(item.getUser(), item.getName() 458 RosterPacket.Item item = RosterEntry.toRosterItem(entry); local [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
LoadCodecs.cpp | 259 CArcInfoEx item;
local 260 item.LibIndex = Libs.Size() - 1;
261 item.FormatIndex = i;
263 RINOK(ReadStringProp(getProp, getProp2, i, NArchive::kName, item.Name));
270 item.ClassID = *(const GUID *)prop.bstrVal;
276 item.AddExts(ext, addExt);
278 ReadBoolProp(getProp, getProp2, i, NArchive::kUpdate, item.UpdateEnabled);
279 if (item.UpdateEnabled)
280 ReadBoolProp(getProp, getProp2, i, NArchive::kKeepName, item.KeepName);
286 item.StartSignature.SetCapacity(len); 432 CArcInfoEx item; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
AbstractTestListActivity.java | 40 TestListItem item = mAdapter.getItem(position); local 41 return item.intent; 70 /** Launch the activity when its {@link ListView} item is clicked. */
|
/cts/tests/app/src/android/app/cts/ |
TestDialog.java | 208 public boolean onMenuItemSelected(int featureId, MenuItem item) { 210 return super.onMenuItemSelected(featureId, item); 246 public boolean onOptionsItemSelected(MenuItem item) { 248 switch (item.getItemId()) { 258 return super.onOptionsItemSelected(item); 269 public boolean onContextItemSelected(MenuItem item) { 271 switch (item.getItemId()) { 277 return super.onContextItemSelected(item);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
UniformItemSection.java | 26 * {@link Item} objects. Each of the items must have the same size in 46 Collection<? extends Item> items = items(); 53 // Since each item has to be the same size, we can pick any. 58 * Gets the item corresponding to the given {@link Constant}. This 64 * @return {@code non-null;} the corresponding item found in this instance 75 for (Item one : items()) { 86 for (Item one : items()) { 94 public final int getAbsoluteItemOffset(Item item) { 99 IndexedItem ii = (IndexedItem) item; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
UniformItemSection.java | 25 * {@link Item} objects. Each of the items must have the same size in 45 Collection<? extends Item> items = items(); 52 // Since each item has to be the same size, we can pick any. 57 * Gets the item corresponding to the given {@link Constant}. This 63 * @return {@code non-null;} the corresponding item found in this instance 74 for (Item one : items()) { 85 for (Item one : items()) { 93 public final int getAbsoluteItemOffset(Item item) { 98 IndexedItem ii = (IndexedItem) item; [all...] |
/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 126 MenuItem item = menu.findItem(R.id.action_toggle); local 127 if (null != item) { 129 item.setIcon(R.drawable.ic_action_grid); 130 item.setTitle(R.string.show_as_grid); 132 item.setIcon(R.drawable.ic_action_list); 133 item.setTitle(R.string.show_as_list); 139 public boolean onOptionsItemSelected(MenuItem item) { 140 switch (item.getItemId()) {
|
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
BasicGestureDetectFragment.java | 69 public boolean onOptionsItemSelected(MenuItem item) { 70 if (item.getItemId() == R.id.sample_action) {
|
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/basicimmersivemode/ |
BasicImmersiveModeFragment.java | 50 public boolean onOptionsItemSelected(MenuItem item) { 51 if (item.getItemId() == R.id.sample_action) {
|
/developers/build/prebuilts/gradle/ImmersiveMode/Application/src/main/java/com/example/android/immersivemode/ |
ImmersiveModeFragment.java | 51 public boolean onOptionsItemSelected(MenuItem item) { 52 if (item.getItemId() == R.id.sample_action) {
|
/developers/build/prebuilts/gradle/RepeatingAlarm/Application/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 42 public boolean onOptionsItemSelected(MenuItem item) { 43 if(item.getItemId() == R.id.sample_action) {
|