OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:resourceUri
(Results
1 - 3
of
3
) sorted by null
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
XmlDocumentProvider.java
185
Uri
resourceUri
= Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
187
parser = getResourceXmlPullParser(
resourceUri
);
255
* @param
resourceUri
A fully qualified resource name referencing a local XML resource.
258
protected XmlPullParser getResourceXmlPullParser(Uri
resourceUri
) {
261
String authority =
resourceUri
.getAuthority();
264
throw new FileNotFoundException("No authority: " +
resourceUri
);
269
throw new FileNotFoundException("No package found for authority: " +
resourceUri
);
272
List<String> path =
resourceUri
.getPathSegments();
274
throw new FileNotFoundException("No path: " +
resourceUri
);
282
throw new FileNotFoundException("Single path segment is not a resource ID: " +
resourceUri
);
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java
94
private synchronized void storeInIconCache(String
resourceUri
, Entry drawable) {
96
mIconCache.put(
resourceUri
, drawable);
/frameworks/base/core/java/android/widget/
SuggestionsAdapter.java
592
private Drawable checkIconCache(String
resourceUri
) {
593
Drawable.ConstantState cached = mOutsideDrawablesCache.get(
resourceUri
);
597
if (DBG) Log.d(LOG_TAG, "Found icon in cache: " +
resourceUri
);
601
private void storeInIconCache(String
resourceUri
, Drawable drawable) {
603
mOutsideDrawablesCache.put(
resourceUri
, drawable.getConstantState());
Completed in 470 milliseconds