/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedBlockingDeque.java | 80 * The item, or null if this node has been removed. 82 E item; field in class:LinkedBlockingDeque.Node 101 item = x; 108 * (first.prev == null && first.item != null) 115 * (last.next == null && last.item != null) 229 E item = f.item; local 230 f.item = null; 239 return item; 251 E item = l.item local 1160 E item = (E)s.readObject(); local [all...] |
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/ |
ListViewAnimations.java | 64 final String item = (String) parent.getItemAtPosition(position); 70 cheeseList.remove(item); 93 cheeseList.remove(item); 123 String item = getItem(position); local 124 return mIdMap.get(item);
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
ScreenSlideActivity.java | 89 MenuItem item = menu.add(Menu.NONE, R.id.action_next, Menu.NONE, local 93 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM | MenuItem.SHOW_AS_ACTION_WITH_TEXT); 98 public boolean onOptionsItemSelected(MenuItem item) { 99 switch (item.getItemId()) { 119 return super.onOptionsItemSelected(item);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
history_menu_bridge.h | 73 // The title for the menu item. 75 // The URL that will be navigated to if the user selects this item. 88 // The pointer to the item after it has been created. Strong; NSMenu also 90 // quickly), the NSMenu can release the item before the HistoryItem has 98 // restored that way. Otherwise, the URL will be used to open the item and 118 kRecentlyClosedSeparator = 400, // Item before recently closed section. 145 HistoryItem* HistoryItemForMenuItem(NSMenuItem* item); 159 // child items from the menu item map. This will only remove items that have 164 // index. This will add |item| and the newly created menu item to th [all...] |
/external/chromium_org/ui/views/controls/menu/ |
submenu_view.h | 44 // Creates a SubmenuView for the specified menu item. 79 // Scrolls on menu item boundaries. 83 // Scrolls on menu item boundaries. 123 // Returns the parent menu item we're showing children for. 126 // Set the drop item and position. 127 void SetDropMenuItem(MenuItemView* item, 130 // Returns whether the selection should be shown for the specified item. 133 bool GetShowSelection(MenuItemView* item); 170 // Paints the drop indicator. This is only invoked if item is non-NULL and 173 MenuItemView* item, [all...] |
/external/markdown/markdown/extensions/ |
rss.py | 82 item = etree.SubElement(channel, "item") 83 link = etree.SubElement(item, "link") 85 title = etree.SubElement(item, "title") 89 guidElem = etree.SubElement(item, "guid") 95 description = etree.SubElement(item, "description") 97 # Item not defined - moving on
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
ListViewAddRemoveNoTransition.java | 56 String item = (String) parent.getItemAtPosition(position); 59 if (!item.equals(v.getText())) { 63 numList.remove(item); 93 String item = getItem(position); local 94 return mIdMap.get(item);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentimportnode21.java | 106 element = (Element) addressList.item(1); 108 entRef2 = (EntityReference) addressChildList.item(0); 109 entRef3 = (EntityReference) addressChildList.item(2); 121 nodeImp2 = nodes.item(0); 124 nodeImp3 = nodes.item(0);
|
/libcore/luni/src/test/java/libcore/xml/ |
SimpleBuilderTest.java | 71 Element one = (Element) list.item(0); 72 Element two = (Element) list.item(1); 73 Element three = (Element) list.item(2); 74 Element four = (Element) list.item(3); 97 Node node = list.item(i);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetAttributeNS.java | 86 // testAddr = (Element) elementList.item(0); 103 testAddr = (Element) elementList.item(0); 107 testAddr = (Element) elementList.item(0); 120 testAddr = (Element) elementList.item(0); 139 testAddr = (Element) elementList.item(0); 152 testAddr = (Element) elementList.item(0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ClusterAlbum.java | 85 public void consume(int index, MediaItem item) { 86 buf[index] = item; 130 public void consume(int index, MediaItem item) { 131 if ((item.getSupportedOperations() & SUPPORT_DELETE) != 0) { 132 item.delete();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
HistoryManager.java | 55 private void add(HistoryItem item) { 56 mHistoryItems.add(item); 96 private void setEnabled(MenuItem item, boolean enabled) { 97 item.setEnabled(enabled); 98 Drawable drawable = item.getIcon();
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProvisionLogger.java | 181 for (StackTraceElement item : trace) { 182 if (item.getClassName().equals(className)) { 193 "[%s(%s): %s]", item.getFileName(), item.getLineNumber(), 194 item.getMethodName());
|
/external/chromium_org/ash/shelf/ |
shelf_model.cc | 19 // TODO(skuhne): If the app list item becomes movable again, this need 53 int ShelfModel::Add(const ShelfItem& item) { 54 return AddAt(items_.size(), item); 57 int ShelfModel::AddAt(int index, const ShelfItem& item) { 58 index = ValidateInsertionIndex(item.type, index); 59 items_.insert(items_.begin() + index, item); 80 ShelfItem item(items_[index]); 82 items_.insert(items_.begin() + target_index, item); 87 void ShelfModel::Set(int index, const ShelfItem& item) { 89 int new_index = item.type == items_[index].type [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
IItemAttribute.java | 45 void format (IItem item, StringBuffer appendTo); 46 boolean passes (IItem item, int criterion); // ideally, criteria should come from a double-dispatched API 94 public void format (final IItem item, final StringBuffer appendTo) 96 appendTo.append (item.getName ()); 99 public boolean passes (final IItem item, final int criterion) 138 public void format (final IItem item, final StringBuffer appendTo) 140 final int n = item.getAggregate (m_numeratorAggregateID); 142 final int d = item.getAggregate (m_denominatorAggregateID); 164 public boolean passes (final IItem item, final int criterion) 166 final int n = item.getAggregate (m_numeratorAggregateID) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemLocationBox.java | 65 public List<Item> items = new LinkedList<Item>(); 76 for (Item item : items) { 77 size += item.getSize(); 93 for (Item item : items) { 94 item.getContent(byteBuffer); 112 items.add(new Item(content)); 149 public List<Item> getItems() [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 81 view.setText("List item " + mTitles[position]); 99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name"); local 100 item.setTitleCondensed("Long name"); 101 item.setIcon(R.drawable.black_square); 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 104 item = sm.getItem(); 105 item.setTitleCondensed("Sub menu"); 110 menu.add(0, 0, 0, "Item 3"); 111 menu.add(0, 0, 0, "Item 4") [all...] |
/frameworks/native/libs/gui/ |
ConsumerBase.cpp | 182 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item, 184 status_t err = mConsumer->acquireBuffer(item, presentWhen); 189 if (item->mGraphicBuffer != NULL) { 190 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; 193 mSlots[item->mBuf].mFrameNumber = item->mFrameNumber; 194 mSlots[item->mBuf].mFence = item->mFence; 197 item->mBuf, item->mFrameNumber) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PhotoController.java | 61 PieItem item = makeItem(R.drawable.ic_switch_photo_facing_holo_light); local 62 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); 63 item.setOnClickListener(new OnClickListener() { 65 public void onClick(PieItem item) { 79 mRenderer.addItem(item); 86 public void onClick(PieItem item) { 108 PieItem item = makeItem(R.drawable.ic_settings_holo_light); local 109 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO * 3, sweep); 110 item.setOnClickListener(new OnClickListener() { 112 public void onClick(PieItem item) { [all...] |
PieController.java | 101 PieItem item = makeItem(resid); local 103 item.setFixedSlice(center, sweep); 104 mRenderer.addItem(item); 106 mPreferenceMap.put(pref, item); 116 item.addItem(inner); 120 public void onClick(PieItem item) { 143 PieItem item = mPreferenceMap.get(pref); 160 item.setImageResource(mActivity, iconIds[index]); 163 item.setImageResource(mActivity, pref.getSingleIcon()); 184 PieItem item = mPreferenceMap.get(pref) local [all...] |
/packages/apps/Gallery2/src/com/android/photos/shims/ |
MediaSetLoader.java | 134 public Drawable drawableForItem(Cursor item, Drawable recycle) { 141 int index = item.getInt(AlbumSetLoader.INDEX_ID); 151 public Uri uriForItem(Cursor item) { 152 int index = item.getInt(AlbumSetLoader.INDEX_ID); 158 public ArrayList<Uri> urisForSubItems(Cursor item) { 159 int index = item.getInt(AlbumSetLoader.INDEX_ID); 165 public void consume(int index, MediaItem item) { 166 if (item != null) { 167 result.add(item.getContentUri()); 183 public Object getPathForItem(Cursor item) { [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 54 // Get all of the rows from the database and create the item list 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 79 switch(item.getItemId()) { 85 return super.onMenuItemSelected(featureId, item); 96 public boolean onContextItemSelected(MenuItem item) { 97 switch(item.getItemId()) { 99 AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); 104 return super.onContextItemSelected(item);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 54 // Get all of the rows from the database and create the item list 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 79 switch(item.getItemId()) { 85 return super.onMenuItemSelected(featureId, item); 96 public boolean onContextItemSelected(MenuItem item) { 97 switch(item.getItemId()) { 99 AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); 104 return super.onContextItemSelected(item);
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ |
ContextMenuUtils.java | 54 * Opens and selects an item from a context menu. 60 * @param itemId The context menu item ID to select. 74 * Opens and selects an item from a context menu. 80 * @param itemTitle The title of the context menu item to select. 93 MenuItem item = menu.getItem(i); local 94 if (TextUtils.equals(item.getTitle(), itemTitle)) { 95 itemId = item.getItemId(); 99 Assert.assertNotNull("Couldn't find context menu item for '" + itemTitle + "'", itemId); 106 MenuItem item = menu.findItem(itemId); local 107 Assert.assertNotNull("Could not find '" + itemId + "' in menu", item); [all...] |
/external/chromium_org/v8/src/ |
json.js | 199 var item = replacer[i]; 200 if (IS_STRING_WRAPPER(item)) { 201 item = ToString(item); 203 if (IS_NUMBER_WRAPPER(item)) item = ToNumber(item); 204 if (IS_NUMBER(item)) item = %_NumberToString(item); [all...] |