/frameworks/base/services/java/com/android/server/wm/ |
StrictModeFlash.java | 34 private final SurfaceControl mSurfaceControl; 53 mSurfaceControl = ctrl; 95 if (mSurfaceControl == null) { 100 mSurfaceControl.show(); 102 mSurfaceControl.hide(); 112 mSurfaceControl.setSize(dw, dh);
|
FocusedStackFrame.java | 41 private final SurfaceControl mSurfaceControl; 62 mSurfaceControl = ctrl; 104 mSurfaceControl.setSize(bounds.width(), bounds.height()); 105 mSurfaceControl.setPosition(bounds.left, bounds.top); 114 if (mSurfaceControl == null) { 128 mSurfaceControl.show(); 130 mSurfaceControl.hide(); 140 mSurfaceControl.setLayer(layer);
|
WindowStateAnimator.java | 83 SurfaceControl mSurfaceControl; 405 if (mSurfaceControl != null) { 426 if (mSurfaceControl != null) { 429 mSurfaceControl.hide(); 446 + mSurfaceControl); 468 Slog.i(TAG, "commitFinishDrawingLocked: mDrawState=READY_TO_SHOW " + mSurfaceControl); 625 if (mSurfaceControl == null) { 685 mSurfaceControl = new SurfaceTrace( 690 mSurfaceControl = new SurfaceControl( 698 + mSurfaceControl + " IN SESSION [all...] |
ScreenRotationAnimation.java | 49 SurfaceControl mSurfaceControl; 135 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); 245 mSurfaceControl = new SurfaceTrace(session, "ScreenshotSurface", 251 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", 257 sur.copyFrom(mSurfaceControl); 261 mSurfaceControl.setLayerStack(display.getLayerStack()); 262 mSurfaceControl.setLayer(FREEZE_LAYER + 1); 263 mSurfaceControl.setAlpha(0); 264 mSurfaceControl.show(); 272 " FREEZE " + mSurfaceControl + ": CREATE") [all...] |
DragState.java | 49 SurfaceControl mSurfaceControl; 72 mSurfaceControl = surface; 79 if (mSurfaceControl != null) { 80 mSurfaceControl.destroy(); 82 mSurfaceControl = null; 300 mSurfaceControl.setPosition(x - mThumbOffsetX, y - mThumbOffsetY); 302 + mSurfaceControl + ": pos=(" +
|
Watermark.java | 48 private final SurfaceControl mSurfaceControl; 124 mSurfaceControl = ctrl; 131 mSurfaceControl.setSize(dw, dh);
|
DisplayMagnifier.java | 485 private final SurfaceControl mSurfaceControl; 502 mSurfaceControl = surfaceControl; 503 mSurfaceControl.setLayerStack(mWindowManager.getDefaultDisplay().getLayerStack()); 504 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.windowTypeToLayerLw( 507 mSurfaceControl.setPosition(0, 0); 508 mSurface.copyFrom(mSurfaceControl); 597 mSurfaceControl.setSize(mTempPoint.x, mTempPoint.y); 649 mSurfaceControl.show(); 651 mSurfaceControl.hide(); 657 mSurfaceControl.release() [all...] |
AppWindowToken.java | 161 Slog.v(WindowManagerService.TAG, "Not displayed: s=" + win.mWinAnimator.mSurfaceControl
|
WindowAnimator.java | 207 if (winAnimator.mSurfaceControl != null) { 356 if (winAnimator.mSurfaceControl == null) {
|
WindowManagerService.java | [all...] |
Session.java | 318 final SurfaceControl surfaceControl = mService.mDragState.mSurfaceControl;
|
/frameworks/native/libs/gui/tests/ |
Surface_test.cpp | 42 mSurfaceControl = mComposerClient->createSurface( 45 ASSERT_TRUE(mSurfaceControl != NULL); 46 ASSERT_TRUE(mSurfaceControl->isValid()); 49 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); 50 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 53 mSurface = mSurfaceControl->getSurface(); 63 sp<SurfaceControl> mSurfaceControl; 76 mSurfaceControl.clear();
|
SurfaceTexture_test.cpp | 88 mSurfaceControl = mComposerClient->createSurface( 93 ASSERT_TRUE(mSurfaceControl != NULL); 94 ASSERT_TRUE(mSurfaceControl->isValid()); 97 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 98 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 101 sp<ANativeWindow> window = mSurfaceControl->getSurface(); 280 sp<SurfaceControl> mSurfaceControl; [all...] |
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 85 private SurfaceControl mSurfaceControl; 508 if (mSurfaceControl == null) { 516 mSurfaceControl = new SurfaceControl(mSurfaceSession, 525 mSurfaceControl.setLayerStack(mDisplayLayerStack); 526 mSurfaceControl.setSize(mDisplayWidth, mDisplayHeight); 528 mSurface.copyFrom(mSurfaceControl); 530 mSurfaceLayout = new NaturalSurfaceLayout(mDisplayManager, mSurfaceControl); 564 if (mSurfaceControl != null) { 569 mSurfaceControl.destroy(); 574 mSurfaceControl = null [all...] |
/device/asus/flo/camera/QCamera2/HAL/test/ |
qcamera_test.h | 61 mSurfaceControl(NULL), 114 sp<SurfaceControl> mSurfaceControl;
|
qcamera_test.cpp | 351 mSurfaceControl = mClient->createSurface(String8("QCamera_Test"), 356 if ( NULL == mSurfaceControl.get() ) { 361 mPreviewSurface = mSurfaceControl->getSurface(); 364 ret |= mSurfaceControl->setLayer(0x7fffffff); 365 ret |= mSurfaceControl->setPosition(0, 0); 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 367 ret |= mSurfaceControl->show(); 397 if ( NULL != mSurfaceControl.get() ) { 398 mSurfaceControl->clear(); 399 mSurfaceControl.clear() [all...] |
/hardware/qcom/camera/QCamera2/HAL/test/ |
qcamera_test.h | 61 mSurfaceControl(NULL), 114 sp<SurfaceControl> mSurfaceControl;
|
qcamera_test.cpp | 351 mSurfaceControl = mClient->createSurface(String8("QCamera_Test"), 356 if ( NULL == mSurfaceControl.get() ) { 361 mPreviewSurface = mSurfaceControl->getSurface(); 364 ret |= mSurfaceControl->setLayer(0x7fffffff); 365 ret |= mSurfaceControl->setPosition(0, 0); 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 367 ret |= mSurfaceControl->show(); 397 if ( NULL != mSurfaceControl.get() ) { 398 mSurfaceControl->clear(); 399 mSurfaceControl.clear() [all...] |
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 89 sp<SurfaceControl> mSurfaceControl; 95 mSurfaceControl = mComposerClient->createSurface( 100 ASSERT_NE((void*)NULL, mSurfaceControl.get()); 101 ASSERT_TRUE(mSurfaceControl->isValid()); 104 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 105 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 108 surface = mSurfaceControl->getSurface();
|
/frameworks/av/camera/tests/ |
ProCameraTests.cpp | 382 sp<SurfaceControl> mSurfaceControl; 398 mSurfaceControl = mComposerClient->createSurface( 403 mSurfaceControl->setPosition(0, 0); 405 ASSERT_TRUE(mSurfaceControl != NULL); 406 ASSERT_TRUE(mSurfaceControl->isValid()); 409 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 410 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 413 sp<ANativeWindow> window = mSurfaceControl->getSurface(); 414 surface = mSurfaceControl->getSurface(); [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 94 mSurfaceControl = mComposerClient->createSurface( 99 ASSERT_TRUE(mSurfaceControl != NULL); 100 ASSERT_TRUE(mSurfaceControl->isValid()); 103 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 104 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 107 sp<ANativeWindow> window = mSurfaceControl->getSurface(); 339 sp<SurfaceControl> mSurfaceControl; [all...] |
/frameworks/native/cmds/flatland/ |
Main.cpp | 429 result = mGLHelper->createWindowSurface(w, h, &mSurfaceControl, 458 mSurfaceControl.clear(); 581 sp<SurfaceControl> mSurfaceControl;
|