Home
last modified time | relevance | path

Searched refs:Surface (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java68 import android.view.Surface;
189 freezeRotation(Surface.ROTATION_180); in testLocksUserRotation_LockRotation_DefaultDisplay()
192 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testLocksUserRotation_LockRotation_DefaultDisplay()
196 assertEquals(Surface.ROTATION_180, Settings.System.getInt(mMockResolver, in testLocksUserRotation_LockRotation_DefaultDisplay()
204 freezeRotation(Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
207 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
210 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
268 freezeRotation(Surface.ROTATION_180); in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
270 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
271 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_90)); in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
[all …]
DDisplayRotationImmersiveAppCompatPolicyTests.java41 import android.view.Surface;
99 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_0)).thenReturn(true); in createDisplayRotationMock()
100 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_90)).thenReturn(false); in createDisplayRotationMock()
101 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_180)).thenReturn(true); in createDisplayRotationMock()
102 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_270)).thenReturn(false); in createDisplayRotationMock()
103 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_0)).thenReturn(false); in createDisplayRotationMock()
104 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_90)).thenReturn(true); in createDisplayRotationMock()
105 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_180)).thenReturn(false); in createDisplayRotationMock()
106 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_270)).thenReturn(true); in createDisplayRotationMock()
125 assertTrue(mPolicy.isRotationLockEnforced(Surface.ROTATION_0)); in testIsRotationLockEnforced_landscapeActivity_lockedWhenRotatingToPortrait()
[all …]
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp101 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface()
102 sp<Surface> sur; in android_view_Surface_getSurface()
106 sur = reinterpret_cast<Surface *>( in android_view_Surface_getSurface()
114 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface()
135 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer()
141 static inline bool isSurfaceValid(const sp<Surface>& sur) { in isSurfaceValid()
142 return Surface::isValid(sur); in isSurfaceValid()
156 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture()
167 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease()
172 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java32 import android.view.Surface;
50 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_90) return false; in isRotationAnimationCCW()
51 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW()
52 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW()
53 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_0) return true; in isRotationAnimationCCW()
54 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW()
55 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_270) return true; //180d so CCW in isRotationAnimationCCW()
56 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW()
57 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW()
58 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW()
[all …]
/frameworks/base/libs/hostgraphics/gui/
DSurface.h27 class Surface : public ANativeObjectBase<ANativeWindow, Surface, RefBase> {
29 explicit Surface(const sp<IGraphicBufferProducer>& bufferProducer,
33 static bool isValid(const sp<Surface>& surface) { return surface != nullptr; } in isValid()
54 virtual ~Surface() {} in ~Surface()
60 Surface& operator=(const Surface& rhs);
61 Surface(const Surface& rhs);
/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java30 import android.view.Surface;
57 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview()
78 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder()
98 public static long getSurfaceId(Surface surface) { in getSurfaceId()
113 public static long getSurfaceUsage(Surface surface) { in getSurfaceUsage()
130 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize()
148 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat()
171 public static int detectSurfaceFormat(Surface surface) { in detectSurfaceFormat()
187 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace()
199 public static boolean isFlexibleConsumer(Surface output) { in isFlexibleConsumer()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonPositionCalculator.kt4 import android.view.Surface
22 val isTaskbarSide = currentRotation == Surface.ROTATION_0 in calculatePosition()
23 || currentRotation == Surface.ROTATION_90 in calculatePosition()
60 Surface.ROTATION_0 -> Gravity.BOTTOM or Gravity.LEFT in resolveGravity()
61 Surface.ROTATION_90 -> Gravity.BOTTOM or Gravity.RIGHT in resolveGravity()
62 Surface.ROTATION_180 -> Gravity.TOP or Gravity.RIGHT in resolveGravity()
63 Surface.ROTATION_270 -> Gravity.TOP or Gravity.LEFT in resolveGravity()
68 Surface.ROTATION_0 -> Gravity.BOTTOM or Gravity.RIGHT
69 Surface.ROTATION_90 -> Gravity.TOP or Gravity.RIGHT
70 Surface.ROTATION_180 -> Gravity.TOP or Gravity.LEFT
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/camera/
DCameraServiceProxyTest.java31 import android.view.Surface;
51 Surface.ROTATION_90 , CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
56 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
62 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
67 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
74 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
79 put(Surface.ROTATION_0, CameraMetadata.SCALER_ROTATE_AND_CROP_NONE); in testGetCropRotateScale()
80 put(Surface.ROTATION_90, CameraMetadata.SCALER_ROTATE_AND_CROP_90); in testGetCropRotateScale()
81 put(Surface.ROTATION_270, CameraMetadata.SCALER_ROTATE_AND_CROP_270); in testGetCropRotateScale()
82 put(Surface.ROTATION_180, CameraMetadata.SCALER_ROTATE_AND_CROP_180); in testGetCropRotateScale()
[all …]
/frameworks/native/libs/gui/
DSurface.cpp66 Surface::Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp, in Surface() function in android::Surface
119 Surface::~Surface() { in ~Surface()
121 Surface::disconnect(NATIVE_WINDOW_API_CPU); in ~Surface()
125 sp<ISurfaceComposer> Surface::composerService() const { in composerService()
129 sp<gui::ISurfaceComposer> Surface::composerServiceAIDL() const { in composerServiceAIDL()
133 nsecs_t Surface::now() const { in now()
137 sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const { in getIGraphicBufferProducer()
141 void Surface::setSidebandStream(const sp<NativeHandle>& stream) { in setSidebandStream()
145 void Surface::allocateBuffers() { in allocateBuffers()
152 status_t Surface::setGenerationNumber(uint32_t generation) { in setGenerationNumber()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DOverlayWindowTest.kt23 import android.view.Surface
84 @Surface.Rotation val rotation = Surface.ROTATION_270 in testAddProvider()
105 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_270, Color.BLACK) in testRemoveView()
106 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_270, Color.BLACK) in testRemoveView()
116 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithoutIds()
117 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithoutIds()
121 rotation = Surface.ROTATION_90, in testOnReloadResAndMeasureWithoutIds()
126 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds()
129 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds()
135 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithIds()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsOverlayParams.kt4 import android.view.Surface
5 import android.view.Surface.Rotation
33 @Rotation val rotation: Int = Surface.ROTATION_0
41 if (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) {
49 if (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) {
DAuthBiometricFingerprintIconController.kt25 import android.view.Surface in <lambda>()
77 if (isSideFps && getRotationFromDefault(displayInfo.rotation) == Surface.ROTATION_180) { in <lambda>()
234 Surface.ROTATION_90 -> if (isDeviceFolded) { in <lambda>()
239 Surface.ROTATION_270 -> if (isDeviceFolded) { in <lambda>()
260 Surface.ROTATION_0 -> R.raw.biometricprompt_fingerprint_to_error_landscape in <lambda>()
261 Surface.ROTATION_90 -> in <lambda>()
263 Surface.ROTATION_180 -> in <lambda>()
265 Surface.ROTATION_270 -> in <lambda>()
274 Surface.ROTATION_0 -> in <lambda>()
276 Surface.ROTATION_90 -> in <lambda>()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowOrientationListenerTest.java35 import android.view.Surface;
46 private static final int DEFAULT_SENSOR_ROTATION = Surface.ROTATION_90;
99 callback1.onSuccess(Surface.ROTATION_180); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult()
102 callback2.onSuccess(Surface.ROTATION_270); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult()
104 assertThat(mFinalizedRotation).isEqualTo(Surface.ROTATION_270); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult()
111 mFakeRotationResolverInternal.callbackWithSuccessResult(Surface.ROTATION_180); in testOnSensorChanged_normalCase1()
113 assertThat(mFinalizedRotation).isEqualTo(Surface.ROTATION_180); in testOnSensorChanged_normalCase1()
138 mHandler, /* defaultRotation */ Surface.ROTATION_180); in testOnSensorChanged_screenLocked_doNotCallRotationResolverReturnDefaultRotation()
145 assertThat(mFinalizedRotation).isEqualTo(Surface.ROTATION_180); in testOnSensorChanged_screenLocked_doNotCallRotationResolverReturnDefaultRotation()
149 @Surface.Rotation
[all …]
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_client.h15 class Surface : public pdx::ClientBase<Surface> {
19 static pdx::Status<std::unique_ptr<Surface>> CreateSurface( in CreateSurface()
22 pdx::Status<std::unique_ptr<Surface>> status; in CreateSurface()
63 explicit Surface(const SurfaceAttributes& attributes, int* error = nullptr);
64 explicit Surface(pdx::LocalChannelHandle channel_handle,
67 Surface(const Surface&) = delete;
68 void operator=(const Surface&) = delete;
81 pdx::Status<std::unique_ptr<Surface>> CreateSurface(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButtonPositionCalculatorTest.kt4 import android.view.Surface
71 rotation = Surface.ROTATION_0,
82 rotation = Surface.ROTATION_90,
93 rotation = Surface.ROTATION_180,
104 rotation = Surface.ROTATION_270,
115 rotation = Surface.ROTATION_0,
126 rotation = Surface.ROTATION_0,
137 rotation = Surface.ROTATION_90,
150 rotation = Surface.ROTATION_0,
161 rotation = Surface.ROTATION_90,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DFaceScanningProviderFactory.kt28 import android.view.Surface in <lambda>()
118 @Surface.Rotation rotation: Int, in onReloadResAndMeasure()
135 @Surface.Rotation rotation: Int, in inflateView()
158 @Surface.Rotation rotation: Int in updateLayoutParams()
167 Surface.ROTATION_0, Surface.ROTATION_180 -> in updateLayoutParams()
169 Surface.ROTATION_90, Surface.ROTATION_270 -> in updateLayoutParams()
175 Surface.ROTATION_0 -> Gravity.TOP or Gravity.START in updateLayoutParams()
176 Surface.ROTATION_90 -> Gravity.LEFT or Gravity.START in updateLayoutParams()
177 Surface.ROTATION_180 -> Gravity.BOTTOM or Gravity.END in updateLayoutParams()
178 Surface.ROTATION_270 -> Gravity.RIGHT or Gravity.END in updateLayoutParams()
[all …]
DRoundedCornerDecorProviderImpl.kt23 import android.view.Surface in <lambda>()
42 @Surface.Rotation rotation: Int, in <lambda>()
69 @Surface.Rotation rotation: Int, in <lambda>()
80 @Surface.Rotation rotation: Int, in <lambda>()
104 private fun Int.toLayoutGravity(@Surface.Rotation rotation: Int): Int = when (rotation) { in toLayoutGravity()
105 Surface.ROTATION_0 -> when (this) { in toLayoutGravity()
111 Surface.ROTATION_90 -> when (this) { in toLayoutGravity()
117 Surface.ROTATION_270 -> when (this) { in toLayoutGravity()
160 private fun ImageView.adjustRotation(alignedBounds: List<Int>, @Surface.Rotation rotation: Int) { in adjustRotation()
168 Surface.ROTATION_0 -> when { in adjustRotation()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizerTest.java43 import android.view.Surface;
193 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_90, in testRotation_portrait_0_to_landscape_90()
204 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_portrait_0_to_seascape_270()
215 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_landscape_90()
217 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_90, in testRotation_portrait_180_to_landscape_90()
228 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_seascape_270()
230 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_portrait_180_to_seascape_270()
241 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_0()
243 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_0, in testRotation_landscape_90_to_portrait_0()
254 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_180()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java74 import android.view.Surface;
155 @Surface.Rotation
220 @Surface.Rotation
221 private int mUserRotation = Surface.ROTATION_0;
310 @Surface.Rotation
313 return Surface.ROTATION_0; in readDefaultDisplayRotation()
320 return Surface.ROTATION_90; in readDefaultDisplayRotation()
322 return Surface.ROTATION_180; in readDefaultDisplayRotation()
324 return Surface.ROTATION_270; in readDefaultDisplayRotation()
326 return Surface.ROTATION_0; in readDefaultDisplayRotation()
[all …]
/frameworks/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp41 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_setSurface()
53 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed()
117 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode()
207 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetAsyncMode()
214 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetDequeueTimeout()
221 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetMaxDequeuedBufferCount()
228 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetBufferCount()
236 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetSharedBufferMode()
244 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetAutoRefresh()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DTabletopModeControllerTest.java40 import android.view.Surface;
113 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in registerOnTabletopModeChangedListener_notInTabletopMode_callbackFalse()
126 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in registerOnTabletopModeChangedListener_inTabletopMode_callbackTrue()
139 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in registerOnTabletopModeChangedListener_notInTabletopModeTwice_callbackOnce()
145 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in registerOnTabletopModeChangedListener_notInTabletopModeTwice_callbackOnce()
155 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpen_scheduleTabletopModeChange()
166 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in foldedRotation0_halfOpen_noScheduleTabletopModeChange()
177 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenUnfold_cancelTabletopModeChange()
189 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenFold_cancelTabletopModeChange()
201 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenRotate_cancelTabletopModeChange()
[all …]
/frameworks/base/core/java/android/service/rotationresolver/
DRotationResolutionRequest.java24 import android.view.Surface;
48 @Surface.Rotation private final int mCurrentRotation;
51 @Surface.Rotation private final int mProposedRotation;
92 @Surface.Rotation int currentRotation, in RotationResolutionRequest()
93 @Surface.Rotation int proposedRotation, in RotationResolutionRequest()
101 Surface.Rotation.class, null, mCurrentRotation); in RotationResolutionRequest()
104 Surface.Rotation.class, null, mProposedRotation); in RotationResolutionRequest()
125 public @Surface.Rotation int getCurrentRotation() { in getCurrentRotation()
133 public @Surface.Rotation int getProposedRotation() { in getProposedRotation()
206 Surface.Rotation.class, null, mCurrentRotation); in RotationResolutionRequest()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DNaturalRotationUnfoldProgressProviderTest.kt19 import android.view.Surface
68 onRotationChanged(Surface.ROTATION_0) in testNaturalRotation0_sendTransitionStartedEvent_eventReceived()
77 onRotationChanged(Surface.ROTATION_0) in testNaturalRotation0_sendTransitionProgressEvent_eventReceived()
86 onRotationChanged(Surface.ROTATION_90) in testNotNaturalRotation90_sendTransitionStartedEvent_eventNotReceived()
95 onRotationChanged(Surface.ROTATION_90) in testNaturalRotation90_sendTransitionProgressEvent_eventNotReceived()
104 onRotationChanged(Surface.ROTATION_0) in testRotationBecameUnnaturalDuringTransition_sendsTransitionFinishedEvent()
108 onRotationChanged(Surface.ROTATION_90) in testRotationBecameUnnaturalDuringTransition_sendsTransitionFinishedEvent()
115 onRotationChanged(Surface.ROTATION_90) in testRotationBecameNaturalDuringTransition_sendsTransitionStartedEvent()
119 onRotationChanged(Surface.ROTATION_0) in testRotationBecameNaturalDuringTransition_sendsTransitionStartedEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DQuickswitchOrientedNavHandle.java22 import android.view.Surface;
30 private @Surface.Rotation int mDeltaRotation;
37 public void setDeltaRotation(@Surface.Rotation int rotation) { in setDeltaRotation()
56 case Surface.ROTATION_0: in computeHomeHandleBounds()
57 case Surface.ROTATION_180: in computeHomeHandleBounds()
64 case Surface.ROTATION_90: in computeHomeHandleBounds()
70 case Surface.ROTATION_270: in computeHomeHandleBounds()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.h36 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces,
56 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
58 virtual ssize_t getSurfaceId(const sp<Surface> &surface);
69 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
72 KeyedVector<sp<Surface>, size_t> *outputMap/*out*/);
89 typedef std::pair<sp<Surface>, size_t> SurfaceUniqueId;
98 status_t revertPartialUpdateLocked(const KeyedVector<sp<Surface>, size_t> &removedSurfaces,
99 const KeyedVector<sp<Surface>, size_t> &attachedSurfaces);

12345678910>>...25