Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaGpuPipeline.cpp37 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local
56 if (cachedContext.get() != currentContext) { in renderLayersImpl()
57 if (cachedContext.get()) { in renderLayersImpl()
59 cachedContext->flushAndSubmit(); in renderLayersImpl()
61 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()
64 if (cachedContext.get()) { in renderLayersImpl()
66 cachedContext->flushAndSubmit(); in renderLayersImpl()
/frameworks/base/media/java/android/media/
DAudioManager.java8728 Context cachedContext = sContext.get(); in hasHapticChannels() local
8729 if (cachedContext != null) { in hasHapticChannels()
8733 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()