/external/chromium_org/content/test/data/dom_storage/ |
sanity_check.js | 26 checkEqual(null, storage.getItem("foo"), 27 "getItem('foo') != null prior to addition"); 35 checkEqual("bar", storage.getItem("foo"), 36 "getItem('foo') != 'bar' after addition"); 42 checkEqual(null, storage.getItem("foo"), 43 "getItem('foo') != null after removal");
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ItemizedOverlayTest.java | 50 assertEquals(itemizedOverlay.firstOverlayItem, itemizedOverlay.getItem(0)); 51 assertEquals(itemizedOverlay.secondOverlayItem, itemizedOverlay.getItem(1)); 60 assertEquals(itemizedOverlay.firstOverlayItem, itemizedOverlay.getItem(0)); 61 assertEquals(itemizedOverlay.secondOverlayItem, itemizedOverlay.getItem(1)); 65 itemizedOverlay.getItem(2); 76 assertNull(itemizedOverlay.getItem(0));
|
CountingAdapter.java | 26 public Object getItem(int position) {
|
MenuInflaterTest.java | 23 TestMenuItem testMenuItem = (TestMenuItem) menu.getItem(0); 27 testMenuItem = (TestMenuItem) menu.getItem(1);
|
ArrayAdapterTest.java | 50 assertEquals(new Integer(1), arrayAdapter.getItem(0)); 51 assertEquals(new Integer(2), arrayAdapter.getItem(1)); 52 assertEquals(new Integer(3), arrayAdapter.getItem(2)); 99 Integer firstItem = arrayAdapter.getItem(0); 106 assertEquals(new Integer(2), arrayAdapter.getItem(0)); 107 assertEquals(new Integer(3), arrayAdapter.getItem(1)); 114 Integer firstItem = arrayAdapter.getItem(0);
|
/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
CompositeListAdapterTest.java | 140 assertEquals("A", adapter.getItem(0)); 141 assertEquals("B", adapter.getItem(1)); 142 assertEquals("C", adapter.getItem(2)); 143 assertEquals("D", adapter.getItem(3)); 144 assertEquals("E", adapter.getItem(4)); 222 assertEquals("A", adapter.getItem(0)); 223 assertEquals("B", adapter.getItem(1)); 224 assertEquals("X", adapter.getItem(2)); 230 assertEquals("A", adapter.getItem(0)); 231 assertEquals("B", adapter.getItem(1)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ArrayAdapterTest.java | 250 assertSame(STR1, mArrayAdapter.getItem(0)); 251 assertSame(STR2, mArrayAdapter.getItem(1)); 252 assertSame(STR3, mArrayAdapter.getItem(2)); 256 mArrayAdapter.getItem(-1); 263 mArrayAdapter.getItem(mArrayAdapter.getCount()); 407 assertEquals(mArrayAdapter.getItem(0), "testing"); 408 assertEquals(mArrayAdapter.getItem(1), "android"); 432 assertEquals(mArrayAdapter.getItem(0), list.get(0)); 433 assertEquals(mArrayAdapter.getItem(1), list.get(1)); 434 assertEquals(mArrayAdapter.getItem(2), list.get(2)) [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/blackberry/ |
clear-localstorage.html | 8 if (!sessionStorage.getItem("key")) { 18 if (!localStorage.getItem("key")) {
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
localstorage-empty-database.html | 4 var x = localStorage.getItem('foo'); 6 <p>This page has called <code>localStorage.getItem('foo')</code>.
|
/external/chromium_org/third_party/icu/source/tools/ctestfw/ |
datamap.cpp | 100 const ResourceBundle *RBDataMap::getItem(const char* key, UErrorCode &status) const 118 const ResourceBundle *r = getItem(key, status); 129 const ResourceBundle *r = getItem(key, status); 140 const ResourceBundle *r = getItem(key, status); 150 const ResourceBundle *r = getItem(key, status); 160 const ResourceBundle *r = getItem(key, status); 180 const ResourceBundle *r = getItem(key, status); 201 const ResourceBundle *r = getItem(key, status);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/ |
AutofillListAdapter.java | 41 labelView.setText(getItem(position).mLabel); 44 CharSequence sublabel = getItem(position).mSublabel;
|
/external/icu4c/tools/ctestfw/ |
datamap.cpp | 100 const ResourceBundle *RBDataMap::getItem(const char* key, UErrorCode &status) const 118 const ResourceBundle *r = getItem(key, status); 129 const ResourceBundle *r = getItem(key, status); 140 const ResourceBundle *r = getItem(key, status); 150 const ResourceBundle *r = getItem(key, status); 160 const ResourceBundle *r = getItem(key, status); 180 const ResourceBundle *r = getItem(key, status); 201 const ResourceBundle *r = getItem(key, status);
|
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
PhotoThumbnailAdapter.java | 65 Cursor cursor = getItem(position); 72 public Cursor getItem(int position) { 73 return (Cursor) super.getItem(position);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DropDownEditor.java | 49 v.setText(v.getResources().getString(getItem(position))); 58 v.setText(v.getResources().getString(getItem(position))); 72 Object newValue = adapter.getItem(position);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/views/ |
background.html | 17 var newsFlag = window.localStorage.getItem('newsFlag');
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/views/ |
background.html | 17 var newsFlag = window.localStorage.getItem('newsFlag');
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragmentPagerAdapter.java | 30 return realAdapter.getItem(position);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestSubMenu.java | 50 public MenuItem getItem() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
HistoryManager.java | 44 public HistoryItem getItem(int position) { 122 return getItem(0); 126 return getItem(mCurrentPresetPosition); 139 oldItems.add(getItem(i));
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndActivity.java | 45 textView.setText((String) getItem(position)); 53 public Object getItem(int position) {
|
/developers/samples/android/ui/lists/CustomChoiceList/CustomChoiceList/src/main/java/com/example/android/customchoicelist/ |
MainActivity.java | 48 public String getItem(int position) { 64 .setText(getItem(position));
|
/external/chromium_org/content/renderer/dom_storage/ |
webstoragearea_impl.cc | 58 WebString WebStorageAreaImpl::getItem(const WebString& key) { 59 return cached_area_->GetItem(connection_id_, key);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
SubMenuWrapperICS.java | 83 public MenuItem getItem() { 84 return getMenuItemWrapper(((android.view.SubMenu) mWrappedObject).getItem());
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
SectionedAlbumDataAdapter.java | 72 PhotoSource.AlbumData item = mAlbumData.getItem(i); 86 PhotoSource.AlbumData item = mAlbumData.getItem(i); 129 public Object getItem(int position) { 131 return mAlbumData.getItem(internalPosition(position+1)).account; 133 return mAlbumData.getItem(internalPosition(position)); 187 textView.setText((String) getItem(position));
|
/external/javassist/src/main/javassist/bytecode/ |
ConstPool.java | 185 ConstInfo getItem(int n) { 194 return getItem(index).getTag(); 209 ClassInfo c = (ClassInfo)getItem(index); 222 NameAndTypeInfo ntinfo = (NameAndTypeInfo)getItem(index); 232 NameAndTypeInfo ntinfo = (NameAndTypeInfo)getItem(index); 246 MemberrefInfo minfo = (MemberrefInfo)getItem(index); 260 MemberrefInfo minfo = (MemberrefInfo)getItem(index); 270 FieldrefInfo finfo = (FieldrefInfo)getItem(index); 282 FieldrefInfo f = (FieldrefInfo)getItem(index); 295 FieldrefInfo finfo = (FieldrefInfo)getItem(index) [all...] |