Searched refs:newSurface (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/bufferqueueconverter/ |
D | BufferQueueConverter.cpp | 55 sp<Surface> newSurface(new Surface(bufferProducer, true)); in getSurfaceFromHGBP() local 56 if (newSurface == nullptr) { in getSurfaceFromHGBP() 61 return SurfaceHolderUniquePtr(new SurfaceHolder(newSurface), destroySurfaceHolder); in getSurfaceFromHGBP()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerUpdate_test.cpp | 517 sp<SurfaceControl> newSurface = createLayer(String8("New Surface"), 10, 10, 0); in TEST_F() local 518 ASSERT_TRUE(newSurface != nullptr); in TEST_F() 519 ASSERT_TRUE(newSurface->isValid()); in TEST_F() 521 TransactionUtils::fillSurfaceRGBA8(newSurface, 63, 195, 63); in TEST_F() 524 t.show(newSurface); in TEST_F() 525 t.setPosition(newSurface, 10, 10); in TEST_F() 526 t.setLayer(newSurface, INT32_MAX - 2); in TEST_F() 538 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl); }); in TEST_F()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 245 auto newSurface = mEglManager.createSurface(surface, mColorMode, mSurfaceColorSpace); in setSurface() local 246 if (!newSurface) { in setSurface() 249 mEglSurface = newSurface.unwrap(); in setSurface()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDisplayHelper.java | 105 float newSurface = displaySize.x * displaySize.y in WallpaperDisplayHelper() local 108 surface = newSurface; in WallpaperDisplayHelper() 111 Pair<Integer, Integer> pair = (newSurface > surface) in WallpaperDisplayHelper()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 2656 status_t CCodecBufferChannel::setSurface(const sp<Surface> &newSurface, in setSurface() argument 2666 if (newSurface) { in setSurface() 2667 newSurface->setScalingMode(NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in setSurface() 2668 newSurface->setDequeueTimeout(kDequeueTimeoutNs); in setSurface() 2669 newSurface->setMaxDequeuedBufferCount(maxDequeueCount); in setSurface() 2670 producer = newSurface->getIGraphicBufferProducer(); in setSurface() 2697 output->surface = newSurface; in setSurface() 2699 initializeFrameTrackingFor(static_cast<ANativeWindow *>(newSurface.get())); in setSurface()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1812 sp<SurfaceControl> newSurface = new SurfaceControl(surface); in nativeCopyFromSurfaceControl() local 1813 newSurface->incStrong((void *)nativeCreate); in nativeCopyFromSurfaceControl() 1814 return reinterpret_cast<jlong>(newSurface.get()); in nativeCopyFromSurfaceControl()
|