/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HasAttribute.java | 56 testNode = (Element) elementList.item(4); 69 // testNode = (Element) elementList.item(0); 80 testNode = (Element) elementList.item(0); 91 testNode = (Element) elementList.item(0);
|
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/app/ |
PickerActivity.java | 71 public boolean onOptionsItemSelected(MenuItem item) { 72 if (item.getItemId() == R.id.action_cancel) { 76 return super.onOptionsItemSelected(item);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionMenu.java | 51 PopupList.Item item = mPopupList.findItem(R.id.action_select_all); local 52 if (item != null) { 53 item.setTitle(mContext.getString(
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumFragment.java | 108 Cursor item = (Cursor) getItemAtPosition(position); local 109 Uri uri = mLoaderCompatShim.uriForItem(item); 137 public int getItemMediaType(Object item) { 138 return ((Cursor) item).getInt(PhotoSetLoader.INDEX_MEDIA_TYPE); 142 public int getItemSupportedOperations(Object item) { 143 return ((Cursor) item).getInt(PhotoSetLoader.INDEX_SUPPORTED_OPERATIONS); 148 public ArrayList<Uri> getSubItemUrisForItem(Object item) { 150 mSubItemUriTemp.add(mLoaderCompatShim.uriForItem((Cursor) item)); 160 public Uri getItemUri(Object item) { 161 return mLoaderCompatShim.uriForItem((Cursor) item); [all...] |
MultiChoiceManager.java | 53 public int getItemMediaType(Object item); 54 public int getItemSupportedOperations(Object item); 55 public ArrayList<Uri> getSubItemUrisForItem(Object item); 56 public Uri getItemUri(Object item); 96 private String getItemMimetype(Object item) { 97 int type = mDelegate.getItemMediaType(item); 111 Object item = mDelegate.getItemAtPosition(position); local 113 int supported = mDelegate.getItemSupportedOperations(item); 116 ArrayList<Uri> subItems = mDelegate.getSubItemUrisForItem(item); 125 mDelegate.getItemMediaType(item), [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
ElementSequentialTimeContainerImpl.java | 49 instant -= ((ElementTime) allChildren.item(i)).getDur(); 51 nodes.add(allChildren.item(i)); 63 ElementTime child = (ElementTime) children.item(i);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Help.java | 47 MenuItem item = menu.findItem(R.id.menu_help); local 48 item.setIntent(helpIntent); 50 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedBlockingQueue.java | 92 E item; field in class:LinkedBlockingQueue.Node 102 Node(E x) { item = x; } 113 * Invariant: head.item == null 180 // assert head.item == null; 185 E x = first.item; 186 first.item = null; 485 return first.item; 498 p.item = null; 524 if (o.equals(p.item)) { 548 if (o.equals(p.item)) 875 E item = (E)s.readObject(); local [all...] |
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 1163 E item = (E)s.readObject(); local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuPresenter.java | 154 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { 155 View actionView = item.getActionView(); 156 if (actionView == null || item.hasCollapsibleActionView()) { 160 actionView = super.getItemView(item, convertView, parent); 162 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 173 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { 174 itemView.initialize(item, 0); 182 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { 183 return item.isActionButton(); 260 private View findViewForItem(MenuItem item) { 366 MenuItemImpl item = visibleItems.get(i); local 401 MenuItemImpl item = visibleItems.get(i); local 504 MenuItem item = mMenu.findItem(saved.openSubMenuId); local 616 MenuItemImpl item = (MenuItemImpl) subMenu.getItem(); local [all...] |
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 67 * <li>Uses XmlPullParser to extract the rss item data 165 * This is called to render a particular item for the on screen list. 185 RssItem item = this.getItem(position); local 187 // Set the item title and description into the view. 191 view.getText1().setText(item.getTitle()); 192 String descr = item.getDescription().toString(); 211 * Called when user clicks an item in the list. Starts an activity to 212 * open the url for that item. 216 RssItem item = mAdapter.getItem(position); local 218 // Creates and starts an intent to open the item.link url 414 RssItem item = mAdapter.getItem(i); local 514 RssItem item = new RssItem(title, link, description); local [all...] |
/external/emma/core/java12/com/vladium/emma/report/lcov/ |
ReportGenerator.java | 105 public Object visit(final AllItem item, final Object ctx) 124 for (Iterator packages = item.getChildren(order); packages.hasNext(); ) 136 public Object visit(final PackageItem item, final Object ctx) 140 m_log.verbose(" report: processing package [" + item.getName() + "] ..."); 148 for (Iterator srcORclsFiles = item.getChildren(order); 163 public Object visit (final SrcFileItem item, final Object ctx) 165 row("SF:".concat(item.getFullVMName())); 169 emitFileCoverage(item); 178 private void emitFileCoverage(final SrcFileItem item) 182 $assert.ASSERT(item != null, "null input: item") [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
ComplexTextControllerLinux.cpp | 72 m_item.item.bidiLevel = m_run.rtl(); 98 if (logClustersIndex < m_item.item.length 99 && isWordBreak(m_item.item.pos + logClustersIndex)) { 152 if (!hb_utf16_script_run_next(0, &m_item.item, m_run.characters(), m_run.length(), &m_indexOfNextScriptRun)) 162 m_currentFontData = m_font->glyphDataForCharacter(m_item.string[m_item.item.pos], false).fontData; 164 for (endOfRun = 1; endOfRun < m_item.item.length; ++endOfRun) { 165 const SimpleFontData* nextFontData = m_font->glyphDataForCharacter(m_item.string[m_item.item.pos + endOfRun], false).fontData; 169 m_item.item.length = endOfRun; 170 m_indexOfNextScriptRun = m_item.item.pos + endOfRun; 195 if (m_font->isSmallCaps() && u_islower(m_item.string[m_item.item.pos])) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserHistoryPage.java | 311 public boolean onOptionsItemSelected(MenuItem item) { 312 if (item.getItemId() == R.id.clear_history_menu_id) { 316 return super.onOptionsItemSelected(item); 372 MenuItem item = menu.findItem(R.id.save_to_bookmarks_menu_id); local 373 item.setTitle(R.string.remove_from_bookmarks); 386 public boolean onContextItemSelected(MenuItem item) { 387 ContextMenuInfo menuInfo = item.getMenuInfo(); 399 switch (item.getItemId()) { 431 return super.onContextItemSelected(item); 605 TextView item; local 634 HistoryItem item; 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/chrome/browser/ |
language_order_table_model.cc | 90 std::string item = languages_.at(index); 93 languages_.push_back(item); 95 languages_.insert(languages_.begin() + index + 1, item); 103 std::string item = languages_.at(index); 105 languages_.insert(languages_.begin() + index - 1, item);
|
/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
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.2.js | 176 item = testcases.length; 178 testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() ); 179 testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() ); 180 testcases[item++] = new TestCase( SECTION, "Date.parse(" + DateCase.toString() +")", Math.floor(ResultArray[TIME]/1000)*1000, Date.parse(DateCase.toString()) ); 181 testcases[item++] = new TestCase( SECTION, "Date.parse(" + DateCase.toGMTString() +")", Math.floor(ResultArray[TIME]/1000)*1000, Date.parse(DateCase.toGMTString()) ); 183 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() ); 184 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() ); 185 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() ); 186 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() z inutes() ); 187 testcases[item++] = new TestCase( SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase (…) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebHistoryItemClassic.java | 31 // The favicon for this item. 45 * Basic constructor that assigns a unique id to the item. Called by JNI 75 * Construct a clone of a WebHistoryItem from the given item. 76 * @param item The history item to clone. 78 private WebHistoryItemClassic(WebHistoryItemClassic item) { 79 mFlattenedData = item.mFlattenedData; 80 mId = item.mId; 81 mFavicon = item.mFavicon; 82 mNativeBridge = item.mNativeBridge [all...] |
/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);
|
/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/tests/src/com/android/gallery3d/data/ |
RealDataTest.java | 94 Log.v(TAG, prefix + "got item " + i + " (+" + list.size() + ")"); 95 for (MediaItem item : list) { 96 dumpMediaItem(item, prefix + ".."); 101 void dumpMediaItem(MediaItem item, String prefix) { 102 assertNewId(item.getPath()); 103 Log.v(TAG, prefix + "getPath() = " + item.getPath());
|