/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryProvider.java | 75 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 78 throw new IllegalArgumentException("selection not allowed for " + uri); in query() 81 throw new IllegalArgumentException("selectionArgs not allowed for " + uri); in query() 84 throw new IllegalArgumentException("sortOrder not allowed for " + uri); in query() 86 switch (sURIMatcher.match(uri)) { in query() 89 if (uri.getPathSegments().size() > 1) { in query() 90 query = uri.getLastPathSegment().toLowerCase(); in query() 95 if (uri.getPathSegments().size() > 1) { in query() 96 shortcutId = uri.getLastPathSegment(); in query() 100 throw new IllegalArgumentException("Unknown URL " + uri); in query() [all …]
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 95 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 99 switch (sUriMatcher.match(uri)) { in query() 108 qb.appendWhere(Notes._ID + "=" + uri.getPathSegments().get(1)); in query() 112 throw new IllegalArgumentException("Unknown URI " + uri); in query() 128 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local 133 public String getType(Uri uri) { in getType() argument 134 switch (sUriMatcher.match(uri)) { in getType() 142 throw new IllegalArgumentException("Unknown URI " + uri); in getType() 147 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument 149 if (sUriMatcher.match(uri) != NOTES) { in insert() [all …]
|
D | NotesList.java | 122 Uri uri = ContentUris.withAppendedId(getIntent().getData(), getSelectedItemId()); in onPrepareOptionsMenu() local 126 specifics[0] = new Intent(Intent.ACTION_EDIT, uri); in onPrepareOptionsMenu() 130 Intent intent = new Intent(null, uri); in onPrepareOptionsMenu() 203 Uri uri = ContentUris.withAppendedId(getIntent().getData(), id); in onListItemClick() local 209 setResult(RESULT_OK, new Intent().setData(uri)); in onListItemClick() 212 startActivity(new Intent(Intent.ACTION_EDIT, uri)); in onListItemClick()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssContentProvider.java | 122 public String getType(Uri uri) { in getType() argument 123 switch (URI_MATCHER.match(uri)){ in getType() 134 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 148 if((URI_MATCHER.match(uri)) == SPECIFIC_MESSAGE){ in query() 149 qBuilder.appendWhere("_id=" + uri.getPathLeafId()); in query() 165 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local 170 public int update(Uri uri, ContentValues values, String whereClause) { in update() argument 175 getContext().getContentResolver().notifyUpdate(uri, null); in update() 194 public int delete(Uri uri, String where) { in delete() argument 196 int rowCount = mDb.delete(DATABASE_TABLE_NAME, ID + " = " + uri.getPathLeafId()); in delete() [all …]
|
D | MyRssReader4.java | 157 Uri uri = getContentResolver().insert( in onActivityResult() local 160 if(uri != null){ in onActivityResult()
|
D | MyRssReader5.java | 194 Uri uri = getContentResolver().insert( in onActivityResult() local 197 if(uri != null){ in onActivityResult()
|
/development/pdk/docs/guide/ |
D | customization.jd | 187 <incoming uri="imap+ssl+://imap.gmail.com" username="$email"/> 188 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email"/> 191 … <incoming uri="imap+ssl+://imap.googlemail.com" username="$email"/> 192 … <outgoing uri="smtp+ssl+://smtp.googlemail.com" username="$email"/> 195 <incoming uri="imap+ssl+://imap.gmail.com" username="$email"/> 196 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email"/> 199 <incoming uri="imap+ssl+://imap.gmail.com" username="$email"/> 200 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email"/> 206 …<incoming uri="imap://imap.aim.com" label="IMAP" username="$email"… 207 <outgoing uri="smtp://smtp.aim.com:587" username="$email"/> [all …]
|
D | instrumentation_framework.jd | 83 Uri uri = mActivity.getContentResolver().insert(Contacts.People.CONTENT_URI, values); 84 phoneUri = Uri.withAppendedPath(uri, Contacts.People.Phones.CONTENT_DIRECTORY); 93 emailUri = Uri.withAppendedPath(uri, ContactMethods.CONTENT_DIRECTORY); 120 Uri uri = Uri.parse("content://contacts/people/1"); 121 uri = Uri.withAppendedPath(uri, ContactMethods.CONTENT_DIRECTORY); 122 Cursor cursor = mActivity.getContentResolver().query(uri, CONTACTS_COLUMNS, null, null, null);
|
D | instrumentation_testing.jd | 418 Uri uri = mActivity.getContentResolver().insert(Contacts.People.CONTENT_URI, values); 419 phoneUri = Uri.withAppendedPath(uri, Contacts.People.Phones.CONTENT_DIRECTORY); 428 emailUri = Uri.withAppendedPath(uri, ContactMethods.CONTENT_DIRECTORY); 455 Uri uri = Uri.parse("content://contacts/people/1"); 456 uri = Uri.withAppendedPath(uri, ContactMethods.CONTENT_DIRECTORY); 457 Cursor cursor = mActivity.getContentResolver().query(uri, CONTACTS_COLUMNS, null, null, null);
|
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | FirstElementParser.java | 145 public void startPrefixMapping(String prefix, String uri) { in startPrefixMapping() argument 146 if (uri.equals(mResult.getXmlnsUri())) { in startPrefixMapping() 157 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
|
D | AndroidContentAssist.java | 237 String uri = attr.getNodeValue(); in lookupNamespacePrefix() local 238 if (SdkConstants.NS_RESOURCES.equals(uri)) { in lookupNamespacePrefix() 241 visited.add(uri); in lookupNamespacePrefix()
|
/development/tools/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
D | KmlParser.java | 76 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 80 if (uri.startsWith(NS_KML_2)) { in startElement() 106 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument 107 if (uri.startsWith(NS_KML_2)) { in endElement()
|
D | GpxParser.java | 91 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 95 if (NS_GPX.equals(uri)) { in startElement() 136 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument 137 if (NS_GPX.equals(uri)) { in endElement()
|
/development/tools/scripts/app_engine_server/ |
D | memcache_zipserve.py | 218 uri = ''.join(['/', name, 'index.html']) 219 … logging.info('--->PREPROCESSING REDIRECT [%s] to [%s] with langName [%s]', name, uri, langName) 220 self.redirect(uri, False) 240 uri = ''.join(['/', builtIntlLangUri]) 241 logging.info('-->>REDIRECTING %s to %s', name, uri) 242 self.redirect(uri, False) 243 return uri
|
/development/apps/Development/src/com/android/development/ |
D | DataList.java | 97 Uri uri = null; in onListItemClick() local 100 uri = Uri.withAppendedPath(getIntent().getData(), mCursor.getString(idCol)); in onListItemClick() 102 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in onListItemClick()
|
/development/tools/layoutlib_utils/src/com/android/layoutlib/utils/ |
D | ValueResourceParser.java | 59 public void endElement(String uri, String localName, String qName) throws SAXException { in endElement() argument 74 super.endElement(uri, localName, qName); in endElement() 78 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument 127 super.startElement(uri, localName, qName, attributes); in startElement()
|
/development/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
D | RepoSource.java | 168 String uri = validateXml(xml, url, monitor); in load() local 169 if (uri != null) { in load() 171 validatedUri = uri; in load() 188 String uri = validateXml(xml, url, monitor); in load() local 189 if (uri != null) { in load() 191 validatedUri = uri; in load() 448 String uri = attr.getNodeValue(); in findAlternateToolsXml() local 449 if (uri != null && nsPattern.matcher(uri).matches()) { in findAlternateToolsXml()
|
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | AndroidManifestParser.java | 276 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 381 super.startElement(uri, localName, name, attributes); in startElement() 390 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument 425 super.endElement(uri, localName, name); in endElement()
|
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | LayoutDeviceHandler.java | 77 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 116 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
|
/development/tools/makedict/src/com/android/tools/dict/ |
D | MakeBinaryDictionary.java | 102 public void startElement(String uri, String localName, in populateDictionary() 119 public void endElement(String uri, String localName, in populateDictionary()
|
/development/tools/axl/ |
D | chewie.py | 158 thread, queued, opened, send, sent, reading, read, uri, server, y = val
|
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
D | UiElementNode.java | 1266 String uri = attr.getNodeValue(); in lookupNamespacePrefix() local 1269 if (nsUri.equals(uri)) { in lookupNamespacePrefix()
|
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | NewTestProjectCreationPage.java | 1197 URI uri = URIUtil.toURI(path.toOSString()); in validateLocationPath() local 1199 uri); in validateLocationPath()
|
D | NewProjectCreationPage.java | 1342 URI uri = URIUtil.toURI(path.toOSString()); in validateLocationPath() local 1344 uri); in validateLocationPath()
|