/frameworks/base/libs/hwui/tests/common/ |
H A D | TestContext.cpp | 65 if (!mSurfaceControl.get()) { 66 mSurfaceControl = mSurfaceComposerClient->createSurface(String8("HwuiTest"), 70 mSurfaceControl->setLayer(0x7FFFFFF); 71 mSurfaceControl->show(); 75 return mSurfaceControl->getSurface();
|
H A D | TestContext.h | 48 sp<SurfaceControl> mSurfaceControl; member in class:android::uirenderer::test::TestContext
|
/frameworks/native/opengl/tests/include/ |
H A D | WindowSurface.h | 44 sp<SurfaceControl> mSurfaceControl; member in class:android::WindowSurface
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 37 private final SurfaceControl mSurfaceControl; field in class:StrictModeFlash 56 mSurfaceControl = ctrl; 98 if (mSurfaceControl == null) { 103 mSurfaceControl.show(); 105 mSurfaceControl.hide(); 115 mSurfaceControl.setSize(dw, dh);
|
H A D | CircularDisplayMask.java | 47 private final SurfaceControl mSurfaceControl; field in class:CircularDisplayMask 85 mSurfaceControl = ctrl; 114 mSurfaceControl.setPosition(0, 0); 118 mSurfaceControl.setPosition(0, -mScreenOffset); 122 mSurfaceControl.setPosition(-mScreenOffset, 0); 137 if (mSurfaceControl == null) { 143 mSurfaceControl.show(); 145 mSurfaceControl.hide();
|
H A D | WindowSurfaceController.java | 52 private SurfaceControl mSurfaceControl; field in class:WindowSurfaceController 89 mSurfaceControl = new SurfaceControlWithBackground(s, 92 mSurfaceControl = new SurfaceTrace( 95 mSurfaceControl = new SurfaceControl( 119 if (mSurfaceControl != null) { 122 mSurfaceControl.hide(); 138 mSurfaceControl.setPosition(left, top); 139 mSurfaceControl.setLayerStack(layerStack); 141 mSurfaceControl.setLayer(layer); 142 mSurfaceControl [all...] |
H A D | EmulatorDisplayOverlay.java | 44 private final SurfaceControl mSurfaceControl; field in class:EmulatorDisplayOverlay 75 mSurfaceControl = ctrl; 98 mSurfaceControl.setPosition(0, 0); 109 if (mSurfaceControl == null) { 115 mSurfaceControl.show(); 117 mSurfaceControl.hide();
|
H A D | ScreenRotationAnimation.java | 65 SurfaceControl mSurfaceControl; field in class:ScreenRotationAnimation 151 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); 267 mSurfaceControl = new SurfaceTrace(session, "ScreenshotSurface", 273 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", 279 sur.copyFrom(mSurfaceControl); 283 mSurfaceControl.setLayerStack(display.getLayerStack()); 284 mSurfaceControl.setLayer(SCREEN_FREEZE_LAYER_SCREENSHOT); 285 mSurfaceControl.setAlpha(0); 286 mSurfaceControl.show(); 293 " FREEZE " + mSurfaceControl [all...] |
H A D | DragState.java | 82 SurfaceControl mSurfaceControl; field in class:DragState 114 mSurfaceControl = surface; 121 if (mSurfaceControl != null) { 122 mSurfaceControl.destroy(); 124 mSurfaceControl = null; 416 mSurfaceControl.setPosition(x - mThumbOffsetX, y - mThumbOffsetY); 418 + mSurfaceControl + ": pos=(" + 558 mSurfaceControl.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); 559 mSurfaceControl.setAlpha(mTransformation.getAlpha()); 560 mSurfaceControl [all...] |
H A D | Watermark.java | 50 private final SurfaceControl mSurfaceControl; field in class:Watermark 126 mSurfaceControl = ctrl; 133 mSurfaceControl.setSize(dw, dh);
|
H A D | AccessibilityController.java | 660 private final SurfaceControl mSurfaceControl; field in class:AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow 680 mSurfaceControl = surfaceControl; 681 mSurfaceControl.setLayerStack(mWindowManager.getDefaultDisplay() 683 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.windowTypeToLayerLw( 686 mSurfaceControl.setPosition(0, 0); 687 mSurface.copyFrom(mSurfaceControl); 754 mSurfaceControl.setSize(mTempPoint.x, mTempPoint.y); 806 mSurfaceControl.show(); 808 mSurfaceControl.hide(); 814 mSurfaceControl [all...] |
H A D | Session.java | 346 final SurfaceControl surfaceControl = mService.mDragState.mSurfaceControl;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 85 private SurfaceControl mSurfaceControl; field in class:ColorFade 575 if (mSurfaceControl == null) { 583 mSurfaceControl = new SurfaceControl(mSurfaceSession, 591 mSurfaceControl.setLayerStack(mDisplayLayerStack); 592 mSurfaceControl.setSize(mDisplayWidth, mDisplayHeight); 594 mSurface.copyFrom(mSurfaceControl); 597 mDisplayId, mSurfaceControl); 632 if (mSurfaceControl != null) { 637 mSurfaceControl.destroy(); 642 mSurfaceControl 730 private SurfaceControl mSurfaceControl; field in class:ColorFade.NaturalSurfaceLayout [all...] |
/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 79 mSurfaceControl = sc; 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface();
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 45 mSurfaceControl = mComposerClient->createSurface( 48 ASSERT_TRUE(mSurfaceControl != NULL); 49 ASSERT_TRUE(mSurfaceControl->isValid()); 52 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); 53 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 56 mSurface = mSurfaceControl->getSurface(); 66 sp<SurfaceControl> mSurfaceControl; member in class:android::SurfaceTest 79 mSurfaceControl.clear();
|
H A D | GLTest.cpp | 64 mSurfaceControl = mComposerClient->createSurface( 68 ASSERT_TRUE(mSurfaceControl != NULL); 69 ASSERT_TRUE(mSurfaceControl->isValid()); 72 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 73 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 76 sp<ANativeWindow> window = mSurfaceControl->getSurface();
|
H A D | SRGB_test.cpp | 59 mComposerClient(), mSurfaceControl(), mOutputSurface() { 245 sp<SurfaceControl> mSurfaceControl; member in class:android::SRGBTest 297 mSurfaceControl = mComposerClient->createSurface( 301 ASSERT_TRUE(mSurfaceControl != NULL); 302 ASSERT_TRUE(mSurfaceControl->isValid()); 305 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 306 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 311 mOutputSurface = mSurfaceControl->getSurface();
|
H A D | GLTest.h | 62 sp<SurfaceControl> mSurfaceControl; member in class:android::GLTest
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 89 mSurfaceControl = mComposerClient->createSurface( 94 ASSERT_TRUE(mSurfaceControl != NULL); 95 ASSERT_TRUE(mSurfaceControl->isValid()); 98 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 99 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 102 sp<ANativeWindow> window = mSurfaceControl->getSurface(); 334 sp<SurfaceControl> mSurfaceControl; member in class:android::GLTest
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 429 result = mGLHelper->createWindowSurface(w, h, &mSurfaceControl, 458 mSurfaceControl.clear(); 581 sp<SurfaceControl> mSurfaceControl; member in class:BenchmarkRunner
|