Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
626 if (cached == null) { in checkIconCache()
630 return cached.newDrawable(); in checkIconCache()
670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java559 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
560 if (cached == null) { in checkIconCache()
564 return cached.newDrawable(); in checkIconCache()
604 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
605 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyResultMapper.java65 boolean cached; in cachedConvertResultMetadata()
74 cached = true; in cachedConvertResultMetadata()
77 cached = false; in cachedConvertResultMetadata()
94 Log.v(TAG, "cachedConvertResultMetadata - cached? " + cached + in cachedConvertResultMetadata()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); in setImage() local
245 if (cached != null) { in setImage()
246 setBitmap(cached); in setImage()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java91 Pair<Boolean, Integer> cached = mGrayscaleBitmapCache.get(bitmap); in isGrayscaleIcon() local
92 if (cached != null) { in isGrayscaleIcon()
93 if (cached.second == bitmap.getGenerationId()) { in isGrayscaleIcon()
94 return cached.first; in isGrayscaleIcon()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt46 then retrieve those cached shaders during subsequent executions of the same
82 * client API implementation may use to retrieve a cached value from the
107 function pointers through which the client APIs can request data be cached
184 previously cached entries. How can the driver handle this situation?
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java469 final int cached = mPreLayoutSpanIndexCache.get(pos, -1); in getSpanIndex() local
470 if (cached != -1) { in getSpanIndex()
471 return cached; in getSpanIndex()
490 final int cached = mPreLayoutSpanSizeCache.get(pos, -1); in getSpanSize() local
491 if (cached != -1) { in getSpanSize()
492 return cached; in getSpanSize()
/frameworks/base/core/java/android/net/
DUri.java540 boolean cached = (scheme != NOT_CACHED); in getScheme()
541 return cached ? scheme : (scheme = parseScheme()); in getScheme()
946 boolean cached = cachedString != NOT_CACHED; in toString()
947 if (cached) { in toString()
1080 boolean cached = (host != NOT_CACHED); in getHost()
1081 return cached ? host in getHost()
1275 boolean cached = (uriString != NOT_CACHED); in toString()
1276 return cached ? uriString in toString()
/frameworks/base/core/java/android/content/res/
DColorStateList.java168 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf() local
169 if (cached != null) { in valueOf()
170 return cached; in valueOf()
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd85 …d, fully cached HTTP requests can be served directly from local storage, eliminating the need to o…
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java196 String cached = mStorage.readKeyValue("key", "default", 0); in testKeyValue_CacheStarvedWriter() local
199 assertEquals("Cached value didn't match stored value", storage, cached); in testKeyValue_CacheStarvedWriter()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java535 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); in peekKeyValue() local
536 return cached == DEFAULT ? defaultValue : (String) cached; in peekKeyValue()
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/
Dscoped-directory-access.jd105 // BroadcastReceiver has already cached the MEDIA_MOUNTED
/frameworks/base/docs/html-intl/intl/ru/training/articles/
Dscoped-directory-access.jd105 // BroadcastReceiver has already cached the MEDIA_MOUNTED
/frameworks/base/docs/html-intl/intl/ja/training/articles/
Dscoped-directory-access.jd119 // BroadcastReceiver has already cached the MEDIA_MOUNTED
/frameworks/base/docs/html-intl/intl/ko/training/articles/
Dscoped-directory-access.jd119 // BroadcastReceiver has already cached the MEDIA_MOUNTED
/frameworks/base/docs/html-intl/intl/zh-cn/training/articles/
Dscoped-directory-access.jd123 // BroadcastReceiver has already cached the MEDIA_MOUNTED
/frameworks/base/docs/html/topic/performance/
Dmemory-overview.jd254 The system keeps the process cached. If
260 If your app has a cached process and it retains memory
282 For more information about how processes are cached while
/frameworks/base/docs/html/topic/performance/power/network/
Daction-any-traffic.jd77 load with the data that was cached from the last network request. The screen reloads with
Dgather-data.jd211 clear <em>all</em> app data including previously cached data and networking data. This step
212 puts your app back to a state where it must re-cache all previously cached data. Do not skip
/frameworks/base/docs/html/distribute/essentials/quality/
Dbillions.jd103 cached, these libraries return the local copy the next time they are
115 presenting cached information. Ensure that your app is usable offline or
125 device is offline. These operations can be cached and executed when
143 subsequent requests, apps should display locally cached data. This ensures
151 retrieved from the network, the data is cached locally for future
158 makes the request over the network. The response is cached and then returned
165 the network and cached for future use. Examples of such data are images and
562 disk usage from growing indefinitely. Be sure you put your cached data in
/frameworks/base/docs/html/google/play/licensing/
Dadding-licensing.jd187 that uses server-provided settings and cached responses to manage access across
219 <li>Returns the cached response for all license checks, for as long as the
220 cached response is valid, rather than making a request to the licensing server.
321 retry requests are not tracked and cached responses can not be used to fulfill
334 there is no data cached locally, there is no way a malicious user could tamper
335 with the cached data and obtain access to the application.</p>
341 cached response is not possible.</p>
550 whether there is a valid license response cached locally, in
821 thread <em>only</em> if there is valid license response cached locally. If the
Dlicensing-reference.jd276 (cached) license response expires and must be rechecked on the licensing server. See the section
348 {@code Policy} to cache the initial license status locally and return the cached license
369 cached the validity timestamp locally, it will not need to recheck the
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd114 // Keep a count to determine when the drawable is no longer being cached.
175 // Notify the removed entry that is no longer being cached.
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java155 boolean cached; // Is this a cached process? field in ProcessRecord
282 pw.print(prefix); pw.print("cached="); pw.print(cached); in dump()

123