Home
last modified time | relevance | path

Searched refs:newSurface (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp78 sk_sp<SkSurface> newSurface; in repack() local
81 newSurface = createSurface(mWidth, mHeight, context); in repack()
82 if (!newSurface) { in repack()
85 canvas = newSurface->getCanvas(); in repack()
148 mSurface = newSurface; in repack()
DVectorDrawableAtlas.h120 const sk_sp<SkSurface>& newSurface) in CacheEntry()
121 : VDrect(newVDrect), rect(newRect), surface(newSurface) {} in CacheEntry()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp2247 sp<SurfaceControl> newSurface = mComposerClient->createSurface(String8("New Surface"), 10, 10, in TEST_F() local
2249 ASSERT_TRUE(newSurface != nullptr); in TEST_F()
2250 ASSERT_TRUE(newSurface->isValid()); in TEST_F()
2252 fillSurfaceRGBA8(newSurface, 63, 195, 63); in TEST_F()
2255 t.show(newSurface); in TEST_F()
2256 t.setPosition(newSurface, 10, 10); in TEST_F()
2257 t.setLayer(newSurface, INT32_MAX - 2); in TEST_F()
2269 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl->getHandle()); }); in TEST_F()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1692 boolean newSurface = false; in performTraversals()
2092 newSurface = true; in performTraversals()
2477 if (!cancelDraw && !newSurface) { in performTraversals()