Home
last modified time | relevance | path

Searched refs:cachedContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp93 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local
151 if (cachedContext.get() != currentContext) { in renderLayersImpl()
152 if (cachedContext.get()) { in renderLayersImpl()
154 cachedContext->flushAndSubmit(); in renderLayersImpl()
156 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()
160 if (cachedContext.get()) { in renderLayersImpl()
162 cachedContext->flushAndSubmit(); in renderLayersImpl()
/frameworks/base/media/java/android/media/
DAudioManager.java7597 Context cachedContext = sContext.get(); in hasHapticChannels() local
7598 if (cachedContext != null) { in hasHapticChannels()
7602 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()