Home
last modified time | relevance | path

Searched defs:sc (Results 1 – 25 of 159) sorted by relevance

1234567

/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java61 public SurfaceControl.Transaction setVisibility(SurfaceControl sc, boolean visible) { in setVisibility()
66 public SurfaceControl.Transaction show(SurfaceControl sc) { in show()
71 public SurfaceControl.Transaction hide(SurfaceControl sc) { in hide()
76 public SurfaceControl.Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition()
81 public SurfaceControl.Transaction setBufferSize(SurfaceControl sc, in setBufferSize()
87 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int z) { in setLayer()
92 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, SurfaceControl relativeTo, in setRelativeLayer()
98 public SurfaceControl.Transaction setTransparentRegionHint(SurfaceControl sc, in setTransparentRegionHint()
104 public SurfaceControl.Transaction setAlpha(SurfaceControl sc, float alpha) { in setAlpha()
109 public SurfaceControl.Transaction setInputWindowInfo(SurfaceControl sc, in setInputWindowInfo()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java63 public SurfaceControl.Transaction setVisibility(SurfaceControl sc, boolean visible) { in setVisibility()
68 public SurfaceControl.Transaction show(SurfaceControl sc) { in show()
73 public SurfaceControl.Transaction hide(SurfaceControl sc) { in hide()
78 public SurfaceControl.Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition()
83 public SurfaceControl.Transaction setBufferSize(SurfaceControl sc, in setBufferSize()
89 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int z) { in setLayer()
94 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, SurfaceControl relativeTo, in setRelativeLayer()
100 public SurfaceControl.Transaction setTransparentRegionHint(SurfaceControl sc, in setTransparentRegionHint()
106 public SurfaceControl.Transaction setAlpha(SurfaceControl sc, float alpha) { in setAlpha()
111 public SurfaceControl.Transaction setInputWindowInfo(SurfaceControl sc, in setInputWindowInfo()
[all …]
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp110 InputSurface(const sp<SurfaceControl>& sc, int width, int height, bool noInputChannel = false) { in InputSurface()
338 BlastInputSurface(const sp<SurfaceControl>& sc, const sp<SurfaceControl>& parentSc, int width, in BlastInputSurface()
483 surface2->doTransaction([](auto& t, auto& sc) { t.setPosition(sc, 100, 100); }); in TEST_F()
484 surface->doTransaction([](auto& t, auto& sc) { t.setPosition(sc, 200, 200); }); in TEST_F()
500 surface->doTransaction([](auto& t, auto& sc) { t.setLayer(sc, LAYER_BASE + 1); }); in TEST_F()
505 surface2->doTransaction([](auto& t, auto& sc) { t.setLayer(sc, LAYER_BASE + 1); }); in TEST_F()
510 surface2->doTransaction([](auto& t, auto& sc) { t.hide(sc); }); in TEST_F()
559 childSurface->doTransaction([&](auto& t, auto& sc) { in TEST_F()
580 fgSurface->doTransaction([&](auto& t, auto& sc) { t.setMatrix(sc, 2.0, 0, 0, 4.0); }); in TEST_F()
599 fgSurface->doTransaction([&](auto& t, auto& sc) { t.setMatrix(sc, 2.0, 0, 0, 2.0); }); in TEST_F()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceControlTests.java62 SurfaceControl sc = buildTestSurface(); in testUseValidSurface() local
71 SurfaceControl sc = buildTestSurface(); in testUseInvalidSurface() local
85 SurfaceControl sc = buildTestSurface(); in testUseInvalidSurface_debugEnabled() local
106 SurfaceControl sc = buildTestSurface(); in testWriteInvalidSurface_debugEnabled() local
DZOrderingTests.java95 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int layer) { in setLayer()
102 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, in setRelativeLayer()
110 private int getLayer(SurfaceControl sc) { in getLayer()
114 private SurfaceControl getRelativeLayer(SurfaceControl sc) { in getRelativeLayer()
142 public SurfaceControl.Builder setParent(SurfaceControl sc) { in setParent()
149 final SurfaceControl sc = super.build(); in build() local
189 SurfaceControl sc) { in getAncestors()
DMockSurfaceControlBuilder.java31 public SurfaceControl.Builder setParent(SurfaceControl sc) { in setParent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DScreenshotUtils.java38 public static void captureLayer(SurfaceControl sc, Rect crop, in captureLayer()
56 BufferConsumer(SurfaceControl.Transaction t, SurfaceControl sc, SurfaceControl parentSc, in BufferConsumer()
96 public static SurfaceControl takeScreenshot(SurfaceControl.Transaction t, SurfaceControl sc, in takeScreenshot()
112 public static SurfaceControl takeScreenshot(SurfaceControl.Transaction t, SurfaceControl sc, in takeScreenshot()
/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp67 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
102 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
152 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
212 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
DScreenCapture_test.cpp119 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
170 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
207 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
216 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
226 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
235 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
268 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
277 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
287 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
296 ScreenCapture sc(mCaptureResults.buffer, mCaptureResults.capturedHdrLayers); in TEST_F() local
[all …]
DMultiDisplayLayerBounds_test.cpp108 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
135 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
166 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp470 sp<SurfaceControl> sc = in onTransactionCompleted() local
1270 const sp<SurfaceControl>& sc) { in sendSurfaceFlushJankDataTransaction()
1343 layer_state_t* SurfaceComposerClient::Transaction::getLayerState(const sp<SurfaceControl>& sc) { in getLayerState()
1360 const sp<SurfaceControl>& sc) { in registerSurfaceControlForCallback()
1368 const sp<SurfaceControl>& sc, float x, float y) { in setPosition()
1383 const sp<SurfaceControl>& sc) { in show()
1388 const sp<SurfaceControl>& sc) { in hide()
1393 const sp<SurfaceControl>& sc, int32_t z) { in setLayer()
1408 const sp<SurfaceControl>& sc, const sp<SurfaceControl>& relativeTo, int32_t z) { in setRelativeLayer()
1424 const sp<SurfaceControl>& sc, uint32_t flags, in setFlags()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControl.java2576 SurfaceControl sc = new SurfaceControl(); in mirrorSurface() local
2822 protected void checkPreconditions(SurfaceControl sc) { in checkPreconditions()
2969 public Transaction setVisibility(@NonNull SurfaceControl sc, boolean visible) { in setVisibility()
2985 public Transaction setFrameRateSelectionPriority(@NonNull SurfaceControl sc, int priority) { in setFrameRateSelectionPriority()
2999 public Transaction show(SurfaceControl sc) { in show()
3017 public Transaction hide(SurfaceControl sc) { in hide()
3037 public Transaction setPosition(@NonNull SurfaceControl sc, float x, float y) { in setPosition()
3057 public Transaction setScale(@NonNull SurfaceControl sc, float scaleX, float scaleY) { in setScale()
3079 public Transaction setBufferSize(@NonNull SurfaceControl sc, in setBufferSize()
3103 public Transaction setFixedTransformHint(@NonNull SurfaceControl sc, in setFixedTransformHint()
[all …]
DSurfaceControlRegistry.java82 final SurfaceControl sc = entry.getKey(); in onMaxLayersExceeded() local
235 void add(SurfaceControl sc) { in add()
252 void remove(SurfaceControl sc) { in remove()
317 @Nullable SurfaceControl.Transaction tx, @Nullable SurfaceControl sc, in checkCallStackDebugging()
405 void add(SurfaceControl sc) {} in add()
408 void remove(SurfaceControl sc) {} in remove()
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h53 static void captureScreen(std::unique_ptr<ScreenCapture>* sc) { in captureScreen()
61 static void captureScreen(std::unique_ptr<ScreenCapture>* sc, sp<IBinder> displayToken) { in captureScreen()
67 static void captureDisplay(std::unique_ptr<ScreenCapture>* sc, in captureDisplay()
91 static void captureLayers(std::unique_ptr<ScreenCapture>* sc, LayerCaptureArgs& captureArgs) { in captureLayers()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp79 const RsScriptCall *sc) { in preLaunch()
85 const RsScriptCall *sc) { in postLaunch()
94 const RsScriptCall *sc) { in invokeForEach()
DrsCpuScript.cpp525 const RsScriptCall *sc) { in setUpMtlsDimensions()
558 const RsScriptCall *sc, in reduceMtlsSetup()
630 const RsScriptCall *sc, in forEachMtlsSetup()
752 const RsScriptCall *sc) { in invokeForEach()
768 const RsScriptCall *sc) { in invokeReduce()
1000 const RsScriptCall *sc) {} in preLaunch()
1005 const RsScriptCall *sc) {} in postLaunch()
/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java85 void applyTransform(Transaction t, SurfaceControl sc) { in applyTransform()
119 void setIdentityMatrix(Transaction t, SurfaceControl sc) { in setIdentityMatrix()
/frameworks/rs/driver/
DrsdBcc.cpp75 const RsScriptCall *sc) { in rsdScriptInvokeForEach()
96 const RsScriptCall *sc) { in rsdScriptInvokeForEachMulti()
130 const RsScriptCall *sc) { in rsdScriptInvokeReduce()
174 const android::renderscript::Script *sc, in rsdScriptGetAllocationForPointer()
/frameworks/rs/
DrsScriptIntrinsic.cpp65 const RsScriptCall* sc) { in runForEach()
73 Allocation *aout, const RsScriptCall *sc) { in runReduce()
/frameworks/base/graphics/java/android/graphics/
DBLASTBufferQueue.java56 public BLASTBufferQueue(String name, SurfaceControl sc, int width, int height, in BLASTBufferQueue()
137 public void update(SurfaceControl sc, int width, int height, @PixelFormat.Format int format) { in update()
187 public boolean isSameSurfaceControl(SurfaceControl sc) { in isSameSurfaceControl()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DRootTaskDisplayAreaOrganizer.java114 final SurfaceControl sc = mLeashes.get(displayId); in attachToDisplayArea() local
125 public void reparentToDisplayArea(int displayId, SurfaceControl sc, in reparentToDisplayArea()
132 final SurfaceControl sc = mLeashes.get(displayId); in setPosition() local
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalReceiver.java49 ServiceConnection sc = new ServiceConnection() { in onReceive() local
/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp75 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( in WindowSurface() local
/frameworks/rs/tests/cpp_api/cppallocation/
Dcompute.cpp36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); in main() local
/frameworks/rs/tests/cpp_api/cpp-globalguard/
Dcompute.cpp28 sp<ScriptC_multiply> sc; variable

1234567